virtual_machine_images_edge_zones
Creates, updates, deletes, gets or lists a virtual_machine_images_edge_zones
resource.
Overview
Name | virtual_machine_images_edge_zones |
Type | Resource |
Id | azure.compute.virtual_machine_images_edge_zones |
Fields
The following fields are returned by SELECT
queries:
- get
Name | Datatype | Description |
---|---|---|
name | string | The name of the resource. |
extendedLocation | object | The extended location of the Virtual Machine. |
location | string | The supported Azure location of the resource. |
properties | object | Describes the properties of a Virtual Machine Image. |
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. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | location , edgeZone , publisherName , offer , skus , version , subscriptionId | Gets a virtual machine image in an edge zone. | |
list | exec | location , edgeZone , publisherName , offer , skus , subscriptionId | $expand , $top , $orderby | Gets a list of all virtual machine image versions for the specified location, edge zone, publisher, offer, and SKU. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
edgeZone | string | The name of the edge zone. |
location | string | The name of a supported Azure region. |
offer | string | A valid image publisher offer. |
publisherName | string | A valid image publisher. |
skus | string | A valid image SKU. |
subscriptionId | string | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
version | string | A valid image SKU version. |
$expand | string | The expand expression to apply on the operation. |
$orderby | string | Specifies the order of the results returned. Formatted as an OData query. |
$top | integer (int32) | An integer value specifying the number of images to return that matches supplied values. |
SELECT
examples
- get
Gets a virtual machine image in an edge zone.
SELECT
name,
extendedLocation,
location,
properties,
tags
FROM azure.compute.virtual_machine_images_edge_zones
WHERE location = '{{ location }}' -- required
AND edgeZone = '{{ edgeZone }}' -- required
AND publisherName = '{{ publisherName }}' -- required
AND offer = '{{ offer }}' -- required
AND skus = '{{ skus }}' -- required
AND version = '{{ version }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;
Lifecycle Methods
- list
Gets a list of all virtual machine image versions for the specified location, edge zone, publisher, offer, and SKU.
EXEC azure.compute.virtual_machine_images_edge_zones.list
@location='{{ location }}' --required,
@edgeZone='{{ edgeZone }}' --required,
@publisherName='{{ publisherName }}' --required,
@offer='{{ offer }}' --required,
@skus='{{ skus }}' --required,
@subscriptionId='{{ subscriptionId }}' --required,
@$expand='{{ $expand }}',
@$top='{{ $top }}',
@$orderby='{{ $orderby }}'
;