az netappfiles account
Note
This command group has commands that are defined in both Azure CLI and at least one extension. Install each extension to benefit from its extended capabilities. Learn more about extensions.
Manage Azure NetApp Files (ANF) Account Resources.
Commands
Name | Description | Type | Status |
---|---|---|---|
az netappfiles account ad |
Manage Azure NetApp Files (ANF) Account active directories. |
Core | GA |
az netappfiles account ad add |
Add an active directory to the account. |
Core | GA |
az netappfiles account ad list |
List the active directories of an account. |
Core | GA |
az netappfiles account ad remove |
Remove an active directory from the account. |
Core | GA |
az netappfiles account ad show |
Get the specified ANF active directory. |
Core | GA |
az netappfiles account ad update |
Updates an active directory to the account. |
Core | GA |
az netappfiles account ad wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az netappfiles account backup-policy |
Manage Azure NetApp Files (ANF) Bakup Policy Resources. |
Core | GA |
az netappfiles account backup-policy create |
Create a backup policy for Netapp Account. |
Core | GA |
az netappfiles account backup-policy delete |
Delete backup policy. |
Core | GA |
az netappfiles account backup-policy list |
List backup policies for Netapp Account. |
Core | GA |
az netappfiles account backup-policy show |
Get a particular backup Policy. |
Core | GA |
az netappfiles account backup-policy update |
Update a backup policy for Netapp Account. |
Core | GA |
az netappfiles account backup-policy wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az netappfiles account backup-vault |
Manage Azure NetApp Files (ANF) BackupVault Resources. |
Core and Extension | GA |
az netappfiles account backup-vault backup |
Manage Azure NetApp Files (ANF) Backup Resources. |
Core and Extension | GA |
az netappfiles account backup-vault backup create |
Create a backup under the Backup Vault. |
Core | GA |
az netappfiles account backup-vault backup create (netappfiles-preview extension) |
Create a backup under the Backup Vault. |
Extension | Preview |
az netappfiles account backup-vault backup delete |
Delete a Backup under the Backup Vault. |
Core | GA |
az netappfiles account backup-vault backup delete (netappfiles-preview extension) |
Delete a Backup under the Backup Vault. |
Extension | Preview |
az netappfiles account backup-vault backup list |
List all backups Under a Backup Vault. |
Core | GA |
az netappfiles account backup-vault backup list (netappfiles-preview extension) |
List all backups Under a Backup Vault. |
Extension | Preview |
az netappfiles account backup-vault backup restore-file |
Restore the specified files from the specified backup to the active filesystem. |
Core | GA |
az netappfiles account backup-vault backup restore-file (netappfiles-preview extension) |
Restore the specified files from the specified backup to the active filesystem. |
Extension | Preview |
az netappfiles account backup-vault backup show |
Get the specified Backup under Backup Vault. |
Core | GA |
az netappfiles account backup-vault backup show (netappfiles-preview extension) |
Get the specified Backup under Backup Vault. |
Extension | Preview |
az netappfiles account backup-vault backup update |
Update a backup under the Backup Vault. |
Core | GA |
az netappfiles account backup-vault backup update (netappfiles-preview extension) |
Update a backup under the Backup Vault. |
Extension | Preview |
az netappfiles account backup-vault backup wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az netappfiles account backup-vault backup wait (netappfiles-preview extension) |
Place the CLI in a waiting state until a condition is met. |
Extension | Preview |
az netappfiles account backup-vault create |
Create the specified Backup Vault in the NetApp account. |
Core | GA |
az netappfiles account backup-vault create (netappfiles-preview extension) |
Create the specified Backup Vault in the NetApp account. |
Extension | Preview |
az netappfiles account backup-vault delete |
Delete the specified Backup Vault. |
Core | GA |
az netappfiles account backup-vault delete (netappfiles-preview extension) |
Delete the specified Backup Vault. |
Extension | Preview |
az netappfiles account backup-vault list |
List and describe all Backup Vaults in the NetApp account. |
Core | GA |
az netappfiles account backup-vault list (netappfiles-preview extension) |
List and describe all Backup Vaults in the NetApp account. |
Extension | Preview |
az netappfiles account backup-vault show |
Get the Backup Vault. |
Core | GA |
az netappfiles account backup-vault show (netappfiles-preview extension) |
Get the Backup Vault. |
Extension | Preview |
az netappfiles account backup-vault update |
Update the specified Backup Vault in the NetApp account. |
Core | GA |
az netappfiles account backup-vault update (netappfiles-preview extension) |
Update the specified Backup Vault in the NetApp account. |
Extension | Preview |
az netappfiles account backup-vault wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az netappfiles account backup-vault wait (netappfiles-preview extension) |
Place the CLI in a waiting state until a condition is met. |
Extension | Preview |
az netappfiles account create |
Create the specified NetApp account within the resource group. |
Core | GA |
az netappfiles account create (netappfiles-preview extension) |
Create the specified NetApp account within the resource group. |
Extension | Preview |
az netappfiles account delete |
Delete the specified NetApp account. |
Core | GA |
az netappfiles account delete (netappfiles-preview extension) |
Delete the specified NetApp account. |
Extension | Preview |
az netappfiles account list |
List and describe all NetApp accounts in the subscription. |
Core | GA |
az netappfiles account list (netappfiles-preview extension) |
List and describe all NetApp accounts in the subscription. |
Extension | Preview |
az netappfiles account migrate-backup |
Migrate the backups under a NetApp account to backup vault. |
Core | GA |
az netappfiles account migrate-backup (netappfiles-preview extension) |
Migrate the backups under a NetApp account to backup vault. |
Extension | GA |
az netappfiles account renew-credentials |
Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If encryption.identity.principalId does not match identity.principalId, running this operation will fix it. |
Core | GA |
az netappfiles account renew-credentials (netappfiles-preview extension) |
Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If encryption.identity.principalId does not match identity.principalId, running this operation will fix it. |
Extension | GA |
az netappfiles account show |
Get the NetApp account. |
Core | GA |
az netappfiles account show (netappfiles-preview extension) |
Get the NetApp account. |
Extension | Preview |
az netappfiles account update |
Update the specified NetApp account within the resource group. |
Core | GA |
az netappfiles account update (netappfiles-preview extension) |
Update the specified NetApp account within the resource group. |
Extension | Preview |
az netappfiles account wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az netappfiles account wait (netappfiles-preview extension) |
Place the CLI in a waiting state until a condition is met. |
Extension | GA |
az netappfiles account create
Create the specified NetApp account within the resource group.
az netappfiles account create --account-name
--resource-group
[--active-directories]
[--identity-type {None, SystemAssigned, SystemAssigned,UserAssigned, UserAssigned}]
[--key-name]
[--key-source {Microsoft.KeyVault, Microsoft.NetApp}]
[--key-vault-resource-id]
[--key-vault-uri]
[--location]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--tags]
[--user-assigned-identity]
Examples
Create an ANF account
az netappfiles account create -g mygroup --name myname -l location --tags testtag1=mytag1 testtag3=mytagg
Create an ANF account enabling CMK encryption
az netappfiles account create -g mygroup --name myname -l location --key-source Microsoft.KeyVault --key-name cmkKey --key-vault-uri https://mykvuri.vault.azure.net/ --keyvault-resource-id myKeyVaultResourceId --identity-type UserAssigned --user-assigned-identity '/subscriptions/xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/myrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/anf-mi'
Required Parameters
The name of the NetApp account.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Active Directories Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
The name of KeyVault key.
The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault.
The resource ID of KeyVault.
The Uri of KeyVault.
The geo-location where the resource lives When not specified, the location of the resource group will be used.
Do not wait for the long-running operation to finish.
Resource tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
The ARM resource identifier of the user assigned identity used to authenticate with key vault. Applicable if identity.type has UserAssigned. It should match key of identity.userAssignedIdentities.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account create (netappfiles-preview extension)
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Create the specified NetApp account within the resource group.
az netappfiles account create --account-name
--resource-group
[--active-directories]
[--federated-client-id]
[--identity-type {None, SystemAssigned, SystemAssigned,UserAssigned, UserAssigned}]
[--key-name]
[--key-source {Microsoft.KeyVault, Microsoft.NetApp}]
[--key-vault-resource-id]
[--key-vault-uri]
[--location]
[--nfs-v4-id-domain]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--tags]
[--user-assigned-identities]
[--user-assigned-identity]
Examples
Create an ANF account
az netappfiles account create -g mygroup --name myname -l location --tags testtag1=mytag1 testtag3=mytagg
Create an ANF account enabling CMK encryption
az netappfiles account create -g mygroup --name myname -l location --key-source Microsoft.KeyVault --key-name cmkKey --key-vault-uri https://mykvuri.vault.azure.net/ --keyvault-resource-id myKeyVaultResourceId --identity-type UserAssigned --user-assigned-identity '/subscriptions/xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/myrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/anf-mi'
Required Parameters
The name of the NetApp account.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Active Directories Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
ClientId of the multi-tenant AAD Application. Used to access cross-tenant KeyVaults.
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
The name of KeyVault key.
The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault.
The resource ID of KeyVault.
The Uri of KeyVault.
The geo-location where the resource lives When not specified, the location of the resource group will be used.
Domain for NFSv4 user ID mapping. This property will be set for all NetApp accounts in the subscription and region and only affect non ldap NFSv4 volumes.
Do not wait for the long-running operation to finish.
Resource tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
The ARM resource identifier of the user assigned identity used to authenticate with key vault. Applicable if identity.type has 'UserAssigned'. It should match key of identity.userAssignedIdentities.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account delete
Delete the specified NetApp account.
az netappfiles account delete [--account-name]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
[--yes]
Examples
Delete an ANF account
az netappfiles account delete -g mygroup --name myname
Optional Parameters
The name of the NetApp 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.
Do not wait for the long-running operation to finish.
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
.
Do not prompt for confirmation.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account delete (netappfiles-preview extension)
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Delete the specified NetApp account.
az netappfiles account delete [--account-name]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
[--yes]
Examples
Delete an ANF account
az netappfiles account delete -g mygroup --name myname
Optional Parameters
The name of the NetApp 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.
Do not wait for the long-running operation to finish.
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
.
Do not prompt for confirmation.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account list
List and describe all NetApp accounts in the subscription.
az netappfiles account list [--max-items]
[--next-token]
[--resource-group]
Examples
List ANF accounts within a resource group
az netappfiles account list -g mygroup
Optional Parameters
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token
argument of a subsequent command.
Token to specify where to start paginating. This is the token value from a previously truncated response.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account list (netappfiles-preview extension)
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List and describe all NetApp accounts in the subscription.
az netappfiles account list [--max-items]
[--next-token]
[--resource-group]
Examples
List ANF accounts within a resource group
az netappfiles account list -g mygroup
Optional Parameters
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token
argument of a subsequent command.
Token to specify where to start paginating. This is the token value from a previously truncated response.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account migrate-backup
Migrate the backups under a NetApp account to backup vault.
az netappfiles account migrate-backup --backup-vault-id
[--account-name]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
Required Parameters
The ResourceId of the Backup Vault.
Optional Parameters
The name of the NetApp 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.
Do not wait for the long-running operation to finish.
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
.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account migrate-backup (netappfiles-preview extension)
Migrate the backups under a NetApp account to backup vault.
az netappfiles account migrate-backup --backup-vault-id
[--account-name]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
Required Parameters
The ResourceId of the Backup Vault.
Optional Parameters
The name of the NetApp 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.
Do not wait for the long-running operation to finish.
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
.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account renew-credentials
Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If encryption.identity.principalId does not match identity.principalId, running this operation will fix it.
az netappfiles account renew-credentials [--account-name]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
Examples
Renew identity credentials
az netappfiles account renew-credentials -g mygroup --a myname
Optional Parameters
The name of the NetApp 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.
Do not wait for the long-running operation to finish.
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
.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account renew-credentials (netappfiles-preview extension)
Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If encryption.identity.principalId does not match identity.principalId, running this operation will fix it.
az netappfiles account renew-credentials [--account-name]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
Examples
Renew identity credentials
az netappfiles account renew-credentials -g mygroup --a myname
Optional Parameters
The name of the NetApp 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.
Do not wait for the long-running operation to finish.
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
.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account show
Get the NetApp account.
az netappfiles account show [--account-name]
[--ids]
[--resource-group]
[--subscription]
Examples
Get an ANF account
az netappfiles account show -g mygroup --name myname
Optional Parameters
The name of the NetApp 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.
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
.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account show (netappfiles-preview extension)
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Get the NetApp account.
az netappfiles account show [--account-name]
[--ids]
[--resource-group]
[--subscription]
Examples
Get an ANF account
az netappfiles account show -g mygroup --name myname
Optional Parameters
The name of the NetApp 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.
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
.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account update
Update the specified NetApp account within the resource group.
az netappfiles account update [--account-name]
[--active-directories]
[--add]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--identity-type {None, SystemAssigned, SystemAssigned,UserAssigned, UserAssigned}]
[--ids]
[--key-name]
[--key-source {Microsoft.KeyVault, Microsoft.NetApp}]
[--key-vault-resource-id]
[--key-vault-uri]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--remove]
[--resource-group]
[--set]
[--subscription]
[--tags]
[--user-assigned-identity]
Examples
Update the tags of an ANF account
az netappfiles account update -g mygroup --name myname --tags testtag2=mytagb
Update an ANF account enabling CMK encryption
az netappfiles account update -g mygroup -a myname --key-source Microsoft.KeyVault --key-name cmkKey --key-vault-uri https://mykvuri.vault.azure.net/ --keyvault-resource-id myKeyVaultResourceId --identity-type UserAssigned --user-assigned-identity '/subscriptions/xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/myrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/anf-mi'
Optional Parameters
The name of the NetApp account.
Active Directories Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
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.
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
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 KeyVault key.
The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault.
The resource ID of KeyVault.
The Uri of KeyVault.
Do not wait for the long-running operation to finish.
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Resource tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
The ARM resource identifier of the user assigned identity used to authenticate with key vault. Applicable if identity.type has UserAssigned. It should match key of identity.userAssignedIdentities.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account update (netappfiles-preview extension)
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Update the specified NetApp account within the resource group.
az netappfiles account update [--account-name]
[--active-directories]
[--add]
[--encryption-identity]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--identity-type {None, SystemAssigned, SystemAssigned,UserAssigned, UserAssigned}]
[--ids]
[--key-name]
[--key-source {Microsoft.KeyVault, Microsoft.NetApp}]
[--key-vault-resource-id]
[--key-vault-uri]
[--nfs-v4-id-domain]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--remove]
[--resource-group]
[--set]
[--subscription]
[--tags]
[--user-assigned-identities]
Examples
Update the tags of an ANF account
az netappfiles account update -g mygroup --name myname --tags testtag2=mytagb
Update an ANF account enabling CMK encryption
az netappfiles account update -g mygroup -a myname --key-source Microsoft.KeyVault --key-name cmkKey --key-vault-uri https://mykvuri.vault.azure.net/ --keyvault-resource-id myKeyVaultResourceId --identity-type UserAssigned --user-assigned-identity '/subscriptions/xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/myrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/anf-mi'
Optional Parameters
The name of the NetApp account.
Active Directories Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
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>
.
Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
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 KeyVault key.
The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault.
The resource ID of KeyVault.
The Uri of KeyVault.
Domain for NFSv4 user ID mapping. This property will be set for all NetApp accounts in the subscription and region and only affect non ldap NFSv4 volumes.
Do not wait for the long-running operation to finish.
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Resource tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account wait
Place the CLI in a waiting state until a condition is met.
az netappfiles account wait [--account-name]
[--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
Optional Parameters
The name of the NetApp account.
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
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.
Polling interval in seconds.
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
.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account wait (netappfiles-preview extension)
Place the CLI in a waiting state until a condition is met.
az netappfiles account wait [--account-name]
[--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
Optional Parameters
The name of the NetApp account.
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
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.
Polling interval in seconds.
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
.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI