Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding examples to VirtualMachineImages_ListWithProperties #32788

Merged
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"title": "VirtualMachineImages_ListWithProperties_MaximumSet",
"operationId": "VirtualMachineImages_ListWithProperties",
"parameters": {
"location": "mqhhuvlzpldek",
"publisherName": "skncupmcbzjputjyhoqf",
"offer": "bepctmpqcrqzjwzmzvgvtplcvkjxe",
"skus": "smpfxmodjukpqnfkqjy",
"$expand": "Properties",
"$top": 4,
"$orderby": "uejqqgvqjvhkiwgxvzhd",
"api-version": "2024-11-01",
"subscriptionId": "{subscription-id}"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"plan": {
"publisher": "aaaaaaaaaaaaaaaaaaa",
"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": "febvwhodton"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"title": "VirtualMachineImages_ListWithProperties_MinimumSet",
"operationId": "VirtualMachineImages_ListWithProperties",
"parameters": {
"location": "g",
"publisherName": "tlcz",
"offer": "ffvfucjfwqgnwhufkp",
"skus": "jmnqzvzlm",
"$expand": "Properties",
"api-version": "2024-11-01",
"subscriptionId": "{subscription-id}"
},
"responses": {
"200": {
"body": {}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check notice on line 1 in specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-11-01/virtualMachineImage.json

View workflow job for this annotation

GitHub Actions / TypeSpec Requirement

Brownfield services will soon be required to convert from OpenAPI to TypeSpec. See https://aka.ms/azsdk/typespec.
"swagger": "2.0",
"info": {
"title": "ComputeManagementClient",
Expand Down Expand Up @@ -872,6 +872,14 @@
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"x-ms-examples": {
"VirtualMachineImages_ListWithProperties_MaximumSet": {
"$ref": "./examples/virtualMachineImageExamples/VirtualMachineImages_ListWithProperties_MaximumSet_Gen.json"
},
"VirtualMachineImages_ListWithProperties_MinimumSet": {
"$ref": "./examples/virtualMachineImageExamples/VirtualMachineImages_ListWithProperties_MinimumSet_Gen.json"
}
}
}
}
Expand Down