NSX-T Data Center REST API
Create or replace SpoofGuard profile
API will create or replace SpoofGuard profile.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/spoofguard-profiles/<spoofguard-profile-id>
/policy/api/v1/global-infra/spoofguard-profiles/<spoofguard-profile-id>
/policy/api/v1/global-infra/spoofguard-profiles/<spoofguard-profile-id>
Request Headers:
n/a
Query Parameters:
OverrideRequestParameters+
Request Body:
SpoofGuardProfile+
Example Request:
PUT https://<policy-mgr>/policy/api/v1/infra/spoofguard-profiles/spoofguardprofile_1 { "resource_type": "SpoofGuardProfile", "id": "spoofguardprofile_1", "display_name": "spoofguardprofile_1", "path": "/infra/spoofguard-profiles/spoofguardprofile_1", "parent_path": "/infra/spoofguard-profiles/spoofguardprofile_1", "relative_path": "spoofguardprofile_1", "address_binding_allowlist": true, "_revision": 0 }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
SpoofGuardProfile+