Changed2
[{"label":"Latest (v36.3)","version":"latest"},{"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

Description

Retrieves all DHCP bindings for an Org vDC Network.

Request

Request

URL

URL


get
https://{api_host}/cloudapi/1.0.0/orgVdcNetworks/{vdcNetworkId}/dhcp/bindings
Copy

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

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response 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
			}
		}
	]
}
array of DhcpBinding
values Optional

The list of DHCP Bindings.

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl https://{api_host}/cloudapi/1.0.0/orgVdcNetworks/{vdcNetworkId}/dhcp/bindings?pageSize=10


[{"label":"Latest (v36.3)","version":"latest"},{"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
New in this version
Availability
Added in 36.1
Org VDC Network DHCP Operations
Feedback

Was this page helpful?