vw_artifact_sources
Creates, updates, deletes, gets or lists a vw_artifact_sources
resource.
Overview
Name | vw_artifact_sources |
Type | View |
Id | azure.dev_test_labs.vw_artifact_sources |
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, '$.displayName') as "display_name",
JSON_EXTRACT(properties, '$.uri') as "uri",
JSON_EXTRACT(properties, '$.sourceType') as "source_type",
JSON_EXTRACT(properties, '$.folderPath') as "folder_path",
JSON_EXTRACT(properties, '$.armTemplateFolderPath') as "arm_template_folder_path",
JSON_EXTRACT(properties, '$.branchRef') as "branch_ref",
JSON_EXTRACT(properties, '$.securityToken') as "security_token",
JSON_EXTRACT(properties, '$.status') as "status",
JSON_EXTRACT(properties, '$.createdDate') as "created_date",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.uniqueIdentifier') as "unique_identifier",
subscriptionId,
resourceGroupName,
labName,
name
FROM azure.dev_test_labs.artifact_sources
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND labName = 'replace-me';
SELECT
id as id,
name as name,
location as location,
type as type,
tags as tags,
json_extract_path_text(properties, '$.displayName') as "display_name",
json_extract_path_text(properties, '$.uri') as "uri",
json_extract_path_text(properties, '$.sourceType') as "source_type",
json_extract_path_text(properties, '$.folderPath') as "folder_path",
json_extract_path_text(properties, '$.armTemplateFolderPath') as "arm_template_folder_path",
json_extract_path_text(properties, '$.branchRef') as "branch_ref",
json_extract_path_text(properties, '$.securityToken') as "security_token",
json_extract_path_text(properties, '$.status') as "status",
json_extract_path_text(properties, '$.createdDate') as "created_date",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.uniqueIdentifier') as "unique_identifier",
subscriptionId,
resourceGroupName,
labName,
name
FROM azure.dev_test_labs.artifact_sources
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND labName = 'replace-me';