public class ServerGroupServiceImpl extends BaseComputeServices implements ServerGroupService
BaseOpenStackService.Invocation<R>
Constructor and Description |
---|
ServerGroupServiceImpl() |
Modifier and Type | Method and Description |
---|---|
ServerGroup |
create(String name,
String policy)
Generates or imports a serverGroup
|
ActionResponse |
delete(String id)
Deletes the serverGroup by id
|
ServerGroup |
get(String id)
Gets the serverGroup by id
|
List<? extends ServerGroup> |
list()
Lists serverGroups that are associated with the account making the request
|
invokeAction, invokeActionWithResponse
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public List<? extends ServerGroup> list()
ServerGroupService
list
in interface ServerGroupService
public ServerGroup get(String id)
ServerGroupService
get
in interface ServerGroupService
public ActionResponse delete(String id)
ServerGroupService
delete
in interface ServerGroupService
public ServerGroup create(String name, String policy)
ServerGroupService
create
in interface ServerGroupService
name
- the name of the serverGroupCopyright © 2017. All rights reserved.