BatchSetVodDomainConfigs_视频点播_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.

接口说明

  • 目前服务地址仅支持:华东 2(上海)
  • 一次最多支持配置 50 个域名。
  • 调用本接口给域名配置某些功能后,将会生成唯一的 ConfigId,通过 ConfigId 可以完成更新和删除域名配置的操作。本接口调用成功后不返回 ConfigId,需要通过 DescribeVodDomainConfigs 接口查询。

流控信息

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

授权信息

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

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
vod:BatchSetVodDomainConfigs
Update
全部资源
*

请求参数

字段名称字段详情
DomainNamesstring

点播加速域名。多个域名之间使用半角逗号(,)分隔。一次最多支持配置 50 个域名。

示例值:example.com参考取值来源:
    DescribeVodDomainDetail
Functionsstring

功能列表。展开详情

示例值:[{"functionArgs":[{"argName":"domain_name","argValue":"www.example.com"}],"functionName":"set_req_host_header"}]

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

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

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
InvalidFunctions.Malformed
The specified Functions is incorrectly formatted.诊断
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%s
The specified value of ArgName[%s] is missing.诊断
400
InvalidFunctionArgs.Malformed
The specified FunctionArgs is invalid.诊断
400
MissingParameter
The specified ArgValue is missing.诊断
400
InvalidHeaderKey.ValueNotSupported
The specified value of parameter HeaderKey is not supported.诊断
400
TooManyDomains
The count of domain is over 50.诊断
400
InvalidRule.Malformed
%s诊断
400
InvalidFunction.NotSupported
The domain is not supported to set the function.诊断
400
InvalidDomain.BelongToConfigGroup
This Domain activated in configuration group and should modify by config group.诊断
400
EntityNotExist.Role
EntityNotExist.Role诊断
400
MissingParameterFunctions
The specified value of Functions is missing.诊断
400
NoPermission.SLR
The current user does not have permission to create servicelinkedrole. Please contact the Alibaba Cloud account or administrator to authorize AliyunCDNFullAccess or custom policy:Service Name:cdn-ddos.cdn.aliyuncs.com,Role: AliyunServiceRoleForCDNAccessingDDoS,Permission: ram: CreateServiceLinkedRole诊断
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
ConfigurationConflicts
Failed to modify the parameter settings in the production environment because the parameter settings are different from those in the staging environment. Set parameters in the staging environment before you publish them to the production environment.诊断

变更历史

变更时间变更内容概要操作
2023-05-19
变更错误码400
2023-05-16
变更错误码400

相关示例

配置域名,查询域名配置,删除域名配置,设置域名证书,获取证书列表,获取域名证书信息
2022-03-14
2024年08月20日