コンテナ化アプリケーションの特定のバージョンをリリースします。この操作を呼び出すことで、アプリケーションを反復処理できます。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
esa:PublishEdgeContainerAppVersion |
none |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| AppId |
string |
必須 |
アプリケーション ID。 |
app-88068867578379**** |
| VersionId |
string |
必須 |
バージョン ID。 |
ver-87962637161651**** |
| PublishEnv |
string |
必須 |
バージョンをリリースする環境。有効値は次のとおりです。
|
prod |
| Percentage |
integer |
任意 |
リリース割合。有効値は 1 から 100 です。デフォルト値は 100 です。 |
100 |
| StartTime |
string |
任意 |
アプリケーションバージョンのリリースが開始される時間。このパラメーターを指定しない場合、デフォルトで現在時刻が使用されます。 ISO 8601 標準の yyyy-MM-ddTHH:mm:ssZ 形式で時間を指定します。時間は協定世界時 (UTC) である必要があります。 |
2023-06-05T16:00:00Z |
| Remarks |
string |
任意 |
備考。このパラメーターはデフォルトで空です。 |
test publish app |
| PublishType |
string |
任意 |
バージョンのリリース方法を指定します。有効値は次のとおりです。
このパラメーターを指定しない場合、デフォルトでパーセンテージでバージョンがリリースされます。 |
percentage |
| Regions |
array |
任意 |
バージョンがリリースされるリージョン。 |
|
|
string |
任意 |
リリースリージョン。 |
jiangsu |
|
| FullRelease |
boolean |
任意 |
バージョンを完全にリリースするかどうかを指定します。このパラメーターは、PublishType が region に設定されている場合にのみ有効です。 |
true |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID。 |
04F0F334-1335-436C-A1D7-6C044FE73368 |
例
成功レスポンス
JSONJSON
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidParameter.PublishEnv | The specified PublishEnv is invalid. Please check the PublishEnv parameter. It may not be set to either "prod" or "staging." Please make the necessary changes and call the interface again. | |
| 400 | InvalidParameter.Percentage | The Percentage parameter is invalid. Please check the Percentage parameter, which should be in the range of 1-100. Modify it accordingly and call the interface again. | |
| 400 | InvalidParameter | Invalid parameter. Check the parameter configuration. | |
| 400 | InvalidParameter.appid | The format of the application ID is invalid. You can call ListEdgeContainerApps to obtain the application ID. | |
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | |
| 400 | InvalidParameter.VersionId | The specified VersionId is invalid. Please check the VersionId parameter. You may not have entered the parameter or the parameter does not start with ver-string. Please modify it and call the interface again. | |
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。