vw_ip_allocations
Creates, updates, deletes, gets or lists a vw_ip_allocations
resource.
Overview
Name | vw_ip_allocations |
Type | View |
Id | azure.network.vw_ip_allocations |
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, '$.subnet') as "subnet",
JSON_EXTRACT(properties, '$.virtualNetwork') as "virtual_network",
JSON_EXTRACT(properties, '$.type') as "type",
JSON_EXTRACT(properties, '$.prefix') as "prefix",
JSON_EXTRACT(properties, '$.prefixLength') as "prefix_length",
JSON_EXTRACT(properties, '$.prefixType') as "prefix_type",
JSON_EXTRACT(properties, '$.ipamAllocationId') as "ipam_allocation_id",
JSON_EXTRACT(properties, '$.allocationTags') as "allocation_tags",
subscriptionId,
resourceGroupName,
ipAllocationName
FROM azure.network.ip_allocations
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, '$.subnet') as "subnet",
json_extract_path_text(properties, '$.virtualNetwork') as "virtual_network",
json_extract_path_text(properties, '$.type') as "type",
json_extract_path_text(properties, '$.prefix') as "prefix",
json_extract_path_text(properties, '$.prefixLength') as "prefix_length",
json_extract_path_text(properties, '$.prefixType') as "prefix_type",
json_extract_path_text(properties, '$.ipamAllocationId') as "ipam_allocation_id",
json_extract_path_text(properties, '$.allocationTags') as "allocation_tags",
subscriptionId,
resourceGroupName,
ipAllocationName
FROM azure.network.ip_allocations
WHERE subscriptionId = 'replace-me';