vw_l2_networks
Creates, updates, deletes, gets or lists a vw_l2_networks
resource.
Overview
Name | vw_l2_networks |
Type | View |
Id | azure.nexus.vw_l2_networks |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
location as location,
extendedLocation as extended_location,
tags as tags,
JSON_EXTRACT(properties, '$.associatedResourceIds') as "associated_resource_ids",
JSON_EXTRACT(properties, '$.clusterId') as "cluster_id",
JSON_EXTRACT(properties, '$.detailedStatus') as "detailed_status",
JSON_EXTRACT(properties, '$.detailedStatusMessage') as "detailed_status_message",
JSON_EXTRACT(properties, '$.hybridAksClustersAssociatedIds') as "hybrid_aks_clusters_associated_ids",
JSON_EXTRACT(properties, '$.hybridAksPluginType') as "hybrid_aks_plugin_type",
JSON_EXTRACT(properties, '$.interfaceName') as "interface_name",
JSON_EXTRACT(properties, '$.l2IsolationDomainId') as "l2_isolation_domain_id",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.virtualMachinesAssociatedIds') as "virtual_machines_associated_ids",
subscriptionId,
resourceGroupName,
l2NetworkName
FROM azure.nexus.l2_networks
WHERE subscriptionId = 'replace-me';
SELECT
location as location,
extendedLocation as extended_location,
tags as tags,
json_extract_path_text(properties, '$.associatedResourceIds') as "associated_resource_ids",
json_extract_path_text(properties, '$.clusterId') as "cluster_id",
json_extract_path_text(properties, '$.detailedStatus') as "detailed_status",
json_extract_path_text(properties, '$.detailedStatusMessage') as "detailed_status_message",
json_extract_path_text(properties, '$.hybridAksClustersAssociatedIds') as "hybrid_aks_clusters_associated_ids",
json_extract_path_text(properties, '$.hybridAksPluginType') as "hybrid_aks_plugin_type",
json_extract_path_text(properties, '$.interfaceName') as "interface_name",
json_extract_path_text(properties, '$.l2IsolationDomainId') as "l2_isolation_domain_id",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.virtualMachinesAssociatedIds') as "virtual_machines_associated_ids",
subscriptionId,
resourceGroupName,
l2NetworkName
FROM azure.nexus.l2_networks
WHERE subscriptionId = 'replace-me';