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

首頁 專有網絡VPC 開發參考 API參考 API目錄 彈性公網IP AllocateEipAddressPro - 申請指定的EIP

AllocateEipAddressPro - 申請指定的EIP

更新時間: 2024-08-29 15:15:08

調用AllocateEipAddressPro申請指定的EIP,可用于特定的網絡配置需求。

調試

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

授權信息

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

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

請求參數

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

要指定申請的 EIP 所在的地域 ID。

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

cn-hangzhou
IpAddressstring

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

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

192.0.XX.XX
InstanceIdstring

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

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

eip-25877c70gddh****
Bandwidthstring

要指定申請的 EIP 的帶寬峰值,單位:Mbps。

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

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

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

默認值:5Mbps。

5
Periodinteger

購買時長。

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

  • PricingCycle 取值 Year 時,Period 取值范圍為1~3。

如果 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
Netmodestring

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

public
AutoPayboolean

是否自動付費,取值:

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

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

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

true
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。

PayByBandwidth
ResourceGroupIdstring

要指定申請的 EIP 所屬的資源組 ID。

rg-resourcegroup****
ClientTokenstring

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

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

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

安全防護級別。

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

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

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

string

安全防護級別。

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

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

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

AntiDDoS_Enhanced
PublicIpAddressPoolIdstring

IP 地址池 ID。

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

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

pippool-2vc0kxcedhquybdsz****

返回參數

名稱類型描述示例值
object

返回信息列表。

RequestIdstring

請求 ID。

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

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

20190000
ResourceGroupIdstring

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

rg-resourcegroup****
EipAddressstring

您指定申請的 EIP 被分配到的 IP 地址。僅 InstanceChargeType 取值為 PostPaid 時返回。

192.0.XX.XX
AllocationIdstring

EIP 的 ID。

eip-25877c70gddh****

示例

正常返回示例

JSON格式

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

錯誤碼

HTTP status code錯誤碼錯誤信息描述
400FrequentPurchase.EIPeip frequent purchase-
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-
400SYSTEM.UNKNOWN.ERRORThe Account failed to create order.-
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不存在。
400Invalid.Reserve.IpThe reserve ip is invalid.-
400Ip.AllocatedThe reserve ip has been allocated.已分配保留ip。
400Ip.KeepedThe reserve ip been keeped in an hour.-
400OperationFailed.AllocateUnfamiliarIpThe operation failed because only IP addresses used within the last seven days can be allocated.指定EIP申請只允許申請7天內使用過的IP
400INVALID_INSTANCE_STATUSThe instance status is invalid.-
400OperationFailed.InstanceNotExistEip instanceId does not exist.-
400InvalidStatus.ValueNotSupportedThe specified status is not supported.-
400OperationFailed.RiskControlRisk control check failed.我們檢測到您的付款方式存在安全風險。請通過電子郵件或控制臺消息中的鏈接繼續驗證,并在驗證后重新提交訂單。
400OrderError.EIPThe Account failed to create order.下單失敗
400ResourceNotEnough.PublicIpAddressPoolThe specified resource of PublicIpAddressPool is not enough.-
400Mismatch.IpAndPublicIpAddressPoolThe Ip and PublicIpAddressPool are mismatched.-
400ResourceNotFound.PublicIpAddressPoolThe specified resource of PublicIpAddressPool is not found.-
400ResourceNotFound.IpThe specified ip is not found.找不到指定的IP。
400OperationDenied.IpBelongToOtherUserThe operation is not allowed because of ip belong to other user.申請失敗,該IP歸屬其他用戶
400IncorrectStatus.IpThe status of ip is incorrect.IP的狀態不正確。
400OperationFailed.IpIsLockedThe operation is failed because of ip is locked.申請失敗,IP已經被鎖定
400Mismatch.IpAndIspThe specified IP address does not match the ISP.申請指定IP失敗,ISP和IP參數不匹配.
400IncorrectStatus.PublicIpAddressPoolThe status of PublicIpAddressPool is incorrect.地址池實例未處于穩態,不允許分配EIP。
400IllegalParam.IpAddressThe specified IpAddress (%s) is illegal.IpAddress參數不合法
400OperationFailed.ResourceNotEnoughThe resources you have applied for are insufficient.您申請的資源不足,如仍需申請,請提工單處理
400Mismatch.EipSecurityProtectionTypeAndPoolSecurityProtectionTypeThe EipSecurityProtectionType and PoolSecurityProtectionType are mismatched.EIP安全防護類型與地址池安全防護類型不匹配。
400IllegalParam.IspThe param of Isp [%s] is illegal.參數 Isp 不合法,請根據請求參數規定重新輸入。
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.-
500InternalErrorThe request processing has failed due to some unknown error, exception or failure.內部錯誤

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

變更歷史

變更時間變更內容概要操作
2024-07-16OpenAPI 錯誤碼發生變更查看變更詳情
2024-01-22OpenAPI 錯誤碼發生變更查看變更詳情
2023-10-19OpenAPI 描述信息更新、OpenAPI 錯誤碼發生變更查看變更詳情
2023-07-06OpenAPI 錯誤碼發生變更查看變更詳情
2023-05-15OpenAPI 錯誤碼發生變更查看變更詳情
2022-12-02OpenAPI 錯誤碼發生變更查看變更詳情
上一篇: ListPublicIpAddressPoolCidrBlocks - 查詢IP地址池的地址段信息 下一篇: ReleaseEipAddress - 釋放指定EIP
阿里云首頁 專有網絡VPC 相關技術圈