vw_labs
Creates, updates, deletes, gets or lists a vw_labs
resource.
Overview
Name | vw_labs |
Type | View |
Id | azure.lab_services.vw_labs |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
location as location,
tags as tags,
systemData as system_data,
JSON_EXTRACT(properties, '$.autoShutdownProfile') as "auto_shutdown_profile",
JSON_EXTRACT(properties, '$.connectionProfile') as "connection_profile",
JSON_EXTRACT(properties, '$.virtualMachineProfile') as "virtual_machine_profile",
JSON_EXTRACT(properties, '$.securityProfile') as "security_profile",
JSON_EXTRACT(properties, '$.rosterProfile') as "roster_profile",
JSON_EXTRACT(properties, '$.labPlanId') as "lab_plan_id",
JSON_EXTRACT(properties, '$.title') as "title",
JSON_EXTRACT(properties, '$.description') as "description",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.networkProfile') as "network_profile",
JSON_EXTRACT(properties, '$.state') as "state",
JSON_EXTRACT(properties, '$.resourceOperationError') as "resource_operation_error",
subscriptionId,
resourceGroupName,
labName
FROM azure.lab_services.labs
WHERE subscriptionId = 'replace-me';
SELECT
location as location,
tags as tags,
systemData as system_data,
json_extract_path_text(properties, '$.autoShutdownProfile') as "auto_shutdown_profile",
json_extract_path_text(properties, '$.connectionProfile') as "connection_profile",
json_extract_path_text(properties, '$.virtualMachineProfile') as "virtual_machine_profile",
json_extract_path_text(properties, '$.securityProfile') as "security_profile",
json_extract_path_text(properties, '$.rosterProfile') as "roster_profile",
json_extract_path_text(properties, '$.labPlanId') as "lab_plan_id",
json_extract_path_text(properties, '$.title') as "title",
json_extract_path_text(properties, '$.description') as "description",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.networkProfile') as "network_profile",
json_extract_path_text(properties, '$.state') as "state",
json_extract_path_text(properties, '$.resourceOperationError') as "resource_operation_error",
subscriptionId,
resourceGroupName,
labName
FROM azure.lab_services.labs
WHERE subscriptionId = 'replace-me';