vw_public_ip_prefixes
Creates, updates, deletes, gets or lists a vw_public_ip_prefixes
resource.
Overview
Name | vw_public_ip_prefixes |
Type | View |
Id | azure.network.vw_public_ip_prefixes |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
extendedLocation as extended_location,
sku as sku,
etag as etag,
zones as zones,
type as type,
systemData as system_data,
JSON_EXTRACT(properties, '$.publicIPAddressVersion') as "public_ip_address_version",
JSON_EXTRACT(properties, '$.ipTags') as "ip_tags",
JSON_EXTRACT(properties, '$.prefixLength') as "prefix_length",
JSON_EXTRACT(properties, '$.ipPrefix') as "ip_prefix",
JSON_EXTRACT(properties, '$.publicIPAddresses') as "public_ip_addresses",
JSON_EXTRACT(properties, '$.loadBalancerFrontendIpConfiguration') as "load_balancer_frontend_ip_configuration",
JSON_EXTRACT(properties, '$.customIPPrefix') as "custom_ip_prefix",
JSON_EXTRACT(properties, '$.resourceGuid') as "resource_guid",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.natGateway') as "nat_gateway",
subscriptionId,
resourceGroupName,
publicIpPrefixName
FROM azure.network.public_ip_prefixes
WHERE subscriptionId = 'replace-me';
SELECT
id as id,
name as name,
extendedLocation as extended_location,
sku as sku,
etag as etag,
zones as zones,
type as type,
systemData as system_data,
json_extract_path_text(properties, '$.publicIPAddressVersion') as "public_ip_address_version",
json_extract_path_text(properties, '$.ipTags') as "ip_tags",
json_extract_path_text(properties, '$.prefixLength') as "prefix_length",
json_extract_path_text(properties, '$.ipPrefix') as "ip_prefix",
json_extract_path_text(properties, '$.publicIPAddresses') as "public_ip_addresses",
json_extract_path_text(properties, '$.loadBalancerFrontendIpConfiguration') as "load_balancer_frontend_ip_configuration",
json_extract_path_text(properties, '$.customIPPrefix') as "custom_ip_prefix",
json_extract_path_text(properties, '$.resourceGuid') as "resource_guid",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.natGateway') as "nat_gateway",
subscriptionId,
resourceGroupName,
publicIpPrefixName
FROM azure.network.public_ip_prefixes
WHERE subscriptionId = 'replace-me';