全部產品
Search
文件中心

Server Load Balancer:SetDomainExtensionAttribute - 修改擴充網域名稱的認證

更新時間:Apr 21, 2026

修改擴充網域名稱的認證。

介面說明

說明

效能共用型執行個體的監聽不支援擴充網域名稱。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

下表是API對應的授權資訊,可以在RAM權限原則語句的Action元素中使用,用來給RAM使用者或RAM角色授予調用此API的許可權。具體說明如下:

  • 操作:是指具體的許可權點。

  • 存取層級:是指每個操作的存取層級,取值為寫入(Write)、讀取(Read)或列出(List)。

  • 資源類型:是指操作中支援授權的資源類型。具體說明如下:

    • 對於必選的資源類型,用前面加 * 表示。

    • 對於不支援資源級授權的操作,用全部資源表示。

  • 條件關鍵字:是指雲產品自身定義的條件關鍵字。

  • 關聯操作:是指成功執行操作所需要的其他許可權。操作者必須同時具備關聯操作的許可權,操作才能成功。

操作

存取層級

資源類型

條件關鍵字

關聯操作

slb:SetDomainExtensionAttribute

update

*loadbalancer

acs:slb:{#regionId}:{#accountId}:loadbalancer/{#loadbalancerId}

  • slb:tag

請求參數

名稱

類型

必填

描述

樣本值

RegionId

string

Server Load Balancer執行個體的地區 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長度無效。請檢查參數約束,並在修改後重試。

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情