NSX-T Data Center REST API
Update an Existing Section, Including Its Position (Deprecated)
Modifies an existing firewall section along with its relative positionamong other firewall sections in the system. Simultaneous update (modify)
operations on same section are not allowed to prevent overwriting stale
contents to firewall section. If a concurrent update is performed, HTTP
response code 409 will be returned to the client operating on stale data.
That client should retrieve the firewall section again and re-apply its
update.
Deprecated:
Use the following Policy API -
POST /policy/api/v1/infra/domains/<domain-id>/security-policies/<security-policy-id>?action=revise
Request:
Method:
POST
URI Path(s):
/api/v1/firewall/sections/{section-id}?action=revise
Request Headers:
n/a
Query Parameters:
FirewallInsertParameters+
Request Body:
FirewallSection+
Example Request:
{ "resource_type": "FirewallSection", "id": "2111d18f-27ba-4f19-a51d-2173c3972410", "display_name": "Layer3 Section with Rules", "section_type": "LAYER3", "stateful": true, "_revision": 0 }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
FirewallSection+