Skip to content

Commit

Permalink
Add hyperVGeneration enum property to ImageProperties (#5740)
Browse files Browse the repository at this point in the history
* added hyperV property along with hyperVGenerationType

* Updated Compute.json by chaging HyperVGenerationTypes to V1,v2

* Update compute.json

* Update compute.json to link enum to outer HyperVGeneration

* Update compute.json

Ad trailing ,
  • Loading branch information
vamuzumd authored and jhendrixMSFT committed Apr 24, 2019
1 parent 6772fa4 commit 9ecab14
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4687,6 +4687,18 @@
},
"description": "Describes the properties of a Compute Operation Value Display."
},
"HyperVGenerationType": {
"type": "string",
"description": "Specifies the HyperVGeneration Type for the Virtual Machine created from the image",
"enum": [
"V1",
"V2"
],
"x-ms-enum": {
"name": "HyperVGenerationTypes",
"modelAsString": true
}
},
"InstanceViewStatus": {
"properties": {
"code": {
Expand Down Expand Up @@ -6804,6 +6816,10 @@
"readOnly": true,
"type": "string",
"description": "The provisioning state."
},
"hyperVGeneration": {
"$ref": "#/definitions/HyperVGenerationType",
"description": "Gets the HyperVGenerationType of the VirtualMachine created from the image"
}
},
"description": "Describes the properties of an Image."
Expand Down

0 comments on commit 9ecab14

Please sign in to comment.