vw_mac_address_pools
Creates, updates, deletes, gets or lists a vw_mac_address_pools
resource.
Overview
Name | vw_mac_address_pools |
Type | View |
Id | azure_stack.fabric_admin.vw_mac_address_pools |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
type as type,
JSON_EXTRACT(properties, '$.metadata') as "metadata",
JSON_EXTRACT(properties, '$.startMacAddress') as "start_mac_address",
JSON_EXTRACT(properties, '$.endMacAddress') as "end_mac_address",
JSON_EXTRACT(properties, '$.numberOfAllocatedMacAddresses') as "number_of_allocated_mac_addresses",
JSON_EXTRACT(properties, '$.numberOfAvailableMacAddresses') as "number_of_available_mac_addresses",
subscriptionId,
resourceGroupName,
location,
macAddressPool
FROM azure_stack.fabric_admin.mac_address_pools
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND location = 'replace-me';
SELECT
id as id,
name as name,
type as type,
json_extract_path_text(properties, '$.metadata') as "metadata",
json_extract_path_text(properties, '$.startMacAddress') as "start_mac_address",
json_extract_path_text(properties, '$.endMacAddress') as "end_mac_address",
json_extract_path_text(properties, '$.numberOfAllocatedMacAddresses') as "number_of_allocated_mac_addresses",
json_extract_path_text(properties, '$.numberOfAvailableMacAddresses') as "number_of_available_mac_addresses",
subscriptionId,
resourceGroupName,
location,
macAddressPool
FROM azure_stack.fabric_admin.mac_address_pools
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND location = 'replace-me';