az netappfiles snapshot
Manage Azure NetApp Files (ANF) Snapshot Resources.
Commands
az netappfiles snapshot create |
Create a new Azure NetApp Files (ANF) snapshot. |
az netappfiles snapshot delete |
Delete the specified ANF snapshot. |
az netappfiles snapshot list |
List the snapshots of an ANF volume. |
az netappfiles snapshot policy |
Manage Azure NetApp Files (ANF) Snapshot Policy Resources. |
az netappfiles snapshot policy create |
Create a new Azure NetApp Files (ANF) snapshot policy. |
az netappfiles snapshot policy delete |
Delete the specified ANF snapshot policy. |
az netappfiles snapshot policy list |
List the ANF snapshot policies for the specified account. |
az netappfiles snapshot policy show |
Get the specified ANF snapshot policy. |
az netappfiles snapshot policy update |
Update the specified ANF snapshot policy. |
az netappfiles snapshot policy volumes |
Get the all ANF volumes associated with snapshot policy. |
az netappfiles snapshot policy wait |
Wait for a snapshot policy operation. |
az netappfiles snapshot restore-files |
Restore specified files from the specified snapshot to the active filesystem. |
az netappfiles snapshot show |
Get the specified ANF snapshot. |
az netappfiles snapshot update |
Update a snapshot. |
az netappfiles snapshot wait |
Wait for a snapshot operation. |
az netappfiles snapshot create
Create a new Azure NetApp Files (ANF) snapshot.
az netappfiles snapshot create --account-name
--name
--pool-name
--resource-group
--volume-name
[--location]
[--no-wait]
Examples
Create an ANF snapshot
az netappfiles snapshot create -g mygroup --account-name myaccname --pool-name mypoolname --volume-name myvolname --name mysnapname -l eastus
Required Parameters
The name of the ANF account.
The name of the ANF snapshot.
The name of the ANF pool.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the ANF volume.
Optional Parameters
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
Do not wait for the long-running operation to finish.
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 snapshot delete
Delete the specified ANF snapshot.
az netappfiles snapshot delete [--account-name]
[--ids]
[--name]
[--no-wait]
[--pool-name]
[--resource-group]
[--subscription]
[--volume-name]
Examples
Delete an ANF snapshot
az netappfiles snapshot delete -g mygroup --account-name myaccname --pool-name mypoolname --volume-name myvolname --name mysnapname
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 snapshot.
Do not wait for the long-running operation to finish.
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
.
The name of the ANF volume.
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 snapshot list
List the snapshots of an ANF volume.
az netappfiles snapshot list --account-name
--pool-name
--resource-group
--volume-name
Examples
list the snapshots of an ANF volume
az netappfiles snapshot list -g mygroup --account-name myaccname --pool-name mypoolname --volume-name myvolname
Required Parameters
The name of the ANF account.
The name of the ANF pool.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the ANF volume.
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 snapshot restore-files
Restore specified files from the specified snapshot to the active filesystem.
az netappfiles snapshot restore-files --file-paths
[--account-name]
[--destination-path]
[--ids]
[--name]
[--no-wait]
[--pool-name]
[--resource-group]
[--subscription]
[--volume-name]
Examples
Restore files from snapshot
az netappfiles snapshot restore-files -g mygroup --account-name myaccname --pool-name mypoolname --volume-name myvolname --name mysnapname --file-paths myfilepaths
Required Parameters
Required. A space separated string of filed to be restored.
Optional Parameters
The name of the ANF account.
Destination folder where the files will be restored.
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 snapshot.
Do not wait for the long-running operation to finish.
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
.
The name of the ANF volume.
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 snapshot show
Get the specified ANF snapshot.
az netappfiles snapshot show [--account-name]
[--ids]
[--name]
[--pool-name]
[--resource-group]
[--subscription]
[--volume-name]
Examples
Return the specified ANF snapshot
az netappfiles snapshot show -g mygroup --account-name myaccname --pool-name mypoolname --volume-name myvolname --name mysnapname
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 snapshot.
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
.
The name of the ANF volume.
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 snapshot update
Update a snapshot.
Patch a snapshot.
az netappfiles snapshot update --body
[--account-name]
[--ids]
[--name]
[--no-wait]
[--pool-name]
[--resource-group]
[--subscription]
[--volume-name]
Required Parameters
Snapshot object supplied in the body of the operation. Required.
Optional Parameters
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 snapshot.
Do not wait for the long-running operation to finish.
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
.
Name of the ANF volume.
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 snapshot wait
Wait for a snapshot operation.
az netappfiles snapshot wait [--account-name]
[--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--name]
[--pool-name]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
[--volume-name]
Optional Parameters
Name of the ANF 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.
The name of the ANF snapshot.
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
.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
Name of the ANF volume.
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.
Feedback
Submit and view feedback for