SetVodDomainCertificate_视频点播_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(上海)

流控信息

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

授权信息

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

具体说明如下:展开详情

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

请求参数

字段名称字段详情
DomainNamestring

指定证书所属加速域名。需属于 HTTPS 加速类型。

示例值:example.com参考取值来源:
    AddVodDomain
    DescribeVodDomainBpsData
CertNamestring

证书名称。

示例值:cert_name
SSLProtocolstring

HTTPS 证书是否启用。取值:展开详情

示例值:off
SSLPubstring

安全证书内容。不启用证书则无需输入,配置证书请输入证书内容。

示例值:****
SSLPristring

私钥内容。不启用证书则无需输入,配置证书请输入私钥内容。

示例值:****

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

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

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
InvalidSSLProtocol.ValueNotSupported
The specified value of parameter SSLProtocol is not supported.诊断
400
SSLPub.MissingParameter
An input parameter "SSLPub" that is mandatory for processing the request is not supplied.诊断
400
SSLPri.MissingParameter
An input parameter "SSLPri" that is mandatory for processing the request is not supplied.诊断
400
InvalidSSLPub
The SSLPub you provided is malformed!诊断
400
InvalidSSLPri
The SSLPri you provided is malformed!诊断
400
Certificate.MissMatch
The SSLPri does not math the specified Certificate!诊断
400
InvalidCertificate.TooLong
The Certificate you provided is over the max length!诊断
400
InvalidCertName.TooLong
The Certificate name you provided is over the max length 128!诊断
400
Certificate.NotPermittedOff
Turn off certificate will change domain scheduling, please contact customer service诊断
400
Certificate.SetNotEffect
Certificate was successfully set but doesn't take effect for protecting current service. Please contact customer service.诊断
400
AuthenticationFailed
Authentication failed.诊断
400
SetDomainCertificate.ParameterError
Parameters have error.诊断
400
InvalidSSLPubOrInvalidSSLPri
The SSLPri or SSLPub you provided is malformed!诊断
400
Certificate.StatusError
Certificate is not exist or its status is error.诊断
400
DeleteFailed
Delete certificate is failed.诊断
400
Certificate.NotFind
Not find the certificate info.诊断
400
Certificate.Duplicated
The certificate name is duplicated.诊断
400
Certificate.FormatError
The certificate format is error.诊断
400
Certificate.KeyNull
The private key is not null.诊断
400
Key.Malformed
The private key format is error.诊断
400
CertStorage.failed
The certificate storage failed.诊断
400
CertificateContent.Duplicated
The certificate is already uploaded, please don't upload again.诊断
400
Certificate.Expired
The certificate is expired.诊断
400
InvalidDomain.notOnline
The domain is not online, please check the domain status and try again later.诊断
400
Decode.Error
The certificate sslpub or sslpri decode error.诊断
400
sslPub.Error
The SSLPub encoded failed.诊断
400
sslPri.Error
The SSLPri encoded failed.诊断
400
DomainInSafeMode
This domain is in the safe mode. if you want to do this operation, please contact us!诊断
400
DomainInProtectedMode
This domain is in the protected mode. if you want to do this operation, please contact us!诊断
403
IllegalOperation
Illegal domain operate is not permitted.诊断
403
ServiceBusy
The specified Domain is configuring, please retry later诊断

变更历史

暂无变更历史

相关示例

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