修改擴充網域的憑證。
介面說明
說明
效能共享型執行個體的監聽不支援擴充網域。
調試
您可以在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長度無效。請檢查參數約束,並在修改後重試。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。