Virtual Machine Images - List By Edge Zone
Gets a list of all virtual machine image versions for the specified edge zone
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/vmimages?api-version=2024-11-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
edge
|
path | True |
string |
The name of the edge zone. |
location
|
path | True |
string minLength: 1 |
The name of Azure region. |
subscription
|
path | True |
string minLength: 1 |
The ID of the target subscription. |
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
The request has succeeded. |
|
Other Status Codes |
An unexpected error response. |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
Virtual |
Virtual |
VirtualMachineImagesEdgeZone_ListByEdgeZone_MaximumSet_Gen
Sample request
Sample response
{
"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"
}
]
}
VirtualMachineImagesEdgeZone_ListByEdgeZone_MinimumSet_Gen
Sample request
Sample response
{
"value": []
}
Definitions
Name | Description |
---|---|
Api |
Api error. |
Api |
Api error base. |
Cloud |
An error response from the Compute service. |
Extended |
The complex type of the extended location. |
Extended |
The type of the extended location. |
Inner |
Inner error details. |
Virtual |
Virtual machine image resource information. |
Vm |
The List VmImages in EdgeZone operation response. |
ApiError
Api error.
Name | Type | Description |
---|---|---|
code |
string |
The error code. |
details |
The Api error details |
|
innererror |
The Api inner error |
|
message |
string |
The error message. |
target |
string |
The target of the particular error. |
ApiErrorBase
Api error base.
Name | Type | Description |
---|---|---|
code |
string |
The error code. |
message |
string |
The error message. |
target |
string |
The target of the particular error. |
CloudError
An error response from the Compute service.
Name | Type | Description |
---|---|---|
error |
Api error. |
ExtendedLocation
The complex type of the extended location.
Name | Type | Description |
---|---|---|
name |
string |
The name of the extended location. |
type |
The type of the extended location. |
ExtendedLocationTypes
The type of the extended location.
Value | Description |
---|---|
EdgeZone |
InnerError
Inner error details.
Name | Type | Description |
---|---|---|
errordetail |
string |
The internal error message or exception dump. |
exceptiontype |
string |
The exception type. |
VirtualMachineImageResource
Virtual machine image resource information.
Name | Type | Description |
---|---|---|
extendedLocation |
The extended location of the Virtual Machine. |
|
id |
string |
Resource Id |
location |
string |
The supported Azure location of the resource. |
name |
string |
The name of the resource. |
tags |
object |
Specifies the tags that are assigned to the virtual machine. For more information about using tags, see Using tags to organize your Azure resources. |
VmImagesInEdgeZoneListResult
The List VmImages in EdgeZone operation response.
Name | Type | Description |
---|---|---|
nextLink |
string |
The URI to fetch the next page of VMImages in EdgeZone. Call ListNext() with this URI to fetch the next page of VmImages. |
value |
The list of VMImages in EdgeZone |