Public IP Addresses - List

List of public IP addresses.

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network.Admin/adminPublicIpAddresses?api-version=2015-06-15
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network.Admin/adminPublicIpAddresses?api-version=2015-06-15&$filter={$filter}&$orderBy={$orderBy}&$top={$top}&$skip={$skip}&$inlineCount={$inlineCount}

URI Parameters

Name In Required Type Description
subscriptionId
path True

string

Subscription credentials which 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.

$inlineCount
query

string

OData inline count parameter.

$orderBy
query

string

OData orderBy parameter.

$skip
query

string

OData skip parameter.

$top
query

string

OData top parameter.

Responses

Name Type Description
200 OK

PublicIpAddressList

OK

Security

azure_auth

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

List of public IP addresses

Sample Request

GET https://management.azure.com/subscriptions/fc8456aa-4843-4079-a152-f3497c63aa73/providers/Microsoft.Network.Admin/adminPublicIpAddresses?api-version=2015-06-15

Sample Response

{
  "value": [
    {
      "name": "192.168.1.2",
      "type": "Microsoft.Network.Admin/adminPublicIPAddresses",
      "location": "",
      "id": "/subscriptions/fc8456aa-4843-4079-a152-f3497c63aa73/providers/Microsoft.Network.Admin/adminPublicIPAddresses/192.168.1.2",
      "properties": {
        "provisioningState": "Succeeded",
        "ipAddress": "192.168.102.32",
        "ipPool": "5e85a60b-1da2-45e2-8780-11617421a708",
        "allocationMethod": "Static",
        "subscriptionId": "fc8456aa-4843-4079-a152-f3497c63aa73",
        "tenantResourceUri": "/subscriptions/fc8456aa-4843-4079-a152-f3497c63aa73/resourceGroups/GreatResource/providers/Microsoft.Network/publicIPAddresses/192.168.1.2"
      }
    }
  ]
}

Definitions

Name Description
AllocationMethodType

The allocation method.

PublicIpAddress

This resource represents an IP Address.

PublicIpAddressList

Pageable list of public ip addresses.

AllocationMethodType

The allocation method.

Name Type Description
Dynamic

string

Static

string

PublicIpAddress

This resource represents an IP Address.

Name Type Description
id

string

URI of the resource.

location

string

Region location of resource.

name

string

Name of the resource.

properties.allocationMethod

AllocationMethodType

The allocation method.

properties.ipAddress

string

The IP address.

properties.ipPool

string

The IP pool.

properties.provisioningState

string

The provisioning state.

properties.subscriptionId

string

The subscription ID.

properties.tenantResourceUri

string

The tenant resource URI.

tags

object

List of key value pairs.

type

string

Type of resource.

PublicIpAddressList

Pageable list of public ip addresses.

Name Type Description
nextLink

string

URI to the next page.

value

PublicIpAddress[]

List of public ip addresses for this page.