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@2025-02-01' = {
extendedLocation: {
name: 'string'
type: 'string'
}
location: 'string'
name: 'string'
properties: {
sizeMiB: int
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.NetworkCloud/volumes
| Name | Description | Value |
|---|---|---|
| extendedLocation | The extended location of the cluster associated with the resource. | ExtendedLocation (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 |
ExtendedLocation
| Name | Description | Value |
|---|---|---|
| name | The resource ID of the extended location on which the resource will be created. | string (required) |
| type | The extended location type, for example, CustomLocation. | string (required) |
TrackedResourceTags
| Name | Description | Value |
|---|
VolumeProperties
| Name | Description | Value |
|---|---|---|
| sizeMiB | The size of the allocation for this volume in Mebibytes. | int Constraints: Min value = 1 (required) |
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": "2025-02-01",
"name": "string",
"extendedLocation": {
"name": "string",
"type": "string"
},
"location": "string",
"properties": {
"sizeMiB": "int"
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.NetworkCloud/volumes
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2025-02-01' |
| extendedLocation | The extended location of the cluster associated with the resource. | ExtendedLocation (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' |
ExtendedLocation
| Name | Description | Value |
|---|---|---|
| name | The resource ID of the extended location on which the resource will be created. | string (required) |
| type | The extended location type, for example, CustomLocation. | string (required) |
TrackedResourceTags
| Name | Description | Value |
|---|
VolumeProperties
| Name | Description | Value |
|---|---|---|
| sizeMiB | The size of the allocation for this volume in Mebibytes. | int Constraints: Min value = 1 (required) |
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@2025-02-01"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
extendedLocation = {
name = "string"
type = "string"
}
properties = {
sizeMiB = int
}
}
}
Property Values
Microsoft.NetworkCloud/volumes
| Name | Description | Value |
|---|---|---|
| extendedLocation | The extended location of the cluster associated with the resource. | ExtendedLocation (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@2025-02-01" |
ExtendedLocation
| Name | Description | Value |
|---|---|---|
| name | The resource ID of the extended location on which the resource will be created. | string (required) |
| type | The extended location type, for example, CustomLocation. | string (required) |
TrackedResourceTags
| Name | Description | Value |
|---|
VolumeProperties
| Name | Description | Value |
|---|---|---|
| sizeMiB | The size of the allocation for this volume in Mebibytes. | int Constraints: Min value = 1 (required) |