コンテナ化アプリケーションを作成します。このアプリケーションのバージョンを、ポイント・オブ・プレゼンス(POPs)全体にデプロイおよびリリースできます。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
esa:CreateEdgeContainerApp |
none |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| Name |
string |
必須 |
アプリケーションの名前です。先頭は小文字で始める必要があります。使用可能な文字は、小文字、数字、およびハイフン(-)のみです。文字数は 6 文字以上 128 文字以下である必要があります。 |
app-test |
| ServicePort |
integer |
必須 |
サーバーポートです。有効な値:1 ~ 65535。 |
80 |
| TargetPort |
integer |
必須 |
バックエンドポートです。これはアプリケーションのサービスポートでもあります。有効な値:1 ~ 65535。 |
80 |
| Remarks |
string |
任意 |
備考です。デフォルトでは空欄です。 |
test app |
| HealthCheckType |
string |
任意 |
ヘルスチェックタイプです。デフォルトでは空欄です。 有効な値:
|
l7 |
| HealthCheckHost |
string |
任意 |
ヘルスチェックに使用するドメイン名です。デフォルトでは空欄です。 |
www.aliyun.com |
| HealthCheckHttpCode |
string |
任意 |
ヘルスチェックが成功した場合に返される HTTP ステータスコードです。有効な値:
|
http_2xx |
| HealthCheckMethod |
string |
任意 |
ヘルスチェック用の HTTP リクエストメソッドです。有効な値:
|
HEAD |
| HealthCheckURI |
string |
任意 |
ヘルスチェックに使用する URI です。長さは 1 ~ 80 文字である必要があります。デフォルト値:"/"。 |
/health_check |
| HealthCheckPort |
integer |
任意 |
ヘルスチェックに使用するポートです。有効な値:1 ~ 65535。デフォルト値:80。 |
80 |
| HealthCheckTimeout |
integer |
任意 |
ヘルスチェック応答のタイムアウト期間です。バックエンドの ECS インスタンスが指定されたタイムアウト期間内に応答しない場合、そのインスタンスはヘルスチェックに失敗します。単位:秒。 |
5 |
| HealthCheckInterval |
integer |
任意 |
連続する 2 回のヘルスチェックの間隔です。単位:秒。有効な値:1 ~ 50。デフォルト値:5。 |
5 |
| HealthCheckSuccTimes |
integer |
任意 |
アプリケーションが正常とみなされるために必要な、連続した成功ヘルスチェックの回数です。有効な値:1 ~ 10。デフォルト値:2。 |
2 |
| HealthCheckFailTimes |
integer |
任意 |
アプリケーションが異常とみなされるために必要な、連続した失敗ヘルスチェックの回数です。有効な値:1 ~ 10。デフォルト値:5。 |
3 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスパラメーターです。 |
||
| AppId |
string |
作成されたアプリケーションの ID です。 |
app-880688675783794688 |
| RequestId |
string |
リクエスト ID です。 |
04F0F334-1335-436C-A1D7-6C044FE73368 |
例
成功レスポンス
JSONJSON
{
"AppId": "app-880688675783794688",
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidParameter.HealthCheckType | Specified parameter HealthCheckType is not valid. | 需要手动添加日文描述 |
| 400 | InvalidParameter.HealthCheckHost | Specified parameter HealthCheckHost is not valid. | 需要手动添加日文描述 |
| 400 | InvalidParameter.HealthCheckHttpCode | Specified parameter HealthCheckHttpCode is not valid. | 需要手动添加日文描述 |
| 400 | InvalidParameter.HealthCheckMethod | Specified parameter HealthCheckMethod is not valid. | 需要手动添加日文描述 |
| 400 | InvalidParameter.HealthCheckURI | Specified parameter HealthCheckURI is not valid. | 需要手动添加日文描述 |
| 400 | InvalidParameter.HealthCheckInterval | Specified parameter HealthCheckInterval is not valid. | 需要手动添加日文描述 |
| 400 | InvalidParameter.HealthCheckTimeout | Specified parameter HealthCheckTimeout is not valid. | 需要手动添加日文描述 |
| 400 | InvalidParameter.HealthCheckSuccTimes | Specified parameter HealthCheckSuccTimes is not valid. | 需要手动添加日文描述 |
| 400 | InvalidParameter.HealthCheckFailTimes | Specified parameter HealthCheckFailTimes is not valid. | 需要手动添加日文描述 |
| 400 | InvalidParameter.HealthCheckPort | Specified parameter HealthCheckPort is not valid. | 需要手动添加日文描述 |
| 400 | InvalidParameter.PageNumber | Failed to verify parameter PageNumber.Check whether the parameter exists and is set to a positive integer. | |
| 400 | InvalidParameter.appid | The format of the application ID is invalid. You can call ListEdgeContainerApps to obtain the application ID. | |
| 400 | InvalidParameter | The specified parameter is invalid. | |
| 400 | NameAlreadyExists | The name already exists. | |
| 400 | ParamNameError | The Name parameter is invalid. | |
| 500 | InternalError | Failed to call the service. Try again later or contact technical support. | |
| 404 | InvalidApp.NotFound | The application does not exist. Check whether the application ID you specified is correct and try again. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。