vw_deployments_at_management_group_scopes
Creates, updates, deletes, gets or lists a vw_deployments_at_management_group_scopes
resource.
Overview
Name | vw_deployments_at_management_group_scopes |
Type | View |
Id | azure.resources.vw_deployments_at_management_group_scopes |
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,
tags as tags,
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.correlationId') as "correlation_id",
JSON_EXTRACT(properties, '$.timestamp') as "timestamp",
JSON_EXTRACT(properties, '$.duration') as "duration",
JSON_EXTRACT(properties, '$.outputs') as "outputs",
JSON_EXTRACT(properties, '$.providers') as "providers",
JSON_EXTRACT(properties, '$.dependencies') as "dependencies",
JSON_EXTRACT(properties, '$.templateLink') as "template_link",
JSON_EXTRACT(properties, '$.parameters') as "parameters",
JSON_EXTRACT(properties, '$.parametersLink') as "parameters_link",
JSON_EXTRACT(properties, '$.mode') as "mode",
JSON_EXTRACT(properties, '$.debugSetting') as "debug_setting",
JSON_EXTRACT(properties, '$.onErrorDeployment') as "on_error_deployment",
JSON_EXTRACT(properties, '$.templateHash') as "template_hash",
JSON_EXTRACT(properties, '$.outputResources') as "output_resources",
JSON_EXTRACT(properties, '$.validatedResources') as "validated_resources",
JSON_EXTRACT(properties, '$.error') as "error",
JSON_EXTRACT(properties, '$.diagnostics') as "diagnostics",
groupId,
deploymentName
FROM azure.resources.deployments_at_management_group_scopes
WHERE groupId = 'replace-me';
SELECT
id as id,
name as name,
location as location,
type as type,
tags as tags,
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.correlationId') as "correlation_id",
json_extract_path_text(properties, '$.timestamp') as "timestamp",
json_extract_path_text(properties, '$.duration') as "duration",
json_extract_path_text(properties, '$.outputs') as "outputs",
json_extract_path_text(properties, '$.providers') as "providers",
json_extract_path_text(properties, '$.dependencies') as "dependencies",
json_extract_path_text(properties, '$.templateLink') as "template_link",
json_extract_path_text(properties, '$.parameters') as "parameters",
json_extract_path_text(properties, '$.parametersLink') as "parameters_link",
json_extract_path_text(properties, '$.mode') as "mode",
json_extract_path_text(properties, '$.debugSetting') as "debug_setting",
json_extract_path_text(properties, '$.onErrorDeployment') as "on_error_deployment",
json_extract_path_text(properties, '$.templateHash') as "template_hash",
json_extract_path_text(properties, '$.outputResources') as "output_resources",
json_extract_path_text(properties, '$.validatedResources') as "validated_resources",
json_extract_path_text(properties, '$.error') as "error",
json_extract_path_text(properties, '$.diagnostics') as "diagnostics",
groupId,
deploymentName
FROM azure.resources.deployments_at_management_group_scopes
WHERE groupId = 'replace-me';