Resource Args
data class ResourceArgs(val apiVersion: Output<String>? = null, 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. Uses Azure REST API version 2022-09-01. In version 1.x of the Azure Native provider, it used API version 2019-05-01. Other available API versions: 2023-07-01, 2024-03-01, 2024-07-01, 2024-11-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
constructor(apiVersion: Output<String>? = null, 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)
Properties
Link copied to clipboard
The API version to use for the operation.
Link copied to clipboard
Resource extended location.
Link copied to clipboard
The identity of the resource.
Link copied to clipboard
The parent resource identity.
Link copied to clipboard
The resource properties.
Link copied to clipboard
The name of the resource group for the resource. The name is case insensitive.
Link copied to clipboard
The name of the resource to create.
Link copied to clipboard
The namespace of the resource provider.
Link copied to clipboard
The resource type of the resource to create.