dws__CreateDatabaseUser
Creates a database user or role in a specified DWS cluster, including login credentials, connection limits, and privilege grants.
Instructions
[DWS] 创建数据库用户/角色。
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": {
"cluster_id": "<cluster_id>",
"name": "<name>",
"project_id": "<project_id>",
"type": "<type>"
},
"name": "dws__CreateDatabaseUser"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| desc | No | **参数解释**: | |
| name | Yes | **参数解释**: | |
| type | Yes | **参数解释**: | |
| login | No | **参数解释**: | |
| inherit | No | **参数解释**: | |
| password | No | **参数解释**: | |
| create_db | No | **参数解释**: | |
| cluster_id | Yes | **参数解释**: | |
| conn_limit | No | **参数解释**: | |
| grant_list | No | **参数解释**: | |
| project_id | Yes | **参数解释**: | |
| create_role | No | **参数解释**: | |
| system_admin | No | **参数解释**: | |
| grant_members | No | **参数解释**: | |
| logical_cluster | No | **参数解释**: | |
| password_disable | No | **参数解释**: |