NSX-T Data Center REST API

Update the Antrea heartbeat configuration

This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/sites/<site-id>/enforcement-points/<enforcementpoint-id>/cluster-control-planes/<cluster-control-plane-id>/heartbeat-config
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
AntreaHeartbeatConfig+

Example Request:

PUT https://<policy-mgr>/policy/api/v1/infra/sites/default/enforcement-points/default/cluster-control-planes/cluster01/heartbeat-config { "report_interval": 60, "_revision": 0 }

Successful Response:

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

Example Response:

{ "report_interval": 60, "resource_type": "AntreaHeartbeatConfig", "id": "heartbeat-config", "display_name": "heartbeat-config", "path": "/infra/sites/default/enforcement-points/default/cluster-control-planes/cluster01/heartbeat-config", "relative_path": "heartbeat-config", "parent_path": "/infra/sites/default/enforcement-points/default/cluster-control-planes/cluster01", "unique_id": "3eac8977-1361-4abc-8379-3fae99d36ffd", "realization_id": "3eac8977-1361-4abc-8379-3fae99d36ffd", "marked_for_delete": false, "overridden": false, "_system_owned": false, "_protection": "NOT_PROTECTED", "_create_user": "admin", "_create_time": 1623241055802, "_last_modified_user": "admin", "_last_modified_time": 1623399640889, "_revision": 2 }

Required Permissions:

crud

Feature:

policy_ops

Additional Errors: