+{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/virtualmachines/{}/instanceview", "version": "2024-11-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZVNjYWxlU2V0cy97dm1TY2FsZVNldE5hbWV9L3ZpcnR1YWxNYWNoaW5lcy97aW5zdGFuY2VJZH0vaW5zdGFuY2VWaWV3/V/MjAyNC0xMS0wMQ=="}], "commandGroups": [{"name": "vmss vms instance-view", "commands": [{"name": "show", "version": "2024-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/virtualmachines/{}/instanceview", "version": "2024-11-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZVNjYWxlU2V0cy97dm1TY2FsZVNldE5hbWV9L3ZpcnR1YWxNYWNoaW5lcy97aW5zdGFuY2VJZH0vaW5zdGFuY2VWaWV3/V/MjAyNC0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.instanceId", "options": ["instance-id"], "required": true, "idPart": "child_name_1", "help": {"short": "The instance ID of the virtual machine."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vmScaleSetName", "options": ["vm-scale-set-name"], "required": true, "idPart": "name", "help": {"short": "The name of the VM scale set."}}]}], "operations": [{"operationId": "VirtualMachineScaleSetVMs_GetInstanceView", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/instanceView", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "instanceId", "arg": "$Path.instanceId", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "vmScaleSetName", "arg": "$Path.vmScaleSetName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-11-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "assignedHost"}, {"type": "object", "name": "bootDiagnostics", "props": [{"readOnly": true, "type": "string", "name": "consoleScreenshotBlobUri"}, {"readOnly": true, "type": "string", "name": "serialConsoleLogBlobUri"}, {"readOnly": true, "type": "@InstanceViewStatus_read", "name": "status"}]}, {"type": "string", "name": "computerName"}, {"type": "array<object>", "name": "disks", "item": {"type": "object", "props": [{"type": "array<object>", "name": "encryptionSettings", "item": {"type": "object", "props": [{"type": "object", "name": "diskEncryptionKey", "props": [{"type": "string", "name": "secretUrl", "required": true}, {"type": "object", "name": "sourceVault", "required": true, "props": [{"type": "ResourceId", "name": "id"}], "cls": "SubResource_read"}]}, {"type": "boolean", "name": "enabled"}, {"type": "object", "name": "keyEncryptionKey", "props": [{"type": "string", "name": "keyUrl", "required": true}, {"type": "@SubResource_read", "name": "sourceVault", "required": true}]}]}}, {"type": "string", "name": "name"}, {"type": "array<@InstanceViewStatus_read>", "name": "statuses", "item": {"type": "@InstanceViewStatus_read"}}]}, "identifiers": ["name"]}, {"type": "array<object>", "name": "extensions", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "array<@InstanceViewStatus_read>", "name": "statuses", "item": {"type": "@InstanceViewStatus_read"}}, {"type": "array<@InstanceViewStatus_read>", "name": "substatuses", "item": {"type": "@InstanceViewStatus_read"}}, {"type": "string", "name": "type"}, {"type": "string", "name": "typeHandlerVersion"}]}, "identifiers": ["name", "type"]}, {"type": "string", "name": "hyperVGeneration", "enum": {"items": [{"value": "V1"}, {"value": "V2"}]}}, {"type": "object", "name": "maintenanceRedeployStatus", "props": [{"type": "boolean", "name": "isCustomerInitiatedMaintenanceAllowed"}, {"type": "string", "name": "lastOperationMessage"}, {"type": "string", "name": "lastOperationResultCode", "enum": {"items": [{"value": "MaintenanceAborted"}, {"value": "MaintenanceCompleted"}, {"value": "None"}, {"value": "RetryLater"}]}}, {"type": "dateTime", "name": "maintenanceWindowEndTime", "format": {"protocol": "iso"}}, {"type": "dateTime", "name": "maintenanceWindowStartTime", "format": {"protocol": "iso"}}, {"type": "dateTime", "name": "preMaintenanceWindowEndTime", "format": {"protocol": "iso"}}, {"type": "dateTime", "name": "preMaintenanceWindowStartTime", "format": {"protocol": "iso"}}]}, {"type": "string", "name": "osName"}, {"type": "string", "name": "osVersion"}, {"type": "string", "name": "placementGroupId"}, {"type": "integer32", "name": "platformFaultDomain"}, {"type": "integer32", "name": "platformUpdateDomain"}, {"type": "string", "name": "rdpThumbPrint"}, {"type": "array<@InstanceViewStatus_read>", "name": "statuses", "item": {"type": "@InstanceViewStatus_read"}}, {"type": "object", "name": "vmAgent", "props": [{"type": "array<object>", "name": "extensionHandlers", "item": {"type": "object", "props": [{"type": "object", "name": "status", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "displayStatus"}, {"type": "string", "name": "level", "enum": {"items": [{"value": "Error"}, {"value": "Info"}, {"value": "Warning"}]}}, {"type": "string", "name": "message"}, {"type": "dateTime", "name": "time", "format": {"protocol": "iso"}}], "cls": "InstanceViewStatus_read"}, {"type": "string", "name": "type"}, {"type": "string", "name": "typeHandlerVersion"}]}}, {"type": "array<@InstanceViewStatus_read>", "name": "statuses", "item": {"type": "@InstanceViewStatus_read"}}, {"type": "string", "name": "vmAgentVersion"}]}, {"readOnly": true, "type": "object", "name": "vmHealth", "props": [{"readOnly": true, "type": "@InstanceViewStatus_read", "name": "status"}]}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]}
0 commit comments