BatchSetDcdnDomainConfigs_全站加速_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.

接口说明

  • 单次配置的域名数量不超过 50 个。
  • 单用户调用频率:30 次/秒。

流控信息

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

授权信息

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

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
dcdn:BatchSetDcdnDomainConfigs
Update
domain
acs:dcdn:*:{#accountId}:domain/{#domainName}

请求参数

字段名称字段详情
DomainNamesstring

加速域名,多个域名用半角逗号(,)分隔,注意以下配置限制:展开详情

示例值:example.com,example.org参考取值来源:
    DescribeDcdnWafDomains
Functionsstring

功能列表,一次传入最多 50 条,格式如下:展开详情

示例值:[{"functionArgs":[{"argName":"switch","argValue":"on"},{"argName":"region","argValue":"*"}],"functionName":"ipv6"}]

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:04F0F334-1335-436C-A1D7-6C044FE73368
DomainConfigListobject

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
InvalidFunctions.Malformed
The specified Functions is invalid.诊断
400
InvalidArgValue.Malformed
The specified ArgValue is invalid.诊断
400
Invalid%s.ValueNotSupported
[%s] is not supported.诊断
400
Invalid%s.Malformed
The specified ArgValue [%s] is invalid.诊断
400
MissingParameter
You must specify ArgValue.诊断
400
InvalidRule.Malformed
%s诊断
400
InvalidHeaderKey.ValueNotSupported
The specified value of parameter HeaderKey is not supported.诊断
400
MissingParameter%s
The specified value of ArgName %s is missing.诊断
400
InvalidParameter
Domain already exists in high ddos.诊断
400
ConfigExceedLimit
Count of config entries exceeds the limit.诊断
400
EdgeScriptCountExceedLimit
The number of rules exceeds the default limit (1). To increase the limit, submit a ticket.诊断
400
EdgeScripOptionsHasInnerConfig
The extension has a background configuration or a parameter of this configuration is invalid. For more information, submit a ticket.诊断
400
EdgeScriptGrammarNotSupport
A background customization rule exists or a parameter of this configuration is invalid. For more information, submit a ticket.诊断
400
EdgeScriptNotSupportJs
JavaScript rules are not supported. For more information, submit a ticket.诊断
400
ServiceInvokeFailed
Failed to invoke service.诊断
400
ConfigParentExceedLimit
Config Parent exceed limit.诊断
400
BatchSetBusinessError
some configs error:%s诊断
400
Function.InvalidParentId
The specified parentId does not exist.诊断
400
Domain.DDosQuotaFull
The user’s domain quota for DDos is full.诊断
400
AccountArrears
The user‘s account is in arrears.诊断
400
DDosExpired
The user‘s DDoS protection has expired.诊断
400
Domain.DDosAlreadyExists
This specified domain has been in DDoS.诊断
400
Domain.PortConfiguring
This specified domain's special ports are configuring.诊断
400
Domain.PortAllocateError
Your port resource allocation failed, please try again in 30 minutes.诊断

变更历史

变更时间变更内容概要操作
2023-10-10
变更返回参数
2023-08-17
变更错误码400
2023-07-26
变更错误码400
2023-06-13
变更错误码400
2023-06-13
变更错误码400
2023-05-23
变更错误码400
2023-03-15
变更错误码400
2022-11-24
变更错误码400

相关示例

DCDN加速域名配置示例
2021-12-16