Get Dhcp Bindings
Retrieves all DHCP bindings for an Org vDC Network.
Request
URI
GET
https://{api_host}/cloudapi/1.0.0/orgVdcNetworks/{vdcNetworkId}/dhcp/bindings
COPY
Path Parameters
string
vdcNetworkId
Required
vdcNetworkId
Query Parameters
string
cursor
Optional
Field used for getting next page of records. The value is supplied by the current result page. If not set, the first page is retrieved. If cursor is set, then all other pagination query parameters such as pageSize, sortDesc, sortAsc, queryFilter are ignored.
integer
pageSize
Required
Constraints:
minimum: 0
maximum: 128
default: 25
Results per page to fetch.
Responses
200
OK
Returns
DhcpBindings
of type(s)
application/json;version=39.1
{
"values": [
{
"id": "string",
"name": "string",
"description": "string",
"macAddress": "string",
"ipAddress": "string",
"leaseTime": 0,
"dnsServers": [
"string"
],
"bindingType": "string",
"dhcpV4BindingConfig": {
"gatewayIpAddress": "string",
"hostName": "string"
},
"dhcpV6BindingConfig": {
"sntpServers": [
"string"
],
"domainNames": [
"string"
]
},
"version": {
"version": 0
}
}
]
}
array of
object
values
Optional
The list of DHCP Bindings.
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/cloudapi/1.0.0/orgVdcNetworks/{vdcNetworkId}/dhcp/bindings?pageSize=v
Availability
Added in 36.1
On This Page
Org Vdc Network Dhcp Operations
GET
Get Network Dhcp Config
PUT
Update Network Dhcp Config
DELETE
Delete Network Dhcp Config
GET
Get Dhcp Bindings
POST
Create Dhcp Binding
GET
Get Dhcp Binding
PUT
Update Dhcp Binding
DELETE
Delete Dhcp Binding