You need to enable JavaScript to run this app.
文档中心
负载均衡

负载均衡

复制全文
下载 pdf
访问控制
ModifyAclAttributes - 修改访问控制策略属性
复制全文
下载 pdf
ModifyAclAttributes - 修改访问控制策略属性
调用 ModifyAclAttributes 接口,修改指定访问策略控制组。​
使用说明​
调用本接口时,若可选参数未进行配置,则该可选参数的配置保持原状。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
Action String 必选 示例值:ModifyAclAttributes​
要执行的操作,取值:ModifyAclAttributes。​
​
Version String 必选 示例值:2020-04-01​
API的版本信息,当前版本为 2020-04-01。​
​
AclId String 必选 示例值:acl-3cj44nv0jhhxc6c6rrtet****​
访问控制策略组ID。​
您可以调用DescribeAcls接口,查询访问控制策略组ID。​
​
AclName String 可选 示例值:myacl​
访问控制策略组的名称。​
  • 必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线(_)和中划线(-)。​
  • 长度限制为1 ~ 128个字符。​
​
Description String 可选 示例值:This is an acl.​
访问控制策略组的描述。​
  • 必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。​
  • 长度限制为0 ~ 255个字符。​
​
​
​
返回参数​
RequestId String 示例值:20210811152539010225146063030****​
请求ID。​
​
​
​
请求示例​
​
GET /?Action=ModifyAclAttributes&Version=2020-04-01&AclId=acl-3cj44nv0jhhxc6c6rrtet****&AclName=myacl&Description=This is an acl.​
Host: clb.cn-beijing.volcengineapi.com​
X-Date: 20251121T094038Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251121/cn-beijing/clb/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "20230604110420****100232280022D31",​
"Action": "ModifyAclAttributes",​
"Version": "2020-04-01",​
"Service": "clb",​
"Region": "cn-beijing"​
},​
"Result": {​
"RequestId": "20210811152539010225146063030****"​
}​
}​
​
错误码​
此处仅展示当前API的错误码,更多错误码请参见公共错误码。​
​
状态码​
错误码​
错误信息​
说明​
400​
InvalidAcl.InvalidStatus​
The specified ACL is not in the correct status for the request.​
指定的 ACL 所处状态无法响应该请求。​
400​
InvalidDescription.Malformed​
The specified Description is malformed.​
指定的 Description 参数格式不合法。​
400​
InvalidName.Malformed​
The specified Name is malformed.​
指定的 Name 参数格式不合法。​
400​
MissingParameter​
The request is missing a required parameter. Ensure that you have supplied all the required parameters for the request; for example, the 'AclId'.​
该请求缺少必要参数。请确保发起请求已提供全部必要参数,比如 AclId。​
400​
MissingParameter​
The request is missing a required parameter. Ensure that you have supplied all the required parameters for the request; for example, the ''.​
该请求缺少必要参数。请确保发起请求已提供全部必要参数,比如 。​
403​
InvalidResourceType.ServcieManaged​
The specified ResourceType is managed by a service.​
指定的资源是服务托管资源。​
404​
InvalidAcl.NotFound​
The specified ACL does not exist.​
指定的 ACL 不存在。​
409​
InvalidAclName.Conflict​
The specified ACL Name already exits.​
指定的 ACL 名称已存在。​
500​
InternalError​
An internal error has occurred.​
发生内部错误。​
​
​
最近更新时间:2026.02.13 10:32:59
这个页面对您有帮助吗?
有用
有用
无用
无用