az netappfiles volume-group
Manage Azure NetApp Files (ANF) Volume Group Resources.
Commands
Name | Description | Type | Status |
---|---|---|---|
az netappfiles volume-group create |
Create a volume group along with specified volumes. |
Core | GA |
az netappfiles volume-group delete |
Delete the specified volume group only if there are no volumes under volume group. |
Core | GA |
az netappfiles volume-group list |
List all volume groups for given account. |
Core | GA |
az netappfiles volume-group show |
Get details of the specified volume group. |
Core | GA |
az netappfiles volume-group update |
Update a volume group along with specified volumes. |
Core | GA |
az netappfiles volume-group wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az netappfiles volume-group create
Create a volume group along with specified volumes.
az netappfiles volume-group create --account-name
--group-name --name --volume-group-name
--resource-group
[--add-snapshot-capacity]
[--application-identifier --sap-sid]
[--application-type {ORACLE, SAP-HANA}]
[--backup-nfsv3 {0, 1, f, false, n, no, t, true, y, yes}]
[--binary-size]
[--binary-throughput]
[--data-backup-repl-skd {_10minutely, daily, hourly}]
[--data-backup-size]
[--data-backup-src-id]
[--data-backup-throughput]
[--data-repl-skd {_10minutely, daily, hourly}]
[--data-size]
[--data-src-id]
[--data-throughput]
[--database-size]
[--database-throughput]
[--encryption-key-source {Microsoft.KeyVault, Microsoft.NetApp}]
[--gp-rules]
[--group-description]
[--key-vault-private-endpoint-resource-id --kv-private-endpoint-id]
[--___location]
[--log-backup-repl-skd {_10minutely, daily, hourly}]
[--log-backup-size]
[--log-backup-src-id]
[--log-backup-throughput]
[--log-mirror-size]
[--log-mirror-throughput]
[--log-size]
[--log-throughput]
[--memory]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--number-of-hosts --number-of-hots]
[--number-of-volumes]
[--pool-name]
[--ppg --proximity-placement-group]
[--prefix]
[--shared-repl-skd {_10minutely, daily, hourly}]
[--shared-size]
[--shared-src-id]
[--shared-throughput]
[--smb-access {Disabled, Enabled}]
[--smb-browsable {Disabled, Enabled}]
[--start-host-id]
[--subnet]
[--system-role {DR, HA, PRIMARY}]
[--tags]
[--vnet]
[--volumes]
[--zones]
Examples
Create ANF volume group for SAP
az netappfiles volume-group create -g mygroup --account-name myaccountname --pool-name mypoolname --volume-group-name myvolumegroupname --vnet myvnet --ppg myppg --application-type SAP-HANA --application-identifier mysapsid
Create ANF volume group for Oracle
az netappfiles volume-group create -g mygroup --account-name myaccountname --pool-name mypoolname --volume-group-name myvolumegroupname --vnet myvnet --zones 1 --application-type ORACLE --application-identifier OR2 --prefix ora
Required Parameters
The name of the NetApp account.
The name of the volumeGroup.
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.
Additional memory to store snapshots, must be specified as % of RAM (range 0-200). This is used to auto compute storage size. Default: 50.
Property | Value |
---|---|
Parameter group: | Volumes Arguments |
Default value: | 50 |
Application specific identifier.
Property | Value |
---|---|
Parameter group: | GroupMetaData Arguments |
Application Type.
Property | Value |
---|---|
Parameter group: | GroupMetaData Arguments |
Default value: | SAP-HANA |
Accepted values: | ORACLE, SAP-HANA |
Indicates if NFS Protocol version 3 is preferred for data backup and log backup volumes. Default is False.
Property | Value |
---|---|
Parameter group: | Backup Volume Properties Arguments |
Default value: | False |
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Capacity (in GiB) for binary volume. If not provided size will automatically be calculated.
Property | Value |
---|---|
Parameter group: | Oracle Volumes Arguments |
Throughput in MiB/s for log binary volume. If not provided size will automatically be calculated.
Property | Value |
---|---|
Parameter group: | Oracle Volumes Arguments |
Replication Schedule for data backup volume.
Property | Value |
---|---|
Parameter group: | Data Backup Volume Arguments |
Accepted values: | _10minutely, daily, hourly |
Capacity (in GiB) for data backup volumes. If not provided size will automatically be calculated.
Property | Value |
---|---|
Parameter group: | Data Backup Volume Arguments |
ResourceId of the data backup source volume.
Property | Value |
---|---|
Parameter group: | Data Backup Volume Arguments |
Throughput in MiB/s for data backup volumes. If not provided size will automatically be calculated.
Property | Value |
---|---|
Parameter group: | Data Backup Volume Arguments |
Replication Schedule for data volume.
Property | Value |
---|---|
Parameter group: | Data Volume Arguments |
Accepted values: | _10minutely, daily, hourly |
Capacity (in GiB) for data volumes. If not provided size will automatically be calculated.
Property | Value |
---|---|
Parameter group: | Data Volume Arguments |
ResourceId of the data source volume.
Property | Value |
---|---|
Parameter group: | Data Volume Arguments |
Throughput in MiB/s for data volumes. If not provided size will automatically be calculated.
Property | Value |
---|---|
Parameter group: | Data Volume Arguments |
Oracle database size in (TiB), used to auto compute storage size and throughput.
Property | Value |
---|---|
Parameter group: | Volume Group Oracle sizing Arguments |
Default value: | 100 |
Oracle database throughput in (MiB/s), used to auto compute storage size and throughput.
Property | Value |
---|---|
Parameter group: | Volume Group Oracle sizing Arguments |
Default value: | 1 |
Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'.
Property | Value |
---|---|
Parameter group: | CMK Encryption Arguments |
Default value: | Microsoft.NetApp |
Accepted values: | Microsoft.KeyVault, Microsoft.NetApp |
Application specific placement rules for the volume group. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | GroupMetaData Arguments |
Group Description.
Property | Value |
---|---|
Parameter group: | GroupMetaData 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 |
Resource ___location.
Property | Value |
---|---|
Parameter group: | Body Arguments |
Replication Schedule for Log backup volume.
Property | Value |
---|---|
Parameter group: | Log Volume Arguments |
Accepted values: | _10minutely, daily, hourly |
Capacity (in GiB) for log backup volumes. If not provided size will automatically be calculated.
Property | Value |
---|---|
Parameter group: | Log Backup Volume Arguments |
ResourceId of the log backup source volume.
Property | Value |
---|---|
Parameter group: | Log Backup Volume Arguments |
Throughput in MiB/s for log backup volumes. If not provided size will automatically be calculated.
Property | Value |
---|---|
Parameter group: | Log Backup Volume Arguments |
Capacity (in GiB) for log mirror volume. If not provided size will automatically be calculated.
Property | Value |
---|---|
Parameter group: | Oracle Volumes Arguments |
Throughput in MiB/s for log mirror volume. If not provided size will automatically be calculated.
Property | Value |
---|---|
Parameter group: | Oracle Volumes Arguments |
Capacity (in GiB) for log volumes. If not provided size will automatically be calculated.
Property | Value |
---|---|
Parameter group: | Log Volume Arguments |
Throughput in MiB/s for log volumes. If not provided size will automatically be calculated.
Property | Value |
---|---|
Parameter group: | Log Volume Arguments |
System (SAP-HANA) memory in GiB (max 12000 GiB), used to auto compute storage size and throughput.
Property | Value |
---|---|
Parameter group: | Volume Group SAP-HANA sizing Arguments |
Default value: | 100 |
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Total Number of system (SAP-HANA) host in this deployment (currently max 3 nodes can be configured).
Property | Value |
---|---|
Parameter group: | Volume Group SAP-HANA sizing Arguments |
Default value: | 1 |
Total Number of Oracle data volumes (currently min 2 and max 8 nodes can be configured).
Property | Value |
---|---|
Parameter group: | Volume Group Oracle sizing Arguments |
Name of the ANF capacity pool.
Property | Value |
---|---|
Parameter group: | Volumes Arguments |
The resource id of the Proximity Placement Group for volume placement.
Property | Value |
---|---|
Parameter group: | Volumes Arguments |
All volume names will be prefixed with the given text. The default values for prefix text depends on system role. For PRIMARY it will be ""
and HA it will be "HA-"
.
Property | Value |
---|---|
Parameter group: | Volumes Arguments |
Replication Schedule for shared volume.
Property | Value |
---|---|
Parameter group: | Shared Volume Arguments |
Accepted values: | _10minutely, daily, hourly |
Capacity (in GiB) for shared volumes. If not provided size will automatically be calculated.
Property | Value |
---|---|
Parameter group: | Shared Volume Arguments |
ResourceId of the shared source volume.
Property | Value |
---|---|
Parameter group: | Shared Volume Arguments |
Throughput in MiB/s for shared volumes. If not provided size will automatically be calculated.
Property | Value |
---|---|
Parameter group: | Shared Volume Arguments |
Enables access based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume.
Property | Value |
---|---|
Parameter group: | Volumes Arguments |
Accepted values: | Disabled, Enabled |
Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume.
Property | Value |
---|---|
Parameter group: | Volumes Arguments |
Accepted values: | Disabled, Enabled |
Starting SAP-HANA Host ID. Host ID 1 indicates Master Host. Shared, Data Backup and Log Backup volumes are only provisioned for Master Host i.e. HostID == 1
.
Property | Value |
---|---|
Parameter group: | Volumes Arguments |
Default value: | 1 |
The delegated Subnet name.
Property | Value |
---|---|
Parameter group: | Volumes Arguments |
Default value: | Default |
Type of role for the storage account. Primary indicates first of a SAP-HANA Replication (HSR) setup or No HSR. High Availability (HA) specifies local scenario. Default is PRIMARY. Allowed values: DR, HA, PRIMARY.
Property | Value |
---|---|
Parameter group: | Volumes Arguments |
Default value: | PRIMARY |
Accepted values: | DR, HA, PRIMARY |
Resource tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | Body Arguments |
The ARM Id or name of the vnet for the volumes.
Property | Value |
---|---|
Parameter group: | Volumes Arguments |
List of volumes from group Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
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-group delete
Delete the specified volume group only if there are no volumes under volume group.
az netappfiles volume-group delete [--account-name]
[--group-name --name --volume-group-name]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
[--yes]
Examples
Delete an ANF volume group
az netappfiles volume-group create -g mygroup --account-name myaccountname --pool-name mypoolname --volume-group-name myvolumegroupname
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 |
The name of the volumeGroup.
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 |
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-group list
List all volume groups for given account.
az netappfiles volume-group list --account-name
--resource-group
Examples
Get a list of ANF volume groups
az netappfiles volume-group list -g mygroup --account-name myaccountname
Required Parameters
The name of the NetApp account.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
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-group show
Get details of the specified volume group.
az netappfiles volume-group show [--account-name]
[--group-name --name --volume-group-name]
[--ids]
[--resource-group]
[--subscription]
Examples
Get an ANF volume group
az netappfiles volume-group show -g mygroup --account-name myaccountname --volume-group-name myvolumegroupname
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 |
The name of the volumeGroup.
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 |
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-group update
Update a volume group along with specified volumes.
az netappfiles volume-group update [--account-name]
[--add]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--group-meta-data]
[--group-name --name --volume-group-name]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--remove]
[--resource-group]
[--set]
[--subscription]
[--volumes]
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 |
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 |
Volume group details Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
The name of the volumeGroup.
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 |
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Property | Value |
---|---|
Parameter group: | Generic Update Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
Property | Value |
---|---|
Parameter group: | Generic Update 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 |
List of volumes from group Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
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-group wait
Place the CLI in a waiting state until a condition is met.
az netappfiles volume-group wait [--account-name]
[--created]
[--custom]
[--deleted]
[--exists]
[--group-name --name --volume-group-name]
[--ids]
[--interval]
[--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 |
The name of the volumeGroup.
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 |
Polling interval in seconds.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | 30 |
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 |