az cloud-service role-instance
Note
This reference is part of the cloud-service extension for the Azure CLI (version 2.55.0 or higher). The extension will automatically install the first time you run an az cloud-service role-instance command. Learn more about extensions.
Command group 'cloud-service' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage role instance.
Commands
Name | Description | Type | Status |
---|---|---|---|
az cloud-service role-instance delete |
Delete a role instance from a cloud service. |
Extension | Experimental |
az cloud-service role-instance list |
Get the list of all role instances in a cloud service. |
Extension | Experimental |
az cloud-service role-instance rebuild |
The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instance. |
Extension | Experimental |
az cloud-service role-instance reimage |
The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles. |
Extension | Experimental |
az cloud-service role-instance restart |
The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service. |
Extension | Experimental |
az cloud-service role-instance show |
Get a role instance from a cloud service. |
Extension | Experimental |
az cloud-service role-instance show-instance-view |
Retrieve information about the run-time state of a role instance in a cloud service. |
Extension | Experimental |
az cloud-service role-instance show-remote-desktop-file |
Get a remote desktop file for a role instance in a cloud service. |
Extension | Experimental |
az cloud-service role-instance delete
Command group 'cloud-service' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Delete a role instance from a cloud service.
az cloud-service role-instance delete [--cloud-service-name]
[--ids]
[--no-wait]
[--resource-group]
[--role-instance-name]
[--subscription]
[--yes]
Optional Parameters
Cloud service name.
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.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the role instance.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az cloud-service role-instance list
Command group 'cloud-service' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Get the list of all role instances in a cloud service.
az cloud-service role-instance list --cloud-service-name
--resource-group
Required Parameters
Cloud service name.
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.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az cloud-service role-instance rebuild
Command group 'cloud-service' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instance.
az cloud-service role-instance rebuild [--cloud-service-name]
[--ids]
[--no-wait]
[--resource-group]
[--role-instance-name]
[--subscription]
Optional Parameters
Cloud service name.
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.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the role instance.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az cloud-service role-instance reimage
Command group 'cloud-service' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles.
az cloud-service role-instance reimage [--cloud-service-name]
[--ids]
[--no-wait]
[--resource-group]
[--role-instance-name]
[--subscription]
Optional Parameters
Cloud service name.
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.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the role instance.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az cloud-service role-instance restart
Command group 'cloud-service' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service.
az cloud-service role-instance restart [--cloud-service-name]
[--ids]
[--no-wait]
[--resource-group]
[--role-instance-name]
[--subscription]
Optional Parameters
Cloud service name.
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.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the role instance.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az cloud-service role-instance show
Command group 'cloud-service' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Get a role instance from a cloud service.
az cloud-service role-instance show [--cloud-service-name]
[--ids]
[--resource-group]
[--role-instance-name]
[--subscription]
Optional Parameters
Cloud service name.
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 of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the role instance.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az cloud-service role-instance show-instance-view
Command group 'cloud-service' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Retrieve information about the run-time state of a role instance in a cloud service.
az cloud-service role-instance show-instance-view [--cloud-service-name]
[--ids]
[--resource-group]
[--role-instance-name]
[--subscription]
Optional Parameters
Cloud service name.
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 of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the role instance.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az cloud-service role-instance show-remote-desktop-file
Command group 'cloud-service' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Get a remote desktop file for a role instance in a cloud service.
az cloud-service role-instance show-remote-desktop-file [--cloud-service-name]
[--ids]
[--resource-group]
[--role-instance-name]
[--subscription]
Optional Parameters
Cloud service name.
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 of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the role instance.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.