Skip to main content

virtual_machine_images_edge_zone

Creates, updates, deletes, gets or lists a virtual_machine_images_edge_zone resource.

Overview

Namevirtual_machine_images_edge_zone
TypeResource
Idazure.compute.virtual_machine_images_edge_zone

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource Id.
namestringThe name of the resource. Required.
architecturestringSpecifies the Architecture Type. Known values are: "x64" and "Arm64". (x64, Arm64)
automaticOSUpgradePropertiesobjectDescribes automatic OS upgrade properties on the image.
dataDiskImagesarrayThe list of data disk images information.
disallowedobjectSpecifies disallowed configuration for the VirtualMachine created from the image.
extendedLocationobjectThe extended location of the Virtual Machine.
featuresarray:vartype features: list[~azure.mgmt.compute.models.VirtualMachineImageFeature]
hyperVGenerationstringSpecifies the HyperVGeneration Type. Known values are: "V1" and "V2". (V1, V2)
imageDeprecationStatusobjectDescribes image deprecation status properties on the image.
locationstringThe supported Azure location of the resource. Required.
osDiskImageobjectContains the os disk image information.
planobjectUsed for establishing the purchase context of any 3rd Party artifact through MarketPlace.
tagsobjectSpecifies 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:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlocation, edge_zone, publisher_name, offer, skus, version, subscription_idGets a virtual machine image in an edge zone.
listselectlocation, edge_zone, publisher_name, offer, skus, subscription_id$expand, $top, $orderbyGets a list of all virtual machine image versions for the specified location, edge zone, publisher, offer, and SKU.
list_skusselectlocation, edge_zone, publisher_name, offer, subscription_idGets a list of virtual machine image SKUs for the specified location, edge zone, publisher, and offer.
list_offersselectlocation, edge_zone, publisher_name, subscription_idGets a list of virtual machine image offers for the specified location, edge zone and publisher.
list_publishersselectlocation, edge_zone, subscription_idGets a list of virtual machine image publishers for the specified Azure location and edge zone.

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.

NameDatatypeDescription
edge_zonestringThe name of the edge zone. Required.
locationstringThe location name. Required.
offerstringA valid image publisher offer. Required.
publisher_namestringA valid image publisher. Required.
skusstringA valid image SKU. Required.
subscription_idstring
versionstringA valid image SKU version. Required.
$expandstringThe expand expression to apply on the operation. Default value is None.
$orderbystringSpecifies the order of the results returned. Formatted as an OData query. Default value is None.
$topintegerAn integer value specifying the number of images to return that matches supplied values. Default value is None.

SELECT examples

Gets a virtual machine image in an edge zone.

SELECT
id,
name,
architecture,
automaticOSUpgradeProperties,
dataDiskImages,
disallowed,
extendedLocation,
features,
hyperVGeneration,
imageDeprecationStatus,
location,
osDiskImage,
plan,
tags
FROM azure.compute.virtual_machine_images_edge_zone
WHERE location = '{{ location }}' -- required
AND edge_zone = '{{ edge_zone }}' -- required
AND publisher_name = '{{ publisher_name }}' -- required
AND offer = '{{ offer }}' -- required
AND skus = '{{ skus }}' -- required
AND version = '{{ version }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;