Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2310,6 +2310,7 @@ Vldb
vmextension
VMILR
vmimage
vmimages
vmname
VMOS
vmotion
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"location": "WestUS",
"edgeZone": "microsoftlosangeles1",
"api-version": "2022-03-01",
"subscriptionId": "5ece5940-d962-4dad-a98f-ca9ac0f021a5"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "18.04.202107200",
"location": "WestUS",
"extendedLocation": {
"name": "microsoftlosangeles1",
"type": "EdgeZone"
},
"id": "/Subscriptions/5ece5940-d962-4dad-a98f-ca9ac0f021a5/Providers/Microsoft.Compute/Locations/westus/Publishers/CANONICAL/ArtifactTypes/VMImage/Offers/UBUNTUSERVER/Skus/18_04-LTS-GEN2/Versions/18.04.202107200"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"location": "WestUS",
"edgeZone": "microsoftlosangeles1",
"api-version": "2022-03-01",
"subscriptionId": "5ece5940-d962-4dad-a98f-ca9ac0f021a5"
},
"responses": {
"200": {
"body": {
"value": [
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,59 @@
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/vmimages": {
"get": {
"tags": [
"VirtualMachineImages"
],
"operationId": "VirtualMachineImagesEdgeZone_ListVMImagesByEdgeZone",
"description": "Gets a list of all virtual machine image versions for the specified edge zone",
"parameters": [
{
"name": "location",
"in": "path",
"required": true,
"type": "string",
"description": "The name of a supported Azure region."
},
{
"name": "edgeZone",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the edge zone."
},
{
"$ref": "../common.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../common.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/VmImagesInEdgeZoneListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../common.json#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"VirtualMachineImagesEdgeZone_ListByEdgeZone_MaximumSet_Gen": {
"$ref": "./examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MaximumSet_Gen.json"
},
"VirtualMachineImagesEdgeZone_ListByEdgeZone_MinimumSet_Gen": {
"$ref": "./examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MinimumSet_Gen.json"
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus": {
"get": {
"tags": [
Expand Down Expand Up @@ -925,6 +978,26 @@
],
"description": "Describes a Virtual Machine Image."
},
"VmImagesInEdgeZoneListResult": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/VirtualMachineImageResource"
},
"description": "The list of VMImages in EdgeZone"
},
"nextLink": {
"type": "string",
"description": "The URI to fetch the next page of VMImages in EdgeZone. Call ListNext() with this URI to fetch the next page of VmImages."
}
},
"required": [
"value"
],
"description": "The List VmImages in EdgeZone operation response."
},
"ArchitectureType": {
"type": "string",
"description": "Specifies the Architecture Type",
Expand Down