Skip to main content

vw_custom_images

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

Overview

Namevw_custom_images
TypeView
Idazure.dev_test_labs.vw_custom_images

Fields

See the SQL Definition (view DDL) for fields returned by this view.

SQL Definition

SELECT
id as id,
name as name,
location as location,
type as type,
tags as tags,
JSON_EXTRACT(properties, '$.vm') as "vm",
JSON_EXTRACT(properties, '$.vhd') as "vhd",
JSON_EXTRACT(properties, '$.description') as "description",
JSON_EXTRACT(properties, '$.author') as "author",
JSON_EXTRACT(properties, '$.creationDate') as "creation_date",
JSON_EXTRACT(properties, '$.managedImageId') as "managed_image_id",
JSON_EXTRACT(properties, '$.managedSnapshotId') as "managed_snapshot_id",
JSON_EXTRACT(properties, '$.dataDiskStorageInfo') as "data_disk_storage_info",
JSON_EXTRACT(properties, '$.customImagePlan') as "custom_image_plan",
JSON_EXTRACT(properties, '$.isPlanAuthorized') as "is_plan_authorized",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.uniqueIdentifier') as "unique_identifier",
subscriptionId,
resourceGroupName,
labName,
name
FROM azure.dev_test_labs.custom_images
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND labName = 'replace-me';