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

负载均衡

复制全文
下载 pdf
个性化配置
DescribeCustomizedCfgAttributes - 查询指定个性化配置详细信息
复制全文
下载 pdf
DescribeCustomizedCfgAttributes - 查询指定个性化配置详细信息
调用 DescribeCustomizedCfgAttributes 接口,查询指定个性化配置详细信息。​
使用说明​
每秒最多提交 40 个 API 请求。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action string 必选 示例值:DescribeCustomizedCfgAttributes​
要执行的操作,取值:DescribeCustomizedCfgAttributes。​
​
Version string 必选 示例值:2020-04-01​
API的版本,取值:2020-04-01。​
​
CustomizedCfgId string 必选 示例值:ccfg-3cj44nv0jhhxc6c6rrtet****​
要查询的个性化配置 ID。​
​
​
​
返回参数​
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。​
RequestId string 示例值:20210811152539010225146063030****​
请求 ID 。​
​
CustomizedCfgId string 示例值:ccfg-3cj44nv0jhhxc6c6rrtet****​
个性化配置的 ID 。​
​
CustomizedCfgName string 示例值:myCustomizedCfg​
个性化配置的名称。​
​
CreateTime string 示例值:2021-08-11T16:37:37Z​
个性化配置的创建时间。​
​
UpdateTime string 示例值:2021-08-11T16:37:37Z​
个性化配置的最近操作时间。​
​
CustomizedCfgContent string 示例值:client_max_body_size 60M; keepalive_timeout 75s;​
要修改的个性化配置项内容。具体规则如下:​
  • 长度不超过4096字符,不同的配置项之间通过";"分割。​
  • 当前支持的配置项有ssl_protocols、ssl_ciphers、client_max_body_size、keepalive_timeout、proxy_request_buffering、proxy_connect_timeout、add_header、client_header_timeout、proxy_read_timeout、proxy_send_timeout、client_body_timeout、send_timeout和ssl_verify_depth。详细信息参见文末个性化配置项内容。​
​
Status string 示例值:Active​
个性化配置状态。包括Active、Configuring、Creating或者Deleting​
​
Listeners object[] 示例值:--​
个性化配置关联的监听器列表。​
ListenerId string 示例值:lsn-2fek3rgsxhrsw5oxruwec****​
监听器的 ID。​
​
ListenerName string 示例值:mylistener​
监听器的名称。​
​
Port integer 示例值:80​
监听器的端口。​
​
Protocol string 示例值:HTTP​
监听器的协议。​
  • HTTP​
  • HTTPS​
​
​
Description string 示例值:test​
个性化配置的描述。​
​
ProjectName string 示例值:default​
个性化配置所属项目名称。​
​
Tags object[] 示例值:--​
个性化配置关联的标签。​
Key string 示例值:key​
用户标签的标签键。​
​
Value string 示例值:value​
用户标签的标签值。​
​
​
​
​
请求示例​
​
GET /?Action=DescribeCustomizedCfgAttributes&CustomizedCfgId=ccfg-3lk5o0tulupdswet340b****&Version=2020-04-01 HTTP/1.1​
Host: alb.cn-beijing.volcengineapi.com​
X-Date: 20251121T094038Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251121/cn-beijing/alb/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "37f2bcb3-61f1-408a-98c0-ea4add33****",​
"Action": "DescribeCustomizedCfgAttributes",​
"Version": "2020-04-01",​
"Service": "alb",​
"Region": "cn-beijing"​
},​
"Result": {​
"RequestId": "37f2bcb3-61f1-408a-98c0-ea4add33****",​
"CreateTime": "2022-06-10T09:19:16Z",​
"UpdateTime": "2022-06-10T09:19:16Z",​
"CustomizedCfgId": "ccfg-3lk5o0tulupdswet340b****",​
"CustomizedCfgContent": "client_max_body_size 60M;keepalive_timeout 75s;",​
"CustomizedCfgName": "yxl-test-1",​
"Description": "yxl-test",​
"Status": "Active",​
"Listeners": []​
}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
Invalid%s.Malformed​
MismatchThe specified %s is malformed.​
指定的 %s 参数格式不合法。​
400​
MissingParameter​
The request is missing a required parameter. Ensure that you have supplied all the required parameters for the request; for example, '%s'.​
该请求缺少必要参数。请确保发起请求已提供全部必要参数,比如: %s。​
400​
InvalidParameter​
Data unmarshal failed.​
请求解析失败。​
404​
InvalidCustomizedCfg.NotFound​
The specified CustomizedCfg does not exist.​
指定的个性化配置不存在。​
500​
InternalError​
An internal error has occurred.​
发生内部错误。请稍后重试或联系工程师进一步咨询。​
​
​
最近更新时间:2026.02.27 11:57:39
这个页面对您有帮助吗?
有用
有用
无用
无用