Microsoft.NetApp netAppAccounts/capacityPools/volumes 2017-08-15

Template format

To create a Microsoft.NetApp/netAppAccounts/capacityPools/volumes resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
  "apiVersion": "2017-08-15",
  "location": "string",
  "tags": {},
  "properties": {
    "creationToken": "string",
    "serviceLevel": "string",
    "usageThreshold": "integer",
    "exportPolicy": {
      "rules": [
        {
          "ruleIndex": "integer",
          "unixReadOnly": "boolean",
          "unixReadWrite": "boolean",
          "cifs": "boolean",
          "nfsv3": "boolean",
          "nfsv4": "boolean",
          "allowedClients": "string"
        }
      ]
    },
    "subnetId": "string"
  },
  "resources": []
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.NetApp/netAppAccounts/capacityPools/volumes object

Name Type Required Value
name string Yes The name of the volume
type enum Yes volumes
-or-
Microsoft.NetApp/netAppAccounts/capacityPools/volumes

See Set name and type for child resources.
apiVersion enum Yes 2017-08-15
location string Yes Resource location
tags object No Resource tags
properties object Yes Volume properties - VolumeProperties object
resources array No snapshots

VolumeProperties object

Name Type Required Value
creationToken string Yes A unique file path for the volume. Used when creating mount targets
serviceLevel enum Yes The service level of the file system. - Standard, Premium, Ultra
usageThreshold integer No Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB.
exportPolicy object No Export policy rule - VolumePropertiesExportPolicy object
subnetId string No The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes

VolumePropertiesExportPolicy object

Name Type Required Value
rules array No ExportPolicyRule object

ExportPolicyRule object

Name Type Required Value
ruleIndex integer No Order index
unixReadOnly boolean No Read only access
unixReadWrite boolean No Read and write access
cifs boolean No Allows CIFS protocol
nfsv3 boolean No Allows NFSv3 protocol
nfsv4 boolean No Allows NFSv4 protocol
allowedClients string No Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names