アプリケーションのインスタンスタイプを変更します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
sae:RescaleApplicationVertically |
none |
*All Resource
|
なし | なし |
リクエスト構文
POST /pop/v1/sam/app/rescaleApplicationVertically HTTP/1.1
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| AppId |
string |
必須 |
アプリケーションの ID です。 |
0099b7be-5f5b-4512-a7fc-56049ef1**** |
| Cpu |
string |
必須 |
CPU 仕様(ミリコア単位)です。 |
1000 |
| Memory |
string |
必須 |
メモリサイズ(MB 単位)です。 |
2048 |
| minReadyInstances |
integer |
任意 |
準備完了状態のインスタンスの最小数です。 |
1 |
| minReadyInstanceRatio |
integer |
任意 |
準備完了状態のインスタンスの最小割合(パーセント)です。 |
50 |
| autoEnableApplicationScalingRule |
boolean |
任意 |
自動スケーリングルールを自動的に有効化するかどうかを指定します。 |
true |
| DiskSize |
string |
任意 |
各ノードのディスクサイズ(GB 単位)です。 |
20 |
| ResourceType |
string |
任意 |
||
| VSwitchId |
string |
任意 |
||
| Deploy |
boolean |
任意 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID です。 |
AB521DBB-FA78-42E6-803F-A862EA4F**** |
| Message |
string |
応答メッセージです。 |
success |
| TraceId |
string |
リクエストのトレース ID です。この ID を使用して、リクエストの詳細を照会できます。 |
0bc3b6f315637273629117900d**** |
| Data |
object |
応答データです。 |
|
| ChangeOrderId |
string |
変更注文の ID です。 |
ffd8cd45-2b5f-415d-b4d0-1003e80b**** |
| ErrorCode |
string |
エラーコードです。
|
空 |
| Code |
string |
HTTP ステータスコードです。
|
200 |
| Success |
boolean |
インスタンスタイプの変更が正常に実行されたかどうかを示します。
|
true |
例
成功レスポンス
JSONJSON
{
"RequestId": "AB521DBB-FA78-42E6-803F-A862EA4F****",
"Message": "success",
"TraceId": "0bc3b6f315637273629117900d****",
"Data": {
"ChangeOrderId": "ffd8cd45-2b5f-415d-b4d0-1003e80b****"
},
"ErrorCode": "空",
"Code": "200",
"Success": true
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidApplication.NotFound | The current application does not exist. | |
| 400 | InvalidInstanceSpecification.Unsupported | The instance specification is not supported: CPU [%s], memory [%s]. | |
| 400 | InvalidParameter.NotEmpty | You must specify the parameter %s. | |
| 400 | InvalidParameter.Obviously | The specified parameter is invalid {%s}. | |
| 400 | InvalidParameter.WithMessage | The parameter is invalid {%s}: %s | |
| 400 | NoComputeResourceQuota.Exceed | Your compute resource is insufficient. Please contact us to raise the quota. | |
| 400 | user.indebt | The user has an outstanding payment. | |
| 400 | System.Upgrading | The system is being upgraded. Please try again later. | |
| 400 | Application.ChangerOrderRunning | An application change process is in progress. Please try again later. | 日文说明1 |
| 400 | Application.InvalidStatus | The application status is abnormal. Please try again later. | 日文说明1 |
| 400 | Application.NotDeployYet | The application has not been deployed. Please deploy it and try again. | 日文说明1 |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。