Modifier and Type | Method and Description |
---|---|
VMGroup |
createInstanceGroup(String name,
CreateVMGroupOptions... options)
Creates a VM group
|
void |
deleteInstanceGroup(String id)
Delete a VM group
|
VMGroup |
getInstanceGroup(String id) |
Set<VMGroup> |
listInstanceGroups(ListVMGroupsOptions... options)
Lists VM groups
|
VMGroup |
updateInstanceGroup(String id,
UpdateVMGroupOptions... options)
Modify a VM group
|
@Named(value="listInstanceGroups") @GET @Consumes(value="application/json") Set<VMGroup> listInstanceGroups(ListVMGroupsOptions... options)
options
- if present, how to constrain the list.@Named(value="listInstanceGroups") @GET @Consumes(value="application/json") VMGroup getInstanceGroup(@QueryParam(value="id") String id)
getInstanceGroup(java.lang.String)
@Named(value="createInstanceGroup") @GET @Consumes(value="application/json") VMGroup createInstanceGroup(@QueryParam(value="name") String name, CreateVMGroupOptions... options)
name
- the name of the VM groupoptions
- optional parameters@Named(value="updateInstanceGroup") @GET @Consumes(value="application/json") VMGroup updateInstanceGroup(@QueryParam(value="id") String id, UpdateVMGroupOptions... options)
name
- the new name of the group@Named(value="deleteInstanceGroup") @GET void deleteInstanceGroup(@QueryParam(value="id") String id)
id
- the ID of the VM groupCopyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.