public interface StackService
| Modifier and Type | Method and Description |
|---|---|
Stack |
create(StackCreate newStack)
|
Stack |
create(String name,
String template,
Map<String,String> parameters,
boolean disableRollback,
Long timeOutMins)
POST /v1/{tenant_id}/stacks Creates a new StackCreate Object and returns a new Stack as sent from the
server. |
ActionResponse |
delete(String stackName,
String stackId)
Deletes the specified
Stack from the server. |
Stack |
getDetails(String stackName,
String stackId)
returns details of a
Stack. |
Stack |
getStackByName(String name)
returns details of a
Stack. |
List<? extends Stack> |
list()
Gets a list of currently existing
Stacks. |
List<? extends Stack> |
list(Map<String,String> filteringParams)
Gets a list of currently existing
Stack objects, filtered by parameters. |
ActionResponse |
update(String stackName,
String stackId,
StackUpdate stackUpdate)
Updates an existing Stack
|
Stack create(StackCreate newStack)
newStack - StackCreate object out of which stack is to be createdStack as returned from the serverActionResponse update(String stackName, String stackId, StackUpdate stackUpdate)
stackName - the stack namestackId - the specific stack identifierstackUpdate - the stack update optionsStack create(String name, String template, Map<String,String> parameters, boolean disableRollback, Long timeOutMins)
POST /v1/{tenant_id}/stacks StackCreate Object and returns a new Stack as sent from the
server.name - Name of Stacktemplate - Template in Json-Format or YAML formatparameters - Map of parametersdisableRollback - boolean to enable or disable rollbacktimeOutMins - timeout in minutesStack as returned from the serverList<? extends Stack> list()
Stacks.StacksList<? extends Stack> list(Map<String,String> filteringParams)
Stack objects, filtered by parameters.filteringParams - The parameters used to filter the stacks returned.Stack objects.Copyright © 2017. All rights reserved.