ResourceArgs

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 2024-03-01. In version 2.x of the Azure Native provider, it used API version 2022-09-01. Other available API versions: 2020-10-01, 2021-01-01, 2021-04-01, 2022-09-01, 2023-07-01, 2024-07-01, 2024-11-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native resources [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

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}

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
val apiVersion: Output<String>? = null

The API version to use for the operation.

Link copied to clipboard

Resource extended location.

Link copied to clipboard
val identity: Output<IdentityArgs>? = null

The identity of the resource.

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

The kind of the resource.

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

Resource location

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

ID of the resource that manages this resource.

Link copied to clipboard
val parentResourcePath: Output<String>? = null

The parent resource identity.

Link copied to clipboard
val plan: Output<PlanArgs>? = null

The plan of the resource.

Link copied to clipboard
val properties: Output<Any>? = null

The resource properties.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group for the resource. The name is case insensitive.

Link copied to clipboard
val resourceName: Output<String>? = null

The name of the resource to create.

Link copied to clipboard
val resourceProviderNamespace: Output<String>? = null

The namespace of the resource provider.

Link copied to clipboard
val resourceType: Output<String>? = null

The resource type of the resource to create.

Link copied to clipboard
val sku: Output<SkuArgs>? = null

The SKU of the resource.

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

Resource tags

Functions

Link copied to clipboard
open override fun toJava(): ResourceArgs