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
- 2021-08-01
- 2021-06-01
- 2021-04-01
- 2021-04-01-preview
- 2021-02-01
- 2020-12-01
- 2020-11-01
- 2020-09-01
- 2020-08-01
- 2020-07-01
- 2020-06-01
- 2020-05-01
- 2020-03-01
- 2020-02-01
- 2019-11-01
- 2019-10-01
- 2019-08-01
- 2019-07-01
- 2019-06-01
- 2019-05-01
- 2017-08-15
Bicep resource definition
The netAppAccounts/capacityPools/volumes/snapshots 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/snapshots resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots@2025-06-01' = {
parent: resourceSymbolicName
location: 'string'
name: 'string'
properties: {}
}
Property Values
Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots
| Name | Description | Value |
|---|---|---|
| location | Resource location | string (required) |
| name | The resource name | string (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 | Snapshot Properties | SnapshotProperties |
SnapshotProperties
| Name | Description | Value |
|---|
ARM template resource definition
The netAppAccounts/capacityPools/volumes/snapshots 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/snapshots resource, add the following JSON to your template.
{
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots",
"apiVersion": "2025-06-01",
"name": "string",
"location": "string",
"properties": {
}
}
Property Values
Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2025-06-01' |
| location | Resource location | string (required) |
| name | The resource name | string (required) |
| properties | Snapshot Properties | SnapshotProperties |
| type | The resource type | 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots' |
SnapshotProperties
| Name | Description | Value |
|---|
Usage Examples
Terraform (AzAPI provider) resource definition
The netAppAccounts/capacityPools/volumes/snapshots 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/snapshots resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots@2025-06-01"
name = "string"
parent_id = "string"
location = "string"
body = {
properties = {
}
}
}
Property Values
Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots
| Name | Description | Value |
|---|---|---|
| location | Resource location | string (required) |
| name | The resource name | string (required) |
| parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: netAppAccounts/capacityPools/volumes |
| properties | Snapshot Properties | SnapshotProperties |
| type | The resource type | "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots@2025-06-01" |
SnapshotProperties
| Name | Description | Value |
|---|
Usage Examples
Terraform Samples
A basic example of deploying NetApp Snapshot.
terraform {
required_providers {
azapi = {
source = "Azure/azapi"
}
}
}
provider "azapi" {
skip_provider_registration = false
}
variable "resource_name" {
type = string
default = "acctest0001"
}
variable "location" {
type = string
default = "westeurope"
}
resource "azapi_resource" "resourceGroup" {
type = "Microsoft.Resources/resourceGroups@2020-06-01"
name = var.resource_name
location = var.location
}
resource "azapi_resource" "virtualNetwork" {
type = "Microsoft.Network/virtualNetworks@2022-07-01"
parent_id = azapi_resource.resourceGroup.id
name = var.resource_name
location = var.location
body = {
properties = {
addressSpace = {
addressPrefixes = [
"10.0.0.0/16",
]
}
dhcpOptions = {
dnsServers = [
]
}
subnets = [
]
}
}
schema_validation_enabled = false
response_export_values = ["*"]
lifecycle {
ignore_changes = [body.properties.subnets]
}
}
resource "azapi_resource" "netAppAccount" {
type = "Microsoft.NetApp/netAppAccounts@2022-05-01"
parent_id = azapi_resource.resourceGroup.id
name = var.resource_name
location = var.location
body = {
properties = {
activeDirectories = [
]
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
resource "azapi_resource" "subnet" {
type = "Microsoft.Network/virtualNetworks/subnets@2022-07-01"
parent_id = azapi_resource.virtualNetwork.id
name = var.resource_name
body = {
properties = {
addressPrefix = "10.0.2.0/24"
delegations = [
{
name = "netapp"
properties = {
serviceName = "Microsoft.Netapp/volumes"
}
},
]
privateEndpointNetworkPolicies = "Enabled"
privateLinkServiceNetworkPolicies = "Enabled"
serviceEndpointPolicies = [
]
serviceEndpoints = [
]
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
resource "azapi_resource" "capacityPool" {
type = "Microsoft.NetApp/netAppAccounts/capacityPools@2022-05-01"
parent_id = azapi_resource.netAppAccount.id
name = var.resource_name
location = var.location
body = {
properties = {
serviceLevel = "Premium"
size = 4.398046511104e+12
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
resource "azapi_resource" "volume" {
type = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes@2022-05-01"
parent_id = azapi_resource.capacityPool.id
name = var.resource_name
location = var.location
body = {
properties = {
avsDataStore = "Disabled"
creationToken = "my-unique-file-path-230630033642692134"
dataProtection = {
}
exportPolicy = {
rules = [
]
}
networkFeatures = "Basic"
protocolTypes = [
"NFSv3",
]
securityStyle = "Unix"
serviceLevel = "Premium"
snapshotDirectoryVisible = false
snapshotId = ""
subnetId = azapi_resource.subnet.id
usageThreshold = 1.073741824e+11
volumeType = ""
}
zones = [
]
}
schema_validation_enabled = false
response_export_values = ["*"]
}
resource "azapi_resource" "snapshot" {
type = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots@2022-05-01"
parent_id = azapi_resource.volume.id
name = var.resource_name
location = var.location
schema_validation_enabled = false
response_export_values = ["*"]
}