public interface CloudApi
http://community.abiquo.com/display/ABI20/API+Reference
,
CloudAsyncApi
Modifier and Type | Method and Description |
---|---|
com.abiquo.model.transport.AcceptedRequestDto<String> |
changeVirtualMachineState(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine,
com.abiquo.server.core.cloud.VirtualMachineStateDto state)
Changes the state an existing virtual machine.
|
com.abiquo.server.core.infrastructure.storage.DiskManagementDto |
createHardDisk(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter,
com.abiquo.server.core.infrastructure.storage.DiskManagementDto hardDisk)
Creates a new hard disk in the given virtual datacenter.
|
com.abiquo.server.core.infrastructure.network.VLANNetworkDto |
createPrivateNetwork(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter,
com.abiquo.server.core.infrastructure.network.VLANNetworkDto privateNetwork)
Create a new private network in a virtual datacenter.
|
com.abiquo.server.core.cloud.VirtualApplianceDto |
createVirtualAppliance(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter,
com.abiquo.server.core.cloud.VirtualApplianceDto virtualAppliance)
Create a new virtual appliance in a virtual datacenter.
|
com.abiquo.server.core.cloud.VirtualDatacenterDto |
createVirtualDatacenter(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter,
com.abiquo.server.core.infrastructure.DatacenterDto datacenter,
com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
Create a new virtual datacenter.
|
com.abiquo.server.core.cloud.VirtualMachineWithNodeExtendedDto |
createVirtualMachine(com.abiquo.server.core.cloud.VirtualApplianceDto virtualAppliance,
com.abiquo.server.core.cloud.VirtualMachineWithNodeExtendedDto virtualMachine)
Create a new virtual machine in a virtual appliance.
|
com.abiquo.server.core.infrastructure.storage.VolumeManagementDto |
createVolume(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter,
com.abiquo.server.core.infrastructure.storage.VolumeManagementDto volume)
Creates a volume in the given virtual datacenter.
|
void |
deleteHardDisk(com.abiquo.server.core.infrastructure.storage.DiskManagementDto hardDisk)
Deletes the given hard disk.
|
void |
deletePrivateNetwork(com.abiquo.server.core.infrastructure.network.VLANNetworkDto privateNetwork)
Deletes an existing private network.
|
void |
deleteVirtualAppliance(com.abiquo.server.core.cloud.VirtualApplianceDto virtualAppliance)
Deletes an existing virtual appliance.
|
void |
deleteVirtualAppliance(com.abiquo.server.core.cloud.VirtualApplianceDto virtualAppliance,
VirtualApplianceOptions options)
Deletes an existing virtual appliance.
|
void |
deleteVirtualDatacenter(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter)
Deletes an existing virtual datacenter.
|
void |
deleteVirtualMachine(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine)
Deletes an existing virtual machine.
|
void |
deleteVolume(com.abiquo.server.core.infrastructure.storage.VolumeManagementDto volume)
Delete the given volume.
|
com.abiquo.model.transport.AcceptedRequestDto<String> |
deployVirtualAppliance(com.abiquo.server.core.cloud.VirtualApplianceDto virtualAppliance,
com.abiquo.server.core.cloud.VirtualMachineTaskDto options)
Deploy a virtual appliance.
|
com.abiquo.model.transport.AcceptedRequestDto<String> |
deployVirtualMachine(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine,
com.abiquo.server.core.cloud.VirtualMachineTaskDto options)
Deploy a virtual machine with task options.
|
com.abiquo.model.transport.AcceptedRequestDto<String> |
detachAllHardDisks(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine)
Detach all hard disks from the given virtual machine.
|
com.abiquo.model.transport.AcceptedRequestDto<String> |
detachAllVolumes(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine)
Detach all volumes from the given virtual machine.
|
com.abiquo.server.core.infrastructure.network.VLANNetworkDto |
getDefaultNetwork(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter)
Get the default network of the virtual datacenter.
|
com.abiquo.server.core.infrastructure.storage.DiskManagementDto |
getHardDisk(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter,
Integer diskId)
Get the hard disk with the given id in the given virtual datacenter.
|
com.abiquo.server.core.infrastructure.network.VLANNetworkDto |
getPrivateNetwork(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter,
Integer privateNetworkId)
Get the given private network from the given virtual datacenter.
|
com.abiquo.server.core.infrastructure.network.PrivateIpDto |
getPrivateNetworkIp(com.abiquo.server.core.infrastructure.network.VLANNetworkDto network,
Integer ipId)
Get the requested ip from the given private network.
|
com.abiquo.server.core.infrastructure.storage.TierDto |
getStorageTier(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter,
Integer tierId)
Get the storage tier from the given virtual datacenter.
|
com.abiquo.server.core.cloud.VirtualApplianceDto |
getVirtualAppliance(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter,
Integer virtualApplianceId)
Get the given virtual appliance from the given virtual datacenter.
|
com.abiquo.server.core.cloud.VirtualApplianceStateDto |
getVirtualApplianceState(com.abiquo.server.core.cloud.VirtualApplianceDto virtualAppliance)
Get the state of the given virtual appliance.
|
com.abiquo.server.core.cloud.VirtualDatacenterDto |
getVirtualDatacenter(Integer virtualDatacenterId)
Get the given virtual datacenter.
|
com.abiquo.server.core.cloud.VirtualMachineWithNodeExtendedDto |
getVirtualMachine(com.abiquo.server.core.cloud.VirtualApplianceDto virtualAppliance,
Integer virtualMachineId)
Get the given virtual machine from the given virtual machine.
|
com.abiquo.server.core.cloud.VirtualMachineStateDto |
getVirtualMachineState(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine)
Get the state of the given virtual machine.
|
com.abiquo.server.core.appslibrary.VirtualMachineTemplateDto |
getVirtualMachineTemplate(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine)
Get the template of a virtual machine.
|
com.abiquo.server.core.infrastructure.storage.VolumeManagementDto |
getVolume(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter,
Integer volumeId)
Get a volume from the given virtual datacenter.
|
com.abiquo.server.core.infrastructure.storage.DisksManagementDto |
listAttachedHardDisks(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine)
List all hard disks attached to the given virtual machine.
|
com.abiquo.server.core.infrastructure.storage.VolumesManagementDto |
listAttachedVolumes(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine)
Get the volumes attached to the given virtual machine.
|
com.abiquo.server.core.infrastructure.network.PublicIpsDto |
listAvailablePublicIps(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter,
IpOptions options)
List all available ips to purchase in the datacenter by the virtual datacenter.
|
com.abiquo.server.core.appslibrary.VirtualMachineTemplatesDto |
listAvailableTemplates(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter)
List all available templates for the given virtual datacenter.
|
com.abiquo.server.core.appslibrary.VirtualMachineTemplatesDto |
listAvailableTemplates(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter,
VirtualMachineTemplateOptions options)
List all available templates for the given virtual datacenter.
|
com.abiquo.server.core.infrastructure.storage.DisksManagementDto |
listHardDisks(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter)
List all hard disks in the given virtual datacenter.
|
com.abiquo.server.core.infrastructure.network.VMNetworkConfigurationsDto |
listNetworkConfigurations(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine)
List all available network configurations for a virtual machine.
|
com.abiquo.server.core.infrastructure.network.PrivateIpsDto |
listPrivateNetworkIps(com.abiquo.server.core.infrastructure.network.VLANNetworkDto network)
List all ips for a private network.
|
com.abiquo.server.core.infrastructure.network.PrivateIpsDto |
listPrivateNetworkIps(com.abiquo.server.core.infrastructure.network.VLANNetworkDto network,
IpOptions options)
List all ips for a private network with options.
|
com.abiquo.server.core.infrastructure.network.VLANNetworksDto |
listPrivateNetworks(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter)
List all private networks for a virtual datacenter.
|
com.abiquo.server.core.infrastructure.network.PublicIpsDto |
listPurchasedPublicIps(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter,
IpOptions options)
List all purchased public ip addresses in the virtual datacenter.
|
com.abiquo.server.core.infrastructure.storage.TiersDto |
listStorageTiers(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter)
List the storage tiers available for the given virtual datacenter.
|
com.abiquo.server.core.cloud.VirtualAppliancesDto |
listVirtualAppliances(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter)
List all virtual appliance for a virtual datacenter.
|
com.abiquo.server.core.cloud.VirtualDatacentersDto |
listVirtualDatacenters(VirtualDatacenterOptions options)
List all virtual datacenters.
|
com.abiquo.server.core.cloud.VirtualMachinesWithNodeExtendedDto |
listVirtualMachines(com.abiquo.server.core.cloud.VirtualApplianceDto virtualAppliance)
List all virtual machines for a virtual appliance.
|
com.abiquo.server.core.cloud.VirtualMachinesWithNodeExtendedDto |
listVirtualMachines(com.abiquo.server.core.cloud.VirtualApplianceDto virtualAppliance,
VirtualMachineOptions options)
List all virtual machines for a virtual appliance.
|
com.abiquo.server.core.infrastructure.storage.VolumesManagementDto |
listVolumes(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter)
List all volumes in the given virtual datacenter.
|
com.abiquo.server.core.infrastructure.storage.VolumesManagementDto |
listVolumes(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter,
VolumeOptions options)
List all volumes in the given virtual datacenter.
|
com.abiquo.server.core.infrastructure.storage.VolumeManagementDto |
moveVolume(com.abiquo.server.core.infrastructure.storage.VolumeManagementDto volume,
com.abiquo.server.core.cloud.VirtualDatacenterDto newVirtualDatacenter)
Moves the given volume to a new virtual datacenter.
|
com.abiquo.server.core.infrastructure.network.PublicIpDto |
purchasePublicIp(com.abiquo.server.core.infrastructure.network.PublicIpDto publicIp)
Purchase a public IP.
|
com.abiquo.model.transport.AcceptedRequestDto<String> |
rebootVirtualMachine(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine)
Reboot a virtual machine.
|
com.abiquo.server.core.infrastructure.network.PublicIpDto |
releasePublicIp(com.abiquo.server.core.infrastructure.network.PublicIpDto publicIp)
Release a public IP.
|
com.abiquo.model.transport.AcceptedRequestDto<String> |
replaceHardDisks(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine,
com.abiquo.server.core.infrastructure.storage.DiskManagementDto... hardDisks)
Replaces the current hard disks attached to the virtual machine with the given ones.
|
com.abiquo.model.transport.AcceptedRequestDto<String> |
replaceVolumes(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine,
VirtualMachineOptions options,
com.abiquo.server.core.infrastructure.storage.VolumeManagementDto... volumes)
Replaces the current volumes attached to the virtual machine with the given ones.
|
void |
setDefaultNetwork(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter,
com.abiquo.server.core.infrastructure.network.VLANNetworkDto network)
Set the default network of the virtual datacenter.
|
void |
setGatewayNetwork(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine,
com.abiquo.server.core.infrastructure.network.VLANNetworkDto network)
Sets the gateway network to be used by this virtual machine.
|
com.abiquo.model.transport.AcceptedRequestDto<String> |
undeployVirtualAppliance(com.abiquo.server.core.cloud.VirtualApplianceDto virtualAppliance,
com.abiquo.server.core.cloud.VirtualMachineTaskDto options)
Undeploy a virtual appliance.
|
com.abiquo.model.transport.AcceptedRequestDto<String> |
undeployVirtualMachine(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine,
com.abiquo.server.core.cloud.VirtualMachineTaskDto options)
Uneploy a virtual machine with task options.
|
com.abiquo.server.core.infrastructure.network.VLANNetworkDto |
updatePrivateNetwork(com.abiquo.server.core.infrastructure.network.VLANNetworkDto privateNetwork)
Updates an existing private network from the given virtual datacenter.
|
com.abiquo.server.core.cloud.VirtualApplianceDto |
updateVirtualAppliance(com.abiquo.server.core.cloud.VirtualApplianceDto virtualAppliance)
Updates an existing virtual appliance from the given virtual datacenter.
|
com.abiquo.server.core.cloud.VirtualDatacenterDto |
updateVirtualDatacenter(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter)
Updates an existing virtual datacenter.
|
com.abiquo.model.transport.AcceptedRequestDto<String> |
updateVirtualMachine(com.abiquo.server.core.cloud.VirtualMachineWithNodeExtendedDto virtualMachine)
Updates an existing virtual machine from the given virtual appliance.
|
com.abiquo.model.transport.AcceptedRequestDto<String> |
updateVirtualMachine(com.abiquo.server.core.cloud.VirtualMachineWithNodeExtendedDto virtualMachine,
VirtualMachineOptions options)
Updates an existing virtual machine from the given virtual appliance.
|
com.abiquo.model.transport.AcceptedRequestDto<String> |
updateVolume(com.abiquo.server.core.infrastructure.storage.VolumeManagementDto volume)
Modifies the given volume.
|
com.abiquo.server.core.cloud.VirtualDatacentersDto listVirtualDatacenters(VirtualDatacenterOptions options)
options
- Optional query params.com.abiquo.server.core.cloud.VirtualDatacenterDto getVirtualDatacenter(Integer virtualDatacenterId)
virtualDatacenterId
- The id of the virtual datacenter.null
if it does not exist.com.abiquo.server.core.cloud.VirtualDatacenterDto createVirtualDatacenter(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter, com.abiquo.server.core.infrastructure.DatacenterDto datacenter, com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
virtualDatacenter
- The virtual datacenter to be created.datacenter
- Datacenter where the virtualdatacenter will be deployed.enterprise
- Enterprise of the virtual datacenter.com.abiquo.server.core.cloud.VirtualDatacenterDto updateVirtualDatacenter(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter)
virtualDatacenter
- The new attributes for the virtual datacenter.void deleteVirtualDatacenter(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter)
virtualDatacenter
- The virtual datacenter to delete.com.abiquo.server.core.appslibrary.VirtualMachineTemplatesDto listAvailableTemplates(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter)
virtualDatacenter
- The virtual datacenter.com.abiquo.server.core.appslibrary.VirtualMachineTemplatesDto listAvailableTemplates(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter, VirtualMachineTemplateOptions options)
virtualDatacenter
- The virtual datacenter.options
- Filtering options.com.abiquo.server.core.infrastructure.network.PublicIpsDto listAvailablePublicIps(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter, IpOptions options)
virtualDatacenter
- The virtual datacenter.options
- Filtering options.com.abiquo.server.core.infrastructure.network.PublicIpsDto listPurchasedPublicIps(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter, IpOptions options)
virtualDatacenter
- The virtual datacenter.options
- Filtering options.com.abiquo.server.core.infrastructure.network.PublicIpDto purchasePublicIp(com.abiquo.server.core.infrastructure.network.PublicIpDto publicIp)
ip
- The public ip address to purchase.com.abiquo.server.core.infrastructure.network.PublicIpDto releasePublicIp(com.abiquo.server.core.infrastructure.network.PublicIpDto publicIp)
ip
- The public ip address to purchase.com.abiquo.server.core.infrastructure.storage.TiersDto listStorageTiers(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter)
virtualDatacenter
- The virtual datacenter.com.abiquo.server.core.infrastructure.storage.TierDto getStorageTier(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter, Integer tierId)
virtualDatacenter
- The virtual datacenter.The
- id of the storage tier.com.abiquo.server.core.infrastructure.network.VLANNetworkDto getDefaultNetwork(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter)
virtualDatacenter
- The virtual datacenter.void setDefaultNetwork(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter, com.abiquo.server.core.infrastructure.network.VLANNetworkDto network)
virtualDatacenter
- The virtual datacenter.network
- The default network.com.abiquo.server.core.infrastructure.network.VLANNetworksDto listPrivateNetworks(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter)
virtualDatacenter
- The virtual datacenter.com.abiquo.server.core.infrastructure.network.VLANNetworkDto getPrivateNetwork(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter, Integer privateNetworkId)
virtualDatacenter
- The virtual datacenter.virtualApplianceId
- The id of the private network.null
if it does not exist.com.abiquo.server.core.infrastructure.network.VLANNetworkDto createPrivateNetwork(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter, com.abiquo.server.core.infrastructure.network.VLANNetworkDto privateNetwork)
virtualDatacenter
- The virtual datacenter.privateNetwork
- The private network to be created.com.abiquo.server.core.infrastructure.network.VLANNetworkDto updatePrivateNetwork(com.abiquo.server.core.infrastructure.network.VLANNetworkDto privateNetwork)
privateNetwork
- The new attributes for the private network.void deletePrivateNetwork(com.abiquo.server.core.infrastructure.network.VLANNetworkDto privateNetwork)
privateNetwork
- The private network to delete.com.abiquo.server.core.infrastructure.network.PrivateIpsDto listPrivateNetworkIps(com.abiquo.server.core.infrastructure.network.VLANNetworkDto network)
network
- The private network.com.abiquo.server.core.infrastructure.network.PrivateIpsDto listPrivateNetworkIps(com.abiquo.server.core.infrastructure.network.VLANNetworkDto network, IpOptions options)
network
- The private network.options
- Filtering options.com.abiquo.server.core.infrastructure.network.PrivateIpDto getPrivateNetworkIp(com.abiquo.server.core.infrastructure.network.VLANNetworkDto network, Integer ipId)
network
- The private network.ipId
- The id of the ip to get.com.abiquo.server.core.cloud.VirtualAppliancesDto listVirtualAppliances(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter)
virtualDatacenter
- The virtual datacenter.com.abiquo.server.core.cloud.VirtualApplianceDto getVirtualAppliance(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter, Integer virtualApplianceId)
virtualDatacenter
- The virtual datacenter.virtualApplianceId
- The id of the virtual appliance.null
if it does not exist.com.abiquo.server.core.cloud.VirtualApplianceDto createVirtualAppliance(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter, com.abiquo.server.core.cloud.VirtualApplianceDto virtualAppliance)
virtualDatacenter
- The virtual datacenter.virtualAppliance
- The virtual appliance to be created.com.abiquo.server.core.cloud.VirtualApplianceDto updateVirtualAppliance(com.abiquo.server.core.cloud.VirtualApplianceDto virtualAppliance)
virtualAppliance
- The new attributes for the virtual appliance.void deleteVirtualAppliance(com.abiquo.server.core.cloud.VirtualApplianceDto virtualAppliance)
virtualAppliance
- The virtual appliance to delete.void deleteVirtualAppliance(com.abiquo.server.core.cloud.VirtualApplianceDto virtualAppliance, VirtualApplianceOptions options)
virtualAppliance
- The virtual appliance to delete.options
- The options to customize the delete operation (e.g. Force delete).com.abiquo.model.transport.AcceptedRequestDto<String> deployVirtualAppliance(com.abiquo.server.core.cloud.VirtualApplianceDto virtualAppliance, com.abiquo.server.core.cloud.VirtualMachineTaskDto options)
virtualAppliance
- The virtual appliance to deployoptions
- the extra options for the deploy process.com.abiquo.model.transport.AcceptedRequestDto<String> undeployVirtualAppliance(com.abiquo.server.core.cloud.VirtualApplianceDto virtualAppliance, com.abiquo.server.core.cloud.VirtualMachineTaskDto options)
virtualAppliance
- The virtual appliance to undeployoptions
- the extra options for the undeploy process.com.abiquo.server.core.cloud.VirtualApplianceStateDto getVirtualApplianceState(com.abiquo.server.core.cloud.VirtualApplianceDto virtualAppliance)
virtualAppliance
- The given virtual appliance.com.abiquo.server.core.cloud.VirtualMachinesWithNodeExtendedDto listVirtualMachines(com.abiquo.server.core.cloud.VirtualApplianceDto virtualAppliance)
virtualAppliance
- The virtual appliance.com.abiquo.server.core.cloud.VirtualMachinesWithNodeExtendedDto listVirtualMachines(com.abiquo.server.core.cloud.VirtualApplianceDto virtualAppliance, VirtualMachineOptions options)
virtualAppliance
- The virtual appliance.options
- The options to filter the list of virtual machines.com.abiquo.server.core.cloud.VirtualMachineWithNodeExtendedDto getVirtualMachine(com.abiquo.server.core.cloud.VirtualApplianceDto virtualAppliance, Integer virtualMachineId)
virtualAppliance
- The virtual appliance.virtualMachineId
- The id of the virtual machine.null
if it does not exist.com.abiquo.server.core.cloud.VirtualMachineWithNodeExtendedDto createVirtualMachine(com.abiquo.server.core.cloud.VirtualApplianceDto virtualAppliance, com.abiquo.server.core.cloud.VirtualMachineWithNodeExtendedDto virtualMachine)
virtualAppliance
- The virtual appliance.virtualMachine
- The virtual machine to be created.void deleteVirtualMachine(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine)
virtualMachine
- The virtual machine to delete.com.abiquo.model.transport.AcceptedRequestDto<String> updateVirtualMachine(com.abiquo.server.core.cloud.VirtualMachineWithNodeExtendedDto virtualMachine)
virtualMachine
- The new attributes for the virtual machine.null
if the operation completed synchronously.com.abiquo.model.transport.AcceptedRequestDto<String> updateVirtualMachine(com.abiquo.server.core.cloud.VirtualMachineWithNodeExtendedDto virtualMachine, VirtualMachineOptions options)
virtualMachine
- The new attributes for the virtual machine.options
- The update options.null
if the operation completed synchronously.com.abiquo.model.transport.AcceptedRequestDto<String> changeVirtualMachineState(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine, com.abiquo.server.core.cloud.VirtualMachineStateDto state)
virtualMachine
- The given virtual machine.state
- The new state.com.abiquo.server.core.cloud.VirtualMachineStateDto getVirtualMachineState(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine)
virtualMachine
- The given virtual machine.com.abiquo.model.transport.AcceptedRequestDto<String> deployVirtualMachine(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine, com.abiquo.server.core.cloud.VirtualMachineTaskDto options)
virtualMachine
- The virtual machine to deploy.options
- extra deploy options.com.abiquo.model.transport.AcceptedRequestDto<String> undeployVirtualMachine(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine, com.abiquo.server.core.cloud.VirtualMachineTaskDto options)
virtualMachine
- The virtual machine to undeploy.options
- extra deploy unoptions.com.abiquo.server.core.infrastructure.network.VMNetworkConfigurationsDto listNetworkConfigurations(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine)
virtualMachine
- The virtual machine.void setGatewayNetwork(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine, com.abiquo.server.core.infrastructure.network.VLANNetworkDto network)
virtualMachine
- The virtual machine.network
- The gateway network to use.com.abiquo.model.transport.AcceptedRequestDto<String> rebootVirtualMachine(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine)
virtualMachine
- The virtual machine to reboot.com.abiquo.server.core.appslibrary.VirtualMachineTemplateDto getVirtualMachineTemplate(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine)
virtualMachine
- The given virtual machine.com.abiquo.server.core.infrastructure.storage.VolumesManagementDto listAttachedVolumes(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine)
virtualMachine
- The virtual machine.com.abiquo.model.transport.AcceptedRequestDto<String> detachAllVolumes(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine)
If the virtual machine is deployed, the operation will be executed asynchronously.
virtualMachine
- The virtual machine.null
if the operation completed synchronously.com.abiquo.model.transport.AcceptedRequestDto<String> replaceVolumes(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine, VirtualMachineOptions options, com.abiquo.server.core.infrastructure.storage.VolumeManagementDto... volumes)
If the virtual machine is deployed, the operation will be executed asynchronously.
virtualMachine
- The virtual machine.options
- virtual machine parametersvolumes
- The new volumes for the virtual machine.null
if the operation completed synchronously.com.abiquo.server.core.infrastructure.storage.DisksManagementDto listAttachedHardDisks(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine)
virtualMachine
- The virtual machine.com.abiquo.model.transport.AcceptedRequestDto<String> detachAllHardDisks(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine)
If the virtual machine is deployed, the operation will be executed asynchronously.
virtualMachine
- The virtual machine.null
if the operation completed synchronously.com.abiquo.model.transport.AcceptedRequestDto<String> replaceHardDisks(com.abiquo.server.core.cloud.VirtualMachineDto virtualMachine, com.abiquo.server.core.infrastructure.storage.DiskManagementDto... hardDisks)
If the virtual machine is deployed, the operation will be executed asynchronously.
virtualMachine
- The virtual machine.hardDisks
- The new hard disks for the virtual machine.null
if the operation completed synchronously.com.abiquo.server.core.infrastructure.storage.DisksManagementDto listHardDisks(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter)
virtualDatacenter
- The virtual datacenter.com.abiquo.server.core.infrastructure.storage.DiskManagementDto getHardDisk(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter, Integer diskId)
virtualDatacenter
- The virtual datacenter.diskId
- The id of the hard disk to get.null
if it does not exist.com.abiquo.server.core.infrastructure.storage.DiskManagementDto createHardDisk(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter, com.abiquo.server.core.infrastructure.storage.DiskManagementDto hardDisk)
virtualDatacenter
- The virtual datacenter where the hard disk will be created.hardDisk
- The hard disk to create.void deleteHardDisk(com.abiquo.server.core.infrastructure.storage.DiskManagementDto hardDisk)
hardDisk
- The hard disk to delete.com.abiquo.server.core.infrastructure.storage.VolumesManagementDto listVolumes(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter)
virtualDatacenter
- The virtual datacenter.com.abiquo.server.core.infrastructure.storage.VolumesManagementDto listVolumes(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter, VolumeOptions options)
virtualDatacenter
- The virtual datacenter.options
- Optional parameters to filter the volume list.com.abiquo.server.core.infrastructure.storage.VolumeManagementDto getVolume(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter, Integer volumeId)
virtualDatacenter
- The virtual datacenter.volumeId
- The id of the volume to get.null
if it does not exist.com.abiquo.server.core.infrastructure.storage.VolumeManagementDto createVolume(com.abiquo.server.core.cloud.VirtualDatacenterDto virtualDatacenter, com.abiquo.server.core.infrastructure.storage.VolumeManagementDto volume)
virtualDatacenter
- The virtual datacenter where the volume will be created.volume
- The volume to create. This volume dto must contain a link to the tier where the
volume should be created.com.abiquo.model.transport.AcceptedRequestDto<String> updateVolume(com.abiquo.server.core.infrastructure.storage.VolumeManagementDto volume)
If the virtual machine is deployed and the size of the volume is changed, then an asynchronous task will be generated to refresh the resources of the virtual machine in the hypervisor.
volume
- The volume to modify.null
if no task was generated.void deleteVolume(com.abiquo.server.core.infrastructure.storage.VolumeManagementDto volume)
volume
- The volume to delete.com.abiquo.server.core.infrastructure.storage.VolumeManagementDto moveVolume(com.abiquo.server.core.infrastructure.storage.VolumeManagementDto volume, com.abiquo.server.core.cloud.VirtualDatacenterDto newVirtualDatacenter)
The Abiquo API will return a 301 (Moved Permanently), so redirects must be enabled to make this method succeed.
volume
- The volume to move.newVirtualDatacenter
- The destination virtual datacenter.Copyright © 2009-2013 jclouds. All Rights Reserved.