getFile

suspend fun getFile(argument: GetFilePlainArgs): GetFileResult

The files resource is a nested, proxy-only resource representing a file stored under the project resource. This method retrieves information about a file. Uses Azure REST API version 2023-07-15-preview. Other available API versions: 2021-06-30, 2021-10-30-preview, 2022-01-30-preview, 2022-03-30-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native datamigration [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Return

A file resource

Parameters

argument

null


suspend fun getFile(fileName: String, groupName: String, projectName: String, serviceName: String): GetFileResult

Return

A file resource

Parameters

fileName

Name of the File

groupName

Name of the resource group

projectName

Name of the project

serviceName

Name of the service

See also


suspend fun getFile(argument: suspend GetFilePlainArgsBuilder.() -> Unit): GetFileResult

Return

A file resource

Parameters

argument

Builder for com.pulumi.azurenative.datamigration.kotlin.inputs.GetFilePlainArgs.

See also