Get Network Dhcp Config
Retrieves Dhcp configuration of a specific Org vDC network.
vdcNetworkId
vdcNetworkId
OK
{
"enabled": false,
"leaseTime": 0,
"dhcpPools": [
{
"enabled": false,
"ipRange": {
"startAddress": "string",
"endAddress": "string"
},
"maxLeaseTime": 0,
"defaultLeaseTime": 0
}
],
"mode": "string",
"ipAddress": "string"
}
Whether the DHCP service is currently enabled on network.
The amount of time in seconds of how long a DHCP IP will be leased out for. The minimum is 60s while the maximum is 4,294,967,295s, which is roughly 49,710 days.
This value describes how the DHCP service is configured for this network. Once a DHCP service has been created, the mode attribute cannot be changed. The mode field will default to 'EDGE' if it is not provided. This field only applies to networks backed by an NSX-T network provider.
- The supported values are EDGE and NETWORK.
- If EDGE is specified, the DHCP service of the edge is used to obtain DHCP IPs.
- If NETWORK is specified, a DHCP server is created for use by this network.
The IP address of the DHCP service. This is required upon create if using NETWORK mode. This field only applies to networks backed by an NSX-T network provider.
The specified resource was not found
{
"minorErrorCode": "string",
"message": "string",
"stackTrace": "string"
}
minorErrorCode
message
stackTrace