From 25ec42ade52eaa4ac6b4ac83194b0a94a6481da8 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 1 Dec 2022 02:13:50 +0000 Subject: [PATCH] CodeGen from PR 21564 in Azure/azure-rest-api-specs [Hub Generated + S360] Review request for Microsoft.SqlVirtualMachine to add version preview/2022-07-01-preview (#21564) * Adds base for updating Microsoft.SqlVirtualMachine from version preview/2022-02-01-preview to version 2022-07-01-preview * Updates readme * Updates API version in new specs and examples * Updating swagger to latest api * Add default values for optional parameters * Adding default to optional parameters * Fixing ModelValidator * Adding long running options * Update response to async * Removing headers * Adding headers for deletion * Updating location for Post * Added prettier check * Reverted changes from error codes * Removing the location from POST --- schemas/2022-07-01-preview/Microsoft.SqlVirtualMachine.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/schemas/2022-07-01-preview/Microsoft.SqlVirtualMachine.json b/schemas/2022-07-01-preview/Microsoft.SqlVirtualMachine.json index 3a756df3c0..3140459f45 100644 --- a/schemas/2022-07-01-preview/Microsoft.SqlVirtualMachine.json +++ b/schemas/2022-07-01-preview/Microsoft.SqlVirtualMachine.json @@ -1274,7 +1274,8 @@ "enableAutomaticUpgrade": { "oneOf": [ { - "type": "boolean" + "type": "boolean", + "default": false }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -1298,7 +1299,8 @@ { "type": "string", "enum": [ - "Enabled" + "Enabled", + "NotSet" ] }, {