From 83d231767ed9d2cfc75241d8f5bc553153c5a5eb Mon Sep 17 00:00:00 2001 From: Kashif Mustahsan Date: Wed, 3 Aug 2022 11:31:09 -0700 Subject: [PATCH 1/4] other files --- .../ComputeRP/stable/2022-08-01/computeRPCommon.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/computeRPCommon.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/computeRPCommon.json index c9d361d93753..c69154d70952 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/computeRPCommon.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/computeRPCommon.json @@ -1264,6 +1264,10 @@ "winRM": { "$ref": "#/definitions/WinRMConfiguration", "description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell." + }, + "enableVMAgentPlatformUpdates": { + "type": "boolean", + "description": "Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false." } }, "description": "Specifies Windows operating system settings on the virtual machine." @@ -1313,6 +1317,10 @@ "patchSettings": { "$ref": "#/definitions/LinuxPatchSettings", "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Linux." + }, + "enableVMAgentPlatformUpdates": { + "type": "boolean", + "description": "Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false." } }, "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/linux/endorsed-distros)." From 0cd26cc03c811ccf9b4c7e962b8da9118a4e4c02 Mon Sep 17 00:00:00 2001 From: Kashif Mustahsan Date: Wed, 3 Aug 2022 14:52:36 -0700 Subject: [PATCH 2/4] adding protectedSettingsFromKeyVault fix --- .../ComputeRP/stable/2022-08-01/virtualMachine.json | 4 ++-- .../ComputeRP/stable/2022-08-01/virtualMachineScaleSet.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/virtualMachine.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/virtualMachine.json index adab2d3db3f3..5618c6441bfd 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/virtualMachine.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/virtualMachine.json @@ -1953,7 +1953,7 @@ "description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false." }, "protectedSettingsFromKeyVault": { - "type": "object", + "$ref": "./computeRPCommon.json#/definitions/KeyVaultSecretReference", "description": "The extensions protected settings that are passed by reference, and consumed from key vault" } }, @@ -1998,7 +1998,7 @@ "description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false." }, "protectedSettingsFromKeyVault": { - "type": "object", + "$ref": "./computeRPCommon.json#/definitions/KeyVaultSecretReference", "description": "The extensions protected settings that are passed by reference, and consumed from key vault" } }, diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/virtualMachineScaleSet.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/virtualMachineScaleSet.json index 87706fa92c9e..3cbe3fd12454 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/virtualMachineScaleSet.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/virtualMachineScaleSet.json @@ -4498,7 +4498,7 @@ "description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false." }, "protectedSettingsFromKeyVault": { - "type": "object", + "$ref": "./computeRPCommon.json#/definitions/KeyVaultSecretReference", "description": "The extensions protected settings that are passed by reference, and consumed from key vault" } }, From aa27f05c403e8b7412ed358b7bffab4684436243 Mon Sep 17 00:00:00 2001 From: Kashif Mustahsan Date: Wed, 17 Aug 2022 14:04:12 -0700 Subject: [PATCH 3/4] PR comments --- .../VirtualMachines_ListAll_MaximumSet_Gen.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachines_ListAll_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachines_ListAll_MaximumSet_Gen.json index 8750741b2000..047fa471d296 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachines_ListAll_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachines_ListAll_MaximumSet_Gen.json @@ -521,8 +521,7 @@ } ] }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": {} + "suppressFailures": true }, "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "name": "aaaaaaaaaaaaa", @@ -1064,8 +1063,7 @@ } ] }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": {} + "suppressFailures": true }, "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "name": "aaaaaaaaaaaaa", From 5c0744848dc4f09ff3fa1c9a82c599d2e098be67 Mon Sep 17 00:00:00 2001 From: Kashif Mustahsan Date: Thu, 18 Aug 2022 09:30:27 -0700 Subject: [PATCH 4/4] missing files --- .../VirtualMachines_ListAll_MaximumSet_Gen.json | 16 ++++++++++++++-- .../VirtualMachines_List_MaximumSet_Gen.json | 14 ++++++++++++-- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachines_ListAll_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachines_ListAll_MaximumSet_Gen.json index 047fa471d296..42f3223f735a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachines_ListAll_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachines_ListAll_MaximumSet_Gen.json @@ -521,7 +521,13 @@ } ] }, - "suppressFailures": true + "suppressFailures": true, + "protectedSettingsFromKeyVault": { + "sourceVault": { + "id": "/subscriptions/a53f7094-a16c-47af-abe4-b05c05d0d79a/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/kvName" + }, + "secretUrl": "https://kvName.vault.azure.net/secrets/secretName/79b88b3a6f5440ffb2e73e44a0db712e" + } }, "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "name": "aaaaaaaaaaaaa", @@ -1063,7 +1069,13 @@ } ] }, - "suppressFailures": true + "suppressFailures": true, + "protectedSettingsFromKeyVault": { + "sourceVault": { + "id": "/subscriptions/a53f7094-a16c-47af-abe4-b05c05d0d79a/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/kvName" + }, + "secretUrl": "https://kvName.vault.azure.net/secrets/secretName/79b88b3a6f5440ffb2e73e44a0db712e" + } }, "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "name": "aaaaaaaaaaaaa", diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachines_List_MaximumSet_Gen.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachines_List_MaximumSet_Gen.json index 0d219a5506a3..4dd1c42a7c81 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachines_List_MaximumSet_Gen.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-08-01/examples/virtualMachineExamples/VirtualMachines_List_MaximumSet_Gen.json @@ -522,7 +522,12 @@ ] }, "suppressFailures": true, - "protectedSettingsFromKeyVault": {} + "protectedSettingsFromKeyVault": { + "sourceVault": { + "id": "/subscriptions/a53f7094-a16c-47af-abe4-b05c05d0d79a/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/kvName" + }, + "secretUrl": "https://kvName.vault.azure.net/secrets/secretName/79b88b3a6f5440ffb2e73e44a0db712e" + } }, "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "name": "aaaaaaaaaaaaa", @@ -1065,7 +1070,12 @@ ] }, "suppressFailures": true, - "protectedSettingsFromKeyVault": {} + "protectedSettingsFromKeyVault": { + "sourceVault": { + "id": "/subscriptions/a53f7094-a16c-47af-abe4-b05c05d0d79a/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/kvName" + }, + "secretUrl": "https://kvName.vault.azure.net/secrets/secretName/79b88b3a6f5440ffb2e73e44a0db712e" + } }, "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "name": "aaaaaaaaaaaaa",