gaussdbfornosql__SwitchToMaster
Promotes a standby GaussDB for NoSQL instance to primary within a configured disaster recovery relationship, with an optional force switch when required.
Instructions
[GAUSSDBFORNOSQL] 该接口用于对已经搭建容灾关系的实例,将备实例升级为主实例。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"instance_id": "<instance_id>",
"project_id": "<project_id>"
},
"name": "gaussdbfornosql__SwitchToMaster"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | 是否强制备实例升主。 | |
| project_id | Yes | 租户在某一region下的project ID。 | |
| instance_id | Yes | 实例ID。 |