[{"label":"Latest (v1.1)","version":"latest"}]
vmc

Post Customer Zone Mapping

Description

Creates a task to re-map customer’s datacenters across zones.

Request

Request

URL

URL


post
https://vmc.vmware.com/vmc/api/orgs/{org}/account-link/map-customer-zones
Copy

Path Parameters

Path Parameters

string
org Required

Organization identifier


Request Body

Request Body

MapZonesRequest of type(s) application/json Required

The zones request information about who to map and what to map.

{
	"connected_account_id": "string",
	"org_id": "string",
	"petronas_regions_to_map": [
		"string"
	]
}
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.

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns Task of type(s) application/json
This response body class contains all of the following: AbstractEntity, InlineTask1
Errors

Errors

401

Unauthorized


403

Forbidden

Code Samples

Code Samples

PowerCLI Client SDK Example

$MapZonesRequest = Initialize-MapZonesRequest -ConnectedAccountId "MyConnectedAccountId" -OrgId "MyOrgId" -PetronasRegionsToMap "MyPetronasRegionsToMap"
Invoke-OrgsOrgAccountLinkMapCustomerZonesPost -Org "MyOrg" -MapZonesRequest $MapZonesRequest

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"connected_account_id":"string","org_id":"string","petronas_regions_to_map":["string"]}' https://vmc.vmware.com/vmc/api/orgs/{org}/account-link/map-customer-zones
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-vmc-ui-servicename: customer-zone-mapping
x-vmw-vapi-methodname: post


Feedback

Was this page helpful?