@Path(value="/vms")
 @Consumes(value="application/json")
 @Produces(value="application/vnd.ilandcloud.api.v1.0+json")
public interface VmResource
| Modifier and Type | Method and Description | 
|---|---|
TaskResponse | 
addVirtualDisk(String vmUuid,
              VmVirtualDiskCreateRequest disk)
Updates the virtual disks for a VM. 
 | 
TaskResponse | 
copyVm(String vmUuid,
      VmCopyMoveRequest spec)
Creates a new Vm in the Vapp based on an existing Vm. 
 | 
TaskResponse | 
createSnapshotForVm(String vmUuid,
                   SnapshotCreateRequest spec)
Create a snapshot for the given VM. 
 | 
TaskResponse | 
deleteMetadataForVm(String vmUuid,
                   String key)
Delete a specific piece of metadata associated with a Vm by its key. 
 | 
TaskResponse | 
deleteVirtualDisk(String vmUuid,
                 String diskName)
Delete a virtual disk from a VM. 
 | 
TaskResponse | 
deleteVirtualNetworkCard(String vmUuid,
                        String vnicId)
Delete a vnic with the given ID for the given VM. 
 | 
TaskResponse | 
deleteVm(String vmUuid)
Delete a VM. 
 | 
TaskResponse | 
disableNestedHypervisor(String vmUuid)
Disable nested hypervisor for given VM. 
 | 
InputStream | 
downloadBackupFileDownloadBundle(String vmUuid,
                                String taskUuid)
Downloads the backup file bundle (ZIP archive) that is associated with the
 specified bundle task. 
 | 
InputStream | 
downloadBackupFileSnapshot(String vmUuid,
                          String backupRunUid,
                          String filename)
Downloads a file from a specified backup run. 
 | 
TaskResponse | 
ejectMedia(String vmUuid)
Eject a media from a Vm. 
 | 
TaskResponse | 
enableNestedHypervisor(String vmUuid)
Enable nested hypervisor for given VM. 
 | 
TaskResponse | 
generateBackupFileDownloadBundle(String vmUuid,
                                GenerateBackupFileDownloadBundleParams params)
Generates a new downloadable bundle (ZIP archive) of a collection of
 file snapshots. 
 | 
StorageProfileListResponse | 
getAvailableStorageProfilesForVm(String vmUuid,
                                Boolean includeDisabled)
Get the storage profiles available to the VM. 
 | 
VmBackupStatusDetailResponse | 
getBackupStatus(String vmUuid)
Gets the VM's backup status. 
 | 
BillResponse | 
getBillingForVm(String vmUuid,
               Integer year,
               Integer month)
Returns VM Billing for a given invoice period. 
 | 
VmBootOptionsResponse | 
getBootOptions(String vmUuid)
Get the boot options for a given VM. 
 | 
BillingSummaryResponse | 
getCurrentBilling(String vmUuid)
Return current vm billing for a give Vm. 
 | 
GuestCustomizationResponse | 
getGuestCustomization(String vmUuid,
                     Boolean omitPasswords)
Get the guest customization section of a Vm. 
 | 
GuestToolsResponse | 
getGuestTools(String vmUuid)
Get VMWare tools information for the given VM. 
 | 
VmIntegratedBackupStatusDetailResponse | 
getIntegratedBackupStatus(String vmUuid)
Gets the VM's integrated backup status. 
 | 
MetadataListResponse | 
getMetadataForVm(String vmUuid)
Retrieve metadata associated with a Vm. 
 | 
MksScreenTicketResponse | 
getMksScreenTicket(String vmUuid)
Retrieve a mks screen ticket for viewing the console of a given Vm. 
 | 
VmNetworkListResponse | 
getNetworksForVm(String vmUuid)
Get the networks for a given VM. 
 | 
PerformanceCounterListResponse | 
getPerformanceCountersForVm(String vmUuid)
Get the list of performance counters that can be used to query for VM
 performance data. 
 | 
PerfSampleSerieResponse | 
getPerformanceForVm(String vmUuid,
                   String group,
                   String name,
                   String type,
                   Long start,
                   Long end,
                   String interval,
                   String limit)
Get VM performance data for the given VM, counter, and time range. 
 | 
ProductSectionListResponse | 
getProductSections(String vmUuid)
Get the product sections for a VM. 
 | 
RecommendedDiskBusTypeResponse | 
getRecommendedDiskBusType(String vmUuid)
Get the recommended hard disk bus type for the given VM. 
 | 
RestorePointListResponse | 
getRestorePoints(String vmUuid)
Get restore points for the given VM. 
 | 
InputStream | 
getScreen(String vmUuid)
Gets the current screen JPEG thumbnail image. 
 | 
ScreenTicketResponse | 
getScreenTicket(String vmUuid)
Retrieve a screen ticket for viewing the console of a given Vm. 
 | 
SnapshotResponse | 
getSnapshotForVm(String vmUuid)
Get the snapshot for the given VM. 
 | 
VirtualDiskListResponse | 
getVirtualDisks(String vmUuid)
Gets the virtual disks for a VM. 
 | 
VirtualNetworkCardListResponse | 
getVirtualNetworkCards(String vmUuid)
Get a list of virtual network cards for the given VM. 
 | 
VmResponse | 
getVm(String vmUuid)
Get a Vm by UUID. 
 | 
VmCapabilityResponse | 
getVmCapabilities(String vmUuid)
Get the VM capabilities for a VM. 
 | 
VmResponse | 
getVmLatest(String uuid)
Get a Vm by UUID. 
 | 
VmResourceSummaryResponse | 
getVmSummary(String vmUuid)
Get the resource summary for the given VM. 
 | 
VmToolsUpgradePolicyResponse | 
getVmToolsUpgradePolicy(String vmUuid)
Get the VMWare tools upgrade policy for the VM. 
 | 
HasSnapshotResponse | 
hasVmSnapshot(String vmUuid)
Check for the existence of a snapshot for the given VM. 
 | 
TaskResponse | 
insertMedia(String vmUuid,
           VmMediaInsertRequest spec)
Insert a media to a Vm. 
 | 
TaskResponse | 
installVMWareTools(String vmUuid)
The actual action performed will be to mount the VMWare tools ISO on the
 given VM. 
 | 
DirectoryListingResponse | 
listBackupDirectoryContents(String vmUuid,
                           String backupRunUid,
                           String volumeName,
                           String directoryPath,
                           ListBackupSnapshotFilesAndFoldersFilters filters)
Gets a directory listing for a VM backup snapshot. 
 | 
FileSnapshotInfoListResponse | 
listBackupFileSnapshots(String vmUuid,
                       String backupGroupUid,
                       String filename)
Lists all snapshots that are available for a specified file, in association
 with a specific backup group. 
 | 
BackupGroupRunListResponse | 
listBackupRuns(String vmUuid,
              ListVmBackupGroupRunsFilters filters)
Lists all backup runs that are associated with the specified VM. 
 | 
FilesystemVolumeListResponse | 
listBackupVolumeSnapshots(String vmUuid,
                         String backupRunUid,
                         Integer attemptNumber)
Lists all volumes that are present on a VM backup snapshot. 
 | 
TaskResponse | 
moveVm(String vmUuid,
      VmCopyMoveRequest spec)
Moves an existing VM into the specified Vapp. 
 | 
TaskResponse | 
powerOffVm(String vmUuid)
Power off a VM. 
 | 
TaskResponse | 
powerOnVm(String vmUuid,
         boolean forceGuestCustomization)
Power on a VM. 
 | 
TaskResponse | 
rebootVm(String vmUuid)
Reboot a VM. 
 | 
TaskResponse | 
reconfigure(String vmUuid,
           VmReconfigureRequest spec)
Reconfigure a VM. 
 | 
TaskResponse | 
relocateVm(String vmUuid,
          VmRelocateRequest spec)
Relocate a Vm to another storage profile. 
 | 
TaskResponse | 
removeSnapshotForVm(String vmUuid)
Remove a snapshot from a VM. 
 | 
TaskResponse | 
rename(String vmUuid,
      VmNameUpdateRequest spec)
Rename a VM. 
 | 
TaskResponse | 
resetMacAddresses(String vmUuid)
Reset the MAC addresses for all VNICs of the VM. 
 | 
TaskResponse | 
resetVm(String vmUuid)
Reset a VM. 
 | 
TaskResponse | 
restoreSnapshotForVm(String vmUuid)
Restore a VM from a snapshot. 
 | 
TaskResponse | 
restoreVm(String vmUuid,
         VmRestoreRequest spec)
Restore a VM from a restore point into the same vApp. 
 | 
TaskResponse | 
restoreVMBackup(String vmUuid,
               RestoreVMBackupParams params)
Restores a VM backup. 
 | 
TaskResponse | 
restoreVmIntoVapp(String vmUuid,
                 VmRestoreIntoVappRequest spec)
Restore a VM from a restore point into the given vApp. 
 | 
RecoverableFilesSearchResultListResponse | 
searchRecoverableFilesAndFolders(String vmUuid,
                                SearchVmRecoverableFilesAndFoldersFilters filters)
Searches for recoverable backup files and folders that are associated with
 the VM. 
 | 
void | 
sendEventHistoryForVm(String vmUuid,
                     EventHistoryEmailRequest spec)
Retrieve a CSV report email with all event history for a given Vm. 
 | 
TaskResponse | 
shutdownVm(String vmUuid)
Shutdown a VM guest operating system. 
 | 
TaskResponse | 
suspendVm(String vmUuid)
Suspend a VM. 
 | 
TaskResponse | 
updateBootOptions(String vmUuid,
                 VmBootOptionsUpdateRequest bootOptions)
Update boot options associated with a VM. 
 | 
TaskResponse | 
updateCpuCount(String vmUuid,
              VmCpuCountUpdateRequest spec)
Update the cpu count for the given VM. 
 | 
TaskResponse | 
updateDescriptionForVm(String vmUuid,
                      VmDescriptionUpdateRequest spec)
Update the description for a vm. 
 | 
TaskResponse | 
updateGuestCustomization(String vmUuid,
                        GuestCustomizationUpdateRequest guestCustomizationSection)
Update the guest customization section of a VM. 
 | 
TaskResponse | 
updateMemorySize(String vmUuid,
                VmMemorySizeUpdateRequest spec)
Update the memory size for the given VM. 
 | 
TaskResponse | 
updateMetadataForVm(String vmUuid,
                   List<UpdateMetadataRequest> metadata)
Add / update metadata associated with a Vm. 
 | 
TaskResponse | 
updateProductSectionProperties(String vmUuid,
                              UpdateProductSectionPropertiesRequest params)
Update product section properties of a VM. 
 | 
TaskResponse | 
updateVirtualDisk(String vmUuid,
                 VmVirtualDiskUpdateRequest disk)
Updates a virtual disk. 
 | 
TaskResponse | 
updateVirtualDisks(String vmUuid,
                  List<VirtualDiskRequest> disks)
Updates the virtual disks for a VM. 
 | 
TaskResponse | 
updateVirtualHardwareVersion(String vmUuid)
Upgrade the virtual hardware version of a vm to the latest available
 version. 
 | 
TaskResponse | 
updateVirtualNetworkCards(String vmUuid,
                         List<VirtualNetworkCardRequest> vnics)
Update virtual network cards for a VM. 
 | 
TaskResponse | 
updateVmCapabilities(String vmUuid,
                    VmCapabilityUpdateRequest spec)
Update the VM capabilites for a VM. 
 | 
TaskResponse | 
updateVmToolsUpgradePolicy(String vmUuid,
                          VmToolsUpgradePolicyUpdateRequest upgradePolicy)
Update the VMware tools upgrade policy. 
 | 
TaskResponse | 
upgradeGuestTools(String vmUuid)
Upgrade VMWare tools for the given VM. 
 | 
@GET
 @Path(value="/{vmUuid}/billing-summary")
BillingSummaryResponse getCurrentBilling(@PathParam(value="vmUuid")
                                                                                        String vmUuid)
Excluded from public API as its really only intended for consumption in console.
vmUuid - vm uuid@GET
 @Path(value="/{vmUuid}/billing")
BillResponse getBillingForVm(@PathParam(value="vmUuid")
                                                                    String vmUuid,
                                                                    @QueryParam(value="year")
                                                                    Integer year,
                                                                    @QueryParam(value="month")
                                                                    Integer month)
If month and year are not explicitly supplied the current invoice period is used.
vmUuid - VM uuidyear - the invoice period year (defaults to current year)month - the invoice period month (defaults to the current month) must
               be in range 1-12@GET
 @Path(value="/{vmUuid}/screen-ticket")
ScreenTicketResponse getScreenTicket(@PathParam(value="vmUuid")
                                                                                  String vmUuid)
vmUuid - vm uuid@GET
 @Path(value="/{vmUuid}/mks-screen-ticket")
MksScreenTicketResponse getMksScreenTicket(@PathParam(value="vmUuid")
                                                                                            String vmUuid)
vmUuid - vm uuid@POST
 @Path(value="/{vmUuid}/actions/update-virtual-hardware-version")
TaskResponse updateVirtualHardwareVersion(@PathParam(value="vmUuid")
                                                                                                                  String vmUuid)
vmUuid - vm uuid@POST
 @Path(value="/{vmUuid}/actions/update-description")
 @Consumes(value="application/json")
TaskResponse updateDescriptionForVm(@PathParam(value="vmUuid")
                                                                                                                                    String vmUuid,
                                                                                                                                    VmDescriptionUpdateRequest spec)
vmUuid - vm uuidspec - specification to update VM description@POST
 @Path(value="/{vmUuid}/actions/email-event-history")
void sendEventHistoryForVm(@PathParam(value="vmUuid")
                                                                                       String vmUuid,
                                                                                       EventHistoryEmailRequest spec)
vmUuid - vm uuidspec - email address spec@GET
 @Path(value="/{vmUuid}/metadata")
MetadataListResponse getMetadataForVm(@PathParam(value="vmUuid")
                                                                              String vmUuid)
vmUuid - vm uuid@PUT
 @Path(value="/{vmUuid}/metadata")
 @Consumes(value="application/json")
TaskResponse updateMetadataForVm(@PathParam(value="vmUuid")
                                                                                                              String vmUuid,
                                                                                                              List<UpdateMetadataRequest> metadata)
vmUuid - vm uuidmetadata - list of metadata@DELETE
 @Path(value="/{vmUuid}/metadata/{key}")
TaskResponse deleteMetadataForVm(@PathParam(value="vmUuid")
                                                                                  String vmUuid,
                                                                                  @PathParam(value="key")
                                                                                  String key)
vmUuid - vm uuidkey - metadata key@POST
 @Path(value="/{vmUuid}/actions/insert-media")
 @Consumes(value="application/json")
TaskResponse insertMedia(@PathParam(value="vmUuid")
                                                                                                                   String vmUuid,
                                                                                                                   VmMediaInsertRequest spec)
vmUuid - vm uuidspec - specification detailing which media to insert into VM@POST
 @Path(value="/{vmUuid}/actions/eject-media")
 @Consumes(value="application/json")
TaskResponse ejectMedia(@PathParam(value="vmUuid")
                                                                                                                 String vmUuid)
vmUuid - vm uuid@POST
 @Path(value="/{vmUuid}/actions/relocate")
 @Consumes(value="application/json")
TaskResponse relocateVm(@PathParam(value="vmUuid")
                                                                                                              String vmUuid,
                                                                                                              VmRelocateRequest spec)
vmUuid - vm uuidspec - specification for relocating VM to another storage profile@POST
 @Path(value="/{vmUuid}/actions/copy")
 @Consumes(value="application/json")
TaskResponse copyVm(@PathParam(value="vmUuid")
                                                                                                      String vmUuid,
                                                                                                      VmCopyMoveRequest spec)
vmUuid - vm uuidspec - specification for newly copied vm@POST
 @Path(value="/{vmUuid}/actions/move")
 @Consumes(value="application/json")
TaskResponse moveVm(@PathParam(value="vmUuid")
                                                                                                      String vmUuid,
                                                                                                      VmCopyMoveRequest spec)
vmUuid - vm uuidspec - specification for newly moved vm@GET
 @Path(value="/{vmUuid}/backups")
RestorePointListResponse getRestorePoints(@PathParam(value="vmUuid")
                                                                                 String vmUuid)
vmUuid - vm uuid@DELETE
 @Path(value="/{vmUuid}")
TaskResponse deleteVm(@PathParam(value="vmUuid")
                                                        String vmUuid)
vmUuid - vm uuid@POST
 @Path(value="/{vmUuid}/actions/restore")
 @Consumes(value="application/json")
TaskResponse restoreVm(@PathParam(value="vmUuid")
                                                                                                            String vmUuid,
                                                                                                            VmRestoreRequest spec)
vmUuid - vm uuidspec - VM restore specification@POST
 @Path(value="/{vmUuid}/actions/restore-into-vapp")
 @Consumes(value="application/json")
TaskResponse restoreVmIntoVapp(@PathParam(value="vmUuid")
                                                                                                                              String vmUuid,
                                                                                                                              VmRestoreIntoVappRequest spec)
vmUuid - vm uuidspec - VM restore specification@POST
 @Path(value="/{vmUuid}/actions/reset-mac-addresses")
TaskResponse resetMacAddresses(@PathParam(value="vmUuid")
                                                                                           String vmUuid)
vmUuid - vm uuid@POST
 @Path(value="/{vmUuid}/actions/update-name")
 @Consumes(value="application/json")
TaskResponse rename(@PathParam(value="vmUuid")
                                                                                                             String vmUuid,
                                                                                                             VmNameUpdateRequest spec)
vmUuid - vm uuidspec - specification for renaming the VM@GET
 @Path(value="/{vmUuid}/vnics")
VirtualNetworkCardListResponse getVirtualNetworkCards(@PathParam(value="vmUuid")
                                                                                           String vmUuid)
vmUuid - vm uuid@GET
 @Path(value="/{vmUuid}/networks")
VmNetworkListResponse getNetworksForVm(@PathParam(value="vmUuid")
                                                                               String vmUuid)
vmUuid - vm uuid@DELETE
 @Path(value="/{vmUuid}/vnics/{vnicId}")
 @Consumes(value="application/json")
TaskResponse deleteVirtualNetworkCard(@PathParam(value="vmUuid")
                                                                                                                            String vmUuid,
                                                                                                                            @PathParam(value="vnicId")
                                                                                                                            String vnicId)
vmUuid - vm uuidvnicId - vnic id@POST
 @Path(value="/{vmUuid}/actions/update-vnics")
 @Consumes(value="application/json")
TaskResponse updateVirtualNetworkCards(@PathParam(value="vmUuid")
                                                                                                                                 String vmUuid,
                                                                                                                                 List<VirtualNetworkCardRequest> vnics)
vmUuid - vm uuidvnics - of instances@DELETE
 @Path(value="/{vmUuid}/disks/{diskName}")
 @Consumes(value="application/json")
TaskResponse deleteVirtualDisk(@PathParam(value="vmUuid")
                                                                                                                       String vmUuid,
                                                                                                                       @PathParam(value="diskName")
                                                                                                                       String diskName)
vmUuid - vm uuiddiskName - diskName@GET
 @Path(value="/{vmUuid}/snapshot")
SnapshotResponse getSnapshotForVm(@PathParam(value="vmUuid")
                                                                          String vmUuid)
vmUuid - vm uuid@GET
 @Path(value="/{vmUuid}/has-snapshot")
HasSnapshotResponse hasVmSnapshot(@PathParam(value="vmUuid")
                                                                              String vmUuid)
vmUuid - String vm uuid@POST
 @Path(value="/{vmUuid}/actions/create-snapshot")
 @Consumes(value="application/json")
TaskResponse createSnapshotForVm(@PathParam(value="vmUuid")
                                                                                                                              String vmUuid,
                                                                                                                              SnapshotCreateRequest spec)
vmUuid - vm uuidspec - specification for creating a VM snapshot@POST
 @Path(value="/{vmUuid}/actions/restore-snapshot")
TaskResponse restoreSnapshotForVm(@PathParam(value="vmUuid")
                                                                                           String vmUuid)
vmUuid - vm uuid@POST
 @Path(value="/{vmUuid}/actions/remove-snapshot")
TaskResponse removeSnapshotForVm(@Context @PathParam(value="vmUuid")
                                                                                         String vmUuid)
vmUuid - vm uuid@GET
 @Path(value="/{vmUuid}/recommended-disk-bus-type")
RecommendedDiskBusTypeResponse getRecommendedDiskBusType(@PathParam(value="vmUuid")
                                                                                                                  String vmUuid)
vmUuid - vm uuid@GET
 @Path(value="/{vmUuid}/guest-tools")
GuestToolsResponse getGuestTools(@PathParam(value="vmUuid")
                                                                            String vmUuid)
vmUuid - vm uuid@POST
 @Path(value="/{vmUuid}/actions/upgrade-guest-tools")
TaskResponse upgradeGuestTools(@PathParam(value="vmUuid")
                                                                                           String vmUuid)
vmUuid - vm uuid@GET
 @Path(value="/{vmUuid}/performance/{group}::{name}::{type}")
PerfSampleSerieResponse getPerformanceForVm(@PathParam(value="vmUuid")
                                                                                                               String vmUuid,
                                                                                                               @PathParam(value="group")
                                                                                                               String group,
                                                                                                               @PathParam(value="name")
                                                                                                               String name,
                                                                                                               @PathParam(value="type")
                                                                                                               String type,
                                                                                                               @QueryParam(value="start")
                                                                                                               Long start,
                                                                                                               @QueryParam(value="end")
                                                                                                               Long end,
                                                                                                               @QueryParam(value="interval")
                                                                                                               String interval,
                                                                                                               @QueryParam(value="limit")
                                                                                                               String limit)
vmUuid - VM uuidgroup - the performance counter groupname - the performance counter nametype - the performance counter typestart - start dateend - end dateinterval - intervallimit - limit@GET
 @Path(value="/{vmUuid}/performance-counters")
PerformanceCounterListResponse getPerformanceCountersForVm(@PathParam(value="vmUuid")
                                                                                                               String vmUuid)
vmUuid - VM UUID@POST
 @Path(value="/{vmUuid}/actions/poweron")
TaskResponse powerOnVm(@PathParam(value="vmUuid")
                                                                       String vmUuid,
                                                                       @QueryParam(value="forceGuestCustomization")
                                                                       boolean forceGuestCustomization)
vmUuid - vm uuidforceGuestCustomization - optional param to force guest
                                re-customization on restart defaults to false@POST
 @Path(value="/{vmUuid}/actions/poweroff")
TaskResponse powerOffVm(@PathParam(value="vmUuid")
                                                                         String vmUuid)
vmUuid - vm uuid@POST
 @Path(value="/{vmUuid}/actions/suspend")
TaskResponse suspendVm(@PathParam(value="vmUuid")
                                                                       String vmUuid)
vmUuid - vm uuid@POST
 @Path(value="/{vmUuid}/actions/shutdown")
TaskResponse shutdownVm(@PathParam(value="vmUuid")
                                                                         String vmUuid)
This action requires VMWare tools to be installed.
vmUuid - vm uuid@POST
 @Path(value="/{vmUuid}/actions/reset")
TaskResponse resetVm(@PathParam(value="vmUuid")
                                                                   String vmUuid)
vmUuid - vm uuid@POST
 @Path(value="/{vmUuid}/actions/reboot")
TaskResponse rebootVm(@PathParam(value="vmUuid")
                                                                     String vmUuid)
vmUuid - vm uuid@POST
 @Path(value="/{vmUuid}/actions/update-cpu-count")
 @Consumes(value="application/json")
TaskResponse updateCpuCount(@PathParam(value="vmUuid")
                                                                                                                          String vmUuid,
                                                                                                                          VmCpuCountUpdateRequest spec)
vmUuid - vm uuidspec - specification detailing number of cpus to update VM with@POST
 @Path(value="/{vmUuid}/actions/update-memory-size")
TaskResponse updateMemorySize(@PathParam(value="vmUuid")
                                                                                         String vmUuid,
                                                                                         VmMemorySizeUpdateRequest spec)
vmUuid - vm uuidspec - specification detailing memory size to update VM with@GET
 @Path(value="/{vmUuid}")
VmResponse getVm(@PathParam(value="vmUuid")
                                                String vmUuid)
vmUuid - vm uuid@GET
 @Path(value="/{uuid}/latest")
VmResponse getVmLatest(@PathParam(value="uuid")
                                                           String uuid)
uuid - an iland platform VM UUID.@GET
 @Path(value="/{vmUuid}/summary")
VmResourceSummaryResponse getVmSummary(@PathParam(value="vmUuid")
                                                                              String vmUuid)
vmUuid - vm uuid@POST
 @Path(value="/{vmUuid}/actions/update-guest-customization")
 @Consumes(value="application/json")
TaskResponse updateGuestCustomization(@PathParam(value="vmUuid")
                                                                                                                                              String vmUuid,
                                                                                                                                              GuestCustomizationUpdateRequest guestCustomizationSection)
The guest customization section includes properties of the guest operating system that can be modified such as passwords, and domain names.
vmUuid - vm uuidguestCustomizationSection - guest customization section@GET
 @Path(value="/{vmUuid}/guest-customization")
GuestCustomizationResponse getGuestCustomization(@PathParam(value="vmUuid")
                                                                                                    String vmUuid,
                                                                                                    @QueryParam(value="omitPasswords")
                                                                                                    Boolean omitPasswords)
The guest customization section includes properties of the guest operating system that can be modified such as passwords, and domain names.
vmUuid - vm uuidomitPasswords - whether to omit the guest customization passwords@GET
 @Path(value="/{vmUuid}/boot-options")
VmBootOptionsResponse getBootOptions(@PathParam(value="vmUuid")
                                                                                 String vmUuid)
vmUuid - vm uuid@POST
 @Path(value="/{vmUuid}/actions/update-boot-options")
 @Consumes(value="application/json")
TaskResponse updateBootOptions(@PathParam(value="vmUuid")
                                                                                                                                String vmUuid,
                                                                                                                                VmBootOptionsUpdateRequest bootOptions)
Properties capable of being updated are boot delay and whether to force enter BIOS.
vmUuid - vm uuidbootOptions - vm boot options@GET
 @Path(value="/{vmUuid}/tools-upgrade-policy")
VmToolsUpgradePolicyResponse getVmToolsUpgradePolicy(@PathParam(value="vmUuid")
                                                                                                         String vmUuid)
vmUuid - vm uuid@POST
 @Path(value="/{vmUuid}/actions/update-tools-upgrade-policy")
 @Consumes(value="application/json")
TaskResponse updateVmToolsUpgradePolicy(@PathParam(value="vmUuid")
                                                                                                                                                 String vmUuid,
                                                                                                                                                 VmToolsUpgradePolicyUpdateRequest upgradePolicy)
vmUuid - vm uuid@GET
 @Path(value="/{vmUuid}/capabilities")
VmCapabilityResponse getVmCapabilities(@PathParam(value="vmUuid")
                                                                                   String vmUuid)
VM capabilites include cpu and memory hot add abilities.
vmUuid - vm uuid@POST
 @Path(value="/{vmUuid}/actions/update-capabilities")
 @Consumes(value="application/json")
TaskResponse updateVmCapabilities(@PathParam(value="vmUuid")
                                                                                                                                   String vmUuid,
                                                                                                                                   VmCapabilityUpdateRequest spec)
VM capabilities include cpu and memory hot add.
vmUuid - vm uuidspec - vm capability spec@GET
 @Path(value="/{vmUuid}/virtual-disks")
VirtualDiskListResponse getVirtualDisks(@PathParam(value="vmUuid")
                                                                                     String vmUuid)
vmUuid - the VM uuid@POST
 @Path(value="/{vmUuid}/actions/update-virtual-disks")
 @Consumes(value="application/json")
TaskResponse updateVirtualDisks(@PathParam(value="vmUuid")
                                                                                                                                  String vmUuid,
                                                                                                                                  List<VirtualDiskRequest> disks)
vmUuid - the VM uuiddisks - the new list of disks@POST
 @Path(value="/{vmUuid}/actions/update-virtual-disk")
 @Consumes(value="application/json")
TaskResponse updateVirtualDisk(@PathParam(value="vmUuid")
                                                                                                                                String vmUuid,
                                                                                                                                VmVirtualDiskUpdateRequest disk)
vmUuid - the VM uuiddisk - the new disk@POST
 @Path(value="/{vmUuid}/actions/add-virtual-disk")
 @Consumes(value="application/json")
TaskResponse addVirtualDisk(@PathParam(value="vmUuid")
                                                                                                                          String vmUuid,
                                                                                                                          VmVirtualDiskCreateRequest disk)
vmUuid - the VM uuiddisk - the new disk@POST
 @Path(value="/{vmUuid}/actions/install-vmware-tools")
TaskResponse installVMWareTools(@PathParam(value="vmUuid")
                                                                                             String vmUuid)
vmUuid - the VM uuid@POST
 @Path(value="/{vmUuid}/actions/reconfigure")
 @Consumes(value="application/json")
TaskResponse reconfigure(@PathParam(value="vmUuid")
                                                                                                                  String vmUuid,
                                                                                                                  VmReconfigureRequest spec)
 Any sections left out of the VmReconfigureRequest will be left
 unchanged.
vmUuid - VM uuidspec - reconfigure specification@GET
 @Path(value="/{vmUuid}/screen")
 @Produces(value="image/vnd.ilandcloud.api.v1.0+jpeg")
InputStream getScreen(@PathParam(value="vmUuid")
                                                                                                                   String vmUuid)
vmUuid - the UUID of the VM@POST
 @Path(value="/{vmUuid}/actions/enable-nested-hypervisor")
TaskResponse enableNestedHypervisor(@PathParam(value="vmUuid")
                                                                                                     String vmUuid)
vmUuid - the UUID of the VM@POST
 @Path(value="/{vmUuid}/actions/disable-nested-hypervisor")
TaskResponse disableNestedHypervisor(@PathParam(value="vmUuid")
                                                                                                       String vmUuid)
vmUuid - the UUID of the VM@GET
 @Path(value="/{vmUuid}/available-storage-profiles")
StorageProfileListResponse getAvailableStorageProfilesForVm(@PathParam(value="vmUuid")
                                                                                                                      String vmUuid,
                                                                                                                      @QueryParam(value="includeDisabled")
                                                                                                                      Boolean includeDisabled)
vmUuid - VM uuidincludeDisabled - whether to include disabled profiles (defaults to
                        false if not explicitly provided)@GET
 @Path(value="/{vmUuid}/product-sections")
ProductSectionListResponse getProductSections(@PathParam(value="vmUuid")
                                                                                              String vmUuid)
vmUuid - the UUID of the VM@POST
 @Path(value="/{vmUuid}/actions/update-product-section-properties")
 @Consumes(value="application/json")
TaskResponse updateProductSectionProperties(@PathParam(value="vmUuid")
                                                                                                                                                           String vmUuid,
                                                                                                                                                           UpdateProductSectionPropertiesRequest params)
vmUuid - the UUID of the VMparams - the map of keys/values to update@GET
 @Path(value="/{vmUuid}/backup-status")
VmBackupStatusDetailResponse getBackupStatus(@PathParam(value="vmUuid")
                                                                                          String vmUuid)
vmUuid - the UUID of the VM@GET
 @Path(value="/{vmUuid}/integrated-backup-status")
VmIntegratedBackupStatusDetailResponse getIntegratedBackupStatus(@PathParam(value="vmUuid")
                                                                                                                         String vmUuid)
vmUuid - the UUID of the VM@GET
 @Path(value="/{vmUuid}/recoverable-files-and-folders")
RecoverableFilesSearchResultListResponse searchRecoverableFilesAndFolders(@PathParam(value="vmUuid")
                                                                                                                                       String vmUuid,
                                                                                                                                       @BeanParam
                                                                                                                                       SearchVmRecoverableFilesAndFoldersFilters filters)
vmUuid - the UUID of the VMfilters - optional query filters@GET
 @Path(value="/{vmUuid}/backup-runs")
BackupGroupRunListResponse listBackupRuns(@PathParam(value="vmUuid")
                                                                                     String vmUuid,
                                                                                     @BeanParam
                                                                                     ListVmBackupGroupRunsFilters filters)
vmUuid - the UUID of the VMfilters - optional query filters@GET
 @Path(value="/{vmUuid}/backup-groups/{backupGroupUid}/files/{filename}")
FileSnapshotInfoListResponse listBackupFileSnapshots(@PathParam(value="vmUuid")
                                                                                                                                    String vmUuid,
                                                                                                                                    @PathParam(value="backupGroupUid")
                                                                                                                                    String backupGroupUid,
                                                                                                                                    @PathParam(value="filename") @Encoded
                                                                                                                                    String filename)
vmUuid - the UUID of the VMbackupGroupUid - the UID of the backup groupfilename - the name of the file@GET
 @Path(value="/{vmUuid}/backup-runs/{backupRunUid}/files/{filename}")
 @Produces(value="application/vnd.ilandcloud.api.v1.0+octet-stream")
InputStream downloadBackupFileSnapshot(@PathParam(value="vmUuid")
                                                                                                                                                                                       String vmUuid,
                                                                                                                                                                                       @PathParam(value="backupRunUid")
                                                                                                                                                                                       String backupRunUid,
                                                                                                                                                                                       @PathParam(value="filename") @Encoded
                                                                                                                                                                                       String filename)
vmUuid - the UUID of the VMbackupRunUid - the UID of the backup run that created the snapshotfilename - the name of the file@GET
 @Path(value="/{vmUuid}/backup-runs/{backupRunUid}/volumes")
FilesystemVolumeListResponse listBackupVolumeSnapshots(@PathParam(value="vmUuid")
                                                                                                                         String vmUuid,
                                                                                                                         @PathParam(value="backupRunUid")
                                                                                                                         String backupRunUid,
                                                                                                                         @QueryParam(value="attemptNumber")
                                                                                                                         Integer attemptNumber)
vmUuid - the UUID of the VMbackupRunUid - the UID of the backup runattemptNumber - the snapshot attempt number@GET
 @Path(value="/{vmUuid}/backup-runs/{backupRunUid}/volumes/{volumeName}/directories/{directoryPath}/contents")
DirectoryListingResponse listBackupDirectoryContents(@PathParam(value="vmUuid")
                                                                                                                                                                         String vmUuid,
                                                                                                                                                                         @PathParam(value="backupRunUid")
                                                                                                                                                                         String backupRunUid,
                                                                                                                                                                         @PathParam(value="volumeName") @Encoded
                                                                                                                                                                         String volumeName,
                                                                                                                                                                         @PathParam(value="directoryPath") @Encoded
                                                                                                                                                                         String directoryPath,
                                                                                                                                                                         @BeanParam
                                                                                                                                                                         ListBackupSnapshotFilesAndFoldersFilters filters)
vmUuid - the UUID of the VMbackupRunUid - the UID of the backup run that the snapshot is associated withvolumeName - the name of the volumedirectoryPath - the full directory path to listfilters - optional query filters@POST
 @Path(value="/{vmUuid}/actions/generate-backup-file-download-bundle")
TaskResponse generateBackupFileDownloadBundle(@PathParam(value="vmUuid")
                                                                                                                           String vmUuid,
                                                                                                                           GenerateBackupFileDownloadBundleParams params)
vmUuid - the UUID of the VMparams - the specification for which files to download@GET
 @Path(value="/{vmUuid}/backup-file-download-bundles/{taskUuid}")
 @Produces(value="application/vnd.ilandcloud.api.v1.0+octet-stream")
InputStream downloadBackupFileDownloadBundle(@PathParam(value="vmUuid")
                                                                                                                                                                                         String vmUuid,
                                                                                                                                                                                         @PathParam(value="taskUuid")
                                                                                                                                                                                         String taskUuid)
vmUuid - the UUID of the VMtaskUuid - the UUID of the bundle task@POST
 @Path(value="/{vmUuid}/actions/restore-vm-backup")
TaskResponse restoreVMBackup(@PathParam(value="vmUuid")
                                                                                       String vmUuid,
                                                                                       RestoreVMBackupParams params)
vmUuid - the UUID of the VMparams - restoration parametersCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.