az netappfiles volume
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) Volume Resources.
Generated Create update delete operations for Azure NetApp Files (ANF) Volumes.
Commands
Name | Description | Type | Status |
---|---|---|---|
az netappfiles volume break-file-locks |
Break all the file locks on a volume. |
Core | GA |
az netappfiles volume create |
Create or Update a volume. |
Core | GA |
az netappfiles volume create (netappfiles-preview extension) |
Create or Update a volume. |
Extension | Preview |
az netappfiles volume delete |
Delete the specified volume. |
Core | GA |
az netappfiles volume delete (netappfiles-preview extension) |
Delete the specified volume. |
Extension | Preview |
az netappfiles volume export-policy |
Manage Azure NetApp Files (ANF) Volume export policies. |
Core | GA |
az netappfiles volume export-policy add |
Add a new rule to the export policy for a volume. |
Core | GA |
az netappfiles volume export-policy list |
List the export policy rules for a volume. |
Core | GA |
az netappfiles volume export-policy remove |
Remove a rule from the export policy for a volume by rule index. The current rules can be obtained by performing the subgroup list command. |
Core | GA |
az netappfiles volume export-policy show |
Show the export policy rule for a volume. |
Core | GA |
az netappfiles volume export-policy update |
Update the export policy rule for a volume. |
Core | GA |
az netappfiles volume export-policy wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az netappfiles volume finalize-relocation |
Finalizes the relocation of the volume and cleans up the old volume. |
Core | GA |
az netappfiles volume get-groupid-list-for-ldapuser |
Returns the list of group Ids for a specific LDAP User. |
Core | GA |
az netappfiles volume latest-backup-status |
Get the latest backup status of a volume. |
Core and Extension | GA |
az netappfiles volume latest-backup-status current |
Get the latest backup status of the current volume. |
Core and Extension | GA |
az netappfiles volume latest-backup-status current show |
Get the latest status of the backup for a volume. |
Core | GA |
az netappfiles volume latest-backup-status current show (netappfiles-preview extension) |
Get the latest status of the backup for a volume. |
Extension | Preview |
az netappfiles volume latest-restore-status |
Get the latest backup status of a volume. |
Core | GA |
az netappfiles volume latest-restore-status current |
Get the latest restore status of a volume. |
Core | GA |
az netappfiles volume latest-restore-status current show |
Get the latest status of the restore for a volume. |
Core | GA |
az netappfiles volume list |
List all volumes within the capacity pool. |
Core | GA |
az netappfiles volume list (netappfiles-preview extension) |
List all volumes within the capacity pool. |
Extension | Preview |
az netappfiles volume list-quota-report |
Returns report of quotas for the volume. |
Extension | Preview |
az netappfiles volume migrate-backup |
Migrate the backups under volume to backup vault. |
Core | GA |
az netappfiles volume migrate-backup (netappfiles-preview extension) |
Migrate the backups under volume to backup vault. |
Extension | Preview |
az netappfiles volume pool-change |
Moves volume to another pool. |
Core | GA |
az netappfiles volume populate-availability-zone |
This operation will populate availability zone information for a volume. |
Core | GA |
az netappfiles volume quota-rule |
Manage Azure NetApp Files (ANF) Volume Quota Rules Resources. |
Core | GA |
az netappfiles volume quota-rule create |
Create the specified quota rule within the given volume. |
Core | GA |
az netappfiles volume quota-rule delete |
Delete quota rule. |
Core | GA |
az netappfiles volume quota-rule list |
List all quota rules associated with the volume. |
Core | GA |
az netappfiles volume quota-rule show |
Get details of the specified quota rule. |
Core | GA |
az netappfiles volume quota-rule update |
Update the specified quota rule within the given volume. |
Core | GA |
az netappfiles volume quota-rule wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az netappfiles volume relocate |
Relocates volume to a new stamp. |
Core | GA |
az netappfiles volume replication |
Manage Azure NetApp Files (ANF) Volume replication. |
Core | GA |
az netappfiles volume replication approve |
Authorize source volume replication. |
Core | GA |
az netappfiles volume replication authorize-external-replication |
Starts SVM peering and returns a command to be run on the external ONTAP to accept it. Once the SVM have been peered a SnapMirror will be created. |
Core | GA |
az netappfiles volume replication finalize-external-replication |
Finalizes the migration of an external volume by releasing the replication and breaking the external cluster peering if no other migration is active. |
Core | GA |
az netappfiles volume replication list |
List all replications for a specified volume. |
Core | GA |
az netappfiles volume replication peer-external-cluster |
Starts peering the external cluster for this migration volume. |
Core | GA |
az netappfiles volume replication perform-replication-transfer |
Performs an adhoc replication transfer on a volume with volumeType Migration. |
Core | GA |
az netappfiles volume replication populate-availability-zone |
This operation will populate availability zone information for a volume. |
Core | GA |
az netappfiles volume replication re-initialize |
Re-Initializes the replication connection on the destination volume. |
Core | GA |
az netappfiles volume replication reestablish |
Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based snapshots. |
Core | GA |
az netappfiles volume replication remove |
Delete the replication connection on the destination volume, and send release to the source replication. |
Core | GA |
az netappfiles volume replication resume |
Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from destination to source. |
Core | GA |
az netappfiles volume replication status |
Get the status of the replication. |
Core | GA |
az netappfiles volume replication suspend |
Suspend/Break the replication connection on the destination volume. |
Core | GA |
az netappfiles volume reset-cifs-pw |
Reset cifs password from volume. |
Core | GA |
az netappfiles volume revert |
Revert a volume to the snapshot specified in the body. |
Core | GA |
az netappfiles volume revert-relocation |
Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. |
Core | GA |
az netappfiles volume show |
Get the details of the specified volume. |
Core | GA |
az netappfiles volume show (netappfiles-preview extension) |
Get the details of the specified volume. |
Extension | Preview |
az netappfiles volume splitclonefromparent |
Split operation to convert clone volume to an independent volume. |
Extension | Preview |
az netappfiles volume update |
Update the specified volume within the capacity pool. |
Core | GA |
az netappfiles volume update (netappfiles-preview extension) |
Update the specified volume within the capacity pool. |
Extension | Preview |
az netappfiles volume wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az netappfiles volume wait (netappfiles-preview extension) |
Place the CLI in a waiting state until a condition is met. |
Extension | GA |
az netappfiles volume break-file-locks
Break all the file locks on a volume.
az netappfiles volume break-file-locks [--account-name]
[--client-ip]
[--confirm --confirm-running-disruptive-operation {0, 1, f, false, n, no, t, true, y, yes}]
[--ids]
[--name --volume-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
[--yes]
Examples
Break all the file locks on the volume
az netappfiles volume break-file-locks -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the NetApp account.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
To clear file locks on a volume for a particular client.
Property | Value |
---|---|
Parameter group: | Body Arguments |
Break-file-locks could be a disruptive operation for application as locks on the volume will be broken, if want to process, set to true.
Property | Value |
---|---|
Parameter group: | Body Arguments |
Default value: | True |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the volume.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The name of the capacity pool.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not prompt for confirmation.
Property | Value |
---|---|
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az netappfiles volume create
Create or Update a volume.
Create the specified volume within the capacity pool.
az netappfiles volume create --account-name
--creation-token --file-path
--name --volume-name
--pool-name
--resource-group
[--allowed-clients]
[--avs-data-store {Disabled, Enabled}]
[--backup-id]
[--backup-policy-id]
[--backup-vault-id]
[--ca-retrieval-policy --cool-access-retrieval-policy {Default, Never, OnRead}]
[--ca-tiering-policy --cool-access-tiering-policy {Auto, SnapshotOnly}]
[--capacity-pool-resource-id --pool-resource-id]
[--chown-mode {Restricted, Unrestricted}]
[--cifs {0, 1, f, false, n, no, t, true, y, yes}]
[--cool-access {0, 1, f, false, n, no, t, true, y, yes}]
[--coolness-period]
[--default-group-quota --default-group-quota-in-ki-bs]
[--default-quota-enabled --is-def-quota-enabled --is-default-quota-enabled {0, 1, f, false, n, no, t, true, y, yes}]
[--default-user-quota --default-user-quota-in-ki-bs]
[--delete-base-snapshot {0, 1, f, false, n, no, t, true, y, yes}]
[--enable-subvolumes {Disabled, Enabled}]
[--encryption-key-source {Microsoft.KeyVault, Microsoft.NetApp}]
[--endpoint-type {dst, src}]
[--export-policy-rules --rules]
[--external-host-name]
[--external-server-name]
[--external-volume-name]
[--has-root-access {0, 1, f, false, n, no, t, true, y, yes}]
[--is-large-volume {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos-enabled {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos5-r {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos5-rw {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos5i-r {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos5i-rw {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos5p-r {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos5p-rw {0, 1, f, false, n, no, t, true, y, yes}]
[--key-vault-private-endpoint-resource-id --kv-private-endpoint-id]
[--ldap-enabled {0, 1, f, false, n, no, t, true, y, yes}]
[--location]
[--network-features {Basic, Standard}]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--placement-rules]
[--policy-enforced {0, 1, f, false, n, no, t, true, y, yes}]
[--ppg --proximity-placement-group]
[--protocol-types]
[--relocation-requested {0, 1, f, false, n, no, t, true, y, yes}]
[--remote-volume-id --remote-volume-resource-id]
[--remote-volume-region]
[--replication-schedule {_10minutely, daily, hourly}]
[--rule-index]
[--security-style {ntfs, unix}]
[--service-level {Premium, Standard, StandardZRS, Ultra}]
[--smb-access-based-enumeration --smb-access-enumeration {Disabled, Enabled}]
[--smb-ca --smb-continuously-available --smb-continuously-avl {0, 1, f, false, n, no, t, true, y, yes}]
[--smb-encryption {0, 1, f, false, n, no, t, true, y, yes}]
[--smb-non-browsable {Disabled, Enabled}]
[--snapshot-dir-visible --snapshot-directory-visible {0, 1, f, false, n, no, t, true, y, yes}]
[--snapshot-id]
[--snapshot-policy-id]
[--subnet --subnet-id]
[--tags]
[--throughput-mibps]
[--unix-permissions]
[--unix-read-only {0, 1, f, false, n, no, t, true, y, yes}]
[--unix-read-write {0, 1, f, false, n, no, t, true, y, yes}]
[--usage-threshold]
[--vnet]
[--volume-spec-name]
[--volume-type]
[--zones]
Examples
Create an ANF volume
az netappfiles volume create -g group --account-name aname --pool-name pname --volume-name vname -l location --service-level "Premium" --usage-threshold 100 --creation-token "unique-token" --protocol-types NFSv3 --vnet myvnet --subnet-id "/subscriptions/mysubsid/resourceGroups/myrg/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/default" --rules '[{"allowed_clients":"0.0.0.0/0","rule_index":"1","unix_read_only":"true","unix_read_write":"false","cifs":"false","nfsv3":"true","nfsv41":"false"}]'
Create an ANF volume with zones (Availability Zone) specified
az netappfiles volume create -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname -l westus2 --service-level premium --usage-threshold 100 --file-path "unique-file-path" --vnet myvnet --subnet mysubnet --protocol-types NFSv3 --zones zone1
Create an ANF volume with CMK Encryption
az netappfiles volume create -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname -l westus2 --service-level premium --usage-threshold 100 --file-path "unique-file-path" --vnet myvnet --subnet mysubnet --protocol-types NFSv3 --network-features Standard --protocol-types NFSv4.1 --rule-index 1 --allowed-clients '10.7.0.0/24' --kerberos-enabled false --encryption-key-source Microsoft.KeyVault --kv-private-endpoint-id myPrivateEndpointId
Required Parameters
The name of the NetApp account.
A unique file path for the volume. Used when creating mount targets.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
The name of the volume.
The name of the capacity pool.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names. Exists for backwards compatibility, please use --export-policy-rules --rules instead.
Property | Value |
---|---|
Parameter group: | ExportPolicy backwards compatibility Arguments |
Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | Disabled |
Accepted values: | Disabled, Enabled |
Resource identifier used to identify the Backup.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Backup Policy Resource ID.
Property | Value |
---|---|
Parameter group: | Backup Arguments |
Backup Vault Resource ID.
Property | Value |
---|---|
Parameter group: | Backup Arguments |
CoolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are: Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default. OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads. Never - No client-driven data is pulled from cool tier to standard storage.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Default, Never, OnRead |
CoolAccessTieringPolicy determines which cold data blocks are moved to cool tier. The possible values for this field are: Auto - Moves cold user data blocks in both the Snapshot copies and the active file system to the cool tier tier. This policy is the default. SnapshotOnly - Moves user data blocks of the Volume Snapshot copies that are not associated with the active file system to the cool tier.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Auto, SnapshotOnly |
Pool Resource Id used in case of creating a volume through volume group.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
This parameter specifies who is authorized to change the ownership of a file. restricted - Only root user can change the ownership of the file. unrestricted - Non-root users can change ownership of files that they own. Possible values include- Restricted, Unrestricted. Exists for backwards compatibility, please use --export-policy-rules --rules instead.
Property | Value |
---|---|
Parameter group: | ExportPolicy backwards compatibility Arguments |
Accepted values: | Restricted, Unrestricted |
Allows CIFS protocol. Enable only for CIFS type volumes. Exists for backwards compatibility, please use --export-policy-rules --rules instead.
Property | Value |
---|---|
Parameter group: | ExportPolicy backwards compatibility Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Specifies whether Cool Access(tiering) is enabled for the volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | False |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Specifies the number of days after which data that is not accessed by clients will be tiered.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | 0 |
Specifies if default quota is enabled for the volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | False |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies .
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | 0 |
If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Flag indicating whether subvolume operations are enabled on the volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | Disabled |
Accepted values: | Disabled, Enabled |
Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault'.
Property | Value |
---|---|
Parameter group: | CMK Encryption Arguments |
Default value: | Microsoft.NetApp |
Accepted values: | Microsoft.KeyVault, Microsoft.NetApp |
Indicates whether the local volume is the source or destination for the Volume Replication.
Property | Value |
---|---|
Parameter group: | Replication Arguments |
Accepted values: | dst, src |
Export policy rule Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | ExportPolicy Arguments |
The Path to a ONTAP Host.
Property | Value |
---|---|
Parameter group: | RemotePath Arguments |
The name of a server on the ONTAP Host.
Property | Value |
---|---|
Parameter group: | RemotePath Arguments |
The name of a volume on the server.
Property | Value |
---|---|
Parameter group: | RemotePath Arguments |
Has root access to volume. Exists for backwards compatibility, please use --export-policy-rules --rules instead.
Property | Value |
---|---|
Parameter group: | ExportPolicy backwards compatibility Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Specifies whether volume is a Large Volume or Regular Volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | False |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | False |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Kerberos5 Read only access. Exists for backwards compatibility, please use --export-policy-rules --rules instead.
Property | Value |
---|---|
Parameter group: | ExportPolicy backwards compatibility Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Kerberos5 Read and write access. Exists for backwards compatibility, please use --export-policy-rules --rules instead.
Property | Value |
---|---|
Parameter group: | ExportPolicy backwards compatibility Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Kerberos5i Readonly access. Exists for backwards compatibility, please use --export-policy-rules --rules instead.
Property | Value |
---|---|
Parameter group: | ExportPolicy backwards compatibility Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Kerberos5i Read and write access. Exists for backwards compatibility, please use --export-policy-rules --rules instead.
Property | Value |
---|---|
Parameter group: | ExportPolicy backwards compatibility Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Kerberos5p Readonly access. Exists for backwards compatibility, please use --export-policy-rules --rules instead.
Property | Value |
---|---|
Parameter group: | ExportPolicy backwards compatibility Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Kerberos5p Read and write access. Exists for backwards compatibility, please use --export-policy-rules --rules instead.
Property | Value |
---|---|
Parameter group: | ExportPolicy backwards compatibility Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'.
Property | Value |
---|---|
Parameter group: | CMK Encryption Arguments |
Specifies whether LDAP is enabled or not for a given NFS volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | False |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The geo-location where the resource lives When not specified, the location of the resource group will be used.
Property | Value |
---|---|
Parameter group: | Body Arguments |
Basic network, or Standard features available to the volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | Basic |
Accepted values: | Basic, Standard |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Application specific placement rules for the particular volume Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Policy Enforced.
Property | Value |
---|---|
Parameter group: | Backup Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Proximity placement group associated with the volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Set of protocol types, default NFSv3, CIFS for SMB protocol Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Has relocation been requested for this volume.
Property | Value |
---|---|
Parameter group: | VolumeRelocation Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The resource ID of the remote volume.
Property | Value |
---|---|
Parameter group: | Replication Arguments |
The remote region for the other end of the Volume Replication.
Property | Value |
---|---|
Parameter group: | Replication Arguments |
Schedule.
Property | Value |
---|---|
Parameter group: | Replication Arguments |
Accepted values: | _10minutely, daily, hourly |
Order index. Exists for backwards compatibility, please use --export-policy-rules --rules instead.
Property | Value |
---|---|
Parameter group: | ExportPolicy backwards compatibility Arguments |
The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | unix |
Accepted values: | ntfs, unix |
ServiceLevel.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | Premium |
Accepted values: | Premium, Standard, StandardZRS, Ultra |
Enables access based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Disabled, Enabled |
Enables continuously available share property for smb volume. Only applicable for SMB volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | False |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | False |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Enables non browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Disabled, Enabled |
If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (defaults to true).
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | True |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Resource identifier used to identify the Snapshot.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Snapshot Policy ResourceId.
Property | Value |
---|---|
Parameter group: | Snapshot Arguments |
The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | default |
Resource tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | Body Arguments |
Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Read only access. Exists for backwards compatibility, please use --export-policy-rules (--rules) instead.
Property | Value |
---|---|
Parameter group: | ExportPolicy backwards compatibility Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Read and write access. Exists for backwards compatibility, please use --export-policy-rules --rules instead.
Property | Value |
---|---|
Parameter group: | ExportPolicy backwards compatibility Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Maximum storage quota allowed for a file system in GiB.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | 100 |
Name or Resource ID of the vnet. If you want to use a vnet in other resource group, please provide the Resource ID instead of the name of the vnet.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Availability Zone Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | Body Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
Property | Value |
---|---|
Default value: | False |
az netappfiles volume create (netappfiles-preview extension)
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Create or Update a volume.
Create the specified volume within the capacity pool.
az netappfiles volume create --account-name
--creation-token --file-path
--name --volume-name
--pool-name
--resource-group
--vnet
[--accept-grow-capacity-pool-for-short-term-clone-split --grow-pool-clone-split {Accepted, Declined}]
[--allowed-clients]
[--avs-data-store {Disabled, Enabled}]
[--backup-id]
[--backup-policy-id]
[--backup-vault-id]
[--ca-retrieval-policy --cool-access-retrieval-policy {Default, Never, OnRead}]
[--capacity-pool-resource-id --pool-resource-id]
[--chown-mode {Restricted, Unrestricted}]
[--cifs {0, 1, f, false, n, no, t, true, y, yes}]
[--cool-access {0, 1, f, false, n, no, t, true, y, yes}]
[--coolness-period]
[--default-group-quota --default-group-quota-in-ki-bs]
[--default-quota-enabled --is-def-quota-enabled --is-default-quota-enabled {0, 1, f, false, n, no, t, true, y, yes}]
[--default-user-quota --default-user-quota-in-ki-bs]
[--delete-base-snapshot {0, 1, f, false, n, no, t, true, y, yes}]
[--enable-subvolumes {Disabled, Enabled}]
[--encryption-key-source {Microsoft.KeyVault, Microsoft.NetApp}]
[--endpoint-type {dst, src}]
[--export-policy-rules --rules]
[--has-root-access {0, 1, f, false, n, no, t, true, y, yes}]
[--is-large-volume {0, 1, f, false, n, no, t, true, y, yes}]
[--is-restoring {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos-enabled {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos5-r {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos5-rw {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos5i-r {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos5i-rw {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos5p-r {0, 1, f, false, n, no, t, true, y, yes}]
[--kerberos5p-rw {0, 1, f, false, n, no, t, true, y, yes}]
[--key-vault-private-endpoint-resource-id --kv-private-endpoint-id]
[--language {ar, ar.utf-8, c, c.utf-8, cs, cs.utf-8, da, da.utf-8, de, de.utf-8, en, en-us, en-us.utf-8, en.utf-8, es, es.utf-8, fi, fi.utf-8, fr, fr.utf-8, he, he.utf-8, hr, hr.utf-8, hu, hu.utf-8, it, it.utf-8, ja, ja-jp.932, ja-jp.932.utf-8, ja-jp.pck, ja-jp.pck-v2, ja-jp.pck-v2.utf-8, ja-jp.pck.utf-8, ja-v1, ja-v1.utf-8, ja.utf-8, ko, ko.utf-8, nl, nl.utf-8, no, no.utf-8, pl, pl.utf-8, pt, pt.utf-8, ro, ro.utf-8, ru, ru.utf-8, sk, sk.utf-8, sl, sl.utf-8, sv, sv.utf-8, tr, tr.utf-8, utf8mb4, zh, zh-tw, zh-tw.big5, zh-tw.big5.utf-8, zh-tw.utf-8, zh.gbk, zh.gbk.utf-8, zh.utf-8}]
[--ldap-enabled {0, 1, f, false, n, no, t, true, y, yes}]
[--location]
[--network-features {Basic, Standard}]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--placement-rules]
[--policy-enforced {0, 1, f, false, n, no, t, true, y, yes}]
[--ppg --proximity-placement-group]
[--protocol-types]
[--relocation-requested {0, 1, f, false, n, no, t, true, y, yes}]
[--remote-path]
[--remote-volume-id --remote-volume-resource-id]
[--remote-volume-region]
[--replication-schedule {_10minutely, daily, hourly}]
[--rule-index]
[--security-style {ntfs, unix}]
[--service-level {Premium, Standard, StandardZRS, Ultra}]
[--smb-access-based-enumeration --smb-access-enumeration {Disabled, Enabled}]
[--smb-ca --smb-continuously-available --smb-continuously-avl {0, 1, f, false, n, no, t, true, y, yes}]
[--smb-encryption {0, 1, f, false, n, no, t, true, y, yes}]
[--smb-non-browsable {Disabled, Enabled}]
[--snapshot-dir-visible --snapshot-directory-visible {0, 1, f, false, n, no, t, true, y, yes}]
[--snapshot-id]
[--snapshot-policy-id]
[--subnet --subnet-id]
[--tags]
[--throughput-mibps]
[--unix-permissions]
[--unix-read-only {0, 1, f, false, n, no, t, true, y, yes}]
[--unix-read-write {0, 1, f, false, n, no, t, true, y, yes}]
[--usage-threshold]
[--volume-spec-name]
[--volume-type]
[--zones]
Examples
Create an ANF volume
az netappfiles volume create -g group --account-name aname --pool-name pname --volume-name vname -l location --service-level "Premium" --usage-threshold 100 --creation-token "unique-token" --protocol-types NFSv3 --vnet myvnet --subnet-id "/subscriptions/mysubsid/resourceGroups/myrg/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/default" --rules '[{"allowed_clients":"0.0.0.0/0","rule_index":"1","unix_read_only":"true","unix_read_write":"false","cifs":"false","nfsv3":"true","nfsv41":"false"}]'
Create an ANF volume with zones (Availability Zone) specified
az netappfiles volume create -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname -l westus2 --service-level premium --usage-threshold 100 --file-path "unique-file-path" --vnet myvnet --subnet mysubnet --protocol-types NFSv3 --zones zone1
Create an ANF volume with CMK Encryption
az netappfiles volume create -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname -l westus2 --service-level premium --usage-threshold 100 --file-path "unique-file-path" --vnet myvnet --subnet mysubnet --protocol-types NFSv3 --network-features Standard --protocol-types NFSv4.1 --rule-index 1 --allowed-clients '10.7.0.0/24' --kerberos-enabled false --encryption-key-source Microsoft.KeyVault --kv-private-endpoint-id myPrivateEndpointId
Required Parameters
The name of the NetApp account.
A unique file path for the volume. Used when creating mount targets.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
The name of the volume.
The name of the capacity pool.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or Resource ID of the vnet. If you want to use a vnet in other resource group or subscription, please provide the Resource ID instead of the name of the vnet.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
While auto splitting the short term clone volume, if the parent pool does not have enough space to accommodate the volume after split, it will be automatically resized, which will lead to increased billing. To accept capacity pool size auto grow and create a short term clone volume, set the property as accepted.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Accepted, Declined |
Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names. Exists for backwards compatibility, please use --export-policy-rules --rules instead.
Property | Value |
---|---|
Parameter group: | ExportPolicy backwards compatibility Arguments |
Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | Disabled |
Accepted values: | Disabled, Enabled |
Resource identifier used to identify the Backup.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Backup Policy Resource ID.
Property | Value |
---|---|
Parameter group: | Backup Arguments |
Backup Vault Resource ID.
Property | Value |
---|---|
Parameter group: | Backup Arguments |
CoolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are: Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default. OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads. Never - No client-driven data is pulled from cool tier to standard storage.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Default, Never, OnRead |
Pool Resource Id used in case of creating a volume through volume group.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
This parameter specifies who is authorized to change the ownership of a file. restricted - Only root user can change the ownership of the file. unrestricted - Non-root users can change ownership of files that they own. Possible values include- Restricted, Unrestricted. Exists for backwards compatibility, please use --export-policy-rules --rules instead.
Property | Value |
---|---|
Parameter group: | ExportPolicy backwards compatibility Arguments |
Accepted values: | Restricted, Unrestricted |
Allows CIFS protocol. Enable only for CIFS type volumes. Exists for backwards compatibility, please use --export-policy-rules --rules instead.
Property | Value |
---|---|
Parameter group: | ExportPolicy backwards compatibility Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Specifies whether Cool Access(tiering) is enabled for the volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | False |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Specifies the number of days after which data that is not accessed by clients will be tiered.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | 0 |
Specifies if default quota is enabled for the volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | False |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies .
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | 0 |
If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Flag indicating whether subvolume operations are enabled on the volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | Disabled |
Accepted values: | Disabled, Enabled |
Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault'.
Property | Value |
---|---|
Parameter group: | CMK Encryption Arguments |
Default value: | Microsoft.NetApp |
Accepted values: | Microsoft.KeyVault, Microsoft.NetApp |
Indicates whether the local volume is the source or destination for the Volume Replication.
Property | Value |
---|---|
Parameter group: | Replication Arguments |
Accepted values: | dst, src |
Export policy rule Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | ExportPolicy Arguments |
Has root access to volume. Exists for backwards compatibility, please use --export-policy-rules --rules instead.
Property | Value |
---|---|
Parameter group: | ExportPolicy backwards compatibility Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Specifies whether volume is a Large Volume or Regular Volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | False |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Restoring.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | False |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Kerberos5 Read only access. Exists for backwards compatibility, please use --export-policy-rules --rules instead.
Property | Value |
---|---|
Parameter group: | ExportPolicy backwards compatibility Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Kerberos5 Read and write access. Exists for backwards compatibility, please use --export-policy-rules --rules instead.
Property | Value |
---|---|
Parameter group: | ExportPolicy backwards compatibility Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Kerberos5i Readonly access. Exists for backwards compatibility, please use --export-policy-rules --rules instead.
Property | Value |
---|---|
Parameter group: | ExportPolicy backwards compatibility Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Kerberos5i Read and write access. Exists for backwards compatibility, please use --export-policy-rules --rules instead.
Property | Value |
---|---|
Parameter group: | ExportPolicy backwards compatibility Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Kerberos5p Readonly access. Exists for backwards compatibility, please use --export-policy-rules --rules instead.
Property | Value |
---|---|
Parameter group: | ExportPolicy backwards compatibility Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Kerberos5p Read and write access. Exists for backwards compatibility, please use --export-policy-rules --rules instead.
Property | Value |
---|---|
Parameter group: | ExportPolicy backwards compatibility Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'.
Property | Value |
---|---|
Parameter group: | CMK Encryption Arguments |
Language.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | ar, ar.utf-8, c, c.utf-8, cs, cs.utf-8, da, da.utf-8, de, de.utf-8, en, en-us, en-us.utf-8, en.utf-8, es, es.utf-8, fi, fi.utf-8, fr, fr.utf-8, he, he.utf-8, hr, hr.utf-8, hu, hu.utf-8, it, it.utf-8, ja, ja-jp.932, ja-jp.932.utf-8, ja-jp.pck, ja-jp.pck-v2, ja-jp.pck-v2.utf-8, ja-jp.pck.utf-8, ja-v1, ja-v1.utf-8, ja.utf-8, ko, ko.utf-8, nl, nl.utf-8, no, no.utf-8, pl, pl.utf-8, pt, pt.utf-8, ro, ro.utf-8, ru, ru.utf-8, sk, sk.utf-8, sl, sl.utf-8, sv, sv.utf-8, tr, tr.utf-8, utf8mb4, zh, zh-tw, zh-tw.big5, zh-tw.big5.utf-8, zh-tw.utf-8, zh.gbk, zh.gbk.utf-8, zh.utf-8 |
Specifies whether LDAP is enabled or not for a given NFS volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | False |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The geo-location where the resource lives When not specified, the location of the resource group will be used.
Property | Value |
---|---|
Parameter group: | Body Arguments |
Basic network, or Standard features available to the volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | Basic |
Accepted values: | Basic, Standard |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Application specific placement rules for the particular volume Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Policy Enforced.
Property | Value |
---|---|
Parameter group: | Backup Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Proximity placement group associated with the volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Set of protocol types, default NFSv3, CIFS for SMB protocol Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Has relocation been requested for this volume.
Property | Value |
---|---|
Parameter group: | VolumeRelocation Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The full path to a volume that is to be migrated into ANF. Required for Migration volumes Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | Replication Arguments |
The resource ID of the remote volume.
Property | Value |
---|---|
Parameter group: | Replication Arguments |
The remote region for the other end of the Volume Replication.
Property | Value |
---|---|
Parameter group: | Replication Arguments |
Schedule.
Property | Value |
---|---|
Parameter group: | Replication Arguments |
Accepted values: | _10minutely, daily, hourly |
Order index. Exists for backwards compatibility, please use --export-policy-rules --rules instead.
Property | Value |
---|---|
Parameter group: | ExportPolicy backwards compatibility Arguments |
The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | unix |
Accepted values: | ntfs, unix |
ServiceLevel.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | Premium |
Accepted values: | Premium, Standard, StandardZRS, Ultra |
Enables access based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Disabled, Enabled |
Enables continuously available share property for smb volume. Only applicable for SMB volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | False |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | False |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Enables non browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Disabled, Enabled |
If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (defaults to true).
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | True |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Resource identifier used to identify the Snapshot.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Snapshot Policy ResourceId.
Property | Value |
---|---|
Parameter group: | Snapshot Arguments |
The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | default |
Resource tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | Body Arguments |
Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Read only access. Exists for backwards compatibility, please use --export-policy-rules (--rules) instead.
Property | Value |
---|---|
Parameter group: | ExportPolicy backwards compatibility Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Read and write access. Exists for backwards compatibility, please use --export-policy-rules --rules instead.
Property | Value |
---|---|
Parameter group: | ExportPolicy backwards compatibility Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Maximum storage quota allowed for a file system in GiB.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | 100 |
Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection. For creating clone volume, set type to ShortTermClone.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Availability Zone Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | Body Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
Property | Value |
---|---|
Default value: | False |
az netappfiles volume delete
Delete the specified volume.
az netappfiles volume delete [--account-name]
[--force --force-delete {0, 1, f, false, n, no, t, true, y, yes}]
[--ids]
[--name --volume-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
[--yes]
Examples
Delete an ANF volume
az netappfiles volume delete -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the NetApp account.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
An option to force delete the volume. Will cleanup resources connected to the particular volume.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the volume.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The name of the capacity pool.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not prompt for confirmation.
Property | Value |
---|---|
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az netappfiles volume delete (netappfiles-preview extension)
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Delete the specified volume.
az netappfiles volume delete [--account-name]
[--force --force-delete {0, 1, f, false, n, no, t, true, y, yes}]
[--ids]
[--name --volume-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
[--yes]
Examples
Delete an ANF volume
az netappfiles volume delete -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the NetApp account.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
An option to force delete the volume. Will cleanup resources connected to the particular volume.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the volume.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The name of the capacity pool.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not prompt for confirmation.
Property | Value |
---|---|
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az netappfiles volume finalize-relocation
Finalizes the relocation of the volume and cleans up the old volume.
az netappfiles volume finalize-relocation [--account-name]
[--ids]
[--name --volume-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
Examples
Finalizes the relocation of the volume and cleans up the old volume
az netappfiles volume finalize-relocation -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the NetApp account.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the volume.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The name of the capacity pool.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az netappfiles volume get-groupid-list-for-ldapuser
Returns the list of group Ids for a specific LDAP User.
az netappfiles volume get-groupid-list-for-ldapuser --username
[--account-name]
[--ids]
[--name --volume-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
Examples
Get Group Id List for LDAP User myuser
az netappfiles volume get-groupid-list-for-ldapuser -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname --username myuser
Required Parameters
Username is required to fetch the group to which user is part of.
Property | Value |
---|---|
Parameter group: | Body Arguments |
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the NetApp account.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the volume.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The name of the capacity pool.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az netappfiles volume list
List all volumes within the capacity pool.
az netappfiles volume list --account-name
--pool-name
--resource-group
[--max-items]
[--next-token]
Examples
List all subvolumes of a ANF volume
az netappfiles subvolume list -g mygroup --account-name myaccountname --pool-name mypoolname --volume-name myvolumename
Required Parameters
The name of the NetApp account.
The name of the capacity pool.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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.
Property | Value |
---|---|
Parameter group: | Pagination Arguments |
Token to specify where to start paginating. This is the token value from a previously truncated response.
Property | Value |
---|---|
Parameter group: | Pagination Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
Property | Value |
---|---|
Default value: | False |
az netappfiles volume list (netappfiles-preview extension)
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List all volumes within the capacity pool.
az netappfiles volume list --account-name
--pool-name
--resource-group
[--max-items]
[--next-token]
Examples
List all subvolumes of a ANF volume
az netappfiles subvolume list -g mygroup --account-name myaccountname --pool-name mypoolname --volume-name myvolumename
Required Parameters
The name of the NetApp account.
The name of the capacity pool.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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.
Property | Value |
---|---|
Parameter group: | Pagination Arguments |
Token to specify where to start paginating. This is the token value from a previously truncated response.
Property | Value |
---|---|
Parameter group: | Pagination Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
Property | Value |
---|---|
Default value: | False |
az netappfiles volume list-quota-report
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Returns report of quotas for the volume.
az netappfiles volume list-quota-report [--account-name]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
[--volume-name]
Examples
ListQuotaReport
az netappfiles volume list-quota-report --resource-group myRG --account-name account1 --pool-name pool1 --volume-name volume1
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the NetApp account.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The name of the capacity pool.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the volume.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az netappfiles volume migrate-backup
Migrate the backups under volume to backup vault.
az netappfiles volume migrate-backup --backup-vault-id
[--account-name]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
[--volume-name]
Required Parameters
The ResourceId of the Backup Vault.
Property | Value |
---|---|
Parameter group: | Body Arguments |
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the NetApp account.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The name of the capacity pool.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the volume.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az netappfiles volume migrate-backup (netappfiles-preview extension)
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Migrate the backups under volume to backup vault.
az netappfiles volume migrate-backup --backup-vault-id
[--account-name]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
[--volume-name]
Required Parameters
The ResourceId of the Backup Vault.
Property | Value |
---|---|
Parameter group: | Body Arguments |
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the NetApp account.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The name of the capacity pool.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the volume.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az netappfiles volume pool-change
Moves volume to another pool.
az netappfiles volume pool-change --new-pool-resource-id
[--account-name]
[--ids]
[--name --volume-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
Examples
This changes (moves) the pool for the volume myvolname from mypoolname to pool with the Id mynewresourceid
az netappfiles volume pool-change -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname --new-pool-resource-id mynewresourceid
Required Parameters
Resource id of the pool to move volume to.
Property | Value |
---|---|
Parameter group: | Body Arguments |
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the NetApp account.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the volume.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The name of the capacity pool.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az netappfiles volume populate-availability-zone
This operation will populate availability zone information for a volume.
az netappfiles volume populate-availability-zone [--account-name]
[--ids]
[--name --volume-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
Examples
This operation will populate availability zone information for volume myvolname
az netappfiles volume populate-availability-zone -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the NetApp account.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the volume.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The name of the capacity pool.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az netappfiles volume relocate
Relocates volume to a new stamp.
az netappfiles volume relocate [--account-name]
[--creation-token]
[--ids]
[--name --volume-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
Examples
Relocates volume to a new stamp
az netappfiles volume relocate -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the NetApp account.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
New creation token for the volume that controls the mount point name.
Property | Value |
---|---|
Parameter group: | Body Arguments |
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the volume.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The name of the capacity pool.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az netappfiles volume reset-cifs-pw
Reset cifs password from volume.
az netappfiles volume reset-cifs-pw [--account-name]
[--ids]
[--name --volume-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
Examples
Reset the CIFS password for volume
az netappfiles volume reset-cifs-pw -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the NetApp account.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the volume.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The name of the capacity pool.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az netappfiles volume revert
Revert a volume to the snapshot specified in the body.
az netappfiles volume revert [--account-name]
[--ids]
[--name --volume-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--snapshot-id]
[--subscription]
Examples
Revert a volume to one of its snapshots
az netappfiles volume revert -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname --snapshot-id 9760acf5-4638-11e7-9bdb-020073ca3333
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the NetApp account.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the volume.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The name of the capacity pool.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Resource id of the snapshot.
Property | Value |
---|---|
Parameter group: | Body Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az netappfiles volume revert-relocation
Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume.
az netappfiles volume revert-relocation [--account-name]
[--ids]
[--name --volume-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
[--yes]
Examples
Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume
az netappfiles volume revert-relocation -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the NetApp account.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the volume.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The name of the capacity pool.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not prompt for confirmation.
Property | Value |
---|---|
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az netappfiles volume show
Get the details of the specified volume.
az netappfiles volume show [--account-name]
[--ids]
[--name --volume-name]
[--pool-name]
[--resource-group]
[--subscription]
Examples
Returns the properties of the given ANF volume
az netappfiles volume show -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the NetApp account.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the volume.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the capacity pool.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az netappfiles volume show (netappfiles-preview extension)
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Get the details of the specified volume.
az netappfiles volume show [--account-name]
[--ids]
[--name --volume-name]
[--pool-name]
[--resource-group]
[--subscription]
Examples
Returns the properties of the given ANF volume
az netappfiles volume show -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the NetApp account.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the volume.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the capacity pool.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az netappfiles volume splitclonefromparent
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Split operation to convert clone volume to an independent volume.
az netappfiles volume splitclonefromparent [--account-name]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
[--volume-name]
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the NetApp account.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The name of the capacity pool.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the volume.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az netappfiles volume update
Update the specified volume within the capacity pool.
az netappfiles volume update [--account-name]
[--add]
[--backup-policy-id]
[--backup-vault-id]
[--ca-retrieval-policy --cool-access-retrieval-policy {Default, Never, OnRead}]
[--ca-tiering-policy --cool-access-tiering-policy {Auto, SnapshotOnly}]
[--capacity-pool-resource-id --pool-resource-id]
[--cool-access {0, 1, f, false, n, no, t, true, y, yes}]
[--coolness-period]
[--default-group-quota --default-group-quota-in-ki-bs]
[--default-quota-enabled --is-def-quota-enabled --is-default-quota-enabled {0, 1, f, false, n, no, t, true, y, yes}]
[--default-user-quota --default-user-quota-in-ki-bs]
[--delete-base-snapshot {0, 1, f, false, n, no, t, true, y, yes}]
[--enable-subvolumes {Disabled, Enabled}]
[--encryption-key-source {Microsoft.KeyVault, Microsoft.NetApp}]
[--endpoint-type {dst, src}]
[--export-policy-rules --rules]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--ids]
[--key-vault-private-endpoint-resource-id --kv-private-endpoint-id]
[--name --volume-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--placement-rules]
[--policy-enforced {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--ppg --proximity-placement-group]
[--protocol-types]
[--relocation-requested {0, 1, f, false, n, no, t, true, y, yes}]
[--remote-volume-id --remote-volume-resource-id]
[--remote-volume-region]
[--remove]
[--replication-schedule {_10minutely, daily, hourly}]
[--resource-group]
[--service-level {Premium, Standard, StandardZRS, Ultra}]
[--set]
[--smb-access-based-enumeration --smb-access-enumeration {Disabled, Enabled}]
[--smb-ca --smb-continuously-available --smb-continuously-avl {0, 1, f, false, n, no, t, true, y, yes}]
[--smb-encryption {0, 1, f, false, n, no, t, true, y, yes}]
[--smb-non-browsable {Disabled, Enabled}]
[--snapshot-dir-visible --snapshot-directory-visible {0, 1, f, false, n, no, t, true, y, yes}]
[--snapshot-policy-id]
[--subnet --subnet-id]
[--subscription]
[--tags]
[--throughput-mibps]
[--unix-permissions]
[--usage-threshold]
[--vnet]
[--volume-spec-name]
Examples
Update an ANF volume
az netappfiles volume update -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname --service-level ultra --usage-threshold 100 --tags mytag=specialvol
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the NetApp account.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
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>
.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
Backup Policy Resource ID.
Property | Value |
---|---|
Parameter group: | Backup Arguments |
Backup Vault Resource ID.
Property | Value |
---|---|
Parameter group: | Backup Arguments |
CoolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are: Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default. OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads. Never - No client-driven data is pulled from cool tier to standard storage.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Default, Never, OnRead |
CoolAccessTieringPolicy determines which cold data blocks are moved to cool tier. The possible values for this field are: Auto - Moves cold user data blocks in both the Snapshot copies and the active file system to the cool tier tier. This policy is the default. SnapshotOnly - Moves user data blocks of the Volume Snapshot copies that are not associated with the active file system to the cool tier.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Auto, SnapshotOnly |
Pool Resource Id used in case of creating a volume through volume group.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Specifies whether Cool Access(tiering) is enabled for the volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Specifies the number of days after which data that is not accessed by clients will be tiered.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Specifies if default quota is enabled for the volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies .
Property | Value |
---|---|
Parameter group: | Properties Arguments |
If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Flag indicating whether subvolume operations are enabled on the volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Disabled, Enabled |
Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault'.
Property | Value |
---|---|
Parameter group: | CMK Encryption Arguments |
Accepted values: | Microsoft.KeyVault, Microsoft.NetApp |
Indicates whether the local volume is the source or destination for the Volume Replication.
Property | Value |
---|---|
Parameter group: | Replication Arguments |
Accepted values: | dst, src |
Export policy rule Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | ExportPolicy Arguments |
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'.
Property | Value |
---|---|
Parameter group: | CMK Encryption Arguments |
The name of the volume.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Application specific placement rules for the particular volume Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Policy Enforced.
Property | Value |
---|---|
Parameter group: | Backup Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The name of the capacity pool.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Proximity placement group associated with the volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Set of protocol types, default NFSv3, CIFS for SMB protocol Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Has relocation been requested for this volume.
Property | Value |
---|---|
Parameter group: | VolumeRelocation Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The resource ID of the remote volume.
Property | Value |
---|---|
Parameter group: | Replication Arguments |
The remote region for the other end of the Volume Replication.
Property | Value |
---|---|
Parameter group: | Replication Arguments |
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
Schedule.
Property | Value |
---|---|
Parameter group: | Replication Arguments |
Accepted values: | _10minutely, daily, hourly |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
ServiceLevel.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Premium, Standard, StandardZRS, Ultra |
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
Enables access based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Disabled, Enabled |
Enables continuously available share property for smb volume. Only applicable for SMB volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Enables non browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Disabled, Enabled |
If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (defaults to true).
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Snapshot Policy ResourceId.
Property | Value |
---|---|
Parameter group: | Snapshot Arguments |
The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Resource tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | Body Arguments |
Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Maximum storage quota allowed for a file system in GiB.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Name or Resource ID of the vnet. If you want to use a vnet in other resource group or subscription, please provide the Resource ID instead of the name of the vnet.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az netappfiles volume update (netappfiles-preview extension)
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Update the specified volume within the capacity pool.
az netappfiles volume update [--account-name]
[--add]
[--avs-data-store {Disabled, Enabled}]
[--backup-policy-id]
[--backup-vault-id]
[--ca-retrieval-policy --cool-access-retrieval-policy {Default, Never, OnRead}]
[--capacity-pool-resource-id --pool-resource-id]
[--cool-access {0, 1, f, false, n, no, t, true, y, yes}]
[--coolness-period]
[--creation-token]
[--default-group-quota --default-group-quota-in-ki-bs]
[--default-quota-enabled --is-def-quota-enabled --is-default-quota-enabled {0, 1, f, false, n, no, t, true, y, yes}]
[--default-user-quota --default-user-quota-in-ki-bs]
[--delete-base-snapshot {0, 1, f, false, n, no, t, true, y, yes}]
[--enable-subvolumes {Disabled, Enabled}]
[--encryption-key-source {Microsoft.KeyVault, Microsoft.NetApp}]
[--endpoint-type {dst, src}]
[--export-policy-rules --rules]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--ids]
[--is-large-volume {0, 1, f, false, n, no, t, true, y, yes}]
[--is-restoring {0, 1, f, false, n, no, t, true, y, yes}]
[--key-vault-private-endpoint-resource-id --kv-private-endpoint-id]
[--language {ar, ar.utf-8, c, c.utf-8, cs, cs.utf-8, da, da.utf-8, de, de.utf-8, en, en-us, en-us.utf-8, en.utf-8, es, es.utf-8, fi, fi.utf-8, fr, fr.utf-8, he, he.utf-8, hr, hr.utf-8, hu, hu.utf-8, it, it.utf-8, ja, ja-jp.932, ja-jp.932.utf-8, ja-jp.pck, ja-jp.pck-v2, ja-jp.pck-v2.utf-8, ja-jp.pck.utf-8, ja-v1, ja-v1.utf-8, ja.utf-8, ko, ko.utf-8, nl, nl.utf-8, no, no.utf-8, pl, pl.utf-8, pt, pt.utf-8, ro, ro.utf-8, ru, ru.utf-8, sk, sk.utf-8, sl, sl.utf-8, sv, sv.utf-8, tr, tr.utf-8, utf8mb4, zh, zh-tw, zh-tw.big5, zh-tw.big5.utf-8, zh-tw.utf-8, zh.gbk, zh.gbk.utf-8, zh.utf-8}]
[--ldap-enabled {0, 1, f, false, n, no, t, true, y, yes}]
[--name --volume-name]
[--network-features {Basic, Basic_Standard, Standard, Standard_Basic}]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--placement-rules]
[--policy-enforced {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--ppg --proximity-placement-group]
[--protocol-types]
[--relocation-requested {0, 1, f, false, n, no, t, true, y, yes}]
[--remote-volume-region]
[--remove]
[--replication-schedule {_10minutely, daily, hourly}]
[--resource-group]
[--security-style {ntfs, unix}]
[--service-level {Premium, Standard, StandardZRS, Ultra}]
[--set]
[--smb-access-based-enumeration --smb-access-enumeration {Disabled, Enabled}]
[--smb-ca --smb-continuously-available --smb-continuously-avl {0, 1, f, false, n, no, t, true, y, yes}]
[--smb-encryption {0, 1, f, false, n, no, t, true, y, yes}]
[--smb-non-browsable {Disabled, Enabled}]
[--snapshot-dir-visible --snapshot-directory-visible {0, 1, f, false, n, no, t, true, y, yes}]
[--snapshot-policy-id]
[--subnet --subnet-id]
[--subscription]
[--tags]
[--throughput-mibps]
[--unix-permissions]
[--usage-threshold]
[--vnet]
[--volume-spec-name]
[--volume-type]
Examples
Update an ANF volume
az netappfiles volume update -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname --service-level ultra --usage-threshold 100 --tags mytag=specialvol
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the NetApp account.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
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>
.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Disabled, Enabled |
Backup Policy Resource ID.
Property | Value |
---|---|
Parameter group: | Backup Arguments |
Backup Vault Resource ID.
Property | Value |
---|---|
Parameter group: | Backup Arguments |
CoolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are: Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default. OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads. Never - No client-driven data is pulled from cool tier to standard storage.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Default, Never, OnRead |
Pool Resource Id used in case of creating a volume through volume group.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Specifies whether Cool Access(tiering) is enabled for the volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Specifies the number of days after which data that is not accessed by clients will be tiered.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
A unique file path for the volume. Used when creating mount targets.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Specifies if default quota is enabled for the volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies .
Property | Value |
---|---|
Parameter group: | Properties Arguments |
If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Flag indicating whether subvolume operations are enabled on the volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Disabled, Enabled |
Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault'.
Property | Value |
---|---|
Parameter group: | CMK Encryption Arguments |
Accepted values: | Microsoft.KeyVault, Microsoft.NetApp |
Indicates whether the local volume is the source or destination for the Volume Replication.
Property | Value |
---|---|
Parameter group: | Replication Arguments |
Accepted values: | dst, src |
Export policy rule Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | ExportPolicy Arguments |
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Specifies whether volume is a Large Volume or Regular Volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Restoring.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'.
Property | Value |
---|---|
Parameter group: | CMK Encryption Arguments |
Language.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | ar, ar.utf-8, c, c.utf-8, cs, cs.utf-8, da, da.utf-8, de, de.utf-8, en, en-us, en-us.utf-8, en.utf-8, es, es.utf-8, fi, fi.utf-8, fr, fr.utf-8, he, he.utf-8, hr, hr.utf-8, hu, hu.utf-8, it, it.utf-8, ja, ja-jp.932, ja-jp.932.utf-8, ja-jp.pck, ja-jp.pck-v2, ja-jp.pck-v2.utf-8, ja-jp.pck.utf-8, ja-v1, ja-v1.utf-8, ja.utf-8, ko, ko.utf-8, nl, nl.utf-8, no, no.utf-8, pl, pl.utf-8, pt, pt.utf-8, ro, ro.utf-8, ru, ru.utf-8, sk, sk.utf-8, sl, sl.utf-8, sv, sv.utf-8, tr, tr.utf-8, utf8mb4, zh, zh-tw, zh-tw.big5, zh-tw.big5.utf-8, zh-tw.utf-8, zh.gbk, zh.gbk.utf-8, zh.utf-8 |
Specifies whether LDAP is enabled or not for a given NFS volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The name of the volume.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Basic network, or Standard features available to the volume. hide me.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Basic, Basic_Standard, Standard, Standard_Basic |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Application specific placement rules for the particular volume Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Policy Enforced.
Property | Value |
---|---|
Parameter group: | Backup Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The name of the capacity pool.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Proximity placement group associated with the volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Set of protocol types, default NFSv3, CIFS for SMB protocol Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Has relocation been requested for this volume.
Property | Value |
---|---|
Parameter group: | VolumeRelocation Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
The remote region for the other end of the Volume Replication.
Property | Value |
---|---|
Parameter group: | Replication Arguments |
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
Schedule.
Property | Value |
---|---|
Parameter group: | Replication Arguments |
Accepted values: | _10minutely, daily, hourly |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | ntfs, unix |
ServiceLevel.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Premium, Standard, StandardZRS, Ultra |
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
Enables access based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Disabled, Enabled |
Enables continuously available share property for smb volume. Only applicable for SMB volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Enables non browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Disabled, Enabled |
If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (defaults to true).
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Snapshot Policy ResourceId.
Property | Value |
---|---|
Parameter group: | Snapshot Arguments |
The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Resource tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | Body Arguments |
Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Maximum storage quota allowed for a file system in GiB.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Name or Resource ID of the vnet. If you want to use a vnet in other resource group or subscription, please provide the Resource ID instead of the name of the vnet.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az netappfiles volume wait
Place the CLI in a waiting state until a condition is met.
az netappfiles volume wait [--account-name]
[--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--name --volume-name]
[--pool-name]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the NetApp account.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Wait until created with 'provisioningState' at 'Succeeded'.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Wait until deleted.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Wait until the resource exists.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Polling interval in seconds.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | 30 |
The name of the volume.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the capacity pool.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Maximum wait in seconds.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | 3600 |
Wait until updated with provisioningState at 'Succeeded'.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az netappfiles volume wait (netappfiles-preview extension)
Place the CLI in a waiting state until a condition is met.
az netappfiles volume wait [--account-name]
[--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--name --volume-name]
[--pool-name]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The name of the NetApp account.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Wait until created with 'provisioningState' at 'Succeeded'.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Wait until deleted.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Wait until the resource exists.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
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.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Polling interval in seconds.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | 30 |
The name of the volume.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
The name of the capacity pool.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Maximum wait in seconds.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | 3600 |
Wait until updated with provisioningState at 'Succeeded'.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |