購入済みの 1 つ以上のエラスティシティ保証サービスを更新します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ecs:RenewElasticityAssurances |
create |
*ElasticityAssurance
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
任意 |
エラスティシティ保証サービスのリージョン ID。 最新のリージョンリストをクエリするには、 DescribeRegions を呼び出します。 |
cn-hangzhou |
| Period |
integer |
任意 |
更新の持続時間。持続時間の単位は
デフォルト値: 1。 |
1 |
| PeriodUnit |
string |
任意 |
更新の持続時間の単位。有効な値:
デフォルト値: Year。 |
Year |
| ClientToken |
string |
任意 |
リクエストのべき等性を確保するために使用されるクライアントトークン。クライアントを使用してトークンを生成できますが、異なるリクエスト間でトークンが一意であることを確認してください。
|
123e4567-e89b-12d3-a456-426655440000 |
| AutoPay |
boolean |
任意 |
自動支払いを有効にするかどうかを指定します。有効な値:
デフォルト値: true。 |
true |
| PrivatePoolOptions.Id |
array |
任意 |
エラスティシティ保証サービスの ID のリスト。 制限: 一度に最大 20 個のエラスティシティ保証サービスを更新できます。 購入済みのエラスティシティ保証サービスをクエリするには、 DescribeElasticityAssurances を呼び出します。 |
|
|
string |
任意 |
エラスティシティ保証サービスの ID。 |
eap-bp67acfmxazb4**** |
|
| AutoRenew |
boolean |
任意 |
自動更新を有効にするかどうかを指定します。有効な値:
デフォルト値: false。 |
true |
| AutoRenewPeriod |
integer |
任意 |
自動更新の持続時間。単位: か月。有効な値: 1、2、3、6、12、24、36。
説明
|
1 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| OrderId |
string |
更新注文の ID。 |
182372800**** |
| PrivatePoolOptionsIdSet |
object |
||
| PrivatePoolOptionsId |
array |
エラスティシティ保証サービスの ID のリスト。 |
|
|
string |
エラスティシティ保証サービスの ID。 |
eap-bp67acfmxazb4**** |
例
成功レスポンス
JSONJSON
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"OrderId": "182372800****",
"PrivatePoolOptionsIdSet": {
"PrivatePoolOptionsId": [
"eap-bp67acfmxazb4****"
]
}
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidPeriodUnit.ValueNotSupported | The specified parameter PeriodUnit is not valid. | PeriodUnit パラメーターが無効です。 |
| 400 | InvalidChargeType.ValueNotSupported | ChargeType is not valid. | |
| 400 | MissingParameter.PrivatePoolOptions.Id | The specified parameter PrivatePoolOptions.Id does not exist. | 指定されたパラメーター PrivatePoolOptions.Id を空にすることはできません。 |
| 400 | InvalidParameter.PeriodUnit | The specified PeriodUnit is invalid. | 指定された PeriodUnit パラメーターが無効です。 |
| 400 | InvalidParameter.Period | The specified parameter Period or PeriodUnit is invalid. | 指定された Period パラメーターまたは PeriodUnit パラメーターが要件を満たしていません。 |
| 400 | InvalidParameter.PrivatePoolOptionsId | The specified parameter PrivatePoolOptions.Id is invalid. | 指定された PrivatePoolOptions.Id が無効です。 |
| 400 | InvalidAutoRenewPeriod.ValueNotSupported | The specified autoRenewPeriod is invalid. | 指定された自動更新期間が無効です。 |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 500 | IncorrectPrivatePoolStatus | The current status of the private pool does not support this operation. | |
| 500 | InvalidPrivatePoolId.NotFound | The specified private pool does not exist. | 指定された非公開プールが存在しません。 |
| 403 | InvalidParameter.ResourceOwnerAccount | ResourceOwnerAccount is Invalid. | 指定された ResourceOwnerAccount が無効です。 |
| 403 | Account.Arrearage | Your account has been in arrears. | |
| 403 | ChargeTypeViolation | The operation is not permitted due to charge type of the instance. | |
| 403 | InvalidOperation.PackageTypeUnsupported | Not support to renew this type of resource package. | このタイプのリソースプランは更新をサポートしていません。 |
| 403 | OperationDenied.UtilizationTooLow | The utilization of this ElasticityAssurance is below 20%, renewal is not allowed. Please improve the utilization and try again. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。