Create Dhcp Binding
Creates a DHCP binding on an Org vDC Network.
Request
URI
POST
https://{api_host}/cloudapi/1.0.0/orgVdcNetworks/{vdcNetworkId}/dhcp/bindings
COPY
Path Parameters
string
vdcNetworkId
Required
vdcNetworkId
Request Body
DhcpBinding
of type(s)
application/json
Optional
Show optional properties
{
"name": "string",
"macAddress": "string",
"bindingType": "string"
}
{
"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
}
}
Responses
202
The request have been accepted and the task to monitor the request is in the Location header.
Operation doesn't return any data structure
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"bindingType:"string","macAddress:"string","name:"string"}' https://{api_host}/cloudapi/1.0.0/orgVdcNetworks/{vdcNetworkId}/dhcp/bindings
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