エッジコンテナアプリケーションのログ収集の収集設定を更新します。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| AppId |
string |
任意 |
アプリケーション ID。 ListEdgeContainerApps 操作を呼び出してアプリケーション ID を取得できます。 重要 AppId は app- プレフィックスの後に数値サフィックスが続くフォーマットで、合計長は 20~64 文字です(例: app-8806886***83794688)。ListEdgeContainerApps を呼び出して既存の AppId を取得するか、CreateEdgeContainerApp を呼び出してアプリケーションを先に作成してください。 |
app-88068867578379**** |
| Stdout |
boolean |
任意 |
コンテナの標準出力収集を有効にするかどうかを指定します。 |
true |
| Path |
string |
任意 |
コンテナのログファイル。 |
/root/hello.log |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスのスキーマ。 |
||
| RequestId |
string |
リクエスト ID。 |
42DE97FA-45D2-5615-9A31-55D9EC0D7563 |
| Stdout |
boolean |
コンテナの標準出力収集を有効にするかどうかを指定します。 |
true |
| Path |
string |
コンテナのログファイル。 |
/root/hello.log |
例
成功レスポンス
JSONJSON
{
"RequestId": "42DE97FA-45D2-5615-9A31-55D9EC0D7563",
"Stdout": true,
"Path": "/root/hello.log"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidParameter.appid | The format of the application ID is invalid. You can call ListEdgeContainerApps to obtain the application ID. | |
| 400 | InvalidParameter | Invalid parameter. Check the parameter configuration. | |
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。