修改扩展域名的证书。
接口说明
说明
性能共享型实例的监听不支持扩展域名。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
slb:SetDomainExtensionAttribute |
update |
*loadbalancer
|
|
无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
是 |
负载均衡实例的地域 ID。 |
cn-hangzhou |
| DomainExtensionId |
string |
是 |
需要修改的扩展域名 ID。 |
de-bp1rp7ta***** |
| ServerCertificateId |
string |
否 |
新的证书 ID。 |
1231579xxxxxxxx_166f8204689_1714763408_709981xxx |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID。 |
149A2470-F010-4437-BF68-343****** |
示例
正常返回示例
JSON格式
{
"RequestId": "149A2470-F010-4437-BF68-343******"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InvalidParameter.DomainExtensionId | The specified DomainExtensionId does not exist. | 指定的扩展域名不存在。 |
| 400 | InvalidParameter.ServerCertificateId | The specified ServerCertificateId does not exist. | 指定的服务证书不存在。 |
| 400 | DomainExtensionProcessing | A previous configuration of the DomainExtension is pending, please try again later. | 指定的扩展域名正在变配中, 请稍后重试。 |
| 400 | IncorrectStatus.DomainExtension | The listener to which the domain extension belongs is being configured, please try again later. | 指定扩展域名所属监听正在变配中, 请稍后重试。 |
| 400 | InvalidParameter.CertificateId | The specified CertificateId contains duplicate certificate EncryptionAlgorithm. | 指定的证书包含重复的证书加密算法。 |
| 400 | InvalidParamSize.CertificateId | The size of parameter CertificateId is invalid. | 指定的CertificateId无效。请检查参数约束,并在修改后重试。 |
| 400 | MissingParameter.CertificateId | The parameter CertificateId is required. | 参数CertificateId缺失。 |
| 400 | InvalidParameter.RegionNotSupport | The region does not support the parameter: %s. | 当前区域不支持指定参数。 |
| 400 | CertificateTypeMismatched | The certificate type does not match. | 指定证书的类型不匹配。 |
| 400 | SPEC_NOT_SUPPORT_PARAMETER | The loadbalancer with share spec does not support the parameter. | |
| 400 | CnCertificateNotSupport | The cn certificate is not support. | 不支持国密证书。 |
| 400 | InvalidParam.CertificateBindingType | The param is invalid. | 指定的CertificateBindingType无效。请检查参数约束,并在修改后重试。 |
| 400 | MissingParam.ServerCertificates | The param ServerCertificates is missing. | 参数ServerCertificates缺失。 |
| 400 | InvalidParamSize.ServerCertificates | The size of param ServerCertificates is invalid. | 指定的ServerCertificates长度无效。请检查参数约束,并在修改后重试。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?