Skip to content

Commit

Permalink
CodeGen from PR 13159 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge cbf5d1a8f2a70e57a645b204b05da65bbb1ee002 into adf4870a5f77b950c953d7a8ad168cb00effa662
  • Loading branch information
SDKAuto committed Feb 25, 2021
1 parent 6595711 commit 47c5a92
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -324,4 +324,4 @@
"properties": {}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -459,4 +459,4 @@
"description": "Distribute via VHD in a storage account."
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -622,4 +622,4 @@
"description": "Describes the virtual machine used to build, customize and capture images"
}
}
}
}
23 changes: 16 additions & 7 deletions schemas/2020-02-14/Microsoft.VirtualMachineImages.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@
},
"sha256Checksum": {
"type": "string",
"default": "",
"description": "SHA256 checksum of the file provided in the sourceUri field above"
},
"sourceUri": {
Expand Down Expand Up @@ -305,7 +306,7 @@
},
"version": {
"type": "string",
"description": "Image version from the [Azure Gallery Images](https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages)."
"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."
}
},
"required": [
Expand Down Expand Up @@ -333,7 +334,8 @@
"runAsSystem": {
"oneOf": [
{
"type": "boolean"
"type": "boolean",
"default": false
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand All @@ -344,7 +346,8 @@
"runElevated": {
"oneOf": [
{
"type": "boolean"
"type": "boolean",
"default": false
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand All @@ -358,6 +361,7 @@
},
"sha256Checksum": {
"type": "string",
"default": "",
"description": "SHA256 checksum of the power shell script provided in the scriptUri field above"
},
"type": {
Expand Down Expand Up @@ -394,7 +398,8 @@
{
"type": "integer",
"minimum": 0,
"maximum": 960
"maximum": 960,
"default": "0"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand Down Expand Up @@ -492,7 +497,8 @@
"excludeFromLatest": {
"oneOf": [
{
"type": "boolean"
"type": "boolean",
"default": false
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand Down Expand Up @@ -590,6 +596,7 @@
},
"sha256Checksum": {
"type": "string",
"default": "",
"description": "SHA256 checksum of the shell script provided in the scriptUri field"
},
"type": {
Expand Down Expand Up @@ -642,7 +649,8 @@
"oneOf": [
{
"type": "integer",
"minimum": 0
"minimum": 0,
"default": "0"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand All @@ -652,6 +660,7 @@
},
"vmSize": {
"type": "string",
"default": "",
"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)."
},
"vnetConfig": {
Expand Down Expand Up @@ -747,4 +756,4 @@
"description": "Virtual Network configuration."
}
}
}
}

0 comments on commit 47c5a92

Please sign in to comment.