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.
- Latest
- 2025-09-01
- 2025-09-01-preview
- 2025-08-01
- 2025-08-01-preview
- 2025-07-01-preview
- 2025-06-01
- 2025-03-01
- 2025-03-01-preview
- 2025-01-01
- 2025-01-01-preview
- 2024-09-01
- 2024-09-01-preview
- 2024-07-01
- 2024-07-01-preview
- 2024-05-01
- 2024-05-01-preview
- 2024-03-01
- 2024-03-01-preview
- 2024-01-01
- 2023-11-01
- 2023-11-01-preview
- 2023-07-01
- 2023-07-01-preview
- 2023-05-01
- 2023-05-01-preview
- 2022-11-01
- 2022-11-01-preview
- 2022-09-01
- 2022-05-01
- 2022-03-01
- 2022-01-01
- 2021-10-01
Bicep resource definition
The netAppAccounts/capacityPools/volumes/subvolumes 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.NetApp/netAppAccounts/capacityPools/volumes/subvolumes resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes@2025-03-01-preview' = {
parent: resourceSymbolicName
name: 'string'
properties: {
parentPath: 'string'
path: 'string'
size: int
}
}
Property Values
Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes
| Name | Description | Value |
|---|---|---|
| name | The resource name | string Constraints: Min length = 1 Max length = 64 Pattern = ^[a-zA-Z][a-zA-Z0-9\-_]{0,63}$ (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: netAppAccounts/capacityPools/volumes |
| properties | Subvolume Properties | SubvolumeProperties |
SubvolumeProperties
| Name | Description | Value |
|---|---|---|
| parentPath | parent path to the subvolume | string |
| path | Path to the subvolume | string |
| size | Truncate subvolume to the provided size in bytes | int |
ARM template resource definition
The netAppAccounts/capacityPools/volumes/subvolumes 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.NetApp/netAppAccounts/capacityPools/volumes/subvolumes resource, add the following JSON to your template.
{
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes",
"apiVersion": "2025-03-01-preview",
"name": "string",
"properties": {
"parentPath": "string",
"path": "string",
"size": "int"
}
}
Property Values
Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2025-03-01-preview' |
| name | The resource name | string Constraints: Min length = 1 Max length = 64 Pattern = ^[a-zA-Z][a-zA-Z0-9\-_]{0,63}$ (required) |
| properties | Subvolume Properties | SubvolumeProperties |
| type | The resource type | 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes' |
SubvolumeProperties
| Name | Description | Value |
|---|---|---|
| parentPath | parent path to the subvolume | string |
| path | Path to the subvolume | string |
| size | Truncate subvolume to the provided size in bytes | int |
Usage Examples
Terraform (AzAPI provider) resource definition
The netAppAccounts/capacityPools/volumes/subvolumes 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.NetApp/netAppAccounts/capacityPools/volumes/subvolumes resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes@2025-03-01-preview"
name = "string"
parent_id = "string"
body = {
properties = {
parentPath = "string"
path = "string"
size = int
}
}
}
Property Values
Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes
| Name | Description | Value |
|---|---|---|
| name | The resource name | string Constraints: Min length = 1 Max length = 64 Pattern = ^[a-zA-Z][a-zA-Z0-9\-_]{0,63}$ (required) |
| parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: netAppAccounts/capacityPools/volumes |
| properties | Subvolume Properties | SubvolumeProperties |
| type | The resource type | "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes@2025-03-01-preview" |
SubvolumeProperties
| Name | Description | Value |
|---|---|---|
| parentPath | parent path to the subvolume | string |
| path | Path to the subvolume | string |
| size | Truncate subvolume to the provided size in bytes | int |