ModifyDBClusterAccessWhiteList_云原生数据仓库AnalyticDB MySQL版_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.

流控信息

请求速率为500/1(s)。

授权信息

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

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
adb:ModifyDBClusterAccessWhiteList
Update
DBCluster
acs:adb:{#regionId}:{#accountId}:dbcluster/{#DBClusterId}

请求参数

字段名称字段详情
DBClusterIdstring

集群 ID。

示例值:rm-uf6wjk5xxxxxxxxxx参考取值来源:
    ModifyDBCluster
    CreateDBCluster
    DescribeDBClusters
SecurityIpsstring

集群的 IP 白名单,多个 IP 地址之间以英文逗号(,)隔开,不可重复,最多 500 个。支持如下两种格式:展开详情

示例值:10.23.12.24
DBClusterIPArrayNamestring

需要修改的 IP 白名单分组名称,默认操作 Default 分组。展开详情

示例值:test参考取值来源:
    DescribeDBClusterAccessWhiteList
DBClusterIPArrayAttributestring

白名单分组属性,默认为空。展开详情

示例值:hidden参考取值来源:
    DescribeDBClusterAccessWhiteList
ModifyModestring

修改白名单的方式。取值:展开详情

示例值:Cover

返回参数

字段名称字段详情
TaskIdinteger<int32>

任务 ID。

示例值:1564657730
RequestIdstring

请求 ID。

示例值:D0CEC6AC-7760-409A-A0D5-E6CD8660E9CC
DBClusterIdstring

集群 ID。

示例值:rm-uf6wjk5xxxxxxxxxx

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
SecurityIPList.Duplicate
The specified IP address is duplicate.诊断
400
InvalidSecurityIPList.Malformed
The specified SecurityIPList is incorrectly formatted.诊断
400
InvalidSecurityIPList.Duplicate
Specified security IP list is not valid: Duplicate IP address in the list诊断
404
InvalidDBCluster.NotFound
The DBClusterId provided does not exist in our records.诊断

变更历史

变更时间变更内容概要操作
2023-04-06
变更错误码400
2022-03-31
新增错误码400

相关示例

调用ModifyDBClusterAccessWhiteList接口修改集群白名单。
2022-04-29