az elastic-san
Note
This reference is part of the elastic-san extension for the Azure CLI (version 2.70.0 or higher). The extension will automatically install the first time you run an az elastic-san command. Learn more about extensions.
Manage Elastic SAN.
Commands
Name | Description | Type | Status |
---|---|---|---|
az elastic-san create |
Create an Elastic SAN. |
Extension | GA |
az elastic-san delete |
Delete an Elastic SAN. |
Extension | GA |
az elastic-san list |
Get a list of Elastic SANs in a subscription. |
Extension | GA |
az elastic-san list-sku |
Get a list of Elastic SAN skus. |
Extension | GA |
az elastic-san show |
Get an Elastic SAN. |
Extension | GA |
az elastic-san update |
Update an Elastic SAN. |
Extension | GA |
az elastic-san volume |
Manage Elastic SAN Volume. |
Extension | GA |
az elastic-san volume-group |
Manage Elastic SAN Volume Group. |
Extension | GA |
az elastic-san volume-group create |
Create a Volume Group. |
Extension | GA |
az elastic-san volume-group delete |
Delete a Volume Group. |
Extension | GA |
az elastic-san volume-group list |
List Volume Groups. |
Extension | GA |
az elastic-san volume-group show |
Get a Volume Group. |
Extension | GA |
az elastic-san volume-group test-backup |
Validate whether a disk snapshot backup can be taken for list of volumes. |
Extension | Preview |
az elastic-san volume-group test-restore |
Validate whether a list of backed up disk snapshots can be restored into ElasticSan volumes. |
Extension | Preview |
az elastic-san volume-group update |
Update a Volume Group. |
Extension | GA |
az elastic-san volume-group wait |
Place the CLI in a waiting state until a condition is met. |
Extension | GA |
az elastic-san volume create |
Create a Volume. |
Extension | GA |
az elastic-san volume delete |
Delete a Volume. |
Extension | GA |
az elastic-san volume list |
List Volumes in a Volume Group. |
Extension | GA |
az elastic-san volume restore |
Restore Soft Deleted Volumes. |
Extension | Preview |
az elastic-san volume show |
Get a Volume. |
Extension | GA |
az elastic-san volume snapshot |
Manage volume snapshot. |
Extension | GA |
az elastic-san volume snapshot create |
Create a Volume Snapshot. |
Extension | GA |
az elastic-san volume snapshot delete |
Delete a Volume Snapshot. |
Extension | GA |
az elastic-san volume snapshot list |
List Snapshots in a VolumeGroup or List Snapshots by Volume (name) in a VolumeGroup using filter. |
Extension | GA |
az elastic-san volume snapshot show |
Get a Volume Snapshot. |
Extension | GA |
az elastic-san volume snapshot wait |
Place the CLI in a waiting state until a condition is met. |
Extension | GA |
az elastic-san volume update |
Update a Volume. |
Extension | GA |
az elastic-san volume wait |
Place the CLI in a waiting state until a condition is met. |
Extension | GA |
az elastic-san wait |
Place the CLI in a waiting state until a condition is met. |
Extension | GA |
az elastic-san create
Create an Elastic SAN.
az elastic-san create --elastic-san-name --name
--resource-group
--sku
[--auto-scale-policy --auto-scale-policy-enforcement {Disabled, Enabled, None}]
[--availability-zones]
[--base-size-tib]
[--capacity-unit-scale-up --capacity-unit-scale-up-limit-tib]
[--extended-capacity-size-tib --extended-size]
[--increase-capacity-unit --increase-capacity-unit-by-tib]
[--location]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--public-network-access {Disabled, Enabled}]
[--tags]
[--unused-size-tib]
Examples
Create an Elastic SAN.
az elastic-san create -n "san_name" -g "rg" --tags '{key1810:aaaa}' -l southcentralusstg --base-size-tib 23 --extended-capacity-size-tib 14 --sku '{name:Premium_LRS,tier:Premium}' --public-network-access Enabled --auto-scale-policy-enforcement Enabled --capacity-unit-scale-up-limit-tib 17 --increase-capacity-unit-by-tib 4 --unused-size-tib 24
Create an ElasticSAN with auto scale params
az elastic-san create -n san_name -g rg_name -l eastus2euap --base-size-tib 23 --extended-capacity-size-tib 14 --sku '{name:Premium_LRS,tier:Premium}' --availability-zones 1 --auto-scale-policy-enforcement Enabled --capacity-unit-scale-up-limit-tib 40 --increase-capacity-unit-by-tib 4 --unused-size-tib 24 --availability-zones 1
Required Parameters
The name of the ElasticSan.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Resource sku Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
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.
Enable or Disable scale up setting on Elastic San Appliance.
Property | Value |
---|---|
Parameter group: | AutoScaleProperties Arguments |
Accepted values: | Disabled, Enabled, None |
Logical zone for Elastic San resource; example: ["1"]. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Base size of the Elastic San appliance in TiB.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | 20 |
Maximum scale up size on Elastic San appliance in TiB.
Property | Value |
---|---|
Parameter group: | AutoScaleProperties Arguments |
Extended size of the Elastic San appliance in TiB.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Default value: | 0 |
Unit to increase Capacity Unit on Elastic San appliance in TiB.
Property | Value |
---|---|
Parameter group: | AutoScaleProperties Arguments |
The geo-location where the resource lives. When not specified, the location of the resource group will be used.
Property | Value |
---|---|
Parameter group: | Parameters 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 |
Allow or disallow public network access to ElasticSan. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Disabled, Enabled |
Azure resource tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | Parameters Arguments |
Unused size on Elastic San appliance in TiB.
Property | Value |
---|---|
Parameter group: | AutoScaleProperties 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 elastic-san delete
Delete an Elastic SAN.
az elastic-san delete [--elastic-san-name --name]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
[--yes]
Examples
Delete an Elastic SAN.
az elastic-san delete -g "rg" -n "san_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 ElasticSan.
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 elastic-san list
Get a list of Elastic SANs in a subscription.
az elastic-san list [--max-items]
[--next-token]
[--resource-group]
Examples
Get a list of Elastic SANs in a subscription.
az elastic-san list -g "rg"
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 |
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 elastic-san list-sku
Get a list of Elastic SAN skus.
az elastic-san list-sku [--filter]
Examples
Get a list of Elastic SAN skus.
az elastic-san list-sku
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Specify $filter='location eq <location>'
to filter on location.
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 elastic-san show
Get an Elastic SAN.
az elastic-san show [--elastic-san-name --name]
[--ids]
[--resource-group]
[--subscription]
Examples
Get an Elastic SAN.
az elastic-san show -g "rg" -n "san_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 ElasticSan.
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 elastic-san update
Update an Elastic SAN.
az elastic-san update [--add]
[--auto-scale-policy --auto-scale-policy-enforcement {Disabled, Enabled, None}]
[--availability-zones]
[--base-size-tib]
[--capacity-unit-scale-up --capacity-unit-scale-up-limit-tib]
[--elastic-san-name --name]
[--extended-capacity-size-tib --extended-size]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--ids]
[--increase-capacity-unit --increase-capacity-unit-by-tib]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--public-network-access {Disabled, Enabled}]
[--remove]
[--resource-group]
[--set]
[--sku]
[--subscription]
[--tags]
[--unused-size-tib]
Examples
Update an Elastic SAN.
az elastic-san update -n "san_name" -g "rg" --tags '{key1710:bbbb}' --base-size-tib 25 --extended-capacity-size-tib 15 --auto-scale-policy-enforcement Disabled --capacity-unit-scale-up-limit-tib 18 --increase-capacity-unit-by-tib 5 --unused-size-tib 25
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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 |
Enable or Disable scale up setting on Elastic San Appliance.
Property | Value |
---|---|
Parameter group: | AutoScaleProperties Arguments |
Accepted values: | Disabled, Enabled, None |
Logical zone for Elastic San resource; example: ["1"]. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Base size of the Elastic San appliance in TiB.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Maximum scale up size on Elastic San appliance in TiB.
Property | Value |
---|---|
Parameter group: | AutoScaleProperties Arguments |
The name of the ElasticSan.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
Extended size of the Elastic San appliance in TiB.
Property | Value |
---|---|
Parameter group: | Properties 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 |
Unit to increase Capacity Unit on Elastic San appliance in TiB.
Property | Value |
---|---|
Parameter group: | AutoScaleProperties 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 |
Allow or disallow public network access to ElasticSan. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.
Property | Value |
---|---|
Parameter group: | Properties Arguments |
Accepted values: | Disabled, Enabled |
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 |
Resource sku Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
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 |
Azure resource tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Property | Value |
---|---|
Parameter group: | Parameters Arguments |
Unused size on Elastic San appliance in TiB.
Property | Value |
---|---|
Parameter group: | AutoScaleProperties 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 elastic-san wait
Place the CLI in a waiting state until a condition is met.
az elastic-san wait [--created]
[--custom]
[--deleted]
[--elastic-san-name --name]
[--exists]
[--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.
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 |
The name of the ElasticSan.
Property | Value |
---|---|
Parameter group: | Resource Id Arguments |
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 |
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 |