gaussdbfornosql__SwitchToSlave
Demote a primary GaussDB NoSQL instance to a standby when a disaster recovery relationship is already configured, using the instance and project IDs.
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__SwitchToSlave"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | 租户在某一region下的project ID。 | |
| instance_id | Yes | 实例ID。 |