Share via


az elastic-san

Note

This reference is part of the elastic-san extension for the Azure CLI (version 2.61.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 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 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 --base-size-tib
                      --elastic-san-name
                      --extended-capacity-size-tib
                      --resource-group
                      --sku
                      [--auto-scale-policy {Disabled, Enabled, None}]
                      [--availability-zones]
                      [--capacity-unit-scale-up]
                      [--increase-capacity-unit]
                      [--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

Required Parameters

--base-size-tib

Base size of the Elastic San appliance in TiB.

--elastic-san-name --name -n

The name of the ElasticSan.

--extended-capacity-size-tib --extended-size

Extended size of the Elastic San appliance in TiB.

--resource-group -g

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

--sku

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

Optional Parameters

--auto-scale-policy --auto-scale-policy-enforcement
Preview

Enable or Disable scale up setting on Elastic San Appliance.

Accepted values: Disabled, Enabled, None
--availability-zones

Logical zone for Elastic San resource; example: ["1"]. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--capacity-unit-scale-up --capacity-unit-scale-up-limit-tib
Preview

Maximum scale up size on Elastic San appliance in TiB.

--increase-capacity-unit --increase-capacity-unit-by-tib
Preview

Unit to increase Capacity Unit on Elastic San appliance in TiB.

--location -l

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

--no-wait

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

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--public-network-access

Allow or disallow public network access to ElasticSan. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.

Accepted values: Disabled, Enabled
--tags

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

--unused-size-tib
Preview

Unused size on Elastic San appliance in TiB.

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 elastic-san delete

Delete an Elastic SAN.

az elastic-san delete [--elastic-san-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

--elastic-san-name --name -n

The name of the ElasticSan.

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

--yes -y

Do not prompt for confirmation.

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.

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

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

--resource-group -g

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

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

--filter

Specify $filter='location eq ' to filter on location.

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 elastic-san show

Get an Elastic SAN.

az elastic-san show [--elastic-san-name]
                    [--ids]
                    [--resource-group]
                    [--subscription]

Examples

Get an Elastic SAN.

az elastic-san show -g "rg" -n "san_name"

Optional Parameters

--elastic-san-name --name -n

The name of the ElasticSan.

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

--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 elastic-san update

Update an Elastic SAN.

az elastic-san update [--add]
                      [--auto-scale-policy {Disabled, Enabled, None}]
                      [--availability-zones]
                      [--base-size-tib]
                      [--capacity-unit-scale-up]
                      [--elastic-san-name]
                      [--extended-capacity-size-tib]
                      [--force-string {0, 1, f, false, n, no, t, true, y, yes}]
                      [--ids]
                      [--increase-capacity-unit]
                      [--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

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

--auto-scale-policy --auto-scale-policy-enforcement
Preview

Enable or Disable scale up setting on Elastic San Appliance.

Accepted values: Disabled, Enabled, None
--availability-zones

Logical zone for Elastic San resource; example: ["1"]. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--base-size-tib

Base size of the Elastic San appliance in TiB.

--capacity-unit-scale-up --capacity-unit-scale-up-limit-tib
Preview

Maximum scale up size on Elastic San appliance in TiB.

--elastic-san-name --name -n

The name of the ElasticSan.

--extended-capacity-size-tib --extended-size

Extended size of the Elastic San appliance in TiB.

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

--increase-capacity-unit --increase-capacity-unit-by-tib
Preview

Unit to increase Capacity Unit on Elastic San appliance in TiB.

--no-wait

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

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--public-network-access

Allow or disallow public network access to ElasticSan. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.

Accepted values: Disabled, Enabled
--remove

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

--resource-group -g

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

--set

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

--sku

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

--subscription

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

--tags

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

--unused-size-tib
Preview

Unused size on Elastic San appliance in TiB.

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 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]
                    [--exists]
                    [--ids]
                    [--interval]
                    [--resource-group]
                    [--subscription]
                    [--timeout]
                    [--updated]

Optional Parameters

--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
--elastic-san-name --name -n

The name of the ElasticSan.

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