アプリを作成します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ebs:CreateApp |
create |
*全部资源
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| AppName |
string |
必須 |
アプリの名前。 |
App1 |
| AppTags |
array<object> |
必須 |
ユーザー定義タグ。複数のタグはカンマ (,) で区切ります。 |
default |
|
object |
任意 |
|||
| TagKey |
string |
任意 |
タグキー。 |
controlledBy |
| TagValue |
string |
任意 |
専用クラスターのタグ値。 |
ear |
| SubscribeStatus |
string |
必須 |
アプリ使用量レポートのサブスクリプションステータス。有効な値:
|
Subscribe |
| SubscribePeriod |
string |
必須 |
アプリ使用量レポートの送信間隔。有効な値:
デフォルト値: Weekly。 |
Weekly |
| Description |
string |
任意 |
アプリの説明。 |
test |
| ReportSendEnabled |
boolean |
任意 |
メールおよび内部メッセージにレポートを送信するかどうかを指定します。 |
false |
| RegionId |
string |
任意 |
リージョン ID。 DescribeRegions を呼び出して、最新のリージョンリストをクエリできます。 |
cn-hangzhou |
| Owner |
string |
任意 |
ベースラインオーナーの Alibaba Cloud UID。 |
1/0 |
| ClientToken |
string |
任意 |
リクエストのべき等性を確保するために使用されるクライアントトークン。 |
123e4567-e89b-12d3-a456-42665544**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
LensResponse。 |
||
| RequestId |
string |
リクエスト ID。 |
E604ABBF-FD0F-5080-BE2B-BCF674A9E941 |
| Code |
string |
状態コード。値が 200 の場合は成功を示します。 |
OK |
| UserCode |
string |
状態コード。 |
OK |
| Message |
string |
追加情報。リクエストが成功した場合は success が返されます。リクエストが失敗した場合は特定のエラーコードがフォーマットされて返されます。 |
successful |
| Success |
boolean |
アプリが正常に作成されたかどうかを示します。有効な値: true: アプリが正常に作成されました。false: アプリの作成が失敗した。 |
True |
| HttpStatusCode |
integer |
エラーコードの説明。 |
200 |
| DynamicCode |
string |
動的エラーコード。 |
200 |
| DynamicMessage |
string |
動的メッセージ。このパラメーターは使用されていません。このパラメーターは無視してください。 |
- |
| AccessDeniedDetail |
string |
アクセスが拒否された詳細な理由。 |
None |
| AppId |
string |
アプリ ID。 |
app-bd5e3533 |
| AppName |
string |
アプリ名。 |
TestApp_g5t |
例
成功レスポンス
JSONJSON
{
"RequestId": "E604ABBF-FD0F-5080-BE2B-BCF674A9E941",
"Code": "OK",
"UserCode": "OK",
"Message": "successful",
"Success": true,
"HttpStatusCode": 200,
"DynamicCode": "200",
"DynamicMessage": "-",
"AccessDeniedDetail": "None",
"AppId": "app-bd5e3533",
"AppName": "TestApp_g5t"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidParameter | The parameter %s is invalid. | |
| 400 | InvalidParameter.Conflict | The specified parameter %s and %s are not blank at the same time. | |
| 400 | InvalidParameter.Format | Specified parameter format is not valid. | 日文说明 |
| 400 | MissingParameter | The input parameter %s that is mandatory for processing this request is not supplied. | |
| 400 | App.NumberExceed | The number of apps exceeded. | |
| 500 | InternalError | The request processing has failed due to some unknown error, exception or failure. | |
| 403 | Forbidden | User is not authorized to operate. | |
| 403 | Forbidden.Action | User is not authorized to operate this action. | |
| 403 | InvalidAccountStatus.NotEnoughBalance | Your account does not have enough balance. | |
| 403 | LastTokenProcessing | The last token request is processing. | |
| 403 | NoPermission.SLR | The RAM user does not have the permission to create service linked role: AliyunServiceLinkedRoleForEBS. | |
| 403 | OperationDenied | The operation is not allowed. | |
| 404 | InvalidApi.NotFound | Specified api is not found, please check your url and method. | |
| 404 | NoSuchResource | The specified resource does not exist. | |
| 504 | RequestTimeout | The request is timeout, please try again later. | |
| 429 | BLOCK.LimitedRequest | Request was denied due to user flow control. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。