Modifier and Type | Field and Description |
---|---|
static String |
GUEST_MASK |
static String |
NOTES_MASK |
Modifier and Type | Method and Description |
---|---|
VirtualGuest |
createVirtualGuest(VirtualGuest virtualGuest)
Enables the creation of computing instances on an account.
|
boolean |
deleteVirtualGuest(long id)
Delete a computing instance
|
ContainerVirtualGuestConfiguration |
getCreateObjectOptions()
Determine options available when creating a computing instance
|
VirtualGuest |
getNotes(long id)
Get notes (visible in UI)
Don't include it in default getObject mask as it can get quite big (up to 1000 chars).
|
VirtualGuest |
getVirtualGuest(long id) |
VirtualGuest |
getVirtualGuestFiltered(long id,
String filter)
Returns a
VirtualGuest with only the fields listed in the filter string. |
void |
pauseVirtualGuest(long id)
Pause the guest.
|
void |
rebootHardVirtualGuest(long id)
Hard reboot the guest.
|
void |
resumeVirtualGuest(long id)
Resume the guest.
|
boolean |
setNotes(long id,
String notes)
Set notes (visible in UI)
|
boolean |
setTags(long id,
Set<String> tags)
Set the tags on the instance
|
static final String GUEST_MASK
static final String NOTES_MASK
@Named(value="VirtualGuests:create") VirtualGuest createVirtualGuest(VirtualGuest virtualGuest)
@Named(value="VirtualGuests:get") VirtualGuest getVirtualGuest(long id)
@Named(value="VirtualGuests:get") VirtualGuest getVirtualGuestFiltered(long id, String filter)
VirtualGuest
with only the fields listed in the filter string.@Named(value="VirtualGuests:delete") boolean deleteVirtualGuest(long id)
@Named(value="VirtualGuests:getCreateObjectOptions") ContainerVirtualGuestConfiguration getCreateObjectOptions()
@Named(value="VirtualGuest:rebootHard") void rebootHardVirtualGuest(long id)
id
- id of the virtual guest@Named(value="VirtualGuest:pause") void pauseVirtualGuest(long id)
id
- id of the virtual guest@Named(value="VirtualGuest:resume") void resumeVirtualGuest(long id)
id
- id of the virtual guest@Named(value="VirtualGuest:setTags") boolean setTags(long id, Set<String> tags)
id
- id of the virtual guest@Named(value="VirtualGuest:setNotes") boolean setNotes(long id, String notes)
id
- id of the virtual guestnotes
- The notes property to set on the machine - visible in UI@Named(value="VirtualGuest:getNotes") VirtualGuest getNotes(long id)
id
- id of the virtual guestCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.