Get MP Policy Post Promotion Mapping
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 deprecated. The MP2Policy promotion tool will not be supported from VCF 9.0 release.
Opaque cursor to be used for getting next page of records (supplied by current result page)
Comma separated list of fields that should be included in query result
Maximum number of results to return in this page (server may return fewer)
Resource type
sort_ascending
Field by which records are sorted
OK
{
"migrated_resource_mapping": [
{
"failed_mp_resources": [
{
"error_list": [
{
"error_desc": "string",
"error_id": "string"
}
],
"mp_resource_id": "string",
"mp_resource_type": "string",
"policy_resource_id": "string",
"policy_resource_path": "string"
}
],
"failed_objects_count": 0,
"promoted_objects_count": 0,
"promotion_status": "string",
"resource_map": [
{
"error_list": [
{
"error_desc": "string",
"error_id": "string"
}
],
"mp_resource_id": "string",
"mp_resource_type": "string",
"policy_resource_id": "string",
"policy_resource_path": "string"
}
],
"resource_type": "string",
"total_count": 0
}
]
}
Promotion stats list results.
curl -H 'Authorization: <value>' https://{api_host}/api/v1/migration/mp-to-policy/migrated-resource-status