Post Customer Zone Mapping
Creates a task to re-map customer's datacenters across zones.
Request
URI
POST
https://{api_host}/vmc/api/orgs/{org}/account-link/map-customer-zones
COPY
Path Parameters
string
org
Required
Organization identifier.
Request Body
The zones request information about who to map and what to map.
MapZonesRequest
of type(s)
application/json
Required
string
connected_account_id
Optional
The connected account ID to remap. This is a standard UUID.
string
org_id
Optional
The org ID to remap in. This is a standard UUID.
array of
string
petronas_regions_to_map
Optional
A list of Petronas regions to map.
Responses
200
OK
Returns
Task
of type(s)
application/json
This response body class contains all of the following:
InlineTask0
{
"updated": "string",
"user_id": "string",
"updated_by_user_id": "string",
"created": "string",
"version": 5,
"updated_by_user_name": "string",
"user_name": "string",
"id": "1d1c83ee-e0b7-4de9-b660-9a9ca1d22f32",
"status": "string",
"localized_error_message": "string",
"resource_id": "string",
"parent_task_id": "string",
"task_version": "string",
"correlation_id": "string",
"start_resource_entity_version": 0,
"sub_status": "string",
"task_type": "string",
"start_time": "string",
"task_progress_phases": [
{
"id": "string",
"name": "string",
"progress_percent": 0
}
],
"error_message": "string",
"org_id": "1d1c83ee-e0b7-4de9-b660-9a9ca1d22f32",
"end_resource_entity_version": 5,
"service_errors": [
{
"default_message": "string",
"original_service": "string",
"localized_message": "string",
"original_service_error_code": "string"
}
],
"org_type": "string",
"estimated_remaining_minutes": 4,
"params": {},
"progress_percent": 75,
"phase_in_progress": "string",
"resource_type": "string",
"end_time": "string"
}
401
Unauthorized
Operation doesn't return any data structure
403
Forbidden
Operation doesn't return any data structure
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/vmc/api/orgs/{org}/account-link/map-customer-zones