Virtual Machine Scale Set VMs - Get Instance View
Gets the status of a virtual machine from a VM scale set.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/instanceView?api-version=2019-07-01
Name | In | Required | Type | Description |
---|---|---|---|---|
instance
|
path | True |
string |
The instance ID of the virtual machine. |
resource
|
path | True |
string |
The name of the resource group. |
subscription
|
path | True |
string |
Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
vm
|
path | True |
string |
The name of the VM scale set. |
api-version
|
query | True |
string |
Client Api Version. |
Name | Type | Description |
---|---|---|
200 OK |
OK |
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Name | Description |
---|---|
Boot |
Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. |
Disk |
Specifies the encryption settings for the OS Disk. |
Disk |
The disks information. |
Instance |
Instance view status. |
Key |
Specifies the location of the key encryption key in Key Vault. |
Key |
Specifies the location of the disk encryption key, which is a Key Vault Secret. |
Maintenance |
The Last Maintenance Operation Result Code. |
Maintenance |
The Maintenance Operation status on the virtual machine. |
Status |
The level code. |
Sub |
The relative URL of the Key Vault containing the secret. |
Virtual |
The VM Agent running on the virtual machine. |
Virtual |
The virtual machine extension handler instance view. |
Virtual |
The extensions information. |
Virtual |
The health status for the VM. |
Virtual |
The instance view of a virtual machine scale set VM. |
Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor.
Name | Type | Description |
---|---|---|
consoleScreenshotBlobUri |
string |
The console screenshot blob URI. |
serialConsoleLogBlobUri |
string |
The Linux serial console log blob Uri. |
status |
The boot diagnostics status information for the VM. |
Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15
Name | Type | Description |
---|---|---|
diskEncryptionKey |
Specifies the location of the disk encryption key, which is a Key Vault Secret. |
|
enabled |
boolean |
Specifies whether disk encryption should be enabled on the virtual machine. |
keyEncryptionKey |
Specifies the location of the key encryption key in Key Vault. |
The disks information.
Name | Type | Description |
---|---|---|
encryptionSettings |
Specifies the encryption settings for the OS Disk. |
|
name |
string |
The disk name. |
statuses |
The resource status information. |
Instance view status.
Name | Type | Description |
---|---|---|
code |
string |
The status code. |
displayStatus |
string |
The short localizable label for the status. |
level |
The level code. |
|
message |
string |
The detailed status message, including for alerts and error messages. |
time |
string |
The time of the status. |
Specifies the location of the key encryption key in Key Vault.
Name | Type | Description |
---|---|---|
keyUrl |
string |
The URL referencing a key encryption key in Key Vault. |
sourceVault |
The relative URL of the Key Vault containing the key. |
Specifies the location of the disk encryption key, which is a Key Vault Secret.
Name | Type | Description |
---|---|---|
secretUrl |
string |
The URL referencing a secret in a Key Vault. |
sourceVault |
The relative URL of the Key Vault containing the secret. |
The Last Maintenance Operation Result Code.
Value | Description |
---|---|
MaintenanceAborted | |
MaintenanceCompleted | |
None | |
RetryLater |
The Maintenance Operation status on the virtual machine.
Name | Type | Description |
---|---|---|
isCustomerInitiatedMaintenanceAllowed |
boolean |
True, if customer is allowed to perform Maintenance. |
lastOperationMessage |
string |
Message returned for the last Maintenance Operation. |
lastOperationResultCode |
The Last Maintenance Operation Result Code. |
|
maintenanceWindowEndTime |
string |
End Time for the Maintenance Window. |
maintenanceWindowStartTime |
string |
Start Time for the Maintenance Window. |
preMaintenanceWindowEndTime |
string |
End Time for the Pre Maintenance Window. |
preMaintenanceWindowStartTime |
string |
Start Time for the Pre Maintenance Window. |
The level code.
Value | Description |
---|---|
Error | |
Info | |
Warning |
The relative URL of the Key Vault containing the secret.
Name | Type | Description |
---|---|---|
id |
string |
Resource Id |
The VM Agent running on the virtual machine.
Name | Type | Description |
---|---|---|
extensionHandlers |
The virtual machine extension handler instance view. |
|
statuses |
The resource status information. |
|
vmAgentVersion |
string |
The VM Agent full version. |
The virtual machine extension handler instance view.
Name | Type | Description |
---|---|---|
status |
The extension handler status. |
|
type |
string |
Specifies the type of the extension; an example is "CustomScriptExtension". |
typeHandlerVersion |
string |
Specifies the version of the script handler. |
The extensions information.
Name | Type | Description |
---|---|---|
name |
string |
The virtual machine extension name. |
statuses |
The resource status information. |
|
substatuses |
The resource status information. |
|
type |
string |
Specifies the type of the extension; an example is "CustomScriptExtension". |
typeHandlerVersion |
string |
Specifies the version of the script handler. |
The health status for the VM.
Name | Type | Description |
---|---|---|
status |
The health status information for the VM. |
The instance view of a virtual machine scale set VM.
Name | Type | Description |
---|---|---|
bootDiagnostics |
Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. |
|
disks |
The disks information. |
|
extensions |
The extensions information. |
|
maintenanceRedeployStatus |
The Maintenance Operation status on the virtual machine. |
|
placementGroupId |
string |
The placement group in which the VM is running. If the VM is deallocated it will not have a placementGroupId. |
platformFaultDomain |
integer |
The Fault Domain count. |
platformUpdateDomain |
integer |
The Update Domain count. |
rdpThumbPrint |
string |
The Remote desktop certificate thumbprint. |
statuses |
The resource status information. |
|
vmAgent |
The VM Agent running on the virtual machine. |
|
vmHealth |
The health status for the VM. |