NSX-T Data Center REST API
Create or update a CommunicationEntry (Deprecated)
Update the CommunicationEntry. If a CommunicationEntry with the communication-entry-idis not already present, this API fails with a 404. Creation of CommunicationEntries
is not allowed using this API.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX. Deprecated: This API is deprecated. Please use the following API instead PUT /infra/domains/domain-id/security-policies/securit-policy-id/rules/rule-id
Request:
Method:
PUT
URI Path(s):
/policy/api/v1/infra/domains/{domain-id}/communication-maps/{communication-map-id}/communication-entries/{communication-entry-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
CommunicationEntry+
Example Request:
{ "description": " comm entry", "display_name": "ce-1", "sequence_number": 1, "source_groups": [ "/infra/domains/vmc_domain/groups/webgroup" ], "logged": false, "destination_groups": [ "/infra/domains/vmc_domain/groups/dbgroup" ], "scope": [ "ANY" ], "action": "DROP", "services": [ "ANY" ], "_revision": 0 }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
CommunicationEntry+