az netappfiles pool

Manage Azure NetApp Files (ANF) Pool Resources.

Commands

az netappfiles pool create

Create a new Azure NetApp Files (ANF) pool.

az netappfiles pool delete

Delete the specified ANF pool.

az netappfiles pool list

L:ist the ANF pools for the specified account.

az netappfiles pool show

Get the specified ANF pool.

az netappfiles pool update

Update the tags of the specified ANF pool.

az netappfiles pool create

Create a new Azure NetApp Files (ANF) pool.

az netappfiles pool create --account-name
                           --name
                           --resource-group
                           --service-level {Premium, Standard, Ultra}
                           --size
                           [--cool-access {false, true}]
                           [--encryption-type]
                           [--location]
                           [--qos-type]
                           [--tags]

Examples

Create an ANF pool

az netappfiles pool create -g mygroup --account-name myaccountname --name mypoolname -l westus2 --size 8 --service-level premium

Required Parameters

--account-name -a

The name of the ANF account.

--name --pool-name -n -p

The name of the ANF pool.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--service-level

The service level for the ANF pool.

accepted values: Premium, Standard, Ultra
--size

The size for the ANF pool. Must be an integer number of tebibytes in multiples of 4.

Optional Parameters

--cool-access

If enabled (true) the pool can contain cool Access enabled volumes.

accepted values: false, true
--encryption-type

Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool. Possible values are Single or Double. Default value is Single.

--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.

--qos-type

The qos type of the ANF pool.

--tags

Space-separated tags in key[=value] format.

az netappfiles pool delete

Delete the specified ANF pool.

az netappfiles pool delete [--account-name]
                           [--ids]
                           [--name]
                           [--resource-group]

Examples

Delete an ANF pool

az netappfiles pool delete -g mygroup --account-name myaccname --name mypoolname

Optional Parameters

--account-name -a

The name of the ANF account.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name --pool-name -n -p

The name of the ANF pool.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az netappfiles pool list

L:ist the ANF pools for the specified account.

az netappfiles pool list --account-name
                         --resource-group

Examples

List the pools for the ANF account

az netappfiles pool list -g mygroup --account-name myname

Required Parameters

--account-name -a

The name of the ANF account.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az netappfiles pool show

Get the specified ANF pool.

az netappfiles pool show [--account-name]
                         [--ids]
                         [--name]
                         [--resource-group]

Examples

Get an ANF pool

az netappfiles pool show -g mygroup --account-name myaccname --name mypoolname

Optional Parameters

--account-name -a

The name of the ANF account.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name --pool-name -n -p

The name of the ANF pool.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az netappfiles pool update

Update the tags of the specified ANF pool.

az netappfiles pool update [--account-name]
                           [--add]
                           [--force-string]
                           [--ids]
                           [--name]
                           [--qos-type]
                           [--remove]
                           [--resource-group]
                           [--set]
                           [--size]
                           [--tags]

Examples

Update specific values for an ANF pool

az netappfiles pool update -g mygroup --account-name myaccname --name mypoolname --tags mytag1=abcd mytag2=efgh

Optional Parameters

--account-name -a

The name of the ANF account.

--add

Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>.

--force-string

When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name --pool-name -n -p

The name of the ANF pool.

--qos-type

The qos type of the ANF pool.

--remove

Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--set

Update an object by specifying a property path and value to set. Example: --set property1.property2=.

--size

The size for the ANF pool. Must be an integer number of tebibytes in multiples of 4.

--tags

Space-separated tags in key[=value] format.