vw_project_catalogs
Creates, updates, deletes, gets or lists a vw_project_catalogs
resource.
Overview
Name | vw_project_catalogs |
Type | View |
Id | azure.dev_center.vw_project_catalogs |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
type as type,
systemData as system_data,
JSON_EXTRACT(properties, '$.gitHub') as "git_hub",
JSON_EXTRACT(properties, '$.adoGit') as "ado_git",
JSON_EXTRACT(properties, '$.syncType') as "sync_type",
JSON_EXTRACT(properties, '$.tags') as "tags",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.syncState') as "sync_state",
JSON_EXTRACT(properties, '$.lastSyncStats') as "last_sync_stats",
JSON_EXTRACT(properties, '$.connectionState') as "connection_state",
JSON_EXTRACT(properties, '$.lastConnectionTime') as "last_connection_time",
JSON_EXTRACT(properties, '$.lastSyncTime') as "last_sync_time",
subscriptionId,
resourceGroupName,
projectName,
catalogName
FROM azure.dev_center.project_catalogs
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND projectName = 'replace-me';
SELECT
id as id,
name as name,
type as type,
systemData as system_data,
json_extract_path_text(properties, '$.gitHub') as "git_hub",
json_extract_path_text(properties, '$.adoGit') as "ado_git",
json_extract_path_text(properties, '$.syncType') as "sync_type",
json_extract_path_text(properties, '$.tags') as "tags",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.syncState') as "sync_state",
json_extract_path_text(properties, '$.lastSyncStats') as "last_sync_stats",
json_extract_path_text(properties, '$.connectionState') as "connection_state",
json_extract_path_text(properties, '$.lastConnectionTime') as "last_connection_time",
json_extract_path_text(properties, '$.lastSyncTime') as "last_sync_time",
subscriptionId,
resourceGroupName,
projectName,
catalogName
FROM azure.dev_center.project_catalogs
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND projectName = 'replace-me';