Skip to main content

image_versions

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

Overview

Nameimage_versions
TypeResource
Idazure.dev_center.image_versions

Fields

NameDatatypeDescription
nametextfield from the properties object
devCenterNametextfield from the properties object
exclude_from_latesttextfield from the properties object
galleryNametextfield from the properties object
imageNametextfield from the properties object
os_disk_image_size_in_gbtextfield from the properties object
projectNametextfield from the properties object
provisioning_statetextfield from the properties object
published_datetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
versionNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTdevCenterName, galleryName, imageName, resourceGroupName, subscriptionId, versionNameGets an image version.
get_by_projectSELECTimageName, projectName, resourceGroupName, subscriptionId, versionNameGets an image version.
list_by_imageSELECTdevCenterName, galleryName, imageName, resourceGroupName, subscriptionIdLists versions for an image.
list_by_projectSELECTimageName, projectName, resourceGroupName, subscriptionIdLists versions for an image.

SELECT examples

Lists versions for an image.

SELECT
name,
devCenterName,
exclude_from_latest,
galleryName,
imageName,
os_disk_image_size_in_gb,
projectName,
provisioning_state,
published_date,
resourceGroupName,
subscriptionId,
versionName
FROM azure.dev_center.vw_image_versions
WHERE imageName = '{{ imageName }}'
AND projectName = '{{ projectName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';