CLI for Managing Apps in Runtime Fabric
Use these commands for managing applications in Runtime Fabric. For more information about how to use these commands, refer to the Runtime Fabric documentation.
Command | Description |
---|---|
Deletes an application |
|
Describes an application |
|
Deploys an application to a specified target using an Exchange application and runs the specified runtime version |
|
Downloads logs of an application from a specification to a specified directory |
|
Lists all applications in an organization |
|
Modifies a deployed application |
|
Starts a stopped application |
|
Stops running an application |
|
Tails an application’s logs from a specification |
runtime-mgr:application:delete
> runtime-mgr:application:delete [flags] <appID>
Deletes the running application specified in <appID>
. To get this ID, run the runtime-mgr application list
command.
This command does not prompt twice before deleting. If you send a delete instruction, it does not ask for confirmation. |
This command accepts the default flags.
runtime-mgr:application:describe
> runtime-mgr:application:describe [flags] <appID>
Displays information about the application specified in <appID>
. To get this ID, run the runtime-mgr application list
command.
This command has the --output
flag. Use the --output
flag to specify the response format. Supported values are table
(default) and json
.
This command accepts the default flags.
runtime-mgr:application:deploy
> runtime-mgr:application:deploy <appID> <deploymentTargetID> <runtimeVersion> <artifactID> [flags]
Deploys the application specified in <appID>
to the deployment target specified using the following options:
Value | Description | Example |
---|---|---|
|
Artifact ID of the application retrieved from Exchange. |
|
|
ID of the deployment target. |
|
|
Instance type |
|
|
Name of the application to deploy. |
|
|
Size of replicas in Vcores. |
|
|
Runtime version of the deployment target. If you don’t specify a runtime version, CloudHub API deploys the latest version available considering the values you select for |
|
|
Sets an encrypted property. |
|
In addition to the default flags, this command accepts the following flags:
Flag | Description | Example |
---|---|---|
|
Version of the Exchange application to use. |
|
|
Enables clustered nodes, which requires at least two replicas. |
|
|
Disables forwarding applications logs to Anypoint Monitoring. |
|
|
Enables SSL session forwarding. |
|
|
Group ID of the asset to deploy. |
|
|
Enables Last Mile Security. |
|
|
Enables Object Store v2. |
|
--javaVersion |
Set the name of the Java version to be used for the selected Mule version. Supported values are |
|
|
Supplies the base path expected by the HTTP listener in your application. |
|
|
Sets a property. |
|
|
Replaces all properties with values from a selected file. |
|
|
Supplies endpoints to reach via the public internet. |
|
--releaseChannel |
Set the name of the release channel to be used for the selected Mule version. Supported values are |
|
|
Number of replicas. Must be above |
|
|
Size of replicas in Vcores. |
|
|
Defines scope logging. |
|
|
Uploads a file to define scope logging. |
|
|
Updates the strategy used. |
|
This command has multi-option flags. When using multi-option flags in a command, either put the parameter before the flags or use a `-- ` (two dashes followed by a space) before the parameter. |
runtime-mgr:application:download-logs
> runtime-mgr:application:download-logs [flags] <appID> <directory> <specID>
Downloads logs for the application specified in <appID>
from the specification specified in <specID>
to the selected directory.
To get the <appID>
, run the runtime-mgr application list
command.
To get the <specID>
run the runtime-mgr application describe
command.
This command accepts the default flags.
runtime-mgr:application:list
> runtime-mgr:application:list [flags]
Lists all applications in your organization.
This command has the --output
flag. Use the --output
flag to specify the response format. Supported values are table
(default) and json
.
This command accepts the default flags.
runtime-mgr:application:modify
> runtime-mgr:application:modify <appID> <certificateName> [flags]
Updates the settings of an existing application specified in <appID>
.
To get the <appID>
, run the runtime-mgr application list
command.
In addition to the default flags, this command accepts the following flags:
Flag | Description | Example |
---|---|---|
|
ID of the application retrieved from Exchange. |
|
|
Version of the Exchange application to use. |
|
|
Enables clustered nodes, which requires at least two replicas. |
|
|
Disables forwarding applications logs to Anypoint Monitoring. |
|
|
Enables SSL session forwarding. |
|
|
Group ID of the asset to deploy. |
|
|
Instance type |
|
|
Enables Last Mile Security. |
|
|
Enables object store v2. |
|
|
Supplies the base path expected by the HTTP listener in your application. |
|
|
Sets a property. |
|
|
Replaces all properties with values from a selected file. |
|
|
Supplies endpoints to reach via the public internet. |
|
|
Number of replicas. Must be above |
|
|
Size of replicas in Vcores. |
|
|
Runtime version of the deployment target. |
|
|
Sets an encripted property. |
|
|
Defines scope logging. |
|
|
Uploads a file to define scope logging. |
|
|
Updates the strategy used. |
|
This command has multi-option flags. When using multi-option flags in a command, either put the parameter before the flags or use a `-- ` (two dashes followed by a space) before the parameter. |
runtime-mgr:application:start
> runtime-mgr:application:start [flags] <appid>
Starts running the application specified in <appid>
. To get this ID, run the runtime-mgr application list
command.
This command accepts the default flags.
runtime-mgr:application:stop
> runtime-mgr:application:stop [flags] <appID>
Stops running the application specified in <appID>
. To get this ID, run the runtime-mgr application list
command.
This command accepts the default flags.
runtime-mgr:application:logs
> runtime-mgr:application:logs [flags] <appID> <specID>
Tails application logs for the application specificied in <appID>
from the specification specified in <specID>
.
To get the <appID>
, run the runtime-mgr application list
command.
To get the <specID>
, run the runtime-mgr application describe
command.
This command accepts the default flags.