You need to enable JavaScript to run this app.
导航

修改集群类型

最近更新时间2023.08.14 16:44:50

首次发布时间2023.02.15 19:04:54

本接口用于修改集群类型。

请求参数

名称位置类型是否必填示例值描述
ActionQueryStringUpdateCluster要执行的操作。取值:UpdateCluster
domainBodyStringtest-sparrow.test.test函数域名
clustersBody[]String["test-local"]集群列表
cluster_typeBodyInt32200集群类型
  • 100为灰度集群
  • 200为全量集群

返回数据

请求示例

POST https://veefedge.volcengineapi.com/?Action=UpdateCluster
&<公共请求参数>

{
    "domain": "test-sparrow.test.test",
    "clusters": ["test-local"],
    "cluster_type": 200
}

返回示例

正常返回示例

{
    "ResponseMetadata": {
        "RequestId": "20211207213413010225146063****",
        "Action": "UpdateCluster",
        "Version": "2021-04-30",
        "Service": "veefedge",
        "Region": "cn-north-1"
    }
}