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 volumes 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.NetworkCloud/volumes resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.NetworkCloud/volumes@2026-07-01' = {
extendedLocation: {
name: 'string'
type: 'string'
}
location: 'string'
name: 'string'
properties: {
sizeMiB: int
storageApplianceId: 'string'
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.NetworkCloud/volumes
| Name | Description | Value |
|---|---|---|
| extendedLocation | The extended location of the resource. This property is required when creating the resource. | AzureResourceManagerCommonTypesExtendedLocation (required) |
| location | The geo-location where the resource lives | string (required) |
| name | The resource name | string Constraints: Pattern = ^([a-zA-Z0-9][a-zA-Z0-9-_]{0,62}[a-zA-Z0-9])$ (required) |
| properties | The list of the resource properties. | VolumeProperties (required) |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
AzureResourceManagerCommonTypesExtendedLocation
| Name | Description | Value |
|---|---|---|
| name | The name of the extended location. | string (required) |
| type | The type of the extended location. | 'CustomLocation' 'EdgeZone' (required) |
TrackedResourceTags
| Name | Description | Value |
|---|
VolumeProperties
| Name | Description | Value |
|---|---|---|
| sizeMiB | The requested storage allocation for the volume in Mebibytes. | int Constraints: Min value = 1 (required) |
| storageApplianceId | The resource ID of the storage appliance that hosts the volume. | string |
ARM template resource definition
The volumes 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.NetworkCloud/volumes resource, add the following JSON to your template.
{
"type": "Microsoft.NetworkCloud/volumes",
"apiVersion": "2026-07-01",
"name": "string",
"extendedLocation": {
"name": "string",
"type": "string"
},
"location": "string",
"properties": {
"sizeMiB": "int",
"storageApplianceId": "string"
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.NetworkCloud/volumes
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2026-07-01' |
| extendedLocation | The extended location of the resource. This property is required when creating the resource. | AzureResourceManagerCommonTypesExtendedLocation (required) |
| location | The geo-location where the resource lives | string (required) |
| name | The resource name | string Constraints: Pattern = ^([a-zA-Z0-9][a-zA-Z0-9-_]{0,62}[a-zA-Z0-9])$ (required) |
| properties | The list of the resource properties. | VolumeProperties (required) |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
| type | The resource type | 'Microsoft.NetworkCloud/volumes' |
AzureResourceManagerCommonTypesExtendedLocation
| Name | Description | Value |
|---|---|---|
| name | The name of the extended location. | string (required) |
| type | The type of the extended location. | 'CustomLocation' 'EdgeZone' (required) |
TrackedResourceTags
| Name | Description | Value |
|---|
VolumeProperties
| Name | Description | Value |
|---|---|---|
| sizeMiB | The requested storage allocation for the volume in Mebibytes. | int Constraints: Min value = 1 (required) |
| storageApplianceId | The resource ID of the storage appliance that hosts the volume. | string |
Terraform (AzAPI provider) resource definition
The volumes 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.NetworkCloud/volumes resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.NetworkCloud/volumes@2026-07-01"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
extendedLocation = {
name = "string"
type = "string"
}
properties = {
sizeMiB = int
storageApplianceId = "string"
}
}
}
Property Values
Microsoft.NetworkCloud/volumes
| Name | Description | Value |
|---|---|---|
| extendedLocation | The extended location of the resource. This property is required when creating the resource. | AzureResourceManagerCommonTypesExtendedLocation (required) |
| location | The geo-location where the resource lives | string (required) |
| name | The resource name | string Constraints: Pattern = ^([a-zA-Z0-9][a-zA-Z0-9-_]{0,62}[a-zA-Z0-9])$ (required) |
| properties | The list of the resource properties. | VolumeProperties (required) |
| tags | Resource tags | Dictionary of tag names and values. |
| type | The resource type | "Microsoft.NetworkCloud/volumes@2026-07-01" |
AzureResourceManagerCommonTypesExtendedLocation
| Name | Description | Value |
|---|---|---|
| name | The name of the extended location. | string (required) |
| type | The type of the extended location. | 'CustomLocation' 'EdgeZone' (required) |
TrackedResourceTags
| Name | Description | Value |
|---|
VolumeProperties
| Name | Description | Value |
|---|---|---|
| sizeMiB | The requested storage allocation for the volume in Mebibytes. | int Constraints: Min value = 1 (required) |
| storageApplianceId | The resource ID of the storage appliance that hosts the volume. | string |