-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding examples to VirtualMachineImages_ListWithProperties (#32788)
* comment * Add x-ms-enum and x-ms-pageable properties * adding type VirtualMachineImagesWithPropertiesListResult * adding examples * fixing error * fix names * prettier fix * Update VM image properties in JSON example * Update VM image properties in JSON file * Fix typo in JSON property value. --------- Co-authored-by: Theodore Chang <[email protected]>
- Loading branch information
1 parent
3acaf0b
commit 1233595
Showing
3 changed files
with
97 additions
and
0 deletions.
There are no files selected for viewing
71 changes: 71 additions & 0 deletions
71
...s/virtualMachineImageExamples/VirtualMachineImages_ListWithProperties_MaximumSet_Gen.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"title": "VirtualMachineImages_ListWithProperties_MaximumSet", | ||
"operationId": "VirtualMachineImages_ListWithProperties", | ||
"parameters": { | ||
"location": "eastus", | ||
"publisherName": "MicrosoftWindowsServer", | ||
"offer": "WindowsServer", | ||
"skus": "2022-datacenter-azure-edition", | ||
"$expand": "Properties", | ||
"$top": 4, | ||
"$orderby": "aa", | ||
"api-version": "2024-11-01", | ||
"subscriptionId": "{subscription-id}" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"plan": { | ||
"publisher": "MicrosoftWindowsServer", | ||
"name": "aaaaaaaaa", | ||
"product": "aaaaaaaaaaaaaa" | ||
}, | ||
"osDiskImage": { | ||
"operatingSystem": "Windows" | ||
}, | ||
"dataDiskImages": [ | ||
{ | ||
"lun": 17 | ||
} | ||
], | ||
"automaticOSUpgradeProperties": { | ||
"automaticOSUpgradeSupported": true | ||
}, | ||
"hyperVGeneration": "V1", | ||
"disallowed": { | ||
"vmDiskType": "None" | ||
}, | ||
"features": [ | ||
{ | ||
"name": "aaaaaaaaaaaaaaaaaaaaa", | ||
"value": "aaaaaaaaaaaaaaaaaaaa" | ||
} | ||
], | ||
"imageDeprecationStatus": { | ||
"imageState": "ScheduledForDeprecation", | ||
"scheduledDeprecationTime": "2023-01-13T00:00:00+00:00", | ||
"alternativeOption": { | ||
"type": "Offer", | ||
"value": "aaaaaaa" | ||
} | ||
}, | ||
"architecture": "x64" | ||
}, | ||
"name": "aaaaaaaaa", | ||
"location": "aaaaa", | ||
"tags": {}, | ||
"extendedLocation": { | ||
"name": "aaaaaaaaaaaaaaaaaaaaa", | ||
"type": "EdgeZone" | ||
}, | ||
"id": "aaaaaaaaaaa" | ||
} | ||
], | ||
"nextLink": "aaaa" | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...s/virtualMachineImageExamples/VirtualMachineImages_ListWithProperties_MinimumSet_Gen.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"title": "VirtualMachineImages_ListWithProperties_MinimumSet", | ||
"operationId": "VirtualMachineImages_ListWithProperties", | ||
"parameters": { | ||
"location": "eastus", | ||
"publisherName": "MicrosoftWindowsServer", | ||
"offer": "WindowsServer", | ||
"skus": "2022-datacenter-azure-edition", | ||
"$expand": "Properties", | ||
"api-version": "2024-11-01", | ||
"subscriptionId": "{subscription-id}" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": {} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters