Microsoft.ConnectedVMwarevSphere clusters

Bicep resource definition

The clusters resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.ConnectedVMwarevSphere/clusters resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.ConnectedVMwarevSphere/clusters@2023-12-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  kind: 'string'
  extendedLocation: {
    name: 'string'
    type: 'string'
  }
  properties: {
    inventoryItemId: 'string'
    moRefId: 'string'
    vCenterId: 'string'
  }
}

Property values

clusters

Name Description Value
name The resource name string (required)
location Gets or sets the location. string (required)
tags Gets or sets the Resource tags. Dictionary of tag names and values. See Tags in templates
kind 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. string
extendedLocation Gets or sets the extended location. ExtendedLocation
properties Resource properties. ClusterProperties (required)

ExtendedLocation

Name Description Value
name The extended location name. string
type The extended location type. string

ClusterProperties

Name Description Value
inventoryItemId Gets or sets the inventory Item ID for the cluster. string
moRefId Gets or sets the vCenter MoRef (Managed Object Reference) ID for the cluster. string
vCenterId Gets or sets the ARM Id of the vCenter resource in which this cluster resides. string

ARM template resource definition

The clusters resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.ConnectedVMwarevSphere/clusters resource, add the following JSON to your template.

{
  "type": "Microsoft.ConnectedVMwarevSphere/clusters",
  "apiVersion": "2023-12-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "kind": "string",
  "extendedLocation": {
    "name": "string",
    "type": "string"
  },
  "properties": {
    "inventoryItemId": "string",
    "moRefId": "string",
    "vCenterId": "string"
  }
}

Property values

clusters

Name Description Value
type The resource type 'Microsoft.ConnectedVMwarevSphere/clusters'
apiVersion The resource api version '2023-12-01'
name The resource name string (required)
location Gets or sets the location. string (required)
tags Gets or sets the Resource tags. Dictionary of tag names and values. See Tags in templates
kind 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. string
extendedLocation Gets or sets the extended location. ExtendedLocation
properties Resource properties. ClusterProperties (required)

ExtendedLocation

Name Description Value
name The extended location name. string
type The extended location type. string

ClusterProperties

Name Description Value
inventoryItemId Gets or sets the inventory Item ID for the cluster. string
moRefId Gets or sets the vCenter MoRef (Managed Object Reference) ID for the cluster. string
vCenterId Gets or sets the ARM Id of the vCenter resource in which this cluster resides. string

Terraform (AzAPI provider) resource definition

The clusters resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.ConnectedVMwarevSphere/clusters resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.ConnectedVMwarevSphere/clusters@2023-12-01"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      inventoryItemId = "string"
      moRefId = "string"
      vCenterId = "string"
    }
    kind = "string"
    extendedLocation = {
      name = "string"
      type = "string"
    }
  })
}

Property values

clusters

Name Description Value
type The resource type "Microsoft.ConnectedVMwarevSphere/clusters@2023-12-01"
name The resource name string (required)
location Gets or sets the location. string (required)
parent_id To deploy to a resource group, use the ID of that resource group. string (required)
tags Gets or sets the Resource tags. Dictionary of tag names and values.
kind 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. string
extendedLocation Gets or sets the extended location. ExtendedLocation
properties Resource properties. ClusterProperties (required)

ExtendedLocation

Name Description Value
name The extended location name. string
type The extended location type. string

ClusterProperties

Name Description Value
inventoryItemId Gets or sets the inventory Item ID for the cluster. string
moRefId Gets or sets the vCenter MoRef (Managed Object Reference) ID for the cluster. string
vCenterId Gets or sets the ARM Id of the vCenter resource in which this cluster resides. string