getResource

Gets a resource. API Version: 2019-05-01.

Return

Resource information.

Parameters

argument

null


suspend fun getResource(parentResourcePath: String, resourceGroupName: String, resourceName: String, resourceProviderNamespace: String, resourceType: String): GetResourceResult

Return

Resource information.

Parameters

parentResourcePath

The parent resource identity.

resourceGroupName

The name of the resource group containing the resource to get. The name is case insensitive.

resourceName

The name of the resource to get.

resourceProviderNamespace

The namespace of the resource provider.

resourceType

The resource type of the resource.

See also


suspend fun getResource(argument: suspend GetResourcePlainArgsBuilder.() -> Unit): GetResourceResult

Return

Resource information.

Parameters

argument

Builder for com.pulumi.azurenative.resources.kotlin.inputs.GetResourcePlainArgs.

See also