vw_routes
Creates, updates, deletes, gets or lists a vw_routes
resource.
Overview
Name | vw_routes |
Type | View |
Id | azure.network.vw_routes |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
etag as etag,
type as type,
JSON_EXTRACT(properties, '$.addressPrefix') as "address_prefix",
JSON_EXTRACT(properties, '$.nextHopType') as "next_hop_type",
JSON_EXTRACT(properties, '$.nextHopIpAddress') as "next_hop_ip_address",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.hasBgpOverride') as "has_bgp_override",
subscriptionId,
resourceGroupName,
routeTableName,
routeName
FROM azure.network.routes
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND routeTableName = 'replace-me';
SELECT
id as id,
name as name,
etag as etag,
type as type,
json_extract_path_text(properties, '$.addressPrefix') as "address_prefix",
json_extract_path_text(properties, '$.nextHopType') as "next_hop_type",
json_extract_path_text(properties, '$.nextHopIpAddress') as "next_hop_ip_address",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.hasBgpOverride') as "has_bgp_override",
subscriptionId,
resourceGroupName,
routeTableName,
routeName
FROM azure.network.routes
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND routeTableName = 'replace-me';