Microsoft.ConnectedVMwarevSphere datastores 2022-07-15-preview

Bicep resource definition

The datastores 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/datastores resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.ConnectedVMwarevSphere/datastores@2022-07-15-preview' = {
  extendedLocation: {
    name: 'string'
    type: 'string'
  }
  kind: 'string'
  location: 'string'
  name: 'string'
  properties: {
    inventoryItemId: 'string'
    moRefId: 'string'
    vCenterId: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.ConnectedVMwarevSphere/datastores

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

DatastoreProperties

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

DatastoreTags

Name Description Value

ExtendedLocation

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

ARM template resource definition

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

Usage Examples

Resource format

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

{
  "type": "Microsoft.ConnectedVMwarevSphere/datastores",
  "apiVersion": "2022-07-15-preview",
  "name": "string",
  "extendedLocation": {
    "name": "string",
    "type": "string"
  },
  "kind": "string",
  "location": "string",
  "properties": {
    "inventoryItemId": "string",
    "moRefId": "string",
    "vCenterId": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.ConnectedVMwarevSphere/datastores

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

DatastoreProperties

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

DatastoreTags

Name Description Value

ExtendedLocation

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

Terraform (AzAPI provider) resource definition

The datastores 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/datastores resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.ConnectedVMwarevSphere/datastores@2022-07-15-preview"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    extendedLocation = {
      name = "string"
      type = "string"
    }
    kind = "string"
    properties = {
      inventoryItemId = "string"
      moRefId = "string"
      vCenterId = "string"
    }
  }
}

Property Values

Microsoft.ConnectedVMwarevSphere/datastores

Name Description Value
extendedLocation Gets or sets the extended location. ExtendedLocation
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
location Gets or sets the location. string (required)
name The resource name string (required)
properties Resource properties. DatastoreProperties (required)
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.ConnectedVMwarevSphere/datastores@2022-07-15-preview"

DatastoreProperties

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

DatastoreTags

Name Description Value

ExtendedLocation

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