隣接した EIP に適用されます。
この API は、代替案なしで廃止されました。一時的にアクセス可能ですが、更新やバグ修正対応は一切行われません。継続的な機能を確保するため、移行を計画し、アカウントマネージャーにお問い合わせください。
操作説明
AllocateEipSegmentAddress は非同期操作です。リクエストを送信すると、システムは連続 EIP グループの ID を返し、バックグラウンドでタスクを実行します。タスクのステータスを確認するには、DescribeEipSegment 操作を呼び出してください。
連続 EIP グループのステータスが Allocating の場合、EIP の割り当て中です。この状態では、クエリ操作のみ実行可能で、他の操作は実行できません。
連続 EIP グループのステータスが Allocated の場合、EIP の割り当てが完了しています。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ClientToken |
string |
任意 |
リクエストのべき等性を保証するために使用されるクライアントトークンです。 クライアント側でトークンを生成できますが、異なるリクエスト間でトークンが一意であることを保証する必要があります。ClientToken には ASCII 文字のみを使用できます。 説明
このパラメーターを指定しない場合、システムは自動的に リクエスト ID を クライアントトークン として使用します。各リクエストごとに リクエスト ID が異なる可能性があります。 |
02fb3da4-130e-11e9-8e44-001**** |
| Bandwidth |
string |
任意 |
連続 EIP グループの最大帯域幅です。単位:Mbit/s。
デフォルト値:5。単位:Mbit/s。 |
5 |
| RegionId |
string |
必須 |
連続 EIP グループが配置されるリージョンの ID です。 DescribeRegions 操作を呼び出して、リージョン ID を照会できます。 |
cn-hangzhou |
| EipMask |
string |
必須 |
連続 EIP グループのサブネットマスクです。有効値:
説明
特定の目的のために一部の IP アドレスが予約されているため、実際に取得できる連続 EIP の数は、期待値より 1、3、または 4 少なくなる場合があります。 |
28 |
| Netmode |
string |
任意 |
ネットワークタイプです。パブリックネットワークタイプを指定するには、値を public に設定します。 |
public |
| InternetChargeType |
string |
任意 |
連続 EIP の課金方法です。有効値:
|
PayByBandwidth |
| ResourceGroupId |
string |
任意 |
リソースグループ ID です。 |
rg-bp67acfmxazb4ph**** |
| Isp |
string |
任意 |
回線タイプです。有効値:
BGP (マルチ ISP) 回線および BGP (マルチ ISP) Pro 回線の詳細については、「EIP 回線タイプ」をご参照ください。 シングル ISP 帯域幅の使用が許可されている場合は、以下のいずれかの値も使用できます。
サービスが中国東部 1 Finance にデプロイされている場合、このパラメーターは必須であり、値を BGP_FinanceCloud に設定する必要があります。 |
BGP |
| Zone |
string |
任意 |
連続 EIP グループのゾーンです。 |
cn-hangzhou-a |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスパラメーターです。 |
||
| RequestId |
string |
リクエスト ID です。 |
F7A6301A-64BA-41EC-8284-8F4838C15D1F |
| EipSegmentInstanceId |
string |
連続 EIP グループの ID です。 |
eipsg-2zett8ba055tbsxme**** |
例
成功レスポンス
JSONJSON
{
"RequestId": "F7A6301A-64BA-41EC-8284-8F4838C15D1F",
"EipSegmentInstanceId": "eipsg-2zett8ba055tbsxme****"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | COMMODITY_NO_EXIST | commodity is not exist | |
| 400 | QuotaExceeded.Eip | Elastic IP address quota exceeded | |
| 400 | InvalidParameter | Specified value of "InternetChargeType" is not valid | |
| 400 | InsufficientBalance | Your account does not have enough balance. | |
| 400 | ReserveIpFail | Reserve eip failed. | |
| 400 | InvalidRegion.NotSupport | The specified region does not support. | |
| 400 | InvalidBandwidth.Malformed | The specified Bandwidth is invalid. | |
| 400 | INSTANCE_TYPE_NOT_SUPPORT | The instance type is invalid. | |
| 400 | QueryParameter.Illegal | query parameter illegal | |
| 400 | TokenVerfiy.Failed | token verify failed. | |
| 400 | OrderFailed | The Account failed to create order. | |
| 400 | QuotaExceeded.LargeSpecEip | Elastic IP address with large spec quota exceeded. | |
| 400 | InvalidResourceGroupId | The specified ResourceGroupId does not exist. | |
| 400 | PAYFOR.CREDIT_PAY_INSUFFICIENT_BALANCE | Your account does not have enough balance. | |
| 400 | SYSTEM.SALE_VALIDATE_UNEXPECTED_ERROR | You have arrears and do not meet the purchase conditions. | |
| 400 | Trade_Sync_Create_Sub_ERROR | SyncOrderToSub error. | |
| 400 | InvalidComponent.EipBandwidthMax | The eip_bandwidth_max component is invalid. | |
| 400 | OperationFailed.RiskControl | Risk control check failed. | |
| 400 | OperationFailed.SaleValidate | Validate sale condition with subArticle failed. | |
| 400 | IllegalParam.OrderParamComponent | Product order param has invalid component. | |
| 400 | OperationFailed.SaleExpression | Get the sales expression exception attached to the item. | |
| 400 | OperationFailed.CompleteUserInfo | Complete user info failed. | |
| 400 | OperationFailed.QueryPrice | Query price failed when create order. | |
| 400 | OperationFailed.InsufficientEIP | Eip resource is not enough. | |
| 400 | OperationFailed.InvokeInnerApi | Failed to invoke inner api. | |
| 400 | OperationFailed.AccountMoneyInvalid | Account money is invalid. | |
| 400 | OperationFailed.QueryCredtiInfo | Failed to query credit info. | |
| 400 | FrequentPurchase.EIP | eip frequent purchase | |
| 400 | OperationFailed.QueryUserLabel | Failed to query user label info. | |
| 400 | PAY.INSUFFICIENT_BALANCE | Your account does not have enough balance. | |
| 400 | ORDER.QUANTITY_INVALID | User quota has exceeded the limit. | |
| 400 | PAY.MAYI_WITHHOLDING_AGREEMENT_ILLEGAL | User withhoding argeement is illegal. | |
| 400 | OperationFailed.ChargeTypeInvalid | Operation failed because hybrid netmode do not support PayByTraffic. | |
| 400 | IllegalParam.EipMask | EipMask is illegal. | |
| 400 | IllegalParam.Name | Name is illegal. | |
| 400 | IllegalParam.Description | Description is illegal. | |
| 400 | InstanceExist.EipSegment | The eipSegment instance already exists. | |
| 400 | OperationFailed.QuotaExceed | Operation failed because over threshold bandwidth quota exceed. | |
| 400 | OperationFailed.FrequentPurchase | Operation failed because eip frequent purchase. | |
| 400 | OperationFailed.AllocateEipSegment | Operation failed because eip segment is out of stock. | |
| 400 | OperationFailed.CreateOrderFailed | Operation failed because create order failed. | |
| 400 | MissingParam.Bandwidth | The parameter Bandwidth is mandatory when allocate hybrid EipSegment. | |
| 400 | OperationFailed.EipQuotaExceed | Operation failed because eip quota exceed. | |
| 400 | OrderError.EIP | The Account failed to create order. | |
| 400 | OperationConflict | Request was denied due to conflict with a previous request. | |
| 400 | Forbidden | User not authorized to operate on the specified resource. | |
| 400 | UnsupportedFeature.AllocateEipAddressWithZone | The feature of AllocateEipAddressWithZone is not supported. | |
| 400 | IllegalParam.Zone | The specified zone is invalid. | |
| 400 | Forbidden.AllocateEipSegmentAddress | Authentication is failed for allocating eip segment address. | |
| 500 | InternalError | The request processing has failed due to some unknown error, exception or failure. | |
| 500 | OrderError.EIP | The Account failed to create order. | |
| 404 | InvalidRegionId.NotFound | Specified value of "RegionId" is not supported. | |
| 404 | FUWU_BIZ_COMMODITY_VERIFY_FAIL | ????????, ????????PD. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。