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
The name of the ANF account.
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
The name of the ANF pool.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The service level for the ANF pool.
The size for the ANF pool. Must be an integer number of tebibytes in multiples of 4.
Optional Parameters
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Space-separated tags in key[=value]
format.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
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
The name of the ANF account.
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.
The name of the ANF pool.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
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
The name of the ANF account.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
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
The name of the ANF account.
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.
The name of the ANF pool.
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.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
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
The name of the ANF account.
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>.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
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.
The name of the ANF pool.
Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The service level for the ANF pool.
Update an object by specifying a property path and value to set. Example: --set property1.property2=.
The size for the ANF pool. Must be an integer number of tebibytes in multiples of 4.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Space-separated tags in key[=value]
format.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.