NSX-T Data Center REST API

This api is used to get mapping of MP and Policy objects after Mp to Policy Migration. (Deprecated)

This api is used to get mapping of MP and Policy objects.
resource_type is additional parameter which takes the resource_type enum and give mapping status for that type.
Only one resource_type is supported per API call.
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/migrated-resource-status
Request Headers:
n/a
Query Parameters:
MigratedResourceTypeParameters+
Request Body:
n/a

Successful Response:

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

Example Response:

{ "migrated_resource_mapping": [ { "resource_type": "DFW_SECTION", "promotion_status": "DONE", "promoted_objects_count": "2", "resource_map": [ { "mp_resource_type": "DFW_SECTION", "mp_resource_id": "4dd268ce-a081-48c4-ac3c-027231429b80", "policy_resource_id": "L3_Sec_Dfw6", "policy_resource_path": "/infra/domains/default/security-policies/L3_Sec_Dfw6" }, { "mp_resource_type": "DFW_SECTION", "mp_resource_id": "e140a3f7-b4aa-4def-978b-d95793b388a8", "policy_resource_id": "L3_Sec_Dfw7", "policy_resource_path": "/infra/domains/default/security-policies/L3_Sec_Dfw7" } ] } ] }

Required Permissions:

read

Feature:

utilities_upgrade

Additional Errors: