Microsoft.AVS privateClouds/clusters/datastores 2021-06-01

The privateClouds/clusters/datastores resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

To create a Microsoft.AVS/privateClouds/clusters/datastores resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.AVS/privateClouds/clusters/datastores@2021-06-01' = {
  name: 'string'
  properties: {
    diskPoolVolume: {
      lunName: 'string'
      mountOption: 'string'
      targetId: 'string'
    }
    netAppVolume: {
      id: 'string'
    }
  }
}

Property values

privateClouds/clusters/datastores

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.AVS/privateClouds/clusters/datastores'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2021-06-01'
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
string (required)
properties The properties of a datastore DatastoreProperties

DatastoreProperties

Name Description Value
diskPoolVolume An iSCSI volume from Microsoft.StoragePool provider DiskPoolVolume
netAppVolume An Azure NetApp Files volume from Microsoft.NetApp provider NetAppVolume

DiskPoolVolume

Name Description Value
lunName Name of the LUN to be used for datastore string (required)
mountOption Mode that describes whether the LUN has to be mounted as a datastore or attached as a LUN 'ATTACH'
'MOUNT'
targetId Azure resource ID of the iSCSI target string (required)

NetAppVolume

Name Description Value
id Azure resource ID of the NetApp volume string (required)