dis__UpdateStream
Updates a specified DIS stream's configuration, including data type, schema, retention duration, and auto-scaling settings.
Instructions
[DIS] 本接口用于更新指定通道的通道信息。
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": {
"project_id": "<project_id>",
"stream_name": "<stream_name>"
},
"name": "dis__UpdateStream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_type | No | 源数据类型。 | |
| project_id | Yes | 项目ID。 | |
| data_schema | No | 用于描述用户JSON、CSV格式的源数据结构,采用Avro Schema的语法描述。 | |
| stream_name | Yes | 待更新的通道名称。 | |
| data_duration | No | 数据保留时长。 | |
| auto_scale_enabled | No | 是否开启自动扩缩容。 | |
| auto_scale_max_partition_count | No | 当自动扩缩容启用时,自动扩容的最大分片数。 | |
| auto_scale_min_partition_count | No | 当自动扩缩容启用时,自动缩容的最小分片数。 |