Virtual Machine Scale Sets - Get Instance View
Gets the status of a VM scale set instance.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/instanceView?api-version=2020-12-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
resource
|
path | True |
|
The name of the resource group. |
subscription
|
path | True |
|
Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
vm
|
path | True |
|
The name of the VM scale set. |
api-version
|
query | True |
|
Client Api Version. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Definitions
Instance |
Instance view status. |
Orchestration |
The name of the service. |
Orchestration |
The current state of the service. |
Orchestration |
Summary for an orchestration service of a virtual machine scale set. |
Status |
The level code. |
Virtual |
The instance view of a virtual machine scale set. |
Virtual |
Instance view statuses summary for virtual machines of a virtual machine scale set. |
Virtual |
Extensions summary for virtual machines of a virtual machine scale set. |
Virtual |
The status code and count of the virtual machine scale set instance view status summary. |
InstanceViewStatus
Instance view status.
Name | Type | Description |
---|---|---|
code |
|
The status code. |
displayStatus |
|
The short localizable label for the status. |
level |
The level code. |
|
message |
|
The detailed status message, including for alerts and error messages. |
time |
|
The time of the status. |
OrchestrationServiceNames
The name of the service.
Name | Type | Description |
---|---|---|
AutomaticRepairs |
|
OrchestrationServiceState
The current state of the service.
Name | Type | Description |
---|---|---|
NotRunning |
|
|
Running |
|
|
Suspended |
|
OrchestrationServiceSummary
Summary for an orchestration service of a virtual machine scale set.
Name | Type | Description |
---|---|---|
serviceName |
The name of the service. |
|
serviceState |
The current state of the service. |
StatusLevelTypes
The level code.
Name | Type | Description |
---|---|---|
Error |
|
|
Info |
|
|
Warning |
|
VirtualMachineScaleSetInstanceView
The instance view of a virtual machine scale set.
Name | Type | Description |
---|---|---|
extensions |
The extensions information. |
|
orchestrationServices |
The orchestration services information. |
|
statuses |
The resource status information. |
|
virtualMachine |
The instance view status summary for the virtual machine scale set. |
VirtualMachineScaleSetInstanceViewStatusesSummary
Instance view statuses summary for virtual machines of a virtual machine scale set.
Name | Type | Description |
---|---|---|
statusesSummary |
The extensions information. |
VirtualMachineScaleSetVMExtensionsSummary
Extensions summary for virtual machines of a virtual machine scale set.
Name | Type | Description |
---|---|---|
name |
|
The extension name. |
statusesSummary |
The extensions information. |
VirtualMachineStatusCodeCount
The status code and count of the virtual machine scale set instance view status summary.
Name | Type | Description |
---|---|---|
code |
|
The instance view status code. |
count |
|
The number of instances having a particular status code. |