NSX-T Data Center REST API
Create or Update a sub-cluster
Create or update a sub-cluster under a compute collection.Maximum number of sub-clusters that can be created under
a compute collection is 16.
Request:
Method:
              PUT
            URI Path(s):
              
                /policy/api/v1/infra/sites/{site-id}/enforcement-points/{enforcementpoint-id}/sub-clusters/{subcluster-id}
                
              
            Request Headers:
                n/a
            Query Parameters:
    n/a
  Request Body:
    SubCluster+
  Example Request:
PUT https://<policy-mgr>/policy/api/v1/infra/sites/default/enforcement-points/default/sub-clusters/cluster-1 { "compute_collection_id": "0d25110c-b483-4e6e-95e4-f7b904b297bf:domain-c9", "sub_cluster_info": { "sub_cluster_type": "MANUAL", "discovered_node_ids": [ "57e6560e-acd3-4783-baa0-59143307524b:host-1043", "47e6560e-acd3-4783-baa0-59143307524b:host-1044", "37e6560e-acd3-4783-baa0-59143307524b:host-1045" ] } }Successful Response:
Response Code:
                200 OK
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    SubCluster+