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
                           --pool-name
                           --resource-group
                           --service-level
                           --size
                           [--tags]

Examples

Create an ANF pool

az netappfiles pool create -g group --account-name aname --pool-name pname -l location --size 4398046511104 --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>.

--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 ["Standard"|"Premium"|"Extreme"].

--size

The size for the ANF pool. Must be in 4 tebibytes increments, expressed in bytes.

Optional Parameters

--tags

A list of space separated tags to apply to the pool.

az netappfiles pool delete

Delete the specified ANF pool.

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

Examples

Delete an ANF pool

az netappfiles pool delete -g group --account-name aname --pool-name pname

Required Parameters

--account-name -a

The name of the ANF account.

--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 group --account-name name

Required Parameters

--account-name -a -n

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
                         --pool-name
                         --resource-group

Examples

Get an ANF pool

az netappfiles pool show -g group --account-name aname --pool-name pname

Required Parameters

--account-name -a

The name of the ANF account.

--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
                           --pool-name
                           --resource-group
                           [--add]
                           [--force-string]
                           [--location]
                           [--remove]
                           [--service-level]
                           [--set]
                           [--size]
                           [--tags]

Examples

Update specific values for an ANF pool

az netappfiles pool update -g group --account-name aname --pool-name pname --service-level "Extreme" --tags 'key[=value] key[=value]'

Required Parameters

--account-name -a

The name of the ANF account.

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

Optional Parameters

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

--location -l

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

--remove

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

--service-level

The service level for the ANF pool ["Standard"|"Premium"|"Extreme"].

--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 in 4 tebibytes increments, expressed in bytes.

--tags

A list of space separated tags to apply to the pool.