NSX-T Data Center REST API
Set the switch as current scope for migration
The user specifies a DVS / VSS as the current scope of migration.Request:
Method:
              PUT
            URI Path(s):
              
                /api/v1/migration/switch
                
              
            Request Headers:
                n/a
            Query Parameters:
    n/a
  Request Body:
    MigrationSwitchInfo+
  Example Request:
PUT https://<nsx-mgr>/api/v1/migration/switch { "id" : "dvs2", "name" : "DVSwitchB" "kind" : "DVS" }Successful Response:
Response Code:
                200 OK
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    MigrationSwitchInfo+