Skip to main content

virtual_machine_images

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

Overview

Namevirtual_machine_images
TypeResource
Idazure.compute.virtual_machine_images

Fields

NameDatatypeDescription
nametextThe name of the resource.
architecturetextfield from the properties object
automatic_os_upgrade_propertiestextfield from the properties object
data_disk_imagestextfield from the properties object
disallowedtextfield from the properties object
edgeZonetextfield from the properties object
extended_locationtextfield from the properties object
featurestextfield from the properties object
hyper_v_generationtextfield from the properties object
image_deprecation_statustextfield from the properties object
locationtextThe supported Azure location of the resource.
offertextfield from the properties object
os_disk_imagetextfield from the properties object
plantextfield from the properties object
publisherNametextfield from the properties object
skustextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextSpecifies the tags that are assigned to the virtual machine. For more information about using tags, see Using tags to organize your Azure resources.
versiontextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTlocation, offer, publisherName, skus, subscriptionId, versionGets a virtual machine image.
listSELECTlocation, offer, publisherName, skus, subscriptionIdGets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU.
list_by_edge_zoneSELECTedgeZone, location, subscriptionIdGets a list of all virtual machine image versions for the specified edge zone

SELECT examples

Gets a list of all virtual machine image versions for the specified edge zone

SELECT
name,
architecture,
automatic_os_upgrade_properties,
data_disk_images,
disallowed,
edgeZone,
extended_location,
features,
hyper_v_generation,
image_deprecation_status,
location,
offer,
os_disk_image,
plan,
publisherName,
skus,
subscriptionId,
tags,
version
FROM azure.compute.vw_virtual_machine_images
WHERE edgeZone = '{{ edgeZone }}'
AND location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';