public class VirtualMachineTemplateDto extends SingleResourceTransportDto
| Modifier and Type | Field and Description |
|---|---|
static String |
MEDIA_TYPE |
static String |
MEDIA_TYPE_JSON |
static String |
MEDIA_TYPE_XML |
static String |
SHORT_MEDIA_TYPE_JSON |
static String |
SHORT_MEDIA_TYPE_XML |
API_VERSION, API_VERSION_20, API_VERSION_22, API_VERSION_23, API_VERSION_24, API_VERSION_26, API_VERSION_27, API_VERSION_28, API_VERSION_29, APPLICATION, editLink, JSON, links, VERSION_PARAM, XML| Constructor and Description |
|---|
VirtualMachineTemplateDto() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseMediaType() |
Integer |
getCoresPerSocket()
Optional ratio to distribute cores in sockets (sockets = cpu / coresPerSocket).
|
Integer |
getCostCode()
Cost code identifier
|
Integer |
getCpuRequired()
The number of CPU required
|
Date |
getCreationDate()
Creation date
|
String |
getCreationUser()
Nickname of the creation user
|
String |
getDescription()
Description of the virtual machine template
|
String |
getDiskController()
Controller implementation to use in disks.
|
DiskControllerType |
getDiskControllerType()
Kind of controller type (IDE or SCSI)
|
Long |
getDiskFileSize()
The disk file size in Bytes of the virtual machine template disk file
|
String |
getDiskFormatType()
Disk format type of the virtual machine template @see
DiskFormatType |
EthernetDriverType |
getEthernetDriverType()
Kind of network driver (PCNet32, VMXNET3 or E1000)
|
Long |
getHdRequired()
The HD required in bytes for the virtual machine template (Primary disk capacity)
|
String |
getIconUrl()
The URI of the icon of the virtual machine template
|
Integer |
getId()
Identifier of the virtual machine template
|
String |
getLoginPassword()
Default login password
|
String |
getLoginUser()
Default login user
|
String |
getMediaType() |
String |
getName()
Name of the virtual machine template
|
OSType |
getOsType()
Kind of Operating System
|
String |
getOsVersion()
Additional info for the ''osType''
|
String |
getPath()
Path relative to the Abiquo datacenter repository of the virtual machine template disk file
|
Integer |
getRamRequired()
The RAM in MegaBytes required for the virtual machine template
|
VMTemplateState |
getState()
Current state of the virtual machine template (based on the tasks)
|
boolean |
isChefEnabled()
Determine if its suitable for the Chef integration feature
|
boolean |
isShared()
Determine if virtual machine template can be used in other enterprises
|
void |
setChefEnabled(boolean chefEnabled) |
void |
setCoresPerSocket(Integer coresPerSocket) |
void |
setCostCode(Integer costCode) |
void |
setCpuRequired(Integer cpuRequired) |
void |
setCreationDate(Date creationDate) |
void |
setCreationUser(String creationUser) |
void |
setDescription(String description) |
void |
setDiskController(String diskController) |
void |
setDiskControllerType(DiskControllerType diskControllerType) |
void |
setDiskFileSize(Long diskFileSize) |
void |
setDiskFormatType(String diskFormatType) |
void |
setEthernetDriverType(EthernetDriverType ethernetDriverType) |
void |
setHdRequired(Long hdRequired) |
void |
setIconUrl(String iconUrl) |
void |
setId(Integer id) |
void |
setLoginPassword(String loginPassword) |
void |
setLoginUser(String loginUser) |
void |
setName(String name) |
void |
setOsType(OSType osType) |
void |
setOsVersion(String osVersion) |
void |
setPath(String path) |
void |
setRamRequired(Integer ramRequired) |
void |
setShared(boolean shared) |
void |
setState(VMTemplateState state) |
addEditLink, addLink, addLinks, getEditLink, getIdFromLink, getLinks, modifyLink, searchLink, searchLink, searchLinkByHref, searchLinks, setLinkspublic static final String MEDIA_TYPE
public static final String SHORT_MEDIA_TYPE_JSON
public static final String SHORT_MEDIA_TYPE_XML
public static final String MEDIA_TYPE_XML
public static final String MEDIA_TYPE_JSON
public Integer getCostCode()
@NotNull public Integer getCpuRequired()
public Integer getCoresPerSocket()
This attribute MUST be divisor of CPU.
public Date getCreationDate()
public String getCreationUser()
public String getDescription()
public DiskControllerType getDiskControllerType()
*NOTE* not all the hypervisor plugins will use this info
public String getDiskController()
@NotNull public Long getDiskFileSize()
@NotNull public String getDiskFormatType()
DiskFormatTypepublic EthernetDriverType getEthernetDriverType()
*NOTE* not all the hypervisor plugins will use this info. By default all use E1000
public Long getHdRequired()
public String getIconUrl()
@NotNull public Integer getId()
public String getLoginPassword()
public String getLoginUser()
@NotNull public String getName()
public OSType getOsType()
public String getOsVersion()
@NotNull public String getPath()
@NotNull public Integer getRamRequired()
public VMTemplateState getState()
public boolean isChefEnabled()
@NotNull public boolean isShared()
public void setChefEnabled(boolean chefEnabled)
public void setCostCode(Integer costCode)
public void setCpuRequired(Integer cpuRequired)
public void setCoresPerSocket(Integer coresPerSocket)
public void setCreationDate(Date creationDate)
public void setCreationUser(String creationUser)
public void setDescription(String description)
public void setDiskControllerType(DiskControllerType diskControllerType)
public void setDiskController(String diskController)
public void setDiskFileSize(Long diskFileSize)
public void setDiskFormatType(String diskFormatType)
public void setEthernetDriverType(EthernetDriverType ethernetDriverType)
public void setHdRequired(Long hdRequired)
public void setIconUrl(String iconUrl)
public void setId(Integer id)
public void setLoginPassword(String loginPassword)
public void setLoginUser(String loginUser)
public void setName(String name)
public void setOsType(OSType osType)
public void setOsVersion(String osVersion)
public void setPath(String path)
public void setRamRequired(Integer ramRequired)
public void setShared(boolean shared)
public void setState(VMTemplateState state)
public String getMediaType()
getMediaType in class SingleResourceTransportDtopublic String getBaseMediaType()
getBaseMediaType in class SingleResourceTransportDtoCopyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.