public class ServerGroupServiceImpl extends BaseComputeServices implements ServerGroupService
| 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
|
public List<? extends ServerGroup> list()
ServerGroupServicelist in interface ServerGroupServicepublic ServerGroup get(String id)
ServerGroupServiceget in interface ServerGroupServicepublic ActionResponse delete(String id)
ServerGroupServicedelete in interface ServerGroupServicepublic ServerGroup create(String name, String policy)
ServerGroupServicecreate in interface ServerGroupServicename - the name of the serverGroup