This API is used to migrate a standby DB instance based on service requirements.
Name |
Mandatory |
Description |
|---|---|---|
project_id |
Yes |
Specifies the project ID of a tenant in a region. For details about how to obtain the project ID, see Obtaining a Project ID. |
instance_id |
Yes |
Specifies the DB instance ID. |
Name |
Mandatory |
Type |
Description |
|---|---|---|---|
nodeId |
Yes |
String |
Specifies the ID of the standby DB instance. |
azCode |
Yes |
String |
Specifies the code of the AZ to which the standby DB instance is to be migrated. |
POST https://rds.eu-de.otc.t-systems.com/v3/0483b6b16e954cb88930a360d2c4e663/instances/dsfae23fsfdsae3435in01/migrateslave
{
"nodeId": "0119b1068b874cb4a5202989a06b6094no01",
"azCode": "az2xahz"
}
Name |
Description |
|---|---|
workflowId |
Indicates the workflow ID. For details about how to query this parameter, see Obtaining Task Information. |
{
"workflowId":"7b55d6ca-dc8e-4844-a9da-6c53a1506db3"
}
For details, see Abnormal Request Results.
For details, see Status Codes.
For details, see Error Codes.