vw_vpn_gateways
Creates, updates, deletes, gets or lists a vw_vpn_gateways
resource.
Overview
Name | vw_vpn_gateways |
Type | View |
Id | azure.network.vw_vpn_gateways |
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,
systemData as system_data,
JSON_EXTRACT(properties, '$.virtualHub') as "virtual_hub",
JSON_EXTRACT(properties, '$.connections') as "connections",
JSON_EXTRACT(properties, '$.bgpSettings') as "bgp_settings",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.vpnGatewayScaleUnit') as "vpn_gateway_scale_unit",
JSON_EXTRACT(properties, '$.ipConfigurations') as "ip_configurations",
JSON_EXTRACT(properties, '$.enableBgpRouteTranslationForNat') as "enable_bgp_route_translation_for_nat",
JSON_EXTRACT(properties, '$.isRoutingPreferenceInternet') as "is_routing_preference_internet",
JSON_EXTRACT(properties, '$.natRules') as "nat_rules",
subscriptionId,
resourceGroupName,
gatewayName
FROM azure.network.vpn_gateways
WHERE subscriptionId = 'replace-me';
SELECT
id as id,
name as name,
etag as etag,
type as type,
systemData as system_data,
json_extract_path_text(properties, '$.virtualHub') as "virtual_hub",
json_extract_path_text(properties, '$.connections') as "connections",
json_extract_path_text(properties, '$.bgpSettings') as "bgp_settings",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.vpnGatewayScaleUnit') as "vpn_gateway_scale_unit",
json_extract_path_text(properties, '$.ipConfigurations') as "ip_configurations",
json_extract_path_text(properties, '$.enableBgpRouteTranslationForNat') as "enable_bgp_route_translation_for_nat",
json_extract_path_text(properties, '$.isRoutingPreferenceInternet') as "is_routing_preference_internet",
json_extract_path_text(properties, '$.natRules') as "nat_rules",
subscriptionId,
resourceGroupName,
gatewayName
FROM azure.network.vpn_gateways
WHERE subscriptionId = 'replace-me';