NSX-T Data Center REST API

Create or update idfw configuration on standalone host level

Update the idfw configuration on standalone host level This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/settings/firewall/idfw/standalone-host-switch-setting
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
StandaloneHostIdfwConfiguration+

Example Request:

{ "idfw_enabled": false, "resource_type": "StandaloneHostIdfwConfiguration", "id": "standalone-host-switch-setting", "display_name": "/infra/settings/firewall/idfw/standalone-host-switch-setting", "_revision": 1 }

Successful Response:

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

Example Response:

{ "idfw_enabled": false, "resource_type": "StandaloneHostIdfwConfiguration", "id": "standalone-host-switch-setting", "display_name": "/infra/settings/firewall/idfw/standalone-host-switch-setting", "path": "/infra/settings/firewall/idfw/standalone-host-switch-setting", "relative_path": "standalone-host-switch-setting", "marked_for_delete": false, "_system_owned": false, "_create_user": "admin", "_create_time": 1558703164396, "_last_modified_user": "admin", "_last_modified_time": 1558780407911, "_protection": "NOT_PROTECTED", "_revision": 2 }

Required Permissions:

crud

Feature:

policy_identity

Additional Errors: