Skip to content

Commit 25ec42a

Browse files
author
SDKAuto
committed
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
1 parent 025cb02 commit 25ec42a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

schemas/2022-07-01-preview/Microsoft.SqlVirtualMachine.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1274,7 +1274,8 @@
12741274
"enableAutomaticUpgrade": {
12751275
"oneOf": [
12761276
{
1277-
"type": "boolean"
1277+
"type": "boolean",
1278+
"default": false
12781279
},
12791280
{
12801281
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -1298,7 +1299,8 @@
12981299
{
12991300
"type": "string",
13001301
"enum": [
1301-
"Enabled"
1302+
"Enabled",
1303+
"NotSet"
13021304
]
13031305
},
13041306
{

0 commit comments

Comments
 (0)