From 0420ce7adea7c0e000d063efdc463c284e475597 Mon Sep 17 00:00:00 2001 From: Rajasi Rane Date: Fri, 20 Nov 2020 06:01:42 -0800 Subject: [PATCH 01/10] Updated patch status in VMInstanceView, few properties in AssessPatches API and patch settings in Windows and Linux Configuration in VMModel --- .../stable/2020-12-01/compute.json | 138 +++++++++----- ...PatchSettingModeOfAutomaticByPlatform.json | 163 +++++++++++++++++ ...xVmWithPatchSettingModeOfImageDefault.json | 163 +++++++++++++++++ ...mWithPatchSettingModeOfAutomaticByOS.json} | 0 ...atchSettingModeOfAutomaticByPlatform.json} | 0 ...ticByPlatformAndEnableHotPatchingTrue.json | 169 ++++++++++++++++++ ...indowsVmWithPatchSettingModeOfManual.json} | 0 .../GetVirtualMachineInstanceView.json | 25 ++- .../examples/VirtualMachineAssessPatches.json | 6 +- 9 files changed, 618 insertions(+), 46 deletions(-) create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/CreateALinuxVmWithPatchSettingModeOfAutomaticByPlatform.json create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/CreateALinuxVmWithPatchSettingModeOfImageDefault.json rename specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/{CreateAVmWithPatchSettingModeOfAutomaticByOS.json => CreateAWindowsVmWithPatchSettingModeOfAutomaticByOS.json} (100%) rename specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/{CreateAVmWithPatchSettingModeOfAutomaticByPlatform.json => CreateAWindowsVmWithPatchSettingModeOfAutomaticByPlatform.json} (100%) create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/CreateAWindowsVmWithPatchSettingModeOfAutomaticByPlatformAndEnableHotPatchingTrue.json rename specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/{CreateAVmWithPatchSettingModeOfManual.json => CreateAWindowsVmWithPatchSettingModeOfManual.json} (100%) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json index e893556c0159..b03d592bef62 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json @@ -3038,14 +3038,23 @@ "Create a vm with Host Encryption using encryptionAtHost property.": { "$ref": "./examples/CreateAVmWithEncryptionAtHost.json" }, - "Create a vm with a patch setting patchMode of AutomaticByOS.": { - "$ref": "./examples/CreateAVmWithPatchSettingModeOfAutomaticByOS.json" + "Create a windows vm with a patch setting patchMode of AutomaticByOS.": { + "$ref": "./examples/CreateAWindowsVmWithPatchSettingModeOfAutomaticByOS.json" }, - "Create a vm with a patch setting patchMode of AutomaticByPlatform.": { - "$ref": "./examples/CreateAVmWithPatchSettingModeOfAutomaticByPlatform.json" + "Create a windows vm with a patch setting patchMode of AutomaticByPlatform.": { + "$ref": "./examples/CreateAWindowsVmWithPatchSettingModeOfAutomaticByPlatform.json" }, - "Create a vm with a patch setting patchMode of Manual.": { - "$ref": "./examples/CreateAVmWithPatchSettingModeOfManual.json" + "Create a windows vm with a patch setting patchMode of Manual.": { + "$ref": "./examples/CreateAWindowsVmWithPatchSettingModeOfManual.json" + }, + "Create a windows vm with a patch setting patchMode of AutomaticByPlatform and enableHotpatching set to true.": { + "$ref": "./examples/CreateAWindowsVmWithPatchSettingModeOfAutomaticByPlatformAndEnableHotPatchingTrue.json" + }, + "Create a linux vm with a patch setting patchMode of AutomaticByPlatform.": { + "$ref": "./examples/CreateALinuxVmWithPatchSettingModeOfAutomaticByPlatform.json" + }, + "Create a linux vm with a patch setting patchMode of ImageDefault.": { + "$ref": "./examples/CreateALinuxVmWithPatchSettingModeOfImageDefault.json" }, "Create a vm with an extensions time budget.": { "$ref": "./examples/CreateAVmWithExtensionsTimeBudget.json" @@ -7739,7 +7748,7 @@ "readOnly": true, "description": "The version number of the patch. This property applies only to Linux patches." }, - "kbid": { + "kbId": { "type": "string", "readOnly": true, "description": "The KBID of the patch. Only applies to Windows patches." @@ -7757,12 +7766,13 @@ "readOnly": true, "description": "Describes the reboot requirements of the patch.", "enum": [ + "Unknown", "NeverReboots", "AlwaysRequiresReboot", "CanRequestReboot" ], "x-ms-enum": { - "name": "SoftwareUpdateRebootBehavior", + "name": "VMGuestPatchRebootBehavior", "modelAsString": true } }, @@ -7786,13 +7796,9 @@ "assessmentState": { "type": "string", "readOnly": true, - "description": "Describes the outcome of an install operation for a given patch.", + "description": "Describes the assessed installation state of a given patch.", "enum": [ - "Installed", - "Failed", - "Excluded", - "NotSelected", - "Pending", + "Unknown", "Available" ], "x-ms-enum": { @@ -7808,8 +7814,9 @@ "status": { "type": "string", "readOnly": true, - "description": "The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Failed\", \"Succeeded\", or \"CompletedWithWarnings.\"", + "description": "The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Failed\", \"Succeeded\", \"CompletedWithWarnings\", \"Unknown.\"", "enum": [ + "Unknown", "InProgress", "Failed", "Succeeded", @@ -7848,7 +7855,7 @@ "format": "date-time", "description": "The UTC timestamp when the operation began." }, - "patches": { + "availablePatches": { "type": "array", "readOnly": true, "items": { @@ -8805,7 +8812,7 @@ "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup." }, "patchSettings": { - "$ref": "#/definitions/PatchSettings", + "$ref": "#/definitions/WindowsPatchSettings", "description": "Specifies settings related to in-guest patching (KBs)." }, "winRM": { @@ -8853,6 +8860,10 @@ "provisionVMAgent": { "type": "boolean", "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.

When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later." + }, + "patchSettings": { + "$ref": "#/definitions/LinuxPatchSettings", + "description": "Specifies settings related to VM Guest Patching on Linux." } }, "description": "Specifies the Linux operating system settings on the virtual machine.

For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)

For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)." @@ -12013,7 +12024,7 @@ "action" ] }, - "PatchSettings": { + "WindowsPatchSettings": { "properties": { "patchMode": { "type": "string", @@ -12024,11 +12035,33 @@ "AutomaticByPlatform" ], "x-ms-enum": { - "name": "InGuestPatchMode", + "name": "WindowsVMGuestPatchMode", "modelAsString": true } + }, + "enableHotpatching": { + "type": "boolean", + "description": "Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'." } - } + }, + "description": "Specifies settings related to in-guest patching (KBs)." + }, + "LinuxPatchSettings": { + "properties": { + "patchMode": { + "type": "string", + "description": "Specifies the mode of in-guest patching to IaaS virtual machine.

Possible values are:

**ImageDefault** - This will be whatever the image is configured by default with.

**AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The property provisionVMAgent must be true ", + "enum": [ + "ImageDefault", + "AutomaticByPlatform" + ], + "x-ms-enum": { + "name": "LinuxVMGuestPatchMode", + "modelAsString": true + } + } + }, + "description": "Specifies settings related to VM Guest Patching on Linux." }, "VirtualMachinePatchStatus": { "properties": { @@ -12039,6 +12072,18 @@ "lastPatchInstallationSummary": { "$ref": "#/definitions/LastPatchInstallationSummary", "description": "The installation summary of the latest installation operation for the virtual machine." + }, + "hotpatchStatus": { + "$ref": "#/definitions/HotpatchStatus", + "description": "The Hot Patch Status for the virual machine." + }, + "configurationStatuses": { + "description": "The enablement status of the specified patchMode", + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + } } }, "description": "The status of virtual machine patch operations." @@ -12048,8 +12093,9 @@ "status": { "type": "string", "readOnly": true, - "description": "The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Failed\", \"Succeeded\", or \"CompletedWithWarnings.\"", + "description": "The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Unknown\", \"Failed\", \"Succeeded\", or \"CompletedWithWarnings.\"", "enum": [ + "Unknown", "InProgress", "Failed", "Succeeded", @@ -12107,8 +12153,9 @@ "status": { "type": "string", "readOnly": true, - "description": "The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Failed\", \"Succeeded\", or \"CompletedWithWarnings.\"", + "description": "The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Unknown\", \"Failed\", \"Succeeded\", or \"CompletedWithWarnings.\"", "enum": [ + "Unknown", "InProgress", "Failed", "Succeeded", @@ -12129,22 +12176,6 @@ "readOnly": true, "description": "Describes whether the operation ran out of time before it completed all its intended actions" }, - "rebootStatus": { - "type": "string", - "readOnly": true, - "description": "The reboot status of the machine after the patch operation. It will be in \"NotNeeded\" status if reboot is not needed after the patch operation. \"Required\" will be the status once the patch is applied and machine is required to reboot. \"Started\" will be the reboot status when the machine has started to reboot. \"Failed\" will be the status if the machine is failed to reboot. \"Completed\" will be the status once the machine is rebooted successfully", - "enum": [ - "NotNeeded", - "Required", - "Started", - "Failed", - "Completed" - ], - "x-ms-enum": { - "name": "RebootStatus", - "modelAsString": true - } - }, "notSelectedPatchCount": { "type": "integer", "readOnly": true, @@ -12187,10 +12218,37 @@ "format": "date-time", "description": "The UTC timestamp when the operation began." }, - "startedBy": { + "error": { + "$ref": "#/definitions/ApiError", + "readOnly": true, + "description": "The errors that were encountered during execution of the operation. The details array contains the list of them." + } + }, + "description": "The Hot Patch Status for the virual machine." + }, + "HotpatchStatus": { + "properties": { + "hotpatchEnablementStatus": { "type": "string", "readOnly": true, - "description": "The person or system account that started the operation" + "description": "Represents what state of hotpatching opt in the VM is in. .

Possible values are:

**Unknown** - Safe default until initialized.

**PendingEvaluation** - Value reported when there's no data from the extension to work with.

**NotRequested** - Extension reports that there was no instruction to enable hotpatching.

**ActionRequired** - Extension reports that customer action is required to complete opt in.

**Enabled** - Extension reports that hotpatching enablement has completed.", + "enum": [ + "Unknown", + "PendingEvaluation", + "NotRequested", + "ActionRequired", + "Enabled" + ], + "x-ms-enum": { + "name": "HotpatchEnablementStatus", + "modelAsString": true + } + }, + "lastRefreshedTime": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The UTC timestamp when the status was last refreshed." }, "error": { "$ref": "#/definitions/ApiError", diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/CreateALinuxVmWithPatchSettingModeOfAutomaticByPlatform.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/CreateALinuxVmWithPatchSettingModeOfAutomaticByPlatform.json new file mode 100644 index 000000000000..a674b26987cb --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/CreateALinuxVmWithPatchSettingModeOfAutomaticByPlatform.json @@ -0,0 +1,163 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "vmName": "myVM", + "api-version": "2020-12-01", + "parameters": { + "location": "westus", + "properties": { + "hardwareProfile": { + "vmSize": "Standard_D2s_v3" + }, + "storageProfile": { + "imageReference": { + "sku": "16.04-LTS", + "publisher": "Canonical", + "version": "latest", + "offer": "UbuntuServer" + }, + "osDisk": { + "caching": "ReadWrite", + "managedDisk": { + "storageAccountType": "Premium_LRS" + }, + "name": "myVMosdisk", + "createOption": "FromImage" + } + }, + "osProfile": { + "adminUsername": "{your-username}", + "computerName": "myVM", + "adminPassword": "{your-password}", + "linuxConfiguration": { + "provisionVMAgent": true, + "patchSettings": { + "patchMode": "AutomaticByPlatform" + } + } + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + "properties": { + "primary": true + } + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", + "type": "Microsoft.Compute/virtualMachines", + "properties": { + "osProfile": { + "adminUsername": "{your-username}", + "secrets": [], + "computerName": "myVM", + "linuxConfiguration": { + "provisionVMAgent": true, + "patchSettings": { + "patchMode": "AutomaticByPlatform" + } + } + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic", + "properties": { + "primary": true + } + } + ] + }, + "storageProfile": { + "imageReference": { + "sku": "16.04-LTS", + "publisher": "Canonical", + "version": "latest", + "offer": "UbuntuServer" + }, + "osDisk": { + "osType": "Linux", + "caching": "ReadWrite", + "createOption": "FromImage", + "name": "myVMosdisk", + "managedDisk": { + "storageAccountType": "Premium_LRS" + } + }, + "dataDisks": [] + }, + "vmId": "a149cd25-409f-41af-8088-275f5486bc93", + "hardwareProfile": { + "vmSize": "Standard_D2s_v3" + }, + "provisioningState": "Creating" + }, + "name": "myVM", + "location": "westus" + } + }, + "201": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", + "type": "Microsoft.Compute/virtualMachines", + "properties": { + "osProfile": { + "adminUsername": "{your-username}", + "secrets": [], + "computerName": "myVM", + "linuxConfiguration": { + "provisionVMAgent": true, + "patchSettings": { + "patchMode": "AutomaticByPlatform" + } + } + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic", + "properties": { + "primary": true + } + } + ] + }, + "storageProfile": { + "imageReference": { + "sku": "16.04-LTS", + "publisher": "Canonical", + "version": "latest", + "offer": "UbuntuServer" + }, + "osDisk": { + "osType": "Linux", + "caching": "ReadWrite", + "createOption": "FromImage", + "name": "myVMosdisk", + "managedDisk": { + "storageAccountType": "Premium_LRS" + } + }, + "dataDisks": [] + }, + "vmId": "a149cd25-409f-41af-8088-275f5486bc93", + "hardwareProfile": { + "vmSize": "Standard_D2s_v3" + }, + "provisioningState": "Creating" + }, + "name": "myVM", + "location": "westus" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/CreateALinuxVmWithPatchSettingModeOfImageDefault.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/CreateALinuxVmWithPatchSettingModeOfImageDefault.json new file mode 100644 index 000000000000..5ba2c555788d --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/CreateALinuxVmWithPatchSettingModeOfImageDefault.json @@ -0,0 +1,163 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "vmName": "myVM", + "api-version": "2020-12-01", + "parameters": { + "location": "westus", + "properties": { + "hardwareProfile": { + "vmSize": "Standard_D2s_v3" + }, + "storageProfile": { + "imageReference": { + "sku": "16.04-LTS", + "publisher": "Canonical", + "version": "latest", + "offer": "UbuntuServer" + }, + "osDisk": { + "caching": "ReadWrite", + "managedDisk": { + "storageAccountType": "Premium_LRS" + }, + "name": "myVMosdisk", + "createOption": "FromImage" + } + }, + "osProfile": { + "adminUsername": "{your-username}", + "computerName": "myVM", + "adminPassword": "{your-password}", + "linuxConfiguration": { + "provisionVMAgent": true, + "patchSettings": { + "patchMode": "ImageDefault" + } + } + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + "properties": { + "primary": true + } + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", + "type": "Microsoft.Compute/virtualMachines", + "properties": { + "osProfile": { + "adminUsername": "{your-username}", + "secrets": [], + "computerName": "myVM", + "linuxConfiguration": { + "provisionVMAgent": true, + "patchSettings": { + "patchMode": "ImageDefault" + } + } + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic", + "properties": { + "primary": true + } + } + ] + }, + "storageProfile": { + "imageReference": { + "sku": "16.04-LTS", + "publisher": "Canonical", + "version": "latest", + "offer": "UbuntuServer" + }, + "osDisk": { + "osType": "Linux", + "caching": "ReadWrite", + "createOption": "FromImage", + "name": "myVMosdisk", + "managedDisk": { + "storageAccountType": "Premium_LRS" + } + }, + "dataDisks": [] + }, + "vmId": "a149cd25-409f-41af-8088-275f5486bc93", + "hardwareProfile": { + "vmSize": "Standard_D2s_v3" + }, + "provisioningState": "Creating" + }, + "name": "myVM", + "location": "westus" + } + }, + "201": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", + "type": "Microsoft.Compute/virtualMachines", + "properties": { + "osProfile": { + "adminUsername": "{your-username}", + "secrets": [], + "computerName": "myVM", + "linuxConfiguration": { + "provisionVMAgent": true, + "patchSettings": { + "patchMode": "ImageDefault" + } + } + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic", + "properties": { + "primary": true + } + } + ] + }, + "storageProfile": { + "imageReference": { + "sku": "16.04-LTS", + "publisher": "Canonical", + "version": "latest", + "offer": "UbuntuServer" + }, + "osDisk": { + "osType": "Linux", + "caching": "ReadWrite", + "createOption": "FromImage", + "name": "myVMosdisk", + "managedDisk": { + "storageAccountType": "Premium_LRS" + } + }, + "dataDisks": [] + }, + "vmId": "a149cd25-409f-41af-8088-275f5486bc93", + "hardwareProfile": { + "vmSize": "Standard_D2s_v3" + }, + "provisioningState": "Creating" + }, + "name": "myVM", + "location": "westus" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/CreateAVmWithPatchSettingModeOfAutomaticByOS.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/CreateAWindowsVmWithPatchSettingModeOfAutomaticByOS.json similarity index 100% rename from specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/CreateAVmWithPatchSettingModeOfAutomaticByOS.json rename to specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/CreateAWindowsVmWithPatchSettingModeOfAutomaticByOS.json diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/CreateAVmWithPatchSettingModeOfAutomaticByPlatform.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/CreateAWindowsVmWithPatchSettingModeOfAutomaticByPlatform.json similarity index 100% rename from specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/CreateAVmWithPatchSettingModeOfAutomaticByPlatform.json rename to specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/CreateAWindowsVmWithPatchSettingModeOfAutomaticByPlatform.json diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/CreateAWindowsVmWithPatchSettingModeOfAutomaticByPlatformAndEnableHotPatchingTrue.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/CreateAWindowsVmWithPatchSettingModeOfAutomaticByPlatformAndEnableHotPatchingTrue.json new file mode 100644 index 000000000000..63bbeb50181e --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/CreateAWindowsVmWithPatchSettingModeOfAutomaticByPlatformAndEnableHotPatchingTrue.json @@ -0,0 +1,169 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "vmName": "myVM", + "api-version": "2020-06-01", + "parameters": { + "location": "westus", + "properties": { + "hardwareProfile": { + "vmSize": "Standard_D1_v2" + }, + "storageProfile": { + "imageReference": { + "sku": "2016-Datacenter", + "publisher": "MicrosoftWindowsServer", + "version": "latest", + "offer": "WindowsServer" + }, + "osDisk": { + "caching": "ReadWrite", + "managedDisk": { + "storageAccountType": "Premium_LRS" + }, + "name": "myVMosdisk", + "createOption": "FromImage" + } + }, + "osProfile": { + "adminUsername": "{your-username}", + "computerName": "myVM", + "adminPassword": "{your-password}", + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true, + "patchSettings": { + "patchMode": "AutomaticByPlatform", + "enableHotpatching": true + } + } + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", + "properties": { + "primary": true + } + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", + "type": "Microsoft.Compute/virtualMachines", + "properties": { + "osProfile": { + "adminUsername": "{your-username}", + "secrets": [], + "computerName": "myVM", + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true, + "patchSettings": { + "patchMode": "AutomaticByPlatform", + "enableHotpatching": true + } + } + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic", + "properties": { + "primary": true + } + } + ] + }, + "storageProfile": { + "imageReference": { + "sku": "2016-Datacenter", + "publisher": "MicrosoftWindowsServer", + "version": "latest", + "offer": "WindowsServer" + }, + "osDisk": { + "osType": "Windows", + "caching": "ReadWrite", + "createOption": "FromImage", + "name": "myVMosdisk", + "managedDisk": { + "storageAccountType": "Premium_LRS" + } + }, + "dataDisks": [] + }, + "vmId": "a149cd25-409f-41af-8088-275f5486bc93", + "hardwareProfile": { + "vmSize": "Standard_DS1_v2" + }, + "provisioningState": "Creating" + }, + "name": "myVM", + "location": "westus" + } + }, + "201": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", + "type": "Microsoft.Compute/virtualMachines", + "properties": { + "osProfile": { + "adminUsername": "{your-username}", + "secrets": [], + "computerName": "myVM", + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true, + "patchSettings": { + "patchMode": "AutomaticByPlatform", + "enableHotpatching": true + } + } + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic", + "properties": { + "primary": true + } + } + ] + }, + "storageProfile": { + "imageReference": { + "sku": "2016-Datacenter", + "publisher": "MicrosoftWindowsServer", + "version": "latest", + "offer": "WindowsServer" + }, + "osDisk": { + "osType": "Windows", + "caching": "ReadWrite", + "createOption": "FromImage", + "name": "myVMosdisk", + "managedDisk": { + "storageAccountType": "Premium_LRS" + } + }, + "dataDisks": [] + }, + "vmId": "a149cd25-409f-41af-8088-275f5486bc93", + "hardwareProfile": { + "vmSize": "Standard_DS1_v2" + }, + "provisioningState": "Creating" + }, + "name": "myVM", + "location": "westus" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/CreateAVmWithPatchSettingModeOfManual.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/CreateAWindowsVmWithPatchSettingModeOfManual.json similarity index 100% rename from specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/CreateAVmWithPatchSettingModeOfManual.json rename to specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/CreateAWindowsVmWithPatchSettingModeOfManual.json diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/GetVirtualMachineInstanceView.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/GetVirtualMachineInstanceView.json index 2c08b321ca19..459d0883fff9 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/GetVirtualMachineInstanceView.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/GetVirtualMachineInstanceView.json @@ -88,12 +88,13 @@ "criticalAndSecurityPatchCount": 1, "otherPatchCount": 2, "startTime": "2020-04-24T21:02:04.2556154Z", + "lastModifiedTime": "2020-04-24T21:02:04.2556154Z", "error": null }, "lastPatchInstallationSummary": { "status": "Succeeded", + "installationActivityId": "68f8b292-dfc2-4646-9981-33cc88631968", "maintenanceWindowExceeded": false, - "rebootStatus": "Completed", "notSelectedPatchCount": 1, "excludedPatchCount": 1, "pendingPatchCount": 1, @@ -101,9 +102,27 @@ "failedPatchCount": 1, "startTime": "2020-04-24T21:02:04.2556154Z", "lastModifiedTime": "2020-04-24T21:02:04.2556154Z", - "startedBy": "platform", "error": null - } + }, + "hotpatchStatus": { + "hotpatchEnablementStatus": "Enabled", + "lastRefreshedTime": "2020-04-24T21:02:04.2556154Z", + "error": null + }, + "configurationStatuses": [ + { + "code": "PatchModeConfigurationState/Ready", + "level": "Info", + "displayStatus": "Status_PatchModeConfigurationState_Ready", + "time": "2020-04-24T21:02:04.2556154Z" + }, + { + "code": "PatchModeConfigurationState/Pending", + "level": "Info", + "displayStatus": "Status_PatchModeConfigurationState_Pending", + "time": "2020-04-24T21:02:04.2556154Z" + } + ] }, "statuses": [ { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/VirtualMachineAssessPatches.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/VirtualMachineAssessPatches.json index e58ba764733b..221101102b22 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/VirtualMachineAssessPatches.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/VirtualMachineAssessPatches.json @@ -14,12 +14,12 @@ "criticalAndSecurityPatchCount": 1, "otherPatchCount": 2, "startDateTime": "2020-04-24T21:02:04.2556154Z", - "patches": [ + "availablePatches": [ { "patchId": "35428702-5784-4ba4-a6e0-5222258b5411", "name": "Definition Update for Windows Defender Antivirus - KB2267602 (Definition 1.279.1373.0)", "version": "", - "kbid": "2267602", + "kbId": "2267602", "classifications": [ "Definition Updates" ], @@ -33,7 +33,7 @@ "patchId": "39f9cdd1-795c-4d0e-8c0a-73ab3f31746d", "name": "Windows Malicious Software Removal Tool x64 - October 2018 (KB890830)", "version": "", - "kbid": "890830", + "kbId": "890830", "classifications": [ "Update Rollups" ], From 89ee1bc5576ecb63a1bd2d7486a26532d3ca0124 Mon Sep 17 00:00:00 2001 From: Rajasi Rane Date: Fri, 20 Nov 2020 13:56:33 -0800 Subject: [PATCH 02/10] updating enum value for hotPatchEnablementStatus in VirtualMachinePatchStatus under InstanceView --- .../Microsoft.Compute/stable/2020-12-01/compute.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json index b03d592bef62..f416bc195aaa 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json @@ -12235,7 +12235,7 @@ "enum": [ "Unknown", "PendingEvaluation", - "NotRequested", + "Disabled", "ActionRequired", "Enabled" ], From adb19b90d91da4f16ec45cd8dfb1c95e58a73b7c Mon Sep 17 00:00:00 2001 From: Rajasi Rane Date: Mon, 23 Nov 2020 13:28:13 -0800 Subject: [PATCH 03/10] fix for spellcheck failure --- custom-words.txt | 1 + .../Microsoft.Compute/stable/2020-12-01/compute.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/custom-words.txt b/custom-words.txt index ae42b648994a..0a1be4074b59 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -720,6 +720,7 @@ hierarchyid hivevar HKEY homepagetest +hotpatch Horovod hostnames Hotfix diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json index f416bc195aaa..9de597a0b8ca 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json @@ -12075,7 +12075,7 @@ }, "hotpatchStatus": { "$ref": "#/definitions/HotpatchStatus", - "description": "The Hot Patch Status for the virual machine." + "description": "The Hot Patch Status for the virtual machine." }, "configurationStatuses": { "description": "The enablement status of the specified patchMode", @@ -12224,7 +12224,7 @@ "description": "The errors that were encountered during execution of the operation. The details array contains the list of them." } }, - "description": "The Hot Patch Status for the virual machine." + "description": "The Hot Patch Status for the virtual machine." }, "HotpatchStatus": { "properties": { From 8f2b3196087a01e2fb66e79a9d53ab67cf7ac2fa Mon Sep 17 00:00:00 2001 From: Rajasi Rane Date: Mon, 23 Nov 2020 13:50:50 -0800 Subject: [PATCH 04/10] Adding more custom words to fix spell check failures --- custom-words.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/custom-words.txt b/custom-words.txt index 0a1be4074b59..7b99543da475 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -721,6 +721,7 @@ hivevar HKEY homepagetest hotpatch +hotpatching Horovod hostnames Hotfix From 7f308666dc28190c27f02237923d9e7926017e10 Mon Sep 17 00:00:00 2001 From: Rajasi Rane Date: Tue, 24 Nov 2020 13:56:12 -0800 Subject: [PATCH 05/10] Addressing PR comments --- .../stable/2020-12-01/compute.json | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json index 0d97e4f87200..bf2e02ce8c9a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json @@ -3038,22 +3038,22 @@ "Create a vm with Host Encryption using encryptionAtHost property.": { "$ref": "./examples/CreateAVmWithEncryptionAtHost.json" }, - "Create a windows vm with a patch setting patchMode of AutomaticByOS.": { + "Create a Windows vm with a patch setting patchMode of AutomaticByOS.": { "$ref": "./examples/CreateAWindowsVmWithPatchSettingModeOfAutomaticByOS.json" }, - "Create a windows vm with a patch setting patchMode of AutomaticByPlatform.": { + "Create a Windows vm with a patch setting patchMode of AutomaticByPlatform.": { "$ref": "./examples/CreateAWindowsVmWithPatchSettingModeOfAutomaticByPlatform.json" }, - "Create a windows vm with a patch setting patchMode of Manual.": { + "Create a Windows vm with a patch setting patchMode of Manual.": { "$ref": "./examples/CreateAWindowsVmWithPatchSettingModeOfManual.json" }, - "Create a windows vm with a patch setting patchMode of AutomaticByPlatform and enableHotpatching set to true.": { + "Create a Windows vm with a patch setting patchMode of AutomaticByPlatform and enableHotpatching set to true.": { "$ref": "./examples/CreateAWindowsVmWithPatchSettingModeOfAutomaticByPlatformAndEnableHotPatchingTrue.json" }, - "Create a linux vm with a patch setting patchMode of AutomaticByPlatform.": { + "Create a Linux vm with a patch setting patchMode of AutomaticByPlatform.": { "$ref": "./examples/CreateALinuxVmWithPatchSettingModeOfAutomaticByPlatform.json" }, - "Create a linux vm with a patch setting patchMode of ImageDefault.": { + "Create a Linux vm with a patch setting patchMode of ImageDefault.": { "$ref": "./examples/CreateALinuxVmWithPatchSettingModeOfImageDefault.json" }, "Create a vm with an extensions time budget.": { @@ -7802,7 +7802,7 @@ "assessmentState": { "type": "string", "readOnly": true, - "description": "Describes the assessed installation state of a given patch.", + "description": "Describes the availability of a given patch.", "enum": [ "Unknown", "Available" @@ -7820,7 +7820,7 @@ "status": { "type": "string", "readOnly": true, - "description": "The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Failed\", \"Succeeded\", \"CompletedWithWarnings\", \"Unknown.\"", + "description": "The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Failed\", \"Succeeded\", \"CompletedWithWarnings\" or \"Unknown.\"", "enum": [ "Unknown", "InProgress", @@ -8847,7 +8847,7 @@ }, "patchSettings": { "$ref": "#/definitions/WindowsPatchSettings", - "description": "Specifies settings related to in-guest patching (KBs)." + "description": "Specifies settings related to VM Guest Patching (KBs)." }, "winRM": { "$ref": "#/definitions/WinRMConfiguration", @@ -12070,7 +12070,7 @@ "properties": { "patchMode": { "type": "string", - "description": "Specifies the mode of in-guest patching to IaaS virtual machine.

Possible values are:

**Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false

**AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.

** AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true ", + "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine.

Possible values are:

**Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false

**AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.

** AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true ", "enum": [ "Manual", "AutomaticByOS", @@ -12086,13 +12086,13 @@ "description": "Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'." } }, - "description": "Specifies settings related to in-guest patching (KBs)." + "description": "Specifies settings related to VM Guest Patching (KBs)." }, "LinuxPatchSettings": { "properties": { "patchMode": { "type": "string", - "description": "Specifies the mode of in-guest patching to IaaS virtual machine.

Possible values are:

**ImageDefault** - This will be whatever the image is configured by default with.

**AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The property provisionVMAgent must be true ", + "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine.

Possible values are:

**ImageDefault** - The virtual machines's default patching configuration is used.

**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true", "enum": [ "ImageDefault", "AutomaticByPlatform" @@ -12117,7 +12117,7 @@ }, "hotpatchStatus": { "$ref": "#/definitions/HotpatchStatus", - "description": "The Hot Patch Status for the virtual machine." + "description": "The Hotpatch Status for the virtual machine." }, "configurationStatuses": { "description": "The enablement status of the specified patchMode", @@ -12266,7 +12266,7 @@ "description": "The errors that were encountered during execution of the operation. The details array contains the list of them." } }, - "description": "The Hot Patch Status for the virtual machine." + "description": "The Hotpatch Status for the virtual machine." }, "HotpatchStatus": { "properties": { From 4ce5f3b0b341c2cedf99060060f706205cd61153 Mon Sep 17 00:00:00 2001 From: Rajasi Rane Date: Tue, 24 Nov 2020 14:12:35 -0800 Subject: [PATCH 06/10] Fixing spellcheck failures --- custom-words.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/custom-words.txt b/custom-words.txt index 7b99543da475..fa44e0f3368d 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -928,6 +928,7 @@ LRO's Lucene Lumia LUNs +machines's machinelearning machinelearningcompute machinelearningexperimentation From 59306f859cab423bafad29625d565e4a2e318363 Mon Sep 17 00:00:00 2001 From: Rajasi Rane Date: Wed, 25 Nov 2020 11:52:34 -0800 Subject: [PATCH 07/10] Addressing PR comments --- .../Microsoft.Compute/stable/2020-12-01/compute.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json index 39ca65bd12fd..74f3dd295832 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json @@ -8859,7 +8859,7 @@ }, "patchSettings": { "$ref": "#/definitions/WindowsPatchSettings", - "description": "Specifies settings related to VM Guest Patching (KBs)." + "description": "Specifies settings related to VM Guest Patching on Windows." }, "winRM": { "$ref": "#/definitions/WinRMConfiguration", @@ -12098,7 +12098,7 @@ "description": "Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'." } }, - "description": "Specifies settings related to VM Guest Patching (KBs)." + "description": "Specifies settings related to VM Guest Patching on Windows." }, "LinuxPatchSettings": { "properties": { @@ -12129,7 +12129,7 @@ }, "hotpatchStatus": { "$ref": "#/definitions/HotpatchStatus", - "description": "The Hotpatch Status for the virtual machine." + "description": "The Hotpatch status for the virtual machine." }, "configurationStatuses": { "description": "The enablement status of the specified patchMode", @@ -12278,14 +12278,14 @@ "description": "The errors that were encountered during execution of the operation. The details array contains the list of them." } }, - "description": "The Hotpatch Status for the virtual machine." + "description": "Describes the properties of the last installed patch summary." }, "HotpatchStatus": { "properties": { "hotpatchEnablementStatus": { "type": "string", "readOnly": true, - "description": "Represents what state of hotpatching opt in the VM is in. .

Possible values are:

**Unknown** - Safe default until initialized.

**PendingEvaluation** - Value reported when there's no data from the extension to work with.

**NotRequested** - Extension reports that there was no instruction to enable hotpatching.

**ActionRequired** - Extension reports that customer action is required to complete opt in.

**Enabled** - Extension reports that hotpatching enablement has completed.", + "description": "Represents the enablement status of hotpatching on the VM. .

Possible values are:

**Unknown** - Unknown status.

**PendingEvaluation** - Enablement status evaluation is pending on the VM.

**Disabled** - Hotpatching is disabled.

**ActionRequired** - Customer action is required to complete enablement. Further details will be in the error object.

**Enabled** - Hotpatching is enabled.", "enum": [ "Unknown", "PendingEvaluation", @@ -12310,7 +12310,7 @@ "description": "The errors that were encountered during execution of the operation. The details array contains the list of them." } }, - "description": "Describes the properties of the last installed patch summary." + "description": "The Hotpatch Status for the virtual machine." } }, "parameters": { From 26c0e29c976ef6d6b6fd572ec3ac2f10e94cca12 Mon Sep 17 00:00:00 2001 From: Rajasi Rane Date: Wed, 25 Nov 2020 14:36:38 -0800 Subject: [PATCH 08/10] Addressing PR comments --- custom-words.txt | 1 - .../Microsoft.Compute/stable/2020-12-01/compute.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/custom-words.txt b/custom-words.txt index fa44e0f3368d..7b99543da475 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -928,7 +928,6 @@ LRO's Lucene Lumia LUNs -machines's machinelearning machinelearningcompute machinelearningexperimentation diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json index 74f3dd295832..ab14b0656613 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json @@ -12104,7 +12104,7 @@ "properties": { "patchMode": { "type": "string", - "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine.

Possible values are:

**ImageDefault** - The virtual machines's default patching configuration is used.

**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true", + "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine.

Possible values are:

**ImageDefault** - The virtual machine's default patching configuration is used.

**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true", "enum": [ "ImageDefault", "AutomaticByPlatform" From 17b92b7e7bfc8027096e874e0ee0eb26f9d6cede Mon Sep 17 00:00:00 2001 From: Rajasi Rane Date: Mon, 30 Nov 2020 17:54:22 -0800 Subject: [PATCH 09/10] Removing hotPatchStatus added earlier in this PR under patchStatus in instanceView --- .../stable/2020-12-01/compute.json | 36 ------------------- .../GetVirtualMachineInstanceView.json | 5 --- 2 files changed, 41 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json index ab14b0656613..0c312b65b0e7 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json @@ -12127,10 +12127,6 @@ "$ref": "#/definitions/LastPatchInstallationSummary", "description": "The installation summary of the latest installation operation for the virtual machine." }, - "hotpatchStatus": { - "$ref": "#/definitions/HotpatchStatus", - "description": "The Hotpatch status for the virtual machine." - }, "configurationStatuses": { "description": "The enablement status of the specified patchMode", "readOnly": true, @@ -12279,38 +12275,6 @@ } }, "description": "Describes the properties of the last installed patch summary." - }, - "HotpatchStatus": { - "properties": { - "hotpatchEnablementStatus": { - "type": "string", - "readOnly": true, - "description": "Represents the enablement status of hotpatching on the VM. .

Possible values are:

**Unknown** - Unknown status.

**PendingEvaluation** - Enablement status evaluation is pending on the VM.

**Disabled** - Hotpatching is disabled.

**ActionRequired** - Customer action is required to complete enablement. Further details will be in the error object.

**Enabled** - Hotpatching is enabled.", - "enum": [ - "Unknown", - "PendingEvaluation", - "Disabled", - "ActionRequired", - "Enabled" - ], - "x-ms-enum": { - "name": "HotpatchEnablementStatus", - "modelAsString": true - } - }, - "lastRefreshedTime": { - "type": "string", - "readOnly": true, - "format": "date-time", - "description": "The UTC timestamp when the status was last refreshed." - }, - "error": { - "$ref": "#/definitions/ApiError", - "readOnly": true, - "description": "The errors that were encountered during execution of the operation. The details array contains the list of them." - } - }, - "description": "The Hotpatch Status for the virtual machine." } }, "parameters": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/GetVirtualMachineInstanceView.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/GetVirtualMachineInstanceView.json index 459d0883fff9..6a9dd400fa4f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/GetVirtualMachineInstanceView.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/examples/GetVirtualMachineInstanceView.json @@ -104,11 +104,6 @@ "lastModifiedTime": "2020-04-24T21:02:04.2556154Z", "error": null }, - "hotpatchStatus": { - "hotpatchEnablementStatus": "Enabled", - "lastRefreshedTime": "2020-04-24T21:02:04.2556154Z", - "error": null - }, "configurationStatuses": [ { "code": "PatchModeConfigurationState/Ready", From c39b647cce0296a471d8f44e61701e80b997b397 Mon Sep 17 00:00:00 2001 From: Rajasi Rane Date: Mon, 30 Nov 2020 17:55:26 -0800 Subject: [PATCH 10/10] Removing hotpatch which is now unused from custom-words --- custom-words.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/custom-words.txt b/custom-words.txt index 7b99543da475..46265632869d 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -720,7 +720,6 @@ hierarchyid hivevar HKEY homepagetest -hotpatch hotpatching Horovod hostnames