Resource

class Resource : KotlinCustomResource

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}

Properties

Link copied to clipboard

Resource extended location.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

The identity of the resource.

Link copied to clipboard
val kind: Output<String>?

The kind of the resource.

Link copied to clipboard
val location: Output<String>?

Resource location

Link copied to clipboard
val managedBy: Output<String>?

ID of the resource that manages this resource.

Link copied to clipboard
val name: Output<String>

Resource name

Link copied to clipboard
val plan: Output<PlanResponse>?

The plan of the resource.

Link copied to clipboard
val properties: Output<Any>

The resource properties.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val sku: Output<SkuResponse>?

The SKU of the resource.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags

Link copied to clipboard
val type: Output<String>

Resource type

Link copied to clipboard
val urn: Output<String>