vw_p2s_vpn_gateways
Creates, updates, deletes, gets or lists a vw_p2s_vpn_gateways
resource.
Overview
Name | vw_p2s_vpn_gateways |
Type | View |
Id | azure.network.vw_p2s_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, '$.p2SConnectionConfigurations') as "p2_s_connection_configurations",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.vpnGatewayScaleUnit') as "vpn_gateway_scale_unit",
JSON_EXTRACT(properties, '$.vpnServerConfiguration') as "vpn_server_configuration",
JSON_EXTRACT(properties, '$.vpnClientConnectionHealth') as "vpn_client_connection_health",
JSON_EXTRACT(properties, '$.customDnsServers') as "custom_dns_servers",
JSON_EXTRACT(properties, '$.isRoutingPreferenceInternet') as "is_routing_preference_internet",
subscriptionId,
resourceGroupName,
gatewayName
FROM azure.network.p2s_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, '$.p2SConnectionConfigurations') as "p2_s_connection_configurations",
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, '$.vpnServerConfiguration') as "vpn_server_configuration",
json_extract_path_text(properties, '$.vpnClientConnectionHealth') as "vpn_client_connection_health",
json_extract_path_text(properties, '$.customDnsServers') as "custom_dns_servers",
json_extract_path_text(properties, '$.isRoutingPreferenceInternet') as "is_routing_preference_internet",
subscriptionId,
resourceGroupName,
gatewayName
FROM azure.network.p2s_vpn_gateways
WHERE subscriptionId = 'replace-me';