image_versions
Creates, updates, deletes, gets or lists a image_versions
resource.
Overview
Name | image_versions |
Type | Resource |
Id | azure.dev_center.image_versions |
Fields
- vw_image_versions
- image_versions
Name | Datatype | Description |
---|---|---|
name | text | field from the properties object |
devCenterName | text | field from the properties object |
exclude_from_latest | text | field from the properties object |
galleryName | text | field from the properties object |
imageName | text | field from the properties object |
os_disk_image_size_in_gb | text | field from the properties object |
projectName | text | field from the properties object |
provisioning_state | text | field from the properties object |
published_date | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
versionName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Properties of an image version. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | devCenterName, galleryName, imageName, resourceGroupName, subscriptionId, versionName | Gets an image version. |
get_by_project | SELECT | imageName, projectName, resourceGroupName, subscriptionId, versionName | Gets an image version. |
list_by_image | SELECT | devCenterName, galleryName, imageName, resourceGroupName, subscriptionId | Lists versions for an image. |
list_by_project | SELECT | imageName, projectName, resourceGroupName, subscriptionId | Lists versions for an image. |
SELECT
examples
Lists versions for an image.
- vw_image_versions
- image_versions
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 }}';
SELECT
properties
FROM azure.dev_center.image_versions
WHERE imageName = '{{ imageName }}'
AND projectName = '{{ projectName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';