vw_virtual_networks
Creates, updates, deletes, gets or lists a vw_virtual_networks
resource.
Overview
Name | vw_virtual_networks |
Type | View |
Id | azure.dev_test_labs.vw_virtual_networks |
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, '$.allowedSubnets') as "allowed_subnets",
JSON_EXTRACT(properties, '$.description') as "description",
JSON_EXTRACT(properties, '$.externalProviderResourceId') as "external_provider_resource_id",
JSON_EXTRACT(properties, '$.externalSubnets') as "external_subnets",
JSON_EXTRACT(properties, '$.subnetOverrides') as "subnet_overrides",
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.virtual_networks
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, '$.allowedSubnets') as "allowed_subnets",
json_extract_path_text(properties, '$.description') as "description",
json_extract_path_text(properties, '$.externalProviderResourceId') as "external_provider_resource_id",
json_extract_path_text(properties, '$.externalSubnets') as "external_subnets",
json_extract_path_text(properties, '$.subnetOverrides') as "subnet_overrides",
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.virtual_networks
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND labName = 'replace-me';