アプリケーションを作成します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
mse:CreateApplication |
create |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| Region |
string |
必須 |
アプリケーションが属するリージョン。 |
cn-hangzhou |
| Namespace |
string |
必須 |
MSE 名前空間名。 |
prod |
| AppName |
string |
必須 |
アプリケーション名 |
spring-cloud-a |
| Source |
string |
任意 |
アプリケーションがデプロイされているサービス。値 ACK は Container Service for Kubernetes を示します。 |
ACK |
| Language |
string |
任意 |
アプリケーションのプログラミング言語。 |
JAVA |
| SentinelEnable |
string |
任意 |
Sentinel コンポーネントを有効にするかどうかを指定します。 |
true |
| SwitchEnable |
string |
任意 |
スイッチを起動するかどうかを指定します。 |
true |
| Tags |
array |
任意 |
Alibaba Cloud タグ |
|
|
object |
任意 |
Alibaba Cloud タグ |
||
| Key |
string |
任意 |
カスタムタグキー。キーは最大 128 文字で、 |
|
| Value |
string |
任意 |
タグ値。値の長さは最大 128 文字で、 |
|
| AcceptLanguage |
string |
任意 |
The language of the response. Valid values: 応答の言語。有効な値:
|
zh |
レスポンスフィールド
|
パラメーター |
型 |
説明 |
例 |
|
object |
データ構造。 |
||
| Message |
string |
リクエストに対して返されるメッセージ。 |
success |
| RequestId |
string |
リクエスト ID。 |
68D91223-CCE9-5F9C-B538-20F617DA48B1 |
| Data |
object |
ノードデータ。 |
data |
| Status |
integer |
アプリケーション ステータス。値 1 は正常を示します。 |
1 |
| ExtraInfo |
string |
追加情報。 |
{\"rpcTypes\":[\"dubbo\",\"springCloud\"]} |
| AppName |
string |
アプリケーションの名前。 |
spring-cloud-a |
| UpdateTime |
integer |
アプリケーションが更新された時間。 |
1632979237663 |
| LicenseKey |
string |
ユーザーのライセンスキー。 |
xxxxxxxx@xxxxxxxxxx |
| CreateTime |
integer |
アプリケーションが作成された時間。 |
1631001140913 |
| AppId |
string |
アプリケーション ID |
xxxxxxxx@xxxxxxxxxx |
| UserId |
string |
Alibaba Cloud ユーザー ID |
1888888888 |
| Source |
string |
サービスがデプロイされているアプリケーション。有効な値:
|
ACK |
| Language |
string |
アプリケーションのプログラミング言語。 |
JAVA |
| RegionId |
string |
ゲートウェイのリージョン。 |
cn-hangzhou |
| Namespace |
string |
MSE 名前空間名。 |
prod |
| Version |
string |
バージョン番号。 |
1.0.0 |
| Code |
integer |
応答コード。 |
200 |
| Success |
string |
Indicates whether the call was successful. Valid values: 呼び出しが成功したかどうかを示します。有効な値:
|
true |
| HttpStatusCode |
integer |
HTTP ステータスコード |
200 |
例
成功レスポンス
JSONJSON
{
"Message": "success",
"RequestId": "68D91223-CCE9-5F9C-B538-20F617DA48B1",
"Data": {
"Status": 1,
"ExtraInfo": "{\\\"rpcTypes\\\":[\\\"dubbo\\\",\\\"springCloud\\\"]}",
"AppName": "spring-cloud-a",
"UpdateTime": 1632979237663,
"LicenseKey": "xxxxxxxx@xxxxxxxxxx",
"CreateTime": 1631001140913,
"AppId": "xxxxxxxx@xxxxxxxxxx",
"UserId": "1888888888",
"Source": "ACK",
"Language": "JAVA",
"RegionId": "cn-hangzhou",
"Namespace": "prod",
"Version": "1.0.0"
},
"Code": 200,
"Success": "true",
"HttpStatusCode": 200
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | |
| 400 | InvalidParameter | Parameter error:%s | |
| 500 | InternalError | Console error. Try again later:%s | |
| 403 | NoPermission | You are not authorized to perform this operation:%s | |
| 404 | NotFound | Not found:%s |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。