Share via


az large-instance

Note

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

Handle Operations for Compute Azure Large Instances.

Commands

Name Description Type Status
az large-instance create

Create an Azure Large Instance for the specified subscription,.

Extension GA
az large-instance delete

Delete an Azure Large Instance for the specified subscription, resource group,.

Extension GA
az large-instance list

Gets a list of Azure Large Instances in the specified subscription. The operations returns various properties of each Azure Large Instance.

Extension GA
az large-instance restart

The operation to restart an Azure Large Instance (only for compute instances).

Extension GA
az large-instance show

Get an Azure Large Instance for the specified subscription, resource group,.

Extension GA
az large-instance shutdown

The operation to shutdown an Azure Large Instance (only for compute instances).

Extension GA
az large-instance start

The operation to start an Azure Large Instance (only for compute instances).

Extension GA
az large-instance update

Update an Azure Large Instance for the specified subscription,.

Extension GA

az large-instance create

Create an Azure Large Instance for the specified subscription,.

Resource group, and instance name.

az large-instance create --instance-name
                         --resource-group
                         [--ali-id]
                         [--azure-large-instance-size {S112, S144, S144m, S192, S192m, S192xm, S224, S224m, S224om, S224oo, S224oom, S224ooo, S224se, S384, S384m, S384xm, S384xxm, S448, S448m, S448om, S448oo, S448oom, S448ooo, S448se, S576m, S576xm, S672, S672m, S672om, S672oo, S672oom, S672ooo, S72, S72m, S768, S768m, S768xm, S896, S896m, S896om, S896oo, S896oom, S896ooo, S96, S960m}]
                         [--hardware-type {Cisco_UCS, HPE, SDFLEX}]
                         [--hw-revision]
                         [--location]
                         [--network-profile]
                         [--os-profile]
                         [--power-state {restarting, started, starting, stopped, stopping, unknown}]
                         [--ppg]
                         [--storage-profile]
                         [--tags]

Examples

Create an Azure Large Storage Instance

az large-instance create -g myResourceGroup -n myALInstance -l westus -sku S72

Required Parameters

--instance-name --name -n

Name of the AzureLargeInstance.

--resource-group -g

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

Optional Parameters

--ali-id --instance-id

Specifies the Azure Large Instance unique ID.

--azure-large-instance-size --sku

Specifies the Azure Large Instance SKU.

Accepted values: S112, S144, S144m, S192, S192m, S192xm, S224, S224m, S224om, S224oo, S224oom, S224ooo, S224se, S384, S384m, S384xm, S384xxm, S448, S448m, S448om, S448oo, S448oom, S448ooo, S448se, S576m, S576xm, S672, S672m, S672om, S672oo, S672oom, S672ooo, S72, S72m, S768, S768m, S768xm, S896, S896m, S896om, S896oo, S896oom, S896ooo, S96, S960m
--hardware-type

Name of the hardware type (vendor and/or their product name).

Accepted values: Cisco_UCS, HPE, SDFLEX
--hw-revision

Hardware revision of an Azure Large Instance.

--location -l

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

--network-profile

Specifies the network settings for the Azure Large Instance. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--os-profile

Specifies the operating system settings for the Azure Large Instance. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--power-state

Resource power state.

Accepted values: restarting, started, starting, stopped, stopping, unknown
--ppg --proximity-placement-group

Resource proximity placement group.

--storage-profile

Specifies the storage settings for the Azure Large Instance disks. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--tags

Resource tags. 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 large-instance delete

Delete an Azure Large Instance for the specified subscription, resource group,.

And instance name.

az large-instance delete [--ids]
                         [--instance-name]
                         [--resource-group]
                         [--subscription]
                         [--yes]

Examples

AzureLargeInstance_Delete

az large-instance delete --resource-group myResourceGroup --instance-name myAzureLargeInstance

Optional Parameters

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

--instance-name --name -n

Name of the AzureLargeInstance.

--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 large-instance list

Gets a list of Azure Large Instances in the specified subscription. The operations returns various properties of each Azure Large Instance.

az large-instance list [--max-items]
                       [--next-token]
                       [--resource-group]

Examples

To list Azure Large Instances in a subscription

az large-instance list --subscription $SUBSCRIPTION_ID

To list Azure Large Instances in a specific subscription and resource group

az large-instance list --subscription $SUBSCRIPTION_ID --resource-group $RESOURCE_GROUP

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 large-instance restart

The operation to restart an Azure Large Instance (only for compute instances).

az large-instance restart [--force-state {active, inactive}]
                          [--ids]
                          [--instance-name]
                          [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                          [--resource-group]
                          [--subscription]

Examples

To restart an Azure Large Instance

az large-instance restart --subscription $SUBSCRIPTION_ID --resource-group $RESOURCE_GROUP --instance-name $INSTANCE_NAME

Optional Parameters

--force-state

Whether to force restart by shutting all processes.

Accepted values: active, inactive
--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.

--instance-name --name -n

Name of the AzureLargeInstance.

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

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 large-instance show

Get an Azure Large Instance for the specified subscription, resource group,.

And instance name.

az large-instance show [--ids]
                       [--instance-name]
                       [--resource-group]
                       [--subscription]

Examples

To show details about an Azure Large Instance

az large-instance show --subscription $SUBSCRIPTION_ID --instance-name $INSTANCE_NAME --resource-group $RESOURCE_GROUP

Optional Parameters

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

--instance-name --name -n

Name of the AzureLargeInstance.

--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 large-instance shutdown

The operation to shutdown an Azure Large Instance (only for compute instances).

az large-instance shutdown [--ids]
                           [--instance-name]
                           [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                           [--resource-group]
                           [--subscription]

Examples

To shutdown an Azure Large Instance

az large-instance shutdown --subscription $SUBSCRIPTION_ID --resource-group $RESOURCE_GROUP --instance-name $INSTANCE_NAME

Optional Parameters

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

--instance-name --name -n

Name of the AzureLargeInstance.

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

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 large-instance start

The operation to start an Azure Large Instance (only for compute instances).

az large-instance start [--ids]
                        [--instance-name]
                        [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                        [--resource-group]
                        [--subscription]

Examples

To start an Azure Large Instance

az large-instance start --subscription $SUBSCRIPTION_ID --resource-group $RESOURCE_GROUP --instance-name $INSTANCE_NAME

Optional Parameters

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

--instance-name --name -n

Name of the AzureLargeInstance.

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

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 large-instance update

Update an Azure Large Instance for the specified subscription,.

Resource group, and instance name.

az large-instance update [--add]
                         [--force-string {0, 1, f, false, n, no, t, true, y, yes}]
                         [--ids]
                         [--instance-name]
                         [--remove]
                         [--resource-group]
                         [--set]
                         [--subscription]
                         [--tags]

Examples

To replace tags

az large-instance update -g myResourceGroup -n myAzureLargeStorageInstance --tags "{key:value}"

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

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

--instance-name --name -n

Name of the AzureLargeInstance.

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

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

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.