This API is used to change the failover priority for primary/standby DB instances to meet different service requirements. You can select Reliability First or Availability First.
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 |
---|---|---|---|
repairStrategy |
Yes |
String |
Specifies the failover priority. Valid value:
|
PUT https://rds.eu-de.otc.t-systems.com/v3/0483b6b16e954cb88930a360d2c4e663/instances/dsfae23fsfdsae3435in01/failover/strategy
{ "repairStrategy": "availability" }
{}
For details, see Abnormal Request Results.
For details, see Status Codes.
For details, see Error Codes.