Skip to main content

mac_address_pools

Creates, updates, deletes, gets or lists a mac_address_pools resource.

Overview

Namemac_address_pools
TypeResource
Idazure_stack.fabric_admin.mac_address_pools

Fields

NameDatatypeDescription
idtextURI of the resource.
nametextName of the resource.
end_mac_addresstextfield from the properties object
locationtextThe region where the resource is located.
macAddressPooltextfield from the properties object
metadatatextfield from the properties object
number_of_allocated_mac_addressestextfield from the properties object
number_of_available_mac_addressestextfield from the properties object
resourceGroupNametextfield from the properties object
start_mac_addresstextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextList of key-value pairs.
typetextType of resource.

Methods

NameAccessible byRequired ParamsDescription
getSELECTlocation, macAddressPool, resourceGroupName, subscriptionIdReturns the requested MAC address pool.
listSELECTlocation, resourceGroupName, subscriptionIdReturns a list of all MAC address pools at a location.

SELECT examples

Returns a list of all MAC address pools at a location.

SELECT
id,
name,
end_mac_address,
location,
macAddressPool,
metadata,
number_of_allocated_mac_addresses,
number_of_available_mac_addresses,
resourceGroupName,
start_mac_address,
subscriptionId,
tags,
type
FROM azure_stack.fabric_admin.vw_mac_address_pools
WHERE location = '{{ location }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';