public interface ServerGroupService extends RestService
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
|
List<? extends ServerGroup> list()
ServerGroup get(String id)
name
- the serverGroup idActionResponse delete(String id)
name
- the serverGroup idServerGroup create(String name, String policy)
name
- the name of the serverGrouppublicKey
- the public key (optional), Null indicates one will be generatedCopyright © 2017. All rights reserved.