das__ChangeSqlLimitSwitchStatus
Enable or disable SQL throttling for a MySQL database instance by setting the SQL limit switch status through Huawei Cloud DAS.
Instructions
[DAS] 设置SQL限流开关状态。目前仅支持MySQL数据库。
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": {
"datastore_type": "<datastore_type>",
"instance_id": "<instance_id>",
"project_id": "<project_id>",
"switch_status": "<switch_status>"
},
"name": "das__ChangeSqlLimitSwitchStatus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | 项目ID | |
| instance_id | Yes | 实例ID | |
| switch_status | Yes | 开关状态 | |
| datastore_type | Yes | 数据库类型 |