Policy > Networking > IP Management > DHCP > DHCP Static Bindings > Segments Bindings (Fixed)

List all DHCP static bindings

Paginated list of all DHCP static binding instances

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-1s/{tier-1-id}/segments/{segment-id}/dhcp-static-binding-configs
/policy/api/v1/global-infra/tier-1s/{tier-1-id}/segments/{segment-id}/dhcp-static-binding-configs
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/tier-1s/{tier-1-id}/segments/{segment-id}/dhcp-static-binding-configs
Request Headers:
n/a
Query Parameters:
PolicyListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/tier-1s/mgw/segments/web_seg/dhcp-static-binding-configs

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
DhcpStaticBindingConfigListResult+

Example Response:

{ "results": [ { "gateway_address": "10.1.1.1", "host_name": "vm1.vmware.com", "ip_address": "30.30.30.175", "mac_address": "11:22:33:44:55:67", "lease_time": 86400, "options": { "option121": { "static_routes": [ { "network": "10.22.12.1/23", "next_hop": "2.2.2.2" }, { "network": "129.0.0.1/32", "next_hop": "0.0.0.0" } ] } }, "resource_type": "DhcpV4StaticBindingConfig", "id": "address1", "display_name": "address1", "path": "/infra/tier-1s/mgw/segments/web1/dhcp-static-binding-configs/address1", "relative_path": "address1", "parent_path": "/infra/tier-1s/mgw/segments/web1", "unique_id": "32fdd5b6-e3e7-4e62-867b-fc805c9de77e", "marked_for_delete": false, "overridden": false, "_system_owned": false, "_create_user": "admin", "_create_time": 1594595467056, "_last_modified_user": "admin", "_last_modified_time": 1594595467058, "_protection": "NOT_PROTECTED", "_revision": 0 } ], "result_count": 1, "sort_by": "display_name", "sort_ascending": true }

Required Permissions:

read

Feature:

policy_segment

Additional Errors: