修改集群配置

接口URL

/api/v1/cluster/tidbs/{clusterID}/parameters/config

请求方式

POST

路径变量

参数名 示例值 参数描述
clusterID - -

请求Body参数

{
  "Value": "100",
  "Popular": true,
  "Name": "log.file.max-size",
  "OldValue": "300",
  "InstanceType": "pd"
}
参数名 示例值 参数类型 是否必填 参数描述
Value 100 String 配置新值
Popular true Boolean 是否为常用配置
Name log.file.max-size String 配置名
OldValue 300 String 配置原值
InstanceType pd String 实例类型

Content-Type

json

认证方式

noauth

成功响应示例

{
    "Data": null,
    "Success": true
}
参数名 示例值 参数类型 参数描述
Data null Null -
Success true Boolean -
© 2024 平凯星辰(北京)科技有限公司 all right reserved,powered by GitbookFile Modify: 2024-04-02 15:37:04

results matching ""

    No results matching ""