GetInventoryItemResult

data class GetInventoryItemResult(val azureApiVersion: String, val id: String, val inventoryType: String, val kind: String? = null, val managedResourceId: String? = null, val moName: String? = null, val moRefId: String? = null, val name: String, val provisioningState: String, val systemData: SystemDataResponse, val type: String)

Defines the inventory item.

Constructors

Link copied to clipboard
constructor(azureApiVersion: String, id: String, inventoryType: String, kind: String? = null, managedResourceId: String? = null, moName: String? = null, moRefId: String? = null, name: String, provisioningState: String, systemData: SystemDataResponse, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The Azure API version of the resource.

Link copied to clipboard
val id: String

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

Link copied to clipboard

They inventory type.

Link copied to clipboard
val kind: String? = null

Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.

Link copied to clipboard

Gets or sets the tracked resource id corresponding to the inventory resource.

Link copied to clipboard
val moName: String? = null

Gets or sets the vCenter Managed Object name for the inventory item.

Link copied to clipboard
val moRefId: String? = null

Gets or sets the MoRef (Managed Object Reference) ID for the inventory item.

Link copied to clipboard

The name of the resource

Link copied to clipboard

Gets the provisioning state.

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"