@Path(value="/vms") @Consumes(value="application/json") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") public interface VmResource extends Serializable
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.
|
TaskResponse |
ejectMedia(String vmUuid)
Eject a media from a Vm.
|
TaskResponse |
enableNestedHypervisor(String vmUuid)
Enable nested hypervisor for given VM.
|
StorageProfileListResponse |
getAvailableStorageProfilesForVm(String vmUuid,
Boolean includeDisabled)
Get the storage profiles available to the VM.
|
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)
Get the guest customization section of a Vm.
|
GuestToolsResponse |
getGuestTools(String vmUuid)
Get VMWare tools information for the given VM.
|
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.
|
ProductSectionPropertyListResponse |
getProductSectionPropertiesForVm(String vmUuid)
Get the product section properties for the given 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.
|
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.
|
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 |
restoreVmIntoVapp(String vmUuid,
VmRestoreIntoVappRequest spec)
Restore a VM from a restore point into the given vApp.
|
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,
List<ProductSectionPropertyUpdateRequest> requests)
Update the product section properties for the given 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") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") BillingSummaryResponse getCurrentBilling(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@GET @Path(value="/{vmUuid}/billing") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") BillResponse getBillingForVm(@PathParam(value="vmUuid") String vmUuid, @QueryParam(value="year") Integer year, @QueryParam(value="month") Integer month)
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") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") ScreenTicketResponse getScreenTicket(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@GET @Path(value="/{vmUuid}/mks-screen-ticket") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") MksScreenTicketResponse getMksScreenTicket(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@POST @Path(value="/{vmUuid}/actions/update-virtual-hardware-version") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse updateVirtualHardwareVersion(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@POST @Path(value="/{vmUuid}/actions/update-description") @Consumes(value="application/json") @Produces(value="application/vnd.ilandcloud.api.v1.0+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") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") void sendEventHistoryForVm(@PathParam(value="vmUuid") String vmUuid, EventHistoryEmailRequest spec)
vmUuid
- vm uuidspec
- email address spec@GET @Path(value="/{vmUuid}/metadata") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") MetadataListResponse getMetadataForVm(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@PUT @Path(value="/{vmUuid}/metadata") @Consumes(value="application/json") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse updateMetadataForVm(@PathParam(value="vmUuid") String vmUuid, List<UpdateMetadataRequest> metadata)
vmUuid
- vm uuidmetadata
- list of metadata@DELETE @Path(value="/{vmUuid}/metadata/{key}") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") 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") @Produces(value="application/vnd.ilandcloud.api.v1.0+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") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse ejectMedia(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@POST @Path(value="/{vmUuid}/actions/relocate") @Consumes(value="application/json") @Produces(value="application/vnd.ilandcloud.api.v1.0+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") @Produces(value="application/vnd.ilandcloud.api.v1.0+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") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse moveVm(@PathParam(value="vmUuid") String vmUuid, VmCopyMoveRequest spec)
vmUuid
- vm uuidspec
- specification for newly moved vm@GET @Path(value="/{vmUuid}/backups") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") RestorePointListResponse getRestorePoints(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@DELETE @Path(value="/{vmUuid}") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse deleteVm(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@POST @Path(value="/{vmUuid}/actions/restore") @Consumes(value="application/json") @Produces(value="application/vnd.ilandcloud.api.v1.0+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") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse restoreVmIntoVapp(@PathParam(value="vmUuid") String vmUuid, VmRestoreIntoVappRequest spec)
vmUuid
- vm uuidspec
- VM restore specification@POST @Path(value="/{vmUuid}/actions/reset-mac-addresses") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse resetMacAddresses(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@POST @Path(value="/{vmUuid}/actions/update-name") @Consumes(value="application/json") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse rename(@PathParam(value="vmUuid") String vmUuid, VmNameUpdateRequest spec)
vmUuid
- vm uuidspec
- specification for renaming the VM@GET @Path(value="/{vmUuid}/vnics") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") VirtualNetworkCardListResponse getVirtualNetworkCards(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@GET @Path(value="/{vmUuid}/networks") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") VmNetworkListResponse getNetworksForVm(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@DELETE @Path(value="/{vmUuid}/vnics/{vnicId}") @Consumes(value="application/json") @Produces(value="application/vnd.ilandcloud.api.v1.0+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") @Produces(value="application/vnd.ilandcloud.api.v1.0+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") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse deleteVirtualDisk(@PathParam(value="vmUuid") String vmUuid, @PathParam(value="diskName") String diskName)
vmUuid
- vm uuiddiskName
- diskName@GET @Path(value="/{vmUuid}/snapshot") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") SnapshotResponse getSnapshotForVm(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@GET @Path(value="/{vmUuid}/has-snapshot") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") HasSnapshotResponse hasVmSnapshot(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- String
vm uuid@POST @Path(value="/{vmUuid}/actions/create-snapshot") @Consumes(value="application/json") @Produces(value="application/vnd.ilandcloud.api.v1.0+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") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse restoreSnapshotForVm(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@POST @Path(value="/{vmUuid}/actions/remove-snapshot") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse removeSnapshotForVm(@Context @PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@GET @Path(value="/{vmUuid}/recommended-disk-bus-type") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") RecommendedDiskBusTypeResponse getRecommendedDiskBusType(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@GET @Path(value="/{vmUuid}/guest-tools") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") GuestToolsResponse getGuestTools(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@POST @Path(value="/{vmUuid}/actions/upgrade-guest-tools") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse upgradeGuestTools(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@GET @Path(value="/{vmUuid}/performance/{group}::{name}::{type}") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") 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") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") PerformanceCounterListResponse getPerformanceCountersForVm(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- VM UUID@POST @Path(value="/{vmUuid}/actions/poweron") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") 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") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse powerOffVm(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@POST @Path(value="/{vmUuid}/actions/suspend") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse suspendVm(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@POST @Path(value="/{vmUuid}/actions/shutdown") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse shutdownVm(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@POST @Path(value="/{vmUuid}/actions/reset") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse resetVm(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@POST @Path(value="/{vmUuid}/actions/reboot") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse rebootVm(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@POST @Path(value="/{vmUuid}/actions/update-cpu-count") @Consumes(value="application/json") @Produces(value="application/vnd.ilandcloud.api.v1.0+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") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse updateMemorySize(@PathParam(value="vmUuid") String vmUuid, VmMemorySizeUpdateRequest spec)
vmUuid
- vm uuidspec
- specification detailing memory size to update VM with@GET @Path(value="/{vmUuid}") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") VmResponse getVm(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@GET @Path(value="/{vmUuid}/summary") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") VmResourceSummaryResponse getVmSummary(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@POST @Path(value="/{vmUuid}/actions/update-guest-customization") @Consumes(value="application/json") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse updateGuestCustomization(@PathParam(value="vmUuid") String vmUuid, GuestCustomizationUpdateRequest guestCustomizationSection)
vmUuid
- vm uuidguestCustomizationSection
- guest customization section@GET @Path(value="/{vmUuid}/guest-customization") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") GuestCustomizationResponse getGuestCustomization(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@GET @Path(value="/{vmUuid}/boot-options") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") VmBootOptionsResponse getBootOptions(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@POST @Path(value="/{vmUuid}/actions/update-boot-options") @Consumes(value="application/json") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse updateBootOptions(@PathParam(value="vmUuid") String vmUuid, VmBootOptionsUpdateRequest bootOptions)
vmUuid
- vm uuidbootOptions
- vm boot options@GET @Path(value="/{vmUuid}/tools-upgrade-policy") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") VmToolsUpgradePolicyResponse getVmToolsUpgradePolicy(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@POST @Path(value="/{vmUuid}/actions/update-tools-upgrade-policy") @Consumes(value="application/json") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse updateVmToolsUpgradePolicy(@PathParam(value="vmUuid") String vmUuid, VmToolsUpgradePolicyUpdateRequest upgradePolicy)
vmUuid
- vm uuid@GET @Path(value="/{vmUuid}/capabilities") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") VmCapabilityResponse getVmCapabilities(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- vm uuid@POST @Path(value="/{vmUuid}/actions/update-capabilities") @Consumes(value="application/json") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse updateVmCapabilities(@PathParam(value="vmUuid") String vmUuid, VmCapabilityUpdateRequest spec)
vmUuid
- vm uuidspec
- vm capability spec@GET @Path(value="/{vmUuid}/virtual-disks") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") VirtualDiskListResponse getVirtualDisks(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- the VM uuid@POST @Path(value="/{vmUuid}/actions/update-virtual-disks") @Consumes(value="application/json") @Produces(value="application/vnd.ilandcloud.api.v1.0+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") @Produces(value="application/vnd.ilandcloud.api.v1.0+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") @Produces(value="application/vnd.ilandcloud.api.v1.0+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") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse installVMWareTools(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- the VM uuid@POST @Path(value="/{vmUuid}/actions/reconfigure") @Consumes(value="application/json") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse reconfigure(@PathParam(value="vmUuid") String vmUuid, VmReconfigureRequest spec)
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") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse enableNestedHypervisor(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- the UUID of the VM@POST @Path(value="/{vmUuid}/actions/disable-nested-hypervisor") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse disableNestedHypervisor(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- the UUID of the VM@GET @Path(value="/{vmUuid}/available-storage-profiles") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") 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-section") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") ProductSectionPropertyListResponse getProductSectionPropertiesForVm(@PathParam(value="vmUuid") String vmUuid)
vmUuid
- the UUID of the VM@PUT @Path(value="/{vmUuid}/actions/product-section") @Consumes(value="application/json") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") TaskResponse updateProductSectionProperties(@PathParam(value="vmUuid") String vmUuid, List<ProductSectionPropertyUpdateRequest> requests)
vmUuid
- the UUID of the VMrequests
- a list of product section propertiesCopyright © 2019 iland Internet Solutions, Corp. All rights reserved.