日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

UpdateDNSServiceRuleAttribute - 修改DNS授權規則

修改DNS授權規則。

調試

您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。

授權信息

當前API暫無授權信息透出。

請求參數

名稱類型必填描述示例值
IoTCloudConnectorIdstring

云連接器實例 ID。

iotcc-1y6h8z7imd2yu4****
DNSServiceRuleIdstring

DNS 授權規則 ID。

ar-r56ijpurlu50gi****
ServiceTypestring

DNS 授權規則的目標類型。取值:

  • Normal:普通類型。

  • DNSRedirect:重定向類型,重定向類型指將當前 DNS 服務地址重定向至另一個地址。

Normal
Destinationstring

重定向后的 DNS 服務地址。

說明 ServiceType 參數取值為 DNSRedirect 時,該參數必選。
192.168.0.2
Sourcestring

源 DNS IP 地址。包括但不限于以下取值:

100.100.2.136100.100.2.137100.100.2.138114.114.114.1148.8.8.88.8.4.4223.5.5.5223.6.6.6221.5.88.88116.116.116.116221.228.15.2661.139.2.69218.6.200.139119.29.29.29218.2.2.2208.67.220.220208.67.222.222218.4.4.4

除以上默認的 DNS 授權規則的 IP,如有其他 DNS 授權規則的 IP 訴求,請提交工單,并在工單中附上需要申請的 DNS 授權規則的 IP。

100.100.2.138
DNSServiceRuleNamestring

DNS 授權規則名稱。

長度為 2~128 個英文或中文字符,開頭必須為大小寫英文字母或中文,可包含數字、半角句號(.)、下劃線(_)和短劃線(-)。

test
DNSServiceRuleDescriptionstring

DNS 授權規則描述。

長度為 2~256 個字符,開頭必須為大小寫英文字母或中文,但不能為http://https://

description
ClientTokenstring

客戶端 Token,用于保證請求的冪等性。

從您的客戶端生成一個參數值,確保不同請求間該參數值唯一。ClientToken 只支持 ASCII 字符。

說明 若您未指定,則系統自動使用 API 請求的 RequestId 作為 ClientToken 標識。每次 API 請求的 RequestId 可能不一樣。
123e4567-e89b-12d3-a456-426655440000
DryRunboolean

是否只預檢此次請求。取值:

  • true:發送檢查請求,不會修改 DNS 授權規則。檢查項包括是否填寫了必需參數、請求格式、業務限制。如果檢查不通過,則返回對應錯誤。如果檢查通過,則返回錯誤碼DryRunOperation
  • false(默認值):發送正常請求,通過檢查后返回 HTTP 2xx 狀態碼并直接進行修改。
false
RegionIdstring

DNS 授權規則所在的地域 ID。

您可以通過調用 ListRegions 接口獲取地域 ID。

cn-hangzhou

返回參數

名稱類型描述示例值
object
RequestIdstring

請求 ID。

BC6D1C1D-6DBD-568C-B867-BC9CA699ED01

示例

正常返回示例

JSON格式

{
  "RequestId": "BC6D1C1D-6DBD-568C-B867-BC9CA699ED01"
}

錯誤碼

HTTP status code錯誤碼錯誤信息描述
400Forbidden.RAMRam user does not have permission to perform this operation.RAM用戶無權限執行此操作。
400OperationDenied.NoParamModifyThe operation is not allowed because of no param modified.-
400ResourceNotFound.IoTCloudConnectorThe param of IoTCloudConnectorId is illegal.IoTCloudConnectorId參數非法
400QuotaExceeded.sourceCidrLimitThe quota of SourceCidrsPerAuthorizationRule is exceededSourceCidrsPerAuthorizationRule quota超出
400QuotaExceeded.authorizationRuleInstanceLimitThe quota of AuthorizationRulePerIotCC is exceeded-
400IllegalParamFormatThe param is illegal.-
400IllegalParamThe param is illegal.參數非法
400ResourceInConfiguring.IoTCloudConnectorThe specified resource of IoTCloudConnector is configuring, please try again later.iotcc狀態非穩態,或者鎖沖突
400ResourceNotFound.AuthorizationRuleThe param of AuthorizationRuleId is illegal.AuthorizationRuleId非法
400IllegalParam.DestinationThe param of Destination is illegal.Destination無效
400OperationDenied.CC5GInstanceNotSupportThe operation is not allowed because of CC5G instance not support.CC5G托管實例不支持此操作。

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