Get Allocated Ip Addresses

Get Allocated Ip Addresses

Get all the allocated IPs for a given Org vDC network. This returns all the IP addresses of the network which are allocated to a vApp VM, an edge gateway interface and the addresses being used in a NAT routed environment. In a dual stack network, this will return the IP addresses of the first subnet, which will only be IPv4 addresses. Results can be filtered by IP address.

Request
URI
GET
https://{api_host}/cloudapi/1.0.0/orgVdcNetworks/{vdcNetworkId}/allocatedIpAddresses
COPY
Path Parameters
string
vdcNetworkId
Required

vdcNetworkId

string
vdcNetworkId
Required

vdcNetworkId

Query Parameters
string
filter
Optional

Filter for a query. FIQL format.

string
sortAsc
Optional

Field to use for ascending sort

string
sortDesc
Optional

Field to use for descending sort

integer
page
Required

Page to fetch, zero offset.

integer
pageSize
Required

Results per page to fetch.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns AllocatedIpAddresses of type(s) application/json;version=39.0
This response body class contains all of the following: Page , InlineAllocatedIpAddresses1
{
    "resultTotal": 0,
    "pageCount": 0,
    "page": 0,
    "pageSize": 0,
    "associations": [
        {
            "entityId": "string",
            "associationId": "string"
        }
    ],
    "values": [
        {
            "id": "string",
            "entityId": "string",
            "entityName": "string",
            "vAppName": "string",
            "ipAddress": "string",
            "deployed": false,
            "allocationType": {},
            "allocationTypeValue": "string",
            "networkRef": {
                "name": "string",
                "id": "string"
            },
            "orgRef": {
                "name": "string",
                "id": "string"
            }
        }
    ]
}

404

The specified resource was not found

Returns Error of type(s) application/json;version=39.0
{
    "minorErrorCode": "string",
    "message": "string",
    "stackTrace": "string"
}
string
minorErrorCode
Required

minorErrorCode

string
message
Required

message

string
stackTrace
Optional

stackTrace