vw_peering_policies
Creates, updates, deletes, gets or lists a vw_peering_policies
resource.
Overview
Name | vw_peering_policies |
Type | View |
Id | azure.managed_network.vw_peering_policies |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
JSON_EXTRACT(properties, '$.type') as "type",
JSON_EXTRACT(properties, '$.hub') as "hub",
JSON_EXTRACT(properties, '$.spokes') as "spokes",
JSON_EXTRACT(properties, '$.mesh') as "mesh",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.etag') as "etag",
subscriptionId,
resourceGroupName,
managedNetworkName,
managedNetworkPeeringPolicyName
FROM azure.managed_network.peering_policies
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND managedNetworkName = 'replace-me';
SELECT
json_extract_path_text(properties, '$.type') as "type",
json_extract_path_text(properties, '$.hub') as "hub",
json_extract_path_text(properties, '$.spokes') as "spokes",
json_extract_path_text(properties, '$.mesh') as "mesh",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.etag') as "etag",
subscriptionId,
resourceGroupName,
managedNetworkName,
managedNetworkPeeringPolicyName
FROM azure.managed_network.peering_policies
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND managedNetworkName = 'replace-me';