---
schema_version: "1"
id: 95b0402248d3cd94e38552878900c4134c6dd252280eb5ef9e2ed85bf5df5176
title: ローカルにデプロイされていて Runtime Manager で管理されるアプリケーション
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/anypoint-cli/latest/standalone-apps.md
canonical_url: https://docs.mulesoft.com/jp/anypoint-cli/latest/standalone-apps
source_site: docs.mulesoft.com
content_type: documentation
content_hash: b65a38dc51dbbf546b482d058ec5e1095bea4eaba587862757afbfe4d15ab42c
description: MuleSoft Documentation Site
release: 4.x
latest: true
---
# ローカルにデプロイされていて Runtime Manager で管理されるアプリケーション

<table><tbody><tr><td class="icon"><i class="fa icon-caution" title="Caution"></i></td><td class="content">Anypoint Platform CLI で対象サーバーを認識できるように、手動で各サーバーをプラットフォームに登録する必要があります。</td></tr></tbody></table>

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 35%;">
<col style="width: 65%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">コマンド</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p><a href="#runtime-mgr-standalone-application-artifact">runtime-mgr:standalone-application:artifact</a></p>
</div></div></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>スタンドアロンアプリケーションアーティファクトバイナリをダウンロードする</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p><a href="#runtime-mgr-standalone-application-deploy">runtime-mgr:standalone-application:deploy</a></p>
</div></div></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>オンプレミスサーバー、サーバーグループ、クラスターにアプリケーションをデプロイまたは再デプロイする</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p><a href="#runtime-mgr-standalone-application-modify">runtime-mgr:standalone-application:modify</a></p>
</div></div></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>スタンドアロンアプリケーションアーティファクトを変更する</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p><a href="#runtime-mgr-standalone-application-start">runtime-mgr:standalone-application:start</a></p>
</div></div></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>スタンドアロンアプリケーションを開始する</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p><a href="#runtime-mgr-standalone-application-delete">runtime-mgr:standalone-application:delete</a></p>
</div></div></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>スタンドアロンアプリケーションを削除する</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p><a href="#runtime-mgr-standalone-application-describe">runtime.mgr:standalone-application:describe</a></p>
</div></div></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>スタンドアロンアプリケーションの詳細情報を表示する</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p><a href="#runtime-mgr-standalone-application-list">runtime-mgr:standalone-application:list</a></p>
</div></div></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>環境内のすべてのスタンドアロンアプリケーションをリストする</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p><a href="#runtime-mgr-standalone-application-restart">runtime-mgr:standalone-application:restart</a></p>
</div></div></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>スタンドアロンアプリケーションを再起動する</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p><a href="#runtime-mgr-standalone-application-stop">runtime-mgr:standalone-application:stop</a></p>
</div></div></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>スタンドアロンアプリケーションを停止する</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p><a href="#runtime-mgr-standalone-application-copy">runtime-mgr:standalone-application:copy</a></p>
</div></div></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>スタンドアロンアプリケーションをコピーする</p>
</div></div></td>
</tr>
</tbody>
</table>

## [](#runtime-mgr-standalone-application-artifact)runtime-mgr:standalone-application:artifact

\> runtime-mgr:standalone-application:artifact \[flags\] <identifier> <directory>

このコマンドは、​`identifier`​ アプリケーションのアプリケーションアーティファクトを ​`directory`​ で渡されるディレクトリにダウンロードします。 `identifier`​ フラグは、アプリケーション ID または名前のいずれかになります。

このコマンドでは、デフォルトのフラグ ​`--help`​ のみを受け入れます。

## [](#runtime-mgr-standalone-application-deploy)runtime-mgr:standalone-application:deploy

\> runtime-mgr:standalone-application:deploy \[flags\] <targetIdentifier> <name> <zipfile>

このコマンドは、パス ​`zipfile`​ の ZIP ファイルとして渡されるアプリケーションを ​`targetIdentifier`​ で渡されるオンプレミスの対象にデプロイまたは再デプロイします。

`targetIdentifier`​ フラグは、対象 ID または名前のいずれかになります。

対象は、サーバー、サーバーグループ、クラスターのいずれかになります。

このコマンドでは、デフォルトのフラグ ​`--help`​ のみを受け入れます。

アプリケーションを再デプロイしてログレベルを設定したり、インサイトイベント追跡を有効にしたりするには、「​[runtime-mgr:standalone-application:modify](#runtime-mgr-standalone-application-modify)​」を参照してください。

## [](#runtime-mgr-standalone-application-modify)runtime-mgr:standalone-application:modify

\> runtime-mgr:standalone-application:modify \[flags\] <identifier> <zipfile>

このコマンドでは、パスとして ​`zipfile`​ で渡される ZIP ファイルアプリケーションを使用して、​`identifier`​ で渡されるスタンドアロン (オンプレミス) アプリケーションを変更します。

`identifier`​ オプションでは、アプリケーション識別子を指定します。 識別子を取得するには、「​[runtime-mgr:standalone-application:list](#runtime-mgr-standalone-application-list)​」を参照してください。

このコマンドでは、デフォルトの ​`--help`​ フラグ以外に次のフラグも受け入れます。

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 37.5%;">
<col style="width: 62.5%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">フラグ</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>--insight</code></p></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>各 Mule トランザクションのメッセージメタデータを保存する。</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>--log [level:scope]</code></p></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>ログレベルとスコープのペアを設定する。</p>
</div>
<div class="ulist">
<ul>
<li>
<p><code>level</code>​: TRACE、DEBUG、INFO、WARN、ERROR、FATAL、OFF</p>
</li>
<li>
<p><code>scope</code>​: 記録するクラス、コネクタ、モジュールのパッケージ名 (FTP 用 Anypoint Connector の ​<code>org.mule.extension.ftp</code>​ など)</p>
</li>
</ul>
</div>
<div class="paragraph">
<p>複数のログレベルを設定するには、​<code>--log INFO:org.apache --log WARN:org.mule</code>​ のように複数の ​<code>--log</code>​ フラグを指定します。</p>
</div></div></td>
</tr>
</tbody>
</table>

## [](#runtime-mgr-standalone-application-start)runtime-mgr:standalone-application:start

\> runtime-mgr:standalone-application:start \[flags\] <identifier>

このコマンドでは、​`identifier`​ で渡されるスタンドアロン (オンプレミス) アプリケーションを開始します。

このコマンドでは、デフォルトのフラグ ​`--help`​ のみを受け入れます。

## [](#runtime-mgr-standalone-application-delete)runtime-mgr:standalone-application:delete

\> runtime-mgr:standalone-application:delete \[flags\] <identifier>

このコマンドでは、​`identifier`​ で渡されるスタンドアロン (オンプレミス) アプリケーションを削除します。

このコマンドでは、デフォルトのフラグ ​`--help`​ のみを受け入れます。

<table><tbody><tr><td class="icon"><i class="fa icon-warning" title="Warning"></i></td><td class="content">このコマンドは、削除する前に 2 回入力を促しません。削除命令を送信する場合、確認を求められることはありません。</td></tr></tbody></table>

## [](#runtime-mgr-standalone-application-describe)runtime-mgr:standalone-application:describe

\> runtime-mgr:standalone-application:describe \[flags\] <identifier>

このコマンドでは、​`identifier`​ で渡されるスタンドアロン (オンプレミス) アプリケーションの状況、作成日、最終更新日などの詳細情報を表示します。

フラグ ​`-o json`​ を使用して、​`<name>`​ で指定するアプリケーションの未加工の JSON 応答を取得します。

このコマンドには ​`--output`​ フラグを使用できます。​`--output`​ フラグを使用して、応答形式を指定します。サポートされている値は、​`table`​ (デフォルト) および ​`json`​ です。

このコマンドでは、デフォルトのフラグ ​`--help`​ も受け入れます。

## [](#runtime-mgr-standalone-application-list)runtime-mgr:standalone-application:list

\> runtime-mgr:standalone-application:list \[flags\]

このコマンドでは、すべてのスタンドアロン (オンプレミス) アプリケーションをリストします。

このコマンドでは、デフォルトの ​`--help`​ フラグ以外に次のフラグも受け入れます。

<table class="tableblock frame-all grid-all fit-content spread">
<colgroup>
<col>
<col>
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">フラグ</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p><code>--limit &lt;num&gt;</code></p>
</div></div></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>取得する結果の数を指定する</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p><code>--offset &lt;num&gt;</code>​</p>
</div></div></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>渡されるアプリケーションの数をオフセットする</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p><code>--output</code>​ &lt;value&gt;</p>
</div></div></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>応答形式を指定する。</p>
</div></div></td>
</tr>
</tbody>
</table>

## [](#runtime-mgr-standalone-application-restart)runtime-mgr:standalone-application:restart

\> runtime-mgr:standalone-application:restart \[flags\] <identifier>

このコマンドでは、​`identifier`​ で渡されるスタンドアロン (オンプレミス) アプリケーションを再起動します。

このコマンドでは、デフォルトのフラグ ​`--help`​ のみを受け入れます。

## [](#runtime-mgr-standalone-application-stop)runtime-mgr:standalone-application:stop

\> runtime-mgr:standalone-application:stop \[flags\] <identifier>

このコマンドでは、​`identifier`​ で渡されるスタンドアロン (オンプレミス) アプリケーションを停止します。

このコマンドでは、デフォルトのフラグ ​`--help`​ のみを受け入れます。

## [](#runtime-mgr-standalone-application-copy)runtime-mgr:standalone-application:copy

\> runtime-mgr:standalone-application:copy \[flags\] <source> <target> <targetIdentifier>

このコマンドでは、​`source`​ で渡されるスタンドアロン (オンプレミス) アプリケーションを ​`target`​ で渡される対象およびサーバー、サーバーグループ、クラスター ID (​`targetIdentifier`​ で渡される名前) にコピーします。

`source`​ と ​`destination`​ の引数はどちらも、次のように ​`<organizationName>:<environmentName>/<appName>`​ の形式を使用して表されます。

\> runtime-mgr:standalone-application:copy Services:QA/application-1 Development:QA/application-2 123456

`application-1`​ という名前のアプリケーションを​_サービス_​組織の QA 環境からサーバー ID 123456 の ​`_Development_`​ 組織の QA 環境にコピーします。

Anypoint Platform CLI でサービス組織の QA 環境を使用する場合、コマンドの ​`source`​ としてアプリケーション名を使用できます。

\> runtime-mgr:standalone-application:copy application-1 Development/QA/application-2 123456

<table><tbody><tr><td class="icon"><i class="fa icon-note" title="Note"></i></td><td class="content">このコマンドを実行するには、ユーザーに OS の ​<code>/tmp</code>​ ディレクトリ (CLI のインストール先) への参照/更新アクセス権が必要です。</td></tr></tbody></table>

このコマンドでは、デフォルトのフラグ ​`--help`​ のみを受け入れます。