Simple Application Server のプランをスペックアップします。
操作説明
Simple Application Server のプランはスペックアップのみ可能です。プランの詳細については、「課金項目」をご参照ください。
この操作を呼び出す前に、アカウントの残高が十分であることを確認してください。アカウントの残高が不足している場合、スペックアップは失敗します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
swas-open:UpgradeInstance |
update |
*Instance
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| InstanceId |
string |
必須 |
Simple Application Server の ID。 |
ace0706b2ac4454d984295a94213**** |
| RegionId |
string |
必須 |
Simple Application Server があるリージョンの ID。 |
cn-hangzhou |
| PlanId |
string |
必須 |
新しいプランの ID。Simple Application Server が提供するプランを照会するには、ListPlans 操作を呼び出します。 |
swas.s2.c2m2s50b4t08 |
| ClientToken |
string |
任意 |
リクエストのべき等性を保証するために使用されるクライアントトークン。クライアント側でトークンを生成できますが、異なるリクエスト間でトークンが一意であることを保証する必要があります。トークンには ASCII 文字のみ使用でき、長さは 64 文字を超えることはできません。詳細については、「べき等性の確保」をご参照ください。 |
123e4567-e89b-12d3-a456-426655440000 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID。 |
20758A-585D-4A41-A9B2-28DA8F4F**** |
例
成功レスポンス
JSONJSON
{
"RequestId": "20758A-585D-4A41-A9B2-28DA8F4F****"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidPlanIdUpgrade.ValueNotSupported | The specification of the specified planId is lower than the current server specification. | |
| 500 | InternalError | An error occurred while processing your request. | |
| 500 | NotEnoughUpgradeStock | The upgrade stock is insufficient. | |
| 403 | PaymentFailed | Payment failed. Please check your account balance. | |
| 403 | InvalidInstance.UnPaidOrder | The specified Instance has an unpaid order. | |
| 404 | InvalidPlanId.NotFound | The specified PlanId does not exist. | |
| 404 | InvalidInstanceId.NotFound | The specified InstanceId does not exist. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。