Back to index
Summary
Deletes an application or component process.projectNameStringrequiredThe name for the project that must be unique among all projects. processNameStringrequiredThe name of the process. applicationNameStringoptionalThe name of the application, if the process is owned by an application. componentApplicationNameStringoptionalIf specified, the component is scoped to this application not the project. componentNameStringoptionalThe name of the component, if the process is owned by a component. microserviceApplicationNameStringoptionalIf specified, the microservice is scoped to an application. microserviceNameStringoptionalThe name of the microservice, if the process is owned by a microservice. |
Usage
Perl
$cmdr->deleteProcess( "test-projectName", # projectName "test-processName" # processName # optionals );
ectool
ectool deleteProcess \ "test-projectName" `# projectName` \ "test-processName" `# processName` \ # optionals
Examples
Perl
To delete a component process in a master component:
$cmdr->deleteProcess('Default', 'Deploy', {componentName => 'WAR file'});
To create a component process in a specific application:
$cmdr->deleteProcess('Default', 'Deploy', {componentName => 'WAR file', componentApplicationName => 'Shopping Cart'});
To create an application process:
$cmdr->deleteProcess('Default', 'Deploy', {applicationName => 'Shopping Cart'});
ectool
To delete a component process in a master component:
ectool deleteProcess 'Default' 'Deploy' --componentName 'WAR file'
To create a component process in a specific application:
ectool deleteProcess 'Default' 'Deploy' --componentName 'WAR file' --componentApplicationName 'Shopping Cart'
To create an application process:
ectool deleteProcess 'Default' 'Deploy' --applicationName 'Shopping Cart'