Resource Args
data class ResourceArgs(val extendedLocation: Output<ExtendedLocationArgs>? = null, val identity: Output<IdentityArgs>? = null, val kind: Output<String>? = null, val location: Output<String>? = null, val managedBy: Output<String>? = null, val parentResourcePath: Output<String>? = null, val plan: Output<PlanArgs>? = null, val properties: Output<Any>? = null, val resourceGroupName: Output<String>? = null, val resourceName: Output<String>? = null, val resourceProviderNamespace: Output<String>? = null, val resourceType: Output<String>? = null, val sku: Output<SkuArgs>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ResourceArgs>
Resource information. Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2019-05-01. Other available API versions: 2015-11-01, 2023-07-01.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:resources:Resource myresource1 /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}
Content copied to clipboard
Constructors
Link copied to clipboard
fun ResourceArgs(extendedLocation: Output<ExtendedLocationArgs>? = null, identity: Output<IdentityArgs>? = null, kind: Output<String>? = null, location: Output<String>? = null, managedBy: Output<String>? = null, parentResourcePath: Output<String>? = null, plan: Output<PlanArgs>? = null, properties: Output<Any>? = null, resourceGroupName: Output<String>? = null, resourceName: Output<String>? = null, resourceProviderNamespace: Output<String>? = null, resourceType: Output<String>? = null, sku: Output<SkuArgs>? = null, tags: Output<Map<String, String>>? = null)