NSX-T Data Center REST API

Update pim profile

Create or update pim profile.
This API is only available when using VMware NSX.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/pim-profiles/{pim-profile-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
PolicyPimProfile+

Example Request:

{ "rp_address_multicast_ranges" : [ { "rp_address" : "10.10.10.15", "multicast_ranges" : [ "225.0.0.0/16" ] }, { "rp_address" : "10.10.10.14", "multicast_ranges" : [ "225.0.0.0/14" ] } ] }

Successful Response:

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

Example Response:

{ "rp_address_multicast_ranges" : [ { "rp_address" : "10.10.10.15", "multicast_ranges" : [ "225.0.0.0/16" ] }, { "rp_address" : "10.10.10.14", "multicast_ranges" : [ "225.0.0.0/14" ] } ], "resource_type": "PolicyPimProfile", "id": "pim1", "display_name": "pim1", "path": "/infra/pim-profiles/pim1", "relative_path": "pim1", "parent_path": "/infra/pim-profiles/pim1", "marked_for_delete": false, "_create_user": "admin", "_create_time": 1556142970700, "_last_modified_user": "admin", "_last_modified_time": 1556227612772, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 3 }

Required Permissions:

crud

Feature:

policy_profiles

Additional Errors: