public class MuranoEnvironmentServiceImpl extends BaseOpenStackService implements MuranoEnvironmentService
MuranoEnvironment
objects.BaseOpenStackService.Invocation<R>
Constructor and Description |
---|
MuranoEnvironmentServiceImpl() |
Modifier and Type | Method and Description |
---|---|
Environment |
create(Environment env)
Creates a new environment
|
ActionResponse |
delete(String id)
Deletes the specified environment
|
Environment |
get(String id)
Gets an environment by ID
|
List<? extends MuranoEnvironment> |
list()
List all environments
|
Environment |
rename(String id,
String name)
Renames the specified environment
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public List<? extends MuranoEnvironment> list()
list
in interface MuranoEnvironmentService
public Environment get(String id)
get
in interface MuranoEnvironmentService
id
- the environment identifierpublic Environment create(Environment env)
create
in interface MuranoEnvironmentService
env
- the environment to createpublic ActionResponse delete(String id)
delete
in interface MuranoEnvironmentService
id
- the environment identifierpublic Environment rename(String id, String name)
rename
in interface MuranoEnvironmentService
id
- the environment identifierCopyright © 2017. All rights reserved.