Create Dhcp Static Binding
Create a static binding for a DHCP server
Request
URI
POST
https://nsxmanager.your.domain/api/v1/dhcp/servers/{server-id}/static-bindings
COPY
Path Parameters
string
server-id
Required
server-id
Request Body
DhcpStaticBinding of type(s) application/json
Optional
{
"_self": {
"rel": "string"
},
"_system_owned": false,
"lease_time": 0,
"description": "string",
"tags": [
{
"scope": "string",
"tag": "string"
}
],
"_revision": 0,
"_create_user": "string",
"_schema": "string",
"options": {
"option121": {
"static_routes": [
{
"next_hop": "string",
"network": "string"
}
]
},
"others": [
{
"code": 0,
"values": [
"string"
]
}
]
},
"_create_time": 0,
"gateway_ip": "string",
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_last_modified_time": 0,
"_last_modified_user": "string",
"id": "string",
"resource_type": "string",
"display_name": "string",
"ip_address": "string",
"host_name": "string",
"mac_address": "string"
}
Responses
201
Resource created successfully
Returns DhcpStaticBinding of type(s) application/json
This response body class contains all of the following: IpAllocationBase , InlineDhcpStaticBinding1
{
"_self": {
"rel": "string"
},
"_system_owned": false,
"lease_time": 0,
"description": "string",
"tags": [
{
"scope": "string",
"tag": "string"
}
],
"_revision": 0,
"_create_user": "string",
"_schema": "string",
"options": {
"option121": {
"static_routes": [
{
"next_hop": "string",
"network": "string"
}
]
},
"others": [
{
"code": 0,
"values": [
"string"
]
}
]
},
"_create_time": 0,
"gateway_ip": "string",
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_last_modified_time": 0,
"_last_modified_user": "string",
"id": "string",
"resource_type": "string",
"display_name": "string",
"ip_address": "string",
"host_name": "string",
"mac_address": "string"
}
default
Unexpected error
Returns ApiError of type(s) application/json
{
"module_name": "string",
"error_message": "string",
"error_code": 0
}
string
module_name
Optional
module_name
string
error_message
Optional
error_message
integer As int64 As int64
error_code
Optional
error_code
On This Page
Services Operations
POST
Add Dne Key Manager
POST
Add Dne Key Policy
POST
Add Dne Rule In Section
POST
Add Dne Rules In Section
POST
Add Dne Section
POST
Add Dne Section With Rules
POST
Add Member
POST
Add Rule In Section
POST
Add Rules In Section
POST
Add Section
POST
Add Section With Rules
POST
Check Member If Exists
POST
Create Dhcp Ip Pool
POST
Create Dhcp Profile
POST
Create Dhcp Server
POST
Create Dhcp Static Binding
POST
Create Metadata Proxy
DELETE
Delete Dhcp Ip Pool
DELETE
Delete Dhcp Profile
DELETE
Delete Dhcp Server
DELETE
Delete Dhcp Static Binding
DELETE
Delete Dne Key Manager
DELETE
Delete Dne Key Policy
DELETE
Delete Dne Rule
DELETE
Delete Dne Section
DELETE
Delete Metadata Proxy
DELETE
Delete Rule
DELETE
Delete Section
GET
Get Dne Key Manager
GET
Get Dne Key Policy
GET
Get Dne Key Policy Stats
GET
Get Dne Rule
GET
Get Dne Rules
GET
Get Dne Rules By Key Policy
GET
Get Dne Rule State
GET
Get Dne Rule Stats
GET
Get Dne Section
GET
Get Dne Section State
POST
Get Dne Section With Rules
GET
Get Exclude List
GET
Get Firewall Stats
GET
Get Rule
GET
Get Rules
GET
Get Rule State
GET
Get Section
GET
Get Section State
POST
Get Section With Rules
GET
List Dhcp Ip Pools
GET
List Dhcp Profiles
GET
List Dhcp Servers
GET
List Dhcp Static Bindings
GET
List Dne Key Managers
GET
List Dne Key Policies
GET
List Dne Sections
GET
List Metadata Proxy
GET
List Sections
GET
Read Dhcp Ip Pool
GET
Read Dhcp Profile
GET
Read Dhcp Server
GET
Read Dhcp Static Binding
GET
Read Metadata Proxy
POST
Remove Member
PUT
Reset Default Dne Key Policy To System Default
POST
Revise Dne Rule
POST
Revise Dne Section
POST
Revise Dne Section With Rules
POST
Revise Rule
POST
Revise Section
POST
Revise Section With Rules
POST
Revoke Dne Key Policy
POST
Rotate Dne Key Policy
PUT
Update Dhcp Ip Pool
PUT
Update Dhcp Profile
PUT
Update Dhcp Server
PUT
Update Dhcp Static Binding
PUT
Update Dne Key Manager
PUT
Update Dne Key Policy
PUT
Update Dne Rule
PUT
Update Dne Section
POST
Update Dne Section With Rules
PUT
Update Exclude List
PUT
Update Metadata Proxy
PUT
Update Rule
PUT
Update Section
POST
Update Section With Rules