アプリケーションインスタンスの仕様を変更します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
sae:RescaleApplicationVertically |
none |
*すべてのリソース。
|
なし | なし |
リクエスト構文
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。呼び出しの詳細をクエリするために使用されます。 |
0bc3b6f315637273629117900d**** |
| Data |
object |
返された結果。 |
|
| ChangeOrderId |
string |
変更注文の ID。 |
ffd8cd45-2b5f-415d-b4d0-1003e80b**** |
| ErrorCode |
string |
エラーコード。有効な値:
|
Null. |
| Code |
string |
API ステータスまたは POP エラーコード。有効な値:
|
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 |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。