Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The privateClouds/clusters/datastores resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.AVS/privateClouds/clusters/datastores resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.AVS/privateClouds/clusters/datastores@2026-03-01' = {
parent: resourceSymbolicName
name: 'string'
properties: {
diskPoolVolume: {
lunName: 'string'
mountOption: 'string'
targetId: 'string'
}
elasticSanVolume: {
targetId: 'string'
}
netAppVolume: {
id: 'string'
}
pureStorageVolume: {
sizeGb: int
storagePoolId: 'string'
}
}
}
Property Values
Microsoft.AVS/privateClouds/clusters/datastores
| Name | Description | Value |
|---|---|---|
| name | The resource name | string Constraints: Pattern = ^[-\w\._]+$ (required) |
| parent | In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource. For more information, see Child resource outside parent resource. |
Symbolic name for resource of type: privateClouds/clusters |
| properties | The resource-specific properties for this resource. | DatastoreProperties |
DatastoreProperties
| Name | Description | Value |
|---|---|---|
| diskPoolVolume | An iSCSI volume | DiskPoolVolume |
| elasticSanVolume | An Elastic SAN volume | ElasticSanVolume |
| netAppVolume | An Azure NetApp Files volume | NetAppVolume |
| pureStorageVolume | A Pure Storage volume | PureStorageVolume |
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) |
ElasticSanVolume
| Name | Description | Value |
|---|---|---|
| targetId | Azure resource ID of the Elastic SAN Volume | string (required) |
NetAppVolume
| Name | Description | Value |
|---|---|---|
| id | Azure resource ID of the NetApp volume | string (required) |
PureStorageVolume
| Name | Description | Value |
|---|---|---|
| sizeGb | Volume size to be used to create a Virtual Volumes (vVols) datastore | int (required) |
| storagePoolId | Azure resource ID of the Pure Storage Pool | string (required) |
ARM template resource definition
The privateClouds/clusters/datastores resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands For a list of changed properties in each API version, see change log.
Usage Examples
Resource format
To create a Microsoft.AVS/privateClouds/clusters/datastores resource, add the following JSON to your template.
{
"type": "Microsoft.AVS/privateClouds/clusters/datastores",
"apiVersion": "2026-03-01",
"name": "string",
"properties": {
"diskPoolVolume": {
"lunName": "string",
"mountOption": "string",
"targetId": "string"
},
"elasticSanVolume": {
"targetId": "string"
},
"netAppVolume": {
"id": "string"
},
"pureStorageVolume": {
"sizeGb": "int",
"storagePoolId": "string"
}
}
}
Property Values
Microsoft.AVS/privateClouds/clusters/datastores
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2026-03-01' |
| name | The resource name | string Constraints: Pattern = ^[-\w\._]+$ (required) |
| properties | The resource-specific properties for this resource. | DatastoreProperties |
| type | The resource type | 'Microsoft.AVS/privateClouds/clusters/datastores' |
DatastoreProperties
| Name | Description | Value |
|---|---|---|
| diskPoolVolume | An iSCSI volume | DiskPoolVolume |
| elasticSanVolume | An Elastic SAN volume | ElasticSanVolume |
| netAppVolume | An Azure NetApp Files volume | NetAppVolume |
| pureStorageVolume | A Pure Storage volume | PureStorageVolume |
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) |
ElasticSanVolume
| Name | Description | Value |
|---|---|---|
| targetId | Azure resource ID of the Elastic SAN Volume | string (required) |
NetAppVolume
| Name | Description | Value |
|---|---|---|
| id | Azure resource ID of the NetApp volume | string (required) |
PureStorageVolume
| Name | Description | Value |
|---|---|---|
| sizeGb | Volume size to be used to create a Virtual Volumes (vVols) datastore | int (required) |
| storagePoolId | Azure resource ID of the Pure Storage Pool | string (required) |
Terraform (AzAPI provider) resource definition
The privateClouds/clusters/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.AVS/privateClouds/clusters/datastores resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.AVS/privateClouds/clusters/datastores@2026-03-01"
name = "string"
parent_id = "string"
body = {
properties = {
diskPoolVolume = {
lunName = "string"
mountOption = "string"
targetId = "string"
}
elasticSanVolume = {
targetId = "string"
}
netAppVolume = {
id = "string"
}
pureStorageVolume = {
sizeGb = int
storagePoolId = "string"
}
}
}
}
Property Values
Microsoft.AVS/privateClouds/clusters/datastores
| Name | Description | Value |
|---|---|---|
| name | The resource name | string Constraints: Pattern = ^[-\w\._]+$ (required) |
| parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: privateClouds/clusters |
| properties | The resource-specific properties for this resource. | DatastoreProperties |
| type | The resource type | "Microsoft.AVS/privateClouds/clusters/datastores@2026-03-01" |
DatastoreProperties
| Name | Description | Value |
|---|---|---|
| diskPoolVolume | An iSCSI volume | DiskPoolVolume |
| elasticSanVolume | An Elastic SAN volume | ElasticSanVolume |
| netAppVolume | An Azure NetApp Files volume | NetAppVolume |
| pureStorageVolume | A Pure Storage volume | PureStorageVolume |
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) |
ElasticSanVolume
| Name | Description | Value |
|---|---|---|
| targetId | Azure resource ID of the Elastic SAN Volume | string (required) |
NetAppVolume
| Name | Description | Value |
|---|---|---|
| id | Azure resource ID of the NetApp volume | string (required) |
PureStorageVolume
| Name | Description | Value |
|---|---|---|
| sizeGb | Volume size to be used to create a Virtual Volumes (vVols) datastore | int (required) |
| storagePoolId | Azure resource ID of the Pure Storage Pool | string (required) |