Share via


Mac Address Pools - List

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

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/macAddressPools?api-version=2016-05-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/macAddressPools?api-version=2016-05-01&$filter={$filter}

URI Parameters

Name In Required Type Description
location
path True

string

Location of the resource.

resourceGroupName
path True

string

Name of the resource group.

subscriptionId
path True

string

Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

api-version
query True

string

Client API Version.

$filter
query

string

OData filter parameter.

Responses

Name Type Description
200 OK

MacAddressPoolList

OK

404 Not Found

NOT FOUND

Security

azure_auth

Authorization uses an Azure Active Directory OAuth2 flow.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

Returns all MAC address pools

Sample request

GET https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/macAddressPools?api-version=2016-05-01

Sample response

{
  "value": [
    {
      "id": "/subscriptions/36e98cad-c8a5-4580-bef7-af878a237908/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/macAddressPools/8197fd09-8a69-417e-a55c-10c2c61f5ee7",
      "name": "8197fd09-8a69-417e-a55c-10c2c61f5ee7",
      "type": "Microsoft.Fabric.Admin/fabricLocations/macAddressPools",
      "location": "local",
      "tags": {},
      "properties": {
        "startMacAddress": "00-1D-D8-B7-1C-00",
        "endMacAddress": "00-1D-D8-F4-1F-FF",
        "numberOfAllocatedMacAddresses": 5,
        "numberOfAvailableMacAddresses": 3998715
      }
    }
  ]
}

Definitions

Name Description
MacAddressPool

This resource represents a MAC address pool. The default MAC address pools are used if you set the MAC address type for a virtual machine to 'Static'. If the virtual machine setting is 'Dynamic', the hypervisor assigns the MAC address.

MacAddressPoolList

A pageable list of MAC address pools.

MacAddressPool

This resource represents a MAC address pool. The default MAC address pools are used if you set the MAC address type for a virtual machine to 'Static'. If the virtual machine setting is 'Dynamic', the hypervisor assigns the MAC address.

Name Type Description
id

string

URI of the resource.

location

string

The region where the resource is located.

name

string

Name of the resource.

properties.endMacAddress

string

Ending MAC address.

properties.metadata

object

Metadata related to the MAC pool.

properties.numberOfAllocatedMacAddresses

integer (int64)

Number of MAC addresses allocated.

properties.numberOfAvailableMacAddresses

integer (int64)

Number of MAC addresses available.

properties.startMacAddress

string

Starting MAC address.

tags

object

List of key-value pairs.

type

string

Type of resource.

MacAddressPoolList

A pageable list of MAC address pools.

Name Type Description
nextLink

string

URI to the next page.

value

MacAddressPool[]

List of MAC address pools.