Region Mapping for a subclient
Select
SaaS
Customer Managed
This operation is used to add source and destination regions to an RDS subclient.
Path Parameters
- Secondarysnapcopyid integer required
Id of the secondary snap copy from the plan.
- application/json
Request Body
regionMap object[]
Responses
- 200
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "",
"errorCode": 0
}
Not Found
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Please enter valid subclient id",
"errorCode": 0
}
POST /replication/:secondarysnapcopyid/regionmapping
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Replication/:Secondarysnapcopyid/RegionMapping' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"regionMap": [
{
"sourceRegion": "string",
"destinationRegion": "string",
"subClient": {
"subclientId": 0
}
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Replication/:Secondarysnapcopyid/RegionMapping' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"regionMap": [
{
"sourceRegion": "string",
"destinationRegion": "string",
"subClient": {
"subclientId": 0
}
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Replication/:Secondarysnapcopyid/RegionMapping' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"regionMap": [
{
"sourceRegion": "string",
"destinationRegion": "string",
"subClient": {
"subclientId": 0
}
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Replication/:Secondarysnapcopyid/RegionMapping' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"regionMap": [
{
"sourceRegion": "string",
"destinationRegion": "string",
"subClient": {
"subclientId": 0
}
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Replication/:Secondarysnapcopyid/RegionMapping' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"regionMap": [
{
"sourceRegion": "string",
"destinationRegion": "string",
"subClient": {
"subclientId": 0
}
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Replication/:Secondarysnapcopyid/RegionMapping' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"regionMap": [
{
"sourceRegion": "string",
"destinationRegion": "string",
"subClient": {
"subclientId": 0
}
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Replication/:Secondarysnapcopyid/RegionMapping' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"regionMap": [
{
"sourceRegion": "string",
"destinationRegion": "string",
"subClient": {
"subclientId": 0
}
}
]
}'