|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISOAsyncClient
ISOClient
,
http://download.cloud.com/releases/2.2.12/api/TOC_User.html
Method Summary | |
---|---|
com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> |
attachISO(long isoId,
long vmId)
Attaches an ISO to a virtual machine. |
com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> |
copyISO(long isoId,
long sourceZoneId,
long destZoneId)
Copies a template from one zone to another. |
com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> |
deleteISO(long id,
DeleteISOOptions... options)
Deletes an ISO file. |
com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> |
detachISO(long vmId)
Detaches any ISO file (if any) currently attached to a virtual machine. |
com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> |
extractISO(long id,
ExtractMode mode,
long zoneId,
ExtractISOOptions... options)
Extracts an ISO |
com.google.common.util.concurrent.ListenableFuture<ISO> |
getISO(long id)
Gets information about an ISO by its ID. |
com.google.common.util.concurrent.ListenableFuture<ISOPermissions> |
listISOPermissions(long id,
AccountInDomainOptions... options)
List template visibility and all accounts that have permissions to view this template. |
com.google.common.util.concurrent.ListenableFuture<Set<ISO>> |
listISOs(ListISOsOptions... options)
Lists all available ISO files. |
com.google.common.util.concurrent.ListenableFuture<ISO> |
registerISO(String name,
String displayText,
String url,
long zoneId,
RegisterISOOptions... options)
Registers an existing ISO into the Cloud.com Cloud. |
com.google.common.util.concurrent.ListenableFuture<ISO> |
updateISO(long id,
UpdateISOOptions... options)
|
com.google.common.util.concurrent.ListenableFuture<Void> |
updateISOPermissions(long id,
UpdateISOPermissionsOptions... options)
Updates iso permissions |
Method Detail |
---|
com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> attachISO(long isoId, long vmId)
isoId
- the ID of the ISO filevmId
- the ID of the virtual machine
com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> detachISO(long vmId)
vmId
- The ID of the virtual machine
com.google.common.util.concurrent.ListenableFuture<ISO> getISO(long id)
id
- the ID of the ISO file
com.google.common.util.concurrent.ListenableFuture<Set<ISO>> listISOs(ListISOsOptions... options)
options
- optional arguments
com.google.common.util.concurrent.ListenableFuture<ISO> registerISO(String name, String displayText, String url, long zoneId, RegisterISOOptions... options)
name
- the name of the ISOdisplayText
- the display text of the ISO. This is usually used for display purposes.url
- the URL to where the ISO is currently being hostedzoneId
- the ID of the zone you wish to register the ISO to.options
- optional arguments
com.google.common.util.concurrent.ListenableFuture<ISO> updateISO(long id, UpdateISOOptions... options)
id
- the ID of the ISO fileoptions
- optional arguments
com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> deleteISO(long id, DeleteISOOptions... options)
id
- the ID of the ISO fileoptions
- optional arguments
com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> copyISO(long isoId, long sourceZoneId, long destZoneId)
isoId
- Template ID.sourceZoneId
- ID of the zone the template is currently hosted on.destZoneId
- ID of the zone the template is being copied to.
com.google.common.util.concurrent.ListenableFuture<Void> updateISOPermissions(long id, UpdateISOPermissionsOptions... options)
id
- the template IDoptions
- optional arguments
com.google.common.util.concurrent.ListenableFuture<ISOPermissions> listISOPermissions(long id, AccountInDomainOptions... options)
id
- the template IDoptions
- optional arguments
com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> extractISO(long id, ExtractMode mode, long zoneId, ExtractISOOptions... options)
id
- the ID of the ISO filemode
- the mode of extraction - HTTP_DOWNLOAD or FTP_UPLOADzoneId
- the ID of the zone where the ISO is originally locatedoptions
- optional arguments
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |