System Administration > Lifecycle Management > Migration > User Inputs

Get the switch set as current scope for migration

The user is returned the switch (DVS/VSS) set as current scope of migration.

Request:

Method:
GET
URI Path(s):
/api/v1/migration/switch
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/migration/switch

Successful Response:

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

Example Response:

{ "id" : "dvs2", "name" : "DVSwitchB" "kind" : "DVS" }

Required Permissions:

read

Feature:

utilities_upgrade

Additional Errors: