Microsoft.NetApp netAppAccounts/capacityPools 2021-04-01-preview

Bicep resource definition

The netAppAccounts/capacityPools 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 resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.NetApp/netAppAccounts/capacityPools@2021-04-01-preview' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  parent: resourceSymbolicName
  properties: {
    qosType: 'string'
    serviceLevel: 'string'
    size: int
  }
}

Property values

netAppAccounts/capacityPools

Name Description Value
name The resource name

See how to set names and types for child resources in Bicep.
string (required)

Character limit: 1-64

Valid characters:
Alphanumerics, underscores, and hyphens.

Start with alphanumeric.
location Resource location string (required)
tags Resource tags Dictionary of tag names and values. See Tags in templates
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
properties Capacity pool properties PoolProperties (required)

PoolProperties

Name Description Value
qosType The qos type of the pool 'Auto'
'Manual'
serviceLevel The service level of the file system 'Premium'
'Standard'
'Ultra' (required)
size Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104). int (required)

Constraints:
Min value = 4398046511104
Max value = 549755813888000

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create new ANF resource with NFSV3/NFSv4.1 volume

Deploy to Azure
This template allows you to create a new Azure NetApp Files resource with a single Capacity pool and single volume configured with NFSV3 or NFSv4.1 protocol. They are all deployed together with Azure Virtual Network and Delegated subnet that are required for any volume to be created
Create new ANF resource with SMB volume

Deploy to Azure
This template allows you to create a new Azure NetApp Files resource with a single Capacity pool and single volume configured with SMB protocol.

ARM template resource definition

The netAppAccounts/capacityPools 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 resource, add the following JSON to your template.

{
  "type": "Microsoft.NetApp/netAppAccounts/capacityPools",
  "apiVersion": "2021-04-01-preview",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "properties": {
    "qosType": "string",
    "serviceLevel": "string",
    "size": "int"
  }
}

Property values

netAppAccounts/capacityPools

Name Description Value
type The resource type 'Microsoft.NetApp/netAppAccounts/capacityPools'
apiVersion The resource api version '2021-04-01-preview'
name The resource name

See how to set names and types for child resources in JSON ARM templates.
string (required)

Character limit: 1-64

Valid characters:
Alphanumerics, underscores, and hyphens.

Start with alphanumeric.
location Resource location string (required)
tags Resource tags Dictionary of tag names and values. See Tags in templates
properties Capacity pool properties PoolProperties (required)

PoolProperties

Name Description Value
qosType The qos type of the pool 'Auto'
'Manual'
serviceLevel The service level of the file system 'Premium'
'Standard'
'Ultra' (required)
size Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104). int (required)

Constraints:
Min value = 4398046511104
Max value = 549755813888000

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create new ANF resource with NFSV3/NFSv4.1 volume

Deploy to Azure
This template allows you to create a new Azure NetApp Files resource with a single Capacity pool and single volume configured with NFSV3 or NFSv4.1 protocol. They are all deployed together with Azure Virtual Network and Delegated subnet that are required for any volume to be created
Create new ANF resource with SMB volume

Deploy to Azure
This template allows you to create a new Azure NetApp Files resource with a single Capacity pool and single volume configured with SMB protocol.

Terraform (AzAPI provider) resource definition

The netAppAccounts/capacityPools 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.NetApp/netAppAccounts/capacityPools resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.NetApp/netAppAccounts/capacityPools@2021-04-01-preview"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      qosType = "string"
      serviceLevel = "string"
      size = int
    }
  })
}

Property values

netAppAccounts/capacityPools

Name Description Value
type The resource type "Microsoft.NetApp/netAppAccounts/capacityPools@2021-04-01-preview"
name The resource name string (required)

Character limit: 1-64

Valid characters:
Alphanumerics, underscores, and hyphens.

Start with alphanumeric.
location Resource location string (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: netAppAccounts
tags Resource tags Dictionary of tag names and values.
properties Capacity pool properties PoolProperties (required)

PoolProperties

Name Description Value
qosType The qos type of the pool "Auto"
"Manual"
serviceLevel The service level of the file system "Premium"
"Standard"
"Ultra" (required)
size Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104). int (required)

Constraints:
Min value = 4398046511104
Max value = 549755813888000