vw_move_collections
Creates, updates, deletes, gets or lists a vw_move_collections
resource.
Overview
Name | vw_move_collections |
Type | View |
Id | azure.resource_mover.vw_move_collections |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
location as location,
type as type,
etag as etag,
tags as tags,
identity as identity,
systemData as system_data,
JSON_EXTRACT(properties, '$.sourceRegion') as "source_region",
JSON_EXTRACT(properties, '$.targetRegion') as "target_region",
JSON_EXTRACT(properties, '$.moveRegion') as "move_region",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.version') as "version",
JSON_EXTRACT(properties, '$.moveType') as "move_type",
JSON_EXTRACT(properties, '$.errors') as "errors",
subscriptionId,
resourceGroupName,
moveCollectionName
FROM azure.resource_mover.move_collections
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND moveCollectionName = 'replace-me';
SELECT
id as id,
name as name,
location as location,
type as type,
etag as etag,
tags as tags,
identity as identity,
systemData as system_data,
json_extract_path_text(properties, '$.sourceRegion') as "source_region",
json_extract_path_text(properties, '$.targetRegion') as "target_region",
json_extract_path_text(properties, '$.moveRegion') as "move_region",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.version') as "version",
json_extract_path_text(properties, '$.moveType') as "move_type",
json_extract_path_text(properties, '$.errors') as "errors",
subscriptionId,
resourceGroupName,
moveCollectionName
FROM azure.resource_mover.move_collections
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND moveCollectionName = 'replace-me';