Share via


az netappfiles volume

Note

This reference is part of the netappfiles-preview extension for the Azure CLI (version 2.51.0 or higher). The extension will automatically install the first time you run an az netappfiles volume command. Learn more about extensions.

Command group 'az netappfiles' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Manage Azure NetApp Files (ANF) Volume Resources.

Create update delete operations for Azure NetApp Files Volumes.

Commands

Name Description Type Status
az netappfiles volume create

Create or Update a volume.

Extension Preview
az netappfiles volume latest-backup-status

Get the latest backup status of a volume.

Extension Preview
az netappfiles volume latest-backup-status current

Get the latest backup status of the current volume.

Extension Preview
az netappfiles volume latest-backup-status current show

Get the latest status of the backup for a volume.

Extension Preview
az netappfiles volume list

List all volumes within the capacity pool.

Extension Preview
az netappfiles volume migrate-backup

Migrate the backups under volume to backup vault.

Extension Preview
az netappfiles volume show

Get the details of the specified volume.

Extension Preview
az netappfiles volume update

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.

Extension Preview

az netappfiles volume create

Preview

Command group 'az netappfiles' 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
                             --name
                             --pool-name
                             --resource-group
                             --subnet
                             --vnet
                             [--avs-data-store {Disabled, Enabled}]
                             [--backup-enabled {0, 1, f, false, n, no, t, true, y, yes}]
                             [--backup-id]
                             [--backup-policy-id]
                             [--backup-vault-id]
                             [--capacity-pool-resource-id]
                             [--cool-access {0, 1, f, false, n, no, t, true, y, yes}]
                             [--coolness-period]
                             [--default-group-quota]
                             [--default-quota-enabled {0, 1, f, false, n, no, t, true, y, yes}]
                             [--default-user-quota]
                             [--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}]
                             [--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}]
                             [--key-vault-private-endpoint-resource-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]
                             [--protocol-types]
                             [--relocation-requested {0, 1, f, false, n, no, t, true, y, yes}]
                             [--remote-volume-id]
                             [--remote-volume-region]
                             [--replication-id]
                             [--replication-schedule {_10minutely, daily, hourly}]
                             [--rules]
                             [--security-style {ntfs, unix}]
                             [--service-level {Premium, Standard, StandardZRS, Ultra}]
                             [--smb-access-based-enumeration {Disabled, Enabled}]
                             [--smb-ca {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 {0, 1, f, false, n, no, t, true, y, yes}]
                             [--snapshot-id]
                             [--snapshot-policy-id]
                             [--tags]
                             [--throughput-mibps]
                             [--unix-permissions]
                             [--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 107374182400 --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}]"

Required Parameters

--account-name -a

The name of the NetApp account.

--creation-token --file-path

A unique file path for the volume. Used when creating mount targets.

--name --volume-name -n -v

The name of the volume.

--pool-name -p

The name of the capacity pool.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subnet --subnet-id

The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes.

--vnet

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.

Optional Parameters

--avs-data-store

Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose.

Accepted values: Disabled, Enabled
Default value: Disabled
--backup-enabled

Backup Enabled.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--backup-id

UUID v4 or resource identifier used to identify the Backup.

--backup-policy-id

Backup Policy Resource ID.

--backup-vault-id

Backup Vault Resource ID.

--capacity-pool-resource-id --pool-resource-id

Pool Resource Id used in case of creating a volume through volume group.

--cool-access

Specifies whether Cool Access(tiering) is enabled for the volume.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
Default value: False
--coolness-period

Specifies the number of days after which data that is not accessed by clients will be tiered.

--default-group-quota --default-group-quota-in-ki-bs

Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies.

Default value: 0
--default-quota-enabled --is-default-quota-enabled

Specifies if default quota is enabled for the volume.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
Default value: False
--default-user-quota --default-user-quota-in-ki-bs

Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies .

Default value: 0
--delete-base-snapshot

If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--enable-subvolumes

Flag indicating whether subvolume operations are enabled on the volume.

Accepted values: Disabled, Enabled
Default value: Disabled
--encryption-key-source

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

Accepted values: Microsoft.KeyVault, Microsoft.NetApp
Default value: Microsoft.NetApp
--endpoint-type

Indicates whether the local volume is the source or destination for the Volume Replication.

Accepted values: dst, src
--is-large-volume

Specifies whether volume is a Large Volume or Regular Volume.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
Default value: False
--is-restoring

Restoring.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--kerberos-enabled

Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
Default value: False
--key-vault-private-endpoint-resource-id --kv-private-endpoint-id

The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'.

--ldap-enabled

Specifies whether LDAP is enabled or not for a given NFS volume.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
Default value: False
--location -l

The geo-location where the resource lives When not specified, the location of the resource group will be used.

--network-features

Basic network, or Standard features available to the volume.

Accepted values: Basic, Standard
Default value: Basic
--no-wait

Do not wait for the long-running operation to finish.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--placement-rules

Application specific placement rules for the particular volume Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--policy-enforced

Policy Enforced.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--ppg --proximity-placement-group

Proximity placement group associated with the volume.

--protocol-types

Set of protocol types, default NFSv3, CIFS for SMB protocol Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--relocation-requested

Has relocation been requested for this volume.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--remote-volume-id --remote-volume-resource-id

The resource ID of the remote volume.

--remote-volume-region

The remote region for the other end of the Volume Replication.

--replication-id

Id.

--replication-schedule

Schedule.

Accepted values: _10minutely, daily, hourly
--rules

Export policy rule Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--security-style

The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol.

Accepted values: ntfs, unix
Default value: unix
--service-level

ServiceLevel.

Accepted values: Premium, Standard, StandardZRS, Ultra
Default value: Premium
--smb-access-based-enumeration --smb-access-enumeration

Enables access based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume.

Accepted values: Disabled, Enabled
--smb-ca --smb-continuously-available

Enables continuously available share property for smb volume. Only applicable for SMB volume.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
Default value: False
--smb-encryption

Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
Default value: False
--smb-non-browsable

Enables non browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume.

Accepted values: Disabled, Enabled
--snapshot-dir-visible --snapshot-directory-visible

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

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
Default value: True
--snapshot-id

UUID v4 or resource identifier used to identify the Snapshot.

--snapshot-policy-id

Snapshot Policy ResourceId.

--tags

Resource tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--throughput-mibps

Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume.

--unix-permissions

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.

Default value: 0770
--usage-threshold

Maximum storage quota allowed for a file system in bytes.

Default value: 107374182400
--volume-spec-name

Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log.

--volume-type

What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection.

--zones

Availability Zone Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az netappfiles volume list

Preview

Command group 'az netappfiles' 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]

Required Parameters

--account-name -a

The name of the NetApp account.

--pool-name -p

The name of the capacity pool.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--max-items

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.

--next-token

Token to specify where to start paginating. This is the token value from a previously truncated response.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az netappfiles volume migrate-backup

Preview

Command group 'az netappfiles' 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

--backup-vault-id

The ResourceId of the Backup Vault.

Optional Parameters

--account-name -a

The name of the NetApp account.

--ids

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.

--no-wait

Do not wait for the long-running operation to finish.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--pool-name -p

The name of the capacity pool.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--volume-name

The name of the volume.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az netappfiles volume show

Preview

Command group 'az netappfiles' 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]
                           [--pool-name]
                           [--resource-group]
                           [--subscription]

Optional Parameters

--account-name -a

The name of the NetApp account.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name --volume-name -n -v

The name of the volume.

--pool-name -p

The name of the capacity pool.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az netappfiles volume update

Preview

Command group 'az netappfiles' 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-enabled {0, 1, f, false, n, no, t, true, y, yes}]
                             [--backup-policy-id]
                             [--backup-vault-id]
                             [--capacity-pool-resource-id]
                             [--cool-access {0, 1, f, false, n, no, t, true, y, yes}]
                             [--coolness-period]
                             [--creation-token]
                             [--default-group-quota]
                             [--default-quota-enabled {0, 1, f, false, n, no, t, true, y, yes}]
                             [--default-user-quota]
                             [--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}]
                             [--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]
                             [--ldap-enabled {0, 1, f, false, n, no, t, true, y, yes}]
                             [--name]
                             [--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}]
                             [--pool-name]
                             [--ppg]
                             [--protocol-types]
                             [--relocation-requested {0, 1, f, false, n, no, t, true, y, yes}]
                             [--remote-volume-id]
                             [--remote-volume-region]
                             [--remove]
                             [--replication-id]
                             [--replication-schedule {_10minutely, daily, hourly}]
                             [--resource-group]
                             [--rules]
                             [--security-style {ntfs, unix}]
                             [--service-level {Premium, Standard, StandardZRS, Ultra}]
                             [--set]
                             [--smb-access-based-enumeration {Disabled, Enabled}]
                             [--smb-ca {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 {0, 1, f, false, n, no, t, true, y, yes}]
                             [--snapshot-policy-id]
                             [--subnet]
                             [--subscription]
                             [--tags]
                             [--throughput-mibps]
                             [--unix-permissions]
                             [--usage-threshold]
                             [--vnet]
                             [--volume-spec-name]
                             [--volume-type]

Optional Parameters

--account-name -a

The name of the NetApp account.

--add

Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>.

--avs-data-store

Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose.

Accepted values: Disabled, Enabled
--backup-enabled

Backup Enabled.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--backup-policy-id

Backup Policy Resource ID.

--backup-vault-id

Backup Vault Resource ID.

--capacity-pool-resource-id --pool-resource-id

Pool Resource Id used in case of creating a volume through volume group.

--cool-access

Specifies whether Cool Access(tiering) is enabled for the volume.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--coolness-period

Specifies the number of days after which data that is not accessed by clients will be tiered.

--creation-token

A unique file path for the volume. Used when creating mount targets.

--default-group-quota --default-group-quota-in-ki-bs

Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies.

--default-quota-enabled --is-default-quota-enabled

Specifies if default quota is enabled for the volume.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--default-user-quota --default-user-quota-in-ki-bs

Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies .

--delete-base-snapshot

If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--enable-subvolumes

Flag indicating whether subvolume operations are enabled on the volume.

Accepted values: Disabled, Enabled
--encryption-key-source

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

Accepted values: Microsoft.KeyVault, Microsoft.NetApp
--endpoint-type

Indicates whether the local volume is the source or destination for the Volume Replication.

Accepted values: dst, src
--force-string

When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--ids

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.

--is-large-volume

Specifies whether volume is a Large Volume or Regular Volume.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--is-restoring

Restoring.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--key-vault-private-endpoint-resource-id --kv-private-endpoint-id

The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'.

--ldap-enabled

Specifies whether LDAP is enabled or not for a given NFS volume.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--name --volume-name -n -v

The name of the volume.

--network-features

Basic network, or Standard features available to the volume.

Accepted values: Basic, Standard
--no-wait

Do not wait for the long-running operation to finish.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--placement-rules

Application specific placement rules for the particular volume Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--policy-enforced

Policy Enforced.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--pool-name -p

The name of the capacity pool.

--ppg --proximity-placement-group

Proximity placement group associated with the volume.

--protocol-types

Set of protocol types, default NFSv3, CIFS for SMB protocol Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--relocation-requested

Has relocation been requested for this volume.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--remote-volume-id --remote-volume-resource-id

The resource ID of the remote volume.

--remote-volume-region

The remote region for the other end of the Volume Replication.

--remove

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

--replication-id

Id.

--replication-schedule

Schedule.

Accepted values: _10minutely, daily, hourly
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--rules

Export policy rule Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--security-style

The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol.

Accepted values: ntfs, unix
--service-level

ServiceLevel.

Accepted values: Premium, Standard, StandardZRS, Ultra
--set

Update an object by specifying a property path and value to set. Example: --set property1.property2=.

--smb-access-based-enumeration --smb-access-enumeration

Enables access based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume.

Accepted values: Disabled, Enabled
--smb-ca --smb-continuously-available

Enables continuously available share property for smb volume. Only applicable for SMB volume.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--smb-encryption

Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--smb-non-browsable

Enables non browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume.

Accepted values: Disabled, Enabled
--snapshot-dir-visible --snapshot-directory-visible

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

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--snapshot-policy-id

Snapshot Policy ResourceId.

--subnet --subnet-id

The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--tags

Resource tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--throughput-mibps

Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume.

--unix-permissions

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.

--usage-threshold

Maximum storage quota allowed for a file system in bytes.

--vnet

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.

--volume-spec-name

Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log.

--volume-type

What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az netappfiles volume wait

Preview

Command group 'az netappfiles' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

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]
                           [--pool-name]
                           [--resource-group]
                           [--subscription]
                           [--timeout]
                           [--updated]

Optional Parameters

--account-name -a

The name of the NetApp account.

--created

Wait until created with 'provisioningState' at 'Succeeded'.

Default value: False
--custom

Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].

--deleted

Wait until deleted.

Default value: False
--exists

Wait until the resource exists.

Default value: False
--ids

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.

--interval

Polling interval in seconds.

Default value: 30
--name --volume-name -n -v

The name of the volume.

--pool-name -p

The name of the capacity pool.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--timeout

Maximum wait in seconds.

Default value: 3600
--updated

Wait until updated with provisioningState at 'Succeeded'.

Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.