Skip to content

Commit 0cf8394

Browse files
author
msftbot[bot]
authored
2 parents 6595711 + c8a2898 commit 0cf8394

File tree

4 files changed

+19
-10
lines changed

4 files changed

+19
-10
lines changed

schemas/2018-02-01-preview/Microsoft.VirtualMachineImages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,4 +324,4 @@
324324
"properties": {}
325325
}
326326
}
327-
}
327+
}

schemas/2019-02-01-preview/Microsoft.VirtualMachineImages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,4 +459,4 @@
459459
"description": "Distribute via VHD in a storage account."
460460
}
461461
}
462-
}
462+
}

schemas/2019-05-01-preview/Microsoft.VirtualMachineImages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,4 +622,4 @@
622622
"description": "Describes the virtual machine used to build, customize and capture images"
623623
}
624624
}
625-
}
625+
}

schemas/2020-02-14/Microsoft.VirtualMachineImages.json

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@
172172
},
173173
"sha256Checksum": {
174174
"type": "string",
175+
"default": "",
175176
"description": "SHA256 checksum of the file provided in the sourceUri field above"
176177
},
177178
"sourceUri": {
@@ -305,7 +306,7 @@
305306
},
306307
"version": {
307308
"type": "string",
308-
"description": "Image version from the [Azure Gallery Images](https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages)."
309+
"description": "Image version from the [Azure Gallery Images](https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages). If 'latest' is specified here, the version is evaluated when the image build takes place, not when the template is submitted. Specifying 'latest' could cause ROUNDTRIP_INCONSISTENT_PROPERTY issue which will be fixed."
309310
}
310311
},
311312
"required": [
@@ -333,7 +334,8 @@
333334
"runAsSystem": {
334335
"oneOf": [
335336
{
336-
"type": "boolean"
337+
"type": "boolean",
338+
"default": false
337339
},
338340
{
339341
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -344,7 +346,8 @@
344346
"runElevated": {
345347
"oneOf": [
346348
{
347-
"type": "boolean"
349+
"type": "boolean",
350+
"default": false
348351
},
349352
{
350353
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -358,6 +361,7 @@
358361
},
359362
"sha256Checksum": {
360363
"type": "string",
364+
"default": "",
361365
"description": "SHA256 checksum of the power shell script provided in the scriptUri field above"
362366
},
363367
"type": {
@@ -394,7 +398,8 @@
394398
{
395399
"type": "integer",
396400
"minimum": 0,
397-
"maximum": 960
401+
"maximum": 960,
402+
"default": "0"
398403
},
399404
{
400405
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -492,7 +497,8 @@
492497
"excludeFromLatest": {
493498
"oneOf": [
494499
{
495-
"type": "boolean"
500+
"type": "boolean",
501+
"default": false
496502
},
497503
{
498504
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -590,6 +596,7 @@
590596
},
591597
"sha256Checksum": {
592598
"type": "string",
599+
"default": "",
593600
"description": "SHA256 checksum of the shell script provided in the scriptUri field"
594601
},
595602
"type": {
@@ -642,7 +649,8 @@
642649
"oneOf": [
643650
{
644651
"type": "integer",
645-
"minimum": 0
652+
"minimum": 0,
653+
"default": "0"
646654
},
647655
{
648656
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -652,6 +660,7 @@
652660
},
653661
"vmSize": {
654662
"type": "string",
663+
"default": "",
655664
"description": "Size of the virtual machine used to build, customize and capture images. Omit or specify empty string to use the default (Standard_D1_v2)."
656665
},
657666
"vnetConfig": {
@@ -747,4 +756,4 @@
747756
"description": "Virtual Network configuration."
748757
}
749758
}
750-
}
759+
}

0 commit comments

Comments
 (0)