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

AllocateEipAddress - 申請彈性公網IP(EIP)

申請彈性公網IP(Elastic IP Address,簡稱EIP)。

接口說明

請確保在使用本接口前,您已充分了解 EIP 的收費方式和價格。更多信息,請參見計費概述

調用本接口后將在指定的地域內隨機獲取一個狀態為 Available 的彈性公網 IP。彈性公網 IP 在傳輸層目前只支持解析 ICMP、TCP 和 UDP 協議內容,不支持解析 IGMP 和 SCTP 等協議內容。

調試

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

授權信息

下表是API對應的授權信息,可以在RAM權限策略語句的Action元素中使用,用來給RAM用戶或RAM角色授予調用此API的權限。具體說明如下:

  • 操作:是指具體的權限點。
  • 訪問級別:是指每個操作的訪問級別,取值為寫入(Write)、讀取(Read)或列出(List)。
  • 資源類型:是指操作中支持授權的資源類型。具體說明如下:
    • 對于必選的資源類型,用背景高亮的方式表示。
    • 對于不支持資源級授權的操作,用全部資源表示。
  • 條件關鍵字:是指云產品自身定義的條件關鍵字。
  • 關聯操作:是指成功執行操作所需要的其他權限。操作者必須同時具備關聯操作的權限,操作才能成功。
操作訪問級別資源類型條件關鍵字關聯操作
vpc:AllocateEipAddresscreate
  • Address
    acs:vpc:{#regionId}:{#accountId}:eip/*

請求參數

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

彈性公網 IP 所在的地域 ID。

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

枚舉值:
  • cn-beijingcn-beijing
cn-hangzhou
Bandwidthstring

EIP 的帶寬峰值。單位:Mbps。

  • InstanceChargeType 取值為 PostPaid,且 InternetChargeType 取值為 PayByBandwidth 時,Bandwidth 取值范圍為 1~500

  • InstanceChargeType 取值為 PostPaid,且 InternetChargeType 取值為 PayByTraffic 時,Bandwidth 取值范圍為 1~200

  • InstanceChargeType 取值為 PrePaid 時,Bandwidth 取值范圍為 1~1000

默認值:5 Mbps。

5
Periodinteger

購買時長。

PricingCycle 取值 Month 時,Period 取值范圍為 1~9

PricingCycle 取值 Year 時,Period 取值范圍為 1~5

InstanceChargeType 參數的值為 PrePaid 時,該參數必選,當 InstanceChargeType 參數的值為 PostPaid 時,該參數不填。

1
ISPstring

線路類型。取值:

  • BGP(默認值):BGP(多線)線路。目前全部地域都支持 BGP(多線)線路 EIP。
  • BGP_PRO:BGP(多線)_精品線路。目前僅中國香港、新加坡、日本(東京)、馬來西亞(吉隆坡)、菲律賓(馬尼拉)、印度尼西亞(雅加達)和泰國(曼谷)地域支持 BGP(多線)_精品線路 EIP。

關于 BGP(多線)線路和 BGP(多線)_精品線路的更多信息,請參見 EIP 線路類型

  • 如果您是單線帶寬的白名單用戶,您還可以選擇以下類型:
    • ChinaTelecom:中國電信
    • ChinaUnicom:中國聯通
    • ChinaMobile:中國移動
    • ChinaTelecom_L2:中國電信 L2
    • ChinaUnicom_L2:中國聯通 L2
    • ChinaMobile_L2:中國移動 L2
  • 如果您是杭州金融云用戶,該字段必填,取值:BGP_FinanceCloud
BGP
ActivityIdlong

特殊活動 ID,無需配置此參數。

123456
Netmodestring

網絡類型,僅取值為 public(默認值),表示公網。

public
AutoPayboolean

是否自動付費,取值:

  • false(默認值):不開啟自動付費,生成訂單后需要到訂單中心完成支付。

  • true:開啟自動付費,自動支付訂單。

InstanceChargeType 參數的值為 PrePaid 時,該參數必選;當 InstanceChargeType 參數的值為 PostPaid 時,該參數可不填。

false
PricingCyclestring

包年包月的計費周期,取值:

  • Month(默認值):按月付費。
  • Year:按年付費。

InstanceChargeType 參數的值為 PrePaid 時,該參數必選;當 InstanceChargeType 參數的值為 PostPaid 時,該參數可不填。

Month
InstanceChargeTypestring

EIP 的計費方式,取值:

  • PrePaid:包年包月。

  • PostPaid(默認值):按量計費。

InstanceChargeType 取值為 PrePaid 時,InternetChargeType 必須取值 PayByBandwidth;當 InstanceChargeType 取值為 PostPaid 時,InternetChargeType 可取值 PayByBandwidthPayByTraffic

PostPaid
InternetChargeTypestring

EIP 的計量方式,取值:

  • PayByBandwidth(默認值):按帶寬計費。

  • PayByTraffic:按流量計費。

InstanceChargeType 取值為 PrePaid 時,InternetChargeType 必須取值 PayByBandwidth

InstanceChargeType 取值為 PostPaid 時,InternetChargeType 可取值 PayByBandwidthPayByTraffic

PayByTraffic
ResourceGroupIdstring

資源組 ID。

rg-acfmxazffggds****
ClientTokenstring

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

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

說明 若您未指定,則系統自動使用 API 請求的 RequestId 作為 ClientToken 標識。每次 API 請求的 RequestId 不一樣。
0c593ea1-3bea-11e9-b96b-88e9fe637760
Namestring

EIP 實例的名稱。

長度為 0-128 個字符,不能以http://https://開頭。

說明 創建預付費的 EIP 實例時,不支持設置該參數。
EIP1
Descriptionstring

EIP 實例的描述。

長度為 0-256 個字符,不能以http://https://開頭。

說明 創建預付費的 EIP 實例時,不支持設置該參數。
test
SecurityProtectionTypesarray

安全防護級別。

  • 配置為空時,默認為 DDoS 防護(基礎版)。

  • 配置為AntiDDoS_Enhanced時,表示 DDoS 防護(增強版)。

您最多可以設置 10 個安全防護級別。

string

安全防護級別。

  • 配置為空時,默認為 DDoS 防護(基礎版)。

  • 配置為AntiDDoS_Enhanced時,表示 DDoS 防護(增強版)。

您最多可以設置 10 個安全防護級別。

AntiDDoS_Enhanced
PublicIpAddressPoolIdstring

IP 地址池 ID。

EIP 將從該 IP 地址池中分配。

IP 地址池功能默認不開放。如需使用,請在配額中心申請 IP 地址池功能權益配額。具體操作,請參見通過配額中心提升配額

pippool-2vc0kxcedhquybdsz****
Zonestring

EIP 的可用區。

PublicIpAddressPoolId 中指定的 IP 地址池為云盒業務類型時,該參數默認與 IP 地址池的可用區一致。

如何查看 IP 地址池業務類型,請參見 ListPublicIpAddressPools

ap-southeast-1-lzdvn-cb
IpAddressstring

要指定申請的 EIP 的 IP 地址。

IpAddressInstanceId 參數僅需傳入一個,如果都不傳,系統會隨機申請 EIP。

192.0.XX.XX
InstanceIdstring

要指定申請的 EIP 的實例 ID。

IpAddressInstanceId 參數僅需傳入一個,如果都不傳,系統會隨機申請 EIP。

eip-25877c70gddh****

返回參數

名稱類型描述示例值
object

返回信息列表。

RequestIdstring

請求 ID。

4EC47282-1B74-4534-BD0E-403F3EE64CAF
OrderIdlong

訂單 ID。當 InstanceChargeType(EIP 的計費方式)取值為 PrePaid(包年包月)時,返回該參數。如果 AutoPay(自動付費)未打開,即未開啟自動支付賬單時,請前往訂單中心完成支付。

10
ResourceGroupIdstring

資源組 ID。僅 InstanceChargeType 取值為 PostPaid 時返回。

rg-acfmxazfdgdg****
EipAddressstring

分配的 EIP。僅 InstanceChargeType 取值為 PostPaid 時返回。

192.0.XX.XX
AllocationIdstring

EIP 實例的 ID。

eip-25877c70gddh****

示例

正常返回示例

JSON格式

{
  "RequestId": "4EC47282-1B74-4534-BD0E-403F3EE64CAF",
  "OrderId": 10,
  "ResourceGroupId": "rg-acfmxazfdgdg****",
  "EipAddress": "192.0.XX.XX",
  "AllocationId": "eip-25877c70gddh****"
}

錯誤碼

HTTP status code錯誤碼錯誤信息描述
400COMMODITY_NO_EXISTcommodity is not exist-
400QuotaExceeded.EipElastic IP address quota exceeded-
400InvalidParameterSpecified value of "InternetChargeType" is not valid-
400InvalidParameterSpecified value of "Bandwidth" is not valid.該帶寬不合法。
400InsufficientBalanceYour account does not have enough balance.賬戶余額不足,請先充值再操作。
400QuotaExceeded.EipElastic IP address quota exceeded.彈性公網IP的個數超過額度限制,如果您有更多額度的需求,建議您考慮使用NAT網關。
400ReserveIpFailReserve eip failed.EIP預留失敗。
400InvalidRegion.NotSupportThe specified region does not support.該 RegionId 不支持此操作。
400InvalidBandwidth.MalformedThe specified Bandwidth is invalid.-
400INSTANCE_TYPE_NOT_SUPPORTThe instance type is invalid.-
400QueryParameter.Illegalquery parameter illegal-
400TokenVerfiy.Failedtoken verify failed.-
400OrderFailedThe Account failed to create order.-
400QuotaExceeded.LargeSpecEipElastic IP address with large spec quota exceeded.-
400InvalidResourceGroupIdThe specified ResourceGroupId does not exist.資源組ID不存在。
400PAYFOR.CREDIT_PAY_INSUFFICIENT_BALANCEYour account does not have enough balance.-
400SYSTEM.SALE_VALIDATE_UNEXPECTED_ERRORYou have arrears and do not meet the purchase conditions.-
400Trade_Sync_Create_Sub_ERRORSyncOrderToSub error.-
400InvalidComponent.EipBandwidthMaxThe eip_bandwidth_max component is invalid.-
400OperationFailed.RiskControlRisk control check failed.我們檢測到您的付款方式存在安全風險。請通過電子郵件或控制臺消息中的鏈接繼續驗證,并在驗證后重新提交訂單。
400OperationFailed.SaleValidateValidate sale condition with subArticle failed.使用子項目驗證銷售條件失敗。
400IllegalParam.OrderParamComponentProduct order param has invalid component.-
400OperationFailed.SaleExpressionGet the sales expression exception attached to the item.-
400OperationFailed.CompleteUserInfoComplete user info failed.-
400OperationFailed.QueryPriceQuery price failed when create order.創建訂單時查詢價格失敗。
400OperationFailed.InsufficientEIPEip resource is not enough.-
400OperationFailed.InvokeInnerApiFailed to invoke inner api.-
400OperationFailed.AccountMoneyInvalidAccount money is invalid.-
400OperationFailed.QueryCredtiInfoFailed to query credit info.-
400FrequentPurchase.EIPeip frequent purchase-
400OperationFailed.QueryUserLabelFailed to query user label info.-
400PAY.INSUFFICIENT_BALANCEYour account does not have enough balance.賬號余額不足
400PAY.MAYI_WITHHOLDING_AGREEMENT_ILLEGALUser withhoding argeement is illegal.-
400OrderError.EIPFThe Account failed to create order.-
400IellgalParameter.OwnerAccountThe specified parameter OwnerAccount is not valid.-
400OrderError.EIPThe Account failed to create order.下單失敗
400ResourceNotFound.PublicIpAddressPoolThe specified resource of PublicIpAddressPool is not found.-
400ResourceNotEnough.PublicIpAddressPoolThe specified resource of PublicIpAddressPool is not enough.-
400Mismatch.IpAndPublicIpAddressPoolThe Ip and PublicIpAddressPool are mismatched.-
400CreditPayInsufficientBalanceThe balance is insufficient, please contact your channel partner to increase the balance額度不足,請聯系您的渠道合作伙伴提升額度。
400OperationDenied.NotOpenDdosOriginProtectServiceThe operation is not allowed because of you do not open Ddos Origin Protection Service無法創建DDoS防護(增強版)Eip,因為沒有購買DDoS原生防護服務
400IncorrectStatus.PublicIpAddressPoolThe status of PublicIpAddressPool is incorrect.地址池實例未處于穩態,不允許分配EIP。
400IncorrectStatus.PublicIpAddressPoolThe status of %s [%s] is incorrect.無法分配EIP,因為IP地址池狀態不對
400IllegalParam.IspThe param of %s is illegal.無法分配EIP,因為ISP參數非法
400AccountMoneyValidateErrorThe available amount of the account is insufficient.賬號可用金額不足
400OrderFailed.ConcurrentOperateFailed to create the order due to concurrent operations.創建訂單失敗,因為并發操作。
400OperationFailed.BasicInfoUncompletedYour information is incomplete. Complete your information before the operation.您的基本信息尚未完成,請先完成信息填寫。
400OperationFailed.QuotaNotEnoughYour quota is insufficient. Please contact your channel partner to increase your quota您當前quota配額不足,請您可以聯系渠道伙伴為您增加額度
400ExclusiveParam.ZoneAndPublicIpAddressPoolIdThe Zone and PublicIpAddressPoolId parameters are mutually exclusive.不允許同時傳入參數Zone和PublicIpAddressPoolId
400IllegalParam.ZoneThe specified zone is invalid.參數Zone非法
400OperationFailed.AllocateUnfamiliarIpThe operation failed because only IP addresses used within the last seven days can be allocated.指定EIP申請只允許申請7天內使用過的IP
400Ip.AllocatedThe reserve ip has been allocated.已分配保留ip。
400IncorrectStatus.IpThe status of ip is incorrect.IP的狀態不正確。
400UnsupportedFeature.AllocateEipAddressWithZoneThe feature of AllocateEipAddressWithZone is not supported.當前地域不支持指定Zone創建實例
400ResourceNotFound.IpThe specified ip is not found.找不到指定的IP。
400OperationFailed.CreditPayInsufficientBalanceYour account does not have enough balance.您的賬戶可用額度小于0,請先充值后再嘗試購買。
400OperationFailed.ResourceNotEnoughThe resources you have applied for are insufficient.您申請的資源不足,如仍需申請,請提工單處理
400IllegalParam.BandwidthThe param of bandwidth is illegal.Bandwidth參數非法
400OperationFailed.IpIsLockedThe operation is failed because of ip is locked.申請失敗,IP已經被鎖定
400Mismatch.EipSecurityProtectionTypeAndPoolSecurityProtectionTypeThe EipSecurityProtectionType and PoolSecurityProtectionType are mismatched.EIP安全防護類型與地址池安全防護類型不匹配。
400IllegalParam.SecurityProtectionTypesThe param of securityProtectionTypes is illegal.傳入的SecurityProtectionTypes參數非法
400IllegalParam.ServiceLocationThe param of serviceLocation is illegal.ServiceLocation參數非法。
400UnsupportedFeature.IspThe feature of Isp is not supported.您指定的Isp暫未支持
400ExclusiveParam.ZoneAndIpAddressThe specified param Zone and IpAddress or InstanceId are mutually exclusive.指定的入參Zone和IpAddress或InstanceId存在沖突
400InvalidDescription.MalformedThe Description is illeagl.指定的資源描述格式不合法。長度為2~256個字符,不能以http://和https://開頭。
400InvalidName.MalformedThe attribute name is illegal.該名稱格式不合法。
403ForbiddenUser not authorized to operate on the specified resource.您沒有權限操作指定資源,請申請權限后再操作。
404InvalidRegionId.NotFoundSpecified value of "RegionId" is not supported.指定的 RegionId 不存在,請您檢查此產品在該地域是否可用。
404InvalidRegionId.NotFoundThe RegionId provided does not exist in our records.指定的RegionId不存在。請檢查該參數是否正確。
404FUWU_BIZ_COMMODITY_VERIFY_FAIL????????, ????????PD.-
409OperationConflictRequest was denied due to conflict with a previous request.請求沖突,請稍后重試。
500InternalErrorThe request processing has failed due to some unknown error, exception or failure.內部錯誤
500OperationFailed.SystemBusyOperation failed because system is busy.系統繁忙,請稍后重試

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

變更歷史

變更時間變更內容概要操作
2024-07-16OpenAPI 錯誤碼發生變更查看變更詳情
2024-05-17OpenAPI 錯誤碼發生變更查看變更詳情
2024-03-14OpenAPI 錯誤碼發生變更查看變更詳情
2024-03-14OpenAPI 錯誤碼發生變更查看變更詳情
2024-02-02OpenAPI 錯誤碼發生變更查看變更詳情
2024-01-22OpenAPI 錯誤碼發生變更查看變更詳情
2023-12-13OpenAPI 錯誤碼發生變更查看變更詳情
2023-10-19OpenAPI 錯誤碼發生變更查看變更詳情
2023-08-29OpenAPI 錯誤碼發生變更查看變更詳情
2023-07-26OpenAPI 錯誤碼發生變更查看變更詳情
2023-07-24OpenAPI 描述信息更新、OpenAPI 錯誤碼發生變更查看變更詳情
2023-07-08OpenAPI 錯誤碼發生變更查看變更詳情
2023-07-06OpenAPI 錯誤碼發生變更查看變更詳情
2023-06-26OpenAPI 錯誤碼發生變更查看變更詳情
2023-06-19OpenAPI 錯誤碼發生變更、OpenAPI 入參發生變更查看變更詳情
2023-04-20OpenAPI 錯誤碼發生變更、OpenAPI 入參發生變更查看變更詳情
2023-03-09OpenAPI 錯誤碼發生變更查看變更詳情
2022-12-02OpenAPI 錯誤碼發生變更查看變更詳情