virtual_machine_images
Creates, updates, deletes, gets or lists a virtual_machine_images
resource.
Overview
Name | virtual_machine_images |
Type | Resource |
Id | azure.compute.virtual_machine_images |
Fields
- vw_virtual_machine_images
- virtual_machine_images
Name | Datatype | Description |
---|---|---|
name | text | The name of the resource. |
architecture | text | field from the properties object |
automatic_os_upgrade_properties | text | field from the properties object |
data_disk_images | text | field from the properties object |
disallowed | text | field from the properties object |
edgeZone | text | field from the properties object |
extended_location | text | field from the properties object |
features | text | field from the properties object |
hyper_v_generation | text | field from the properties object |
image_deprecation_status | text | field from the properties object |
location | text | The supported Azure location of the resource. |
offer | text | field from the properties object |
os_disk_image | text | field from the properties object |
plan | text | field from the properties object |
publisherName | text | field from the properties object |
skus | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Specifies the tags that are assigned to the virtual machine. For more information about using tags, see Using tags to organize your Azure resources. |
version | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
name | string | The name of the resource. |
extendedLocation | object | The complex type of the extended location. |
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
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | location, offer, publisherName, skus, subscriptionId, version | Gets a virtual machine image. |
list | SELECT | location, offer, publisherName, skus, subscriptionId | Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU. |
list_by_edge_zone | SELECT | edgeZone, location, subscriptionId | Gets 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
- vw_virtual_machine_images
- virtual_machine_images
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 }}';
SELECT
name,
extendedLocation,
location,
properties,
tags
FROM azure.compute.virtual_machine_images
WHERE edgeZone = '{{ edgeZone }}'
AND location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';