以下のすべての操作は、Client クラス、Application クラス、または CLI のいずれからでも実行できます。以下に、両方のクラスを使って各タスクを実行する方法の例を示します。
アプリケーションのステータスを取得する
client.app_status と app.status は StatusData オブジェクトを返します。
Using Client
Using Application
ログを取得する
client.get_logs と app.logs は LogsData オブジェクトを返します。
Using Client
Using Application
アプリケーションを起動する
client.start_app と app.start は Response オブジェクトを返します。
Using Client
Using Application
アプリケーションを停止する
client.stop_app と app.stop は Response オブジェクトを返します。
Using Client
Using Application
アプリケーションを再起動する
client.restart_app と app.restart は Response オブジェクトを返します。
Using Client
Using Application
アプリケーションを削除する
client.delete_app と app.delete は Response オブジェクトを返します。
これはアプリケーションを 完全に 削除します。つまり、アプリケーションのバックアップがない限り、復元することはできません。
Using Client
Using Application