get Resource
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
parent Resource Path
The parent resource identity.
resource Group Name
The name of the resource group containing the resource to get. The name is case insensitive.
resource Name
The name of the resource to get.
resource Provider Namespace
The namespace of the resource provider.
resource Type
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.