NSX-T Data Center REST API
Create NSServiceGroup
Creates a new NSServiceGroup which can contain NSServices.A given NSServiceGroup can contain either only ether type of NSServices
or only non-ether type of NSServices, i.e. an NSServiceGroup cannot
contain a mix of both ether and non-ether types of NSServices.
Request:
Method:
              POST
            URI Path(s):
              
              
                  
                  /api/v1/ns-service-groups
                  
              
            Request Headers:
                n/a
            Query Parameters:
    n/a
  Request Body:
    NSServiceGroup+
  Example Request:
POST https://<nsx-mgr>/api/v1/ns-service-groups { "display_name":"testNSServiceGroup", "members":[{"target_id": "183e372b-854c-4fcc-a24e-05721ce89a61", "target_type": "NSService"}] }Successful Response:
Response Code:
                201 Created
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    NSServiceGroup+
  