public interface VirtualMachineTemplateApi
http://community.abiquo.com/display/ABI20/API+Reference
,
VirtualMachineTemplateAsyncApi
Modifier and Type | Method and Description |
---|---|
com.abiquo.model.transport.AcceptedRequestDto<String> |
createPersistentVirtualMachineTemplate(Integer enterpriseId,
Integer datacenterRepositoryId,
com.abiquo.server.core.appslibrary.VirtualMachineTemplatePersistentDto persistentOptions)
Creates a persistent virtual machine template from other virtual machine template.
|
void |
deleteVirtualMachineTemplate(com.abiquo.server.core.appslibrary.VirtualMachineTemplateDto template)
Deletes an existing virtual machine template.
|
com.abiquo.server.core.appslibrary.ConversionDto |
getConversion(com.abiquo.server.core.appslibrary.VirtualMachineTemplateDto template,
com.abiquo.model.enumerator.DiskFormatType targetFormat)
Get the conversions for a virtual machine template and the desired target format.
|
com.abiquo.server.core.appslibrary.VirtualMachineTemplateDto |
getVirtualMachineTemplate(Integer entepriseId,
Integer datacenterRepositoryId,
Integer virtualMachineTemplateId)
Get the given virtual machine template.
|
com.abiquo.server.core.appslibrary.ConversionsDto |
listConversions(com.abiquo.server.core.appslibrary.VirtualMachineTemplateDto template)
List all the conversions for a virtual machine template.
|
com.abiquo.server.core.appslibrary.ConversionsDto |
listConversions(com.abiquo.server.core.appslibrary.VirtualMachineTemplateDto template,
ConversionOptions options)
List conversions for a virtual machine template.
|
com.abiquo.server.core.appslibrary.VirtualMachineTemplatesDto |
listVirtualMachineTemplates(Integer enterpriseId,
Integer datacenterRepositoryId)
List all virtual machine templates for an enterprise in a datacenter repository.
|
com.abiquo.server.core.appslibrary.VirtualMachineTemplatesDto |
listVirtualMachineTemplates(Integer enterpriseId,
Integer datacenterRepositoryId,
VirtualMachineTemplateOptions options)
List all virtual machine templates for an enterprise in a datacenter repository.
|
com.abiquo.model.transport.AcceptedRequestDto<String> |
requestConversion(com.abiquo.server.core.appslibrary.VirtualMachineTemplateDto template,
com.abiquo.model.enumerator.DiskFormatType targetFormat,
com.abiquo.server.core.appslibrary.ConversionDto conversion)
Starts a V2V conversion of the current virtual machine template, or updates a failed
conversion.
|
com.abiquo.server.core.appslibrary.VirtualMachineTemplateDto |
updateVirtualMachineTemplate(com.abiquo.server.core.appslibrary.VirtualMachineTemplateDto template)
Updates an existing virtual machine template.
|
com.abiquo.server.core.appslibrary.VirtualMachineTemplatesDto listVirtualMachineTemplates(Integer enterpriseId, Integer datacenterRepositoryId)
enterpriseId
- Id of the enterprise.datacenterRepositoryId
- Id of the datacenter repository contaning the templates.com.abiquo.server.core.appslibrary.VirtualMachineTemplatesDto listVirtualMachineTemplates(Integer enterpriseId, Integer datacenterRepositoryId, VirtualMachineTemplateOptions options)
enterpriseId
- Id of the enterprise.datacenterRepositoryId
- Id of the datacenter repository contaning the templates.options
- The options to query the virtual machine templates.com.abiquo.server.core.appslibrary.VirtualMachineTemplateDto getVirtualMachineTemplate(Integer entepriseId, Integer datacenterRepositoryId, Integer virtualMachineTemplateId)
enterpriseId
- Id of the enterprise.datacenterRepositoryId
- Id of the datacenter repository contaning the templates.enterpriseId
- The id of the virtual machine template.null
if it does not exist.com.abiquo.server.core.appslibrary.VirtualMachineTemplateDto updateVirtualMachineTemplate(com.abiquo.server.core.appslibrary.VirtualMachineTemplateDto template)
template
- The new attributes for the template.void deleteVirtualMachineTemplate(com.abiquo.server.core.appslibrary.VirtualMachineTemplateDto template)
template
- The virtual machine template to delete.com.abiquo.model.transport.AcceptedRequestDto<String> createPersistentVirtualMachineTemplate(Integer enterpriseId, Integer datacenterRepositoryId, com.abiquo.server.core.appslibrary.VirtualMachineTemplatePersistentDto persistentOptions)
dcRepository
- The repository where the persistent virtual machine template will be
created.options
- The persistent options like name, volume/tier, virtual datacenter and original
template.com.abiquo.server.core.appslibrary.ConversionsDto listConversions(com.abiquo.server.core.appslibrary.VirtualMachineTemplateDto template)
template,
- The virtual machine template of the conversions.com.abiquo.server.core.appslibrary.ConversionsDto listConversions(com.abiquo.server.core.appslibrary.VirtualMachineTemplateDto template, ConversionOptions options)
template,
- The virtual machine template of the conversionsoptions,
- Optionally filter compatible conversions with a provided hypervisor or with
the desired state.com.abiquo.server.core.appslibrary.ConversionDto getConversion(com.abiquo.server.core.appslibrary.VirtualMachineTemplateDto template, com.abiquo.model.enumerator.DiskFormatType targetFormat)
template,
- The virtual machine template of the conversiontargetFormat
- The disk format type of the requested conversioncom.abiquo.model.transport.AcceptedRequestDto<String> requestConversion(com.abiquo.server.core.appslibrary.VirtualMachineTemplateDto template, com.abiquo.model.enumerator.DiskFormatType targetFormat, com.abiquo.server.core.appslibrary.ConversionDto conversion)
template
- The virtual machine template to converttargetFormat
- The requested target DiskFormatType
of the conversion.conversion,
- the dto representing the conversionCopyright © 2009-2013 jclouds. All Rights Reserved.