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
                           --location
                           --name
                           --resource-group
                           --service-level {Premium, Standard, Ultra}
                           --size
                           [--subscription]
                           [--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.

--location -l

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

--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

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--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]
                           [--subscription]

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>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az netappfiles pool list

L:ist the ANF pools for the specified account.

az netappfiles pool list --account-name
                         --resource-group
                         [--query-examples]
                         [--subscription]

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>.

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az netappfiles pool show

Get the specified ANF pool.

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

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.

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--resource-group -g

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

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az netappfiles pool update

Update the tags of the specified ANF pool.

az netappfiles pool update [--account-name]
                           [--add]
                           [--force-string]
                           [--ids]
                           [--name]
                           [--remove]
                           [--resource-group]
                           [--service-level {Premium, Standard, Ultra}]
                           [--set]
                           [--size]
                           [--subscription]
                           [--tags]

Examples

Update specific values for an ANF pool

az netappfiles pool update -g mygroup --account-name myaccname --name mypoolname --service-level ultra --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.

--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>.

--service-level

The service level for the ANF pool.

accepted values: Premium, Standard, Ultra
--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.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--tags

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