UpdateRatePlanSpec を呼び出して、プランのスペックを変更します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
esa:UpdateRatePlanSpec |
create |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| InstanceId |
string |
任意 |
インスタンス ID。 |
xcdn-91fknmb80f0g |
| TargetPlanName |
string |
任意 |
ターゲットプランの名前。 Alibaba Cloud 中国サイト (www.aliyun.com)
Alibaba Cloud 国際サイト (www.alibabacloud.com)
|
basic |
| TargetPlanCode |
string |
任意 |
ターゲットプランのコード。 Alibaba Cloud 中国サイト (www.aliyun.com)
Alibaba Cloud 国際サイト (www.alibabacloud.com)
|
entranceplan |
| OrderType |
string |
任意 |
スペック変更のタイプ。有効な値:
列挙値:
|
UPGRADE |
| ChargeType |
string |
任意 |
課金タイプ。有効な値:
|
PREPAY |
| AutoPay |
boolean |
任意 |
自動支払いを有効にするかどうかを指定します。 |
true |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答構造。 |
||
| RequestId |
string |
リクエスト ID。 |
30423A7F-A83D-1E24-B80E-86DD25790758 |
| OrderId |
string |
注文 ID。 |
2223332122*** |
| InstanceId |
string |
インスタンス ID。 |
xcdn-as23ds*** |
例
成功レスポンス
JSONJSON
{
"RequestId": "30423A7F-A83D-1E24-B80E-86DD25790758\n",
"OrderId": "2223332122***",
"InstanceId": "xcdn-as23ds***"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InternalError | An internal exception occurred, please try again later. | |
| 400 | CheckPlanFailed | Invalid plan name or code. Check and try again. | |
| 400 | InvalidSiteICP | The specified website does not have an ICP filing or the filing information is invalid. Make sure your website is filed and try again. | |
| 400 | InvalidSiteName | Invalid website name. Check and try again. | |
| 400 | SYSTEM.NoSpecificCodeFailed | Invalid subscription duration. Check and try again. | |
| 400 | Order.InstanceHasUnpaidOrder | You have an unpaid order. Complete the payment or cancel the order first. | |
| 400 | InvalidInstance | The instance ID is missing or invalid. Make sure that the instance ID is valid and try again. | |
| 400 | InsufficientBalance | Your account balance is insufficient. | |
| 400 | InsufficientAvailableQuota | Your account balance is insufficient. | |
| 400 | UpdowngradeConfigNoChange | Failed to change the configuration because the new configuration you specified is the same as the current one in use. Specify a correct configuration and try again. | |
| 400 | InvalidComponent | The order parameters is invalid. | |
| 400 | RamAuthFailed | The sub-account has no operation permission. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。