|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VirtualGuestApi
Provides access to VirtualGuest via their REST API.
| Field Summary | |
|---|---|
static String |
GUEST_MASK
|
| Method Summary | |
|---|---|
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 |
getVirtualGuest(long id)
|
void |
pauseVirtualGuest(long id)
Pause the guest. |
void |
rebootHardVirtualGuest(long id)
Hard reboot the guest. |
void |
resumeVirtualGuest(long id)
Resume the guest. |
boolean |
setTags(long id,
Set<String> tags)
Resume the guest. |
| Field Detail |
|---|
static final String GUEST_MASK
| Method Detail |
|---|
@Named(value="VirtualGuests:create") VirtualGuest createVirtualGuest(VirtualGuest virtualGuest)
virtualGuest - this data type presents the structure in which all virtual guests will be presented.
@Named(value="VirtualGuests:get") VirtualGuest getVirtualGuest(long id)
id - id of the virtual guest
@Named(value="VirtualGuests:delete") boolean deleteVirtualGuest(long id)
id - the id of the virtual guest.
@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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||