NSX-T Data Center REST API

To get MP2Policy promotion stats. (Deprecated)

To get MP2Policy promotion stats.
This gives detailed information about promotion progess per resource type
like what's the promotion status, how many resources has been promoted etc.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX. Deprecated: This API is deprecated. The MP2Policy promotion tool will not be supported from VCF 9.0 release.

Request:

Method:
GET
URI Path(s):
/api/v1/migration/mp-to-policy/stats
Request Headers:
n/a
Query Parameters:
MigrationStatsRequestParameters+
Request Body:
n/a

Successful Response:

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

Example Response:

{ migration_stats:[ { "resource_type" :"TIER0", "migration_status" : "COMPLETED", "total_count" : "50", "migrated_count" : "50", "failed_count" : 0 }, { "resource_type" :"TIER1", "migration_status" : "IN PROGRESS", "total_count" : "25", "migrated_count" : "20", "failed_count" : 5 }, { "resource_type" :"SEGMENT", "migration_status" : "NOT STARTED", "total_count" : "10", "migrated_count" : "0", "failed_count" : "0" } ], total_count : 85 }

Required Permissions:

crud

Feature:

utilities_upgrade

Additional Errors: