Share via


Ipam Pools - Get

Gets the specific Pool resource.

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}?api-version=2024-05-01

URI Parameters

Name In Required Type Description
networkManagerName
path True

string

pattern: ^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$

The name of the network manager.

poolName
path True

string

pattern: ^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$

Pool resource name.

resourceGroupName
path True

string

The name of the resource group.

subscriptionId
path True

string

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

api-version
query True

string

Client API version.

Responses

Name Type Description
200 OK

IpamPool

IpamPool

Other Status Codes

CommonErrorResponse

Default error response.

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

IpamPools_Get

Sample request

GET /subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool?api-version=2024-05-01

Sample response

{
  "name": "TestPool",
  "type": "Microsoft.Network/networkManagers/ipamPools",
  "properties": {
    "description": "Test description.",
    "ipAddressType": [
      "IPv4"
    ],
    "parentPoolName": "",
    "addressPrefixes": [
      "10.0.0.0/24"
    ],
    "provisioningState": "Succeeded"
  },
  "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool",
  "tags": {},
  "location": "eastus",
  "systemData": {
    "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
    "createdByType": "User",
    "createdAt": "2021-01-11T18:52:27Z",
    "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
    "lastModifiedByType": "User",
    "lastModifiedAt": "2021-01-11T18:52:27Z"
  }
}

Definitions

Name Description
CommonErrorAdditionalInfo

The resource management error additional info.

CommonErrorDetail

The error detail.

CommonErrorResponse

Error response

createdByType

The type of identity that created the resource.

IpamPool

Instance of Pool resource.

IpamPoolProperties

Properties of IpamPool resource properties which are specific to the Pool resource.

IpType

Enumeration to indicate the IP type.

ProvisioningState

Provisioning states of a resource.

SystemData

Metadata pertaining to creation and last modification of the resource.

CommonErrorAdditionalInfo

The resource management error additional info.

Name Type Description
info

object

The additional info.

type

string

The additional info type.

CommonErrorDetail

The error detail.

Name Type Description
additionalInfo

CommonErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

CommonErrorDetail[]

The error details.

message

string

The error message.

target

string

The error target.

CommonErrorResponse

Error response

Name Type Description
error

CommonErrorDetail

The error object.

createdByType

The type of identity that created the resource.

Value Description
User
Application
ManagedIdentity
Key

IpamPool

Instance of Pool resource.

Name Type Description
id

string (arm-id)

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

location

string

The geo-location where the resource lives

name

string

The name of the resource

properties

IpamPoolProperties

Properties of IpamPool resource properties which are specific to the Pool resource.

systemData

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags

object

Resource tags.

type

string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

IpamPoolProperties

Properties of IpamPool resource properties which are specific to the Pool resource.

Name Type Description
addressPrefixes

string[]

List of IP address prefixes of the resource.

description

string

displayName

string

String representing a friendly name for the resource.

ipAddressType

IpType[]

List of IP address type for the IpamPool.

parentPoolName

string

String representing parent IpamPool resource name. If empty the IpamPool will be a root pool.

provisioningState

ProvisioningState

Provisioning states of a resource.

IpType

Enumeration to indicate the IP type.

Value Description
IPv4
IPv6

ProvisioningState

Provisioning states of a resource.

Value Description
Failed
Succeeded
Canceled
Creating
Updating
Deleting

SystemData

Metadata pertaining to creation and last modification of the resource.

Name Type Description
createdAt

string (date-time)

The timestamp of resource creation (UTC).

createdBy

string

The identity that created the resource.

createdByType

createdByType

The type of identity that created the resource.

lastModifiedAt

string (date-time)

The type of identity that last modified the resource.

lastModifiedBy

string

The identity that last modified the resource.

lastModifiedByType

createdByType

The type of identity that last modified the resource.