Changed1
[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Get DHCP Bindings
DescriptionRetrieves all DHCP bindings for an Org vDC Network.
Request
URLURL
https://{api_host}/cloudapi/1.0.0/orgVdcNetworks/{vdcNetworkId}/dhcp/bindings
Path Parameters
Path Parameters
string
vdcNetworkId
Required
Query Parameters
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
Results per page to fetch.
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
DhcpBindings
of type(s) application/json;version=36.3
{
"values": [
{
"bindingType": "string",
"description": "string",
"dhcpV4BindingConfig": {
"gatewayIpAddress": "string",
"hostName": "string"
},
"dhcpV6BindingConfig": {
"domainNames": [
"string"
],
"sntpServers": [
"string"
]
},
"dnsServers": [
"string"
],
"id": "string",
"ipAddress": "string",
"leaseTime": 0,
"macAddress": "string",
"name": "string",
"version": {
"version": 0
}
}
]
}
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl https://{api_host}/cloudapi/1.0.0/orgVdcNetworks/{vdcNetworkId}/dhcp/bindings?pageSize=10
[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
What's changed in v36.3?
INTRODUCED
Availability
Added in 36.1
On This Page
Org VDC Network DHCP Operations
post
Create DHCP Binding
Introduced
delete
Delete DHCP Binding
Introduced
delete
get
Get DHCP Binding
Introduced
get
Get DHCP Bindings
Introduced
put
Update DHCP Binding
Introduced