System Administration > Lifecycle Management > Migration > Stats

Get migration stats for logical constructs phase

Get migration stats for logical constructs phase. This API can be polled for getting runtime progress of the migration from source to target.

Request:

Method:
GET
URI Path(s):
/api/v1/migration/logical-constructs/stats
Request Headers:
n/a
Query Parameters:
ListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/migration/logical-constructs/stats

Successful Response:

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

Example Response:

{ "cursor" : "0036cd429462-4716-4ada-a66b-e4c78504a399", "result_count" : 1, "results": { [ { "source_type": "dvportgroup", "source_count": "50", "target_type": "Segment", "target_count": "18" } ] } }

Required Permissions:

read

Feature:

utilities_upgrade

Additional Errors: