ModifyDBClusterEndpoint_云数据库 PolarDB_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

流控信息

请求速率为200/60(s)。更多流控信息,请前往配额中心查看

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
polardb:ModifyDBClusterEndpoint
Update
dbcluster
acs:polardb:{#regionId}:{#accountId}:dbcluster/{#dbclusterId}

请求参数

字段名称字段详情
DBClusterIdstring

集群 ID。

示例值:pc-*************参考取值来源:
    ModifyDBCluster
    CreateDBCluster
    DescribeDBClusters
    EnableDBClusterServerless
    RestartDBLink
    TransformDBClusterPayType
    DisableDBClusterServerless
DBEndpointIdstring

集群地址 ID。

示例值:pe-**************参考取值来源:
    CreateDBEndpointAddress
    DescribeDBClusterEndpoints
Nodesstring

加入目标地址的读负载节点,多个节点间用英文逗号(,)分隔。 默认为原有节点。展开详情

示例值:pi-**************,pi-*************参考取值来源:
    CreateDBNodes
ReadWriteModestring

读写模式,取值范围如下:展开详情

示例值:ReadWrite
AutoAddNewNodesstring

新节点是否自动加入本地址,取值范围如下: 展开详情

示例值:Enable枚举值:EnableDisable
EndpointConfigstring

集群地址的高级配置,格式为 JSON,目前支持设置一致性级别、事务拆分、主库是否接受读和连接池等。展开详情

示例值:{"ConsistLevel":"1","DistributedTransaction":"on","MasterAcceptReads":"off","ConnectionPersist": "on"}参考取值来源:
    DescribeDBClusterEndpoints
DBEndpointDescriptionstring

地址名称。

示例值:test
SccModestring

节点是否开启全局一致性(高性能模式)功能。取值范围如下:展开详情

示例值:on枚举值:onoff
PolarSccWaitTimeoutstring

全局一致性超时时间

示例值:100
PolarSccTimeoutActionstring

全局一致性超时策略。取值范围如下:展开详情

示例值:0

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:CD3FA5F3-FAF3-44CA-AFFF-BAF869******

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
InvalidEndpointConfig.Malformed
The specified parameter EndpointConfig is not valid.诊断
400
InvalidDBEndpointId.Malformed
The specified parameter DBEndpointId is not valid.诊断
400
InvalidNodes.Malformed
The specified parameter Nodes is not valid.诊断
403
OperationDenied.InstanceType
The operation is not permitted due to instance type.诊断
404
InvalidDBCluster.NotFound
The DBClusterId provided does not exist in our records.诊断
404
EndpointStatus.NotSupport
Current endpoint status does not support this operation.诊断
404
InvalidDBClusterId.Malformed
The specified parameter DBClusterId is not valid.诊断
404
InvalidDBClusterId.NotFound
The DBInstanceId provided does not exist in our records.诊断

变更历史

变更时间变更内容概要操作
2025-03-13
新增错误码403
2024-07-30
新增请求参数SccMode
新增请求参数PolarSccWaitTimeout
新增请求参数PolarSccTimeoutAction
2023-09-12
变更错误码400
变更错误码404
2022-07-25
新增错误码400
变更错误码404