public class VirtualMachineDto extends SingleResourceTransportDto
| Modifier and Type | Field and Description |
|---|---|
static String |
MEDIA_TYPE |
static String |
MEDIA_TYPE_22 |
static String |
MEDIA_TYPE_23 |
static String |
MEDIA_TYPE_24 |
static String |
MEDIA_TYPE_JSON |
static String |
MEDIA_TYPE_JSON_26 |
static String |
MEDIA_TYPE_XML |
static String |
MEDIA_TYPE_XML_26 |
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 |
|---|
VirtualMachineDto() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseMediaType() |
Integer |
getCoresPerSocket()
Optional ratio to distribute cores in sockets (sockets = cpu / coresPerSocket).
|
Integer |
getCpu()
Number of CPUs of the virtual machine.
|
String |
getDescription() |
DvdManagementDto |
getDvd()
Whether the virtual machine must mount a CD or DVD drive.
|
Long |
getHdInBytes()
Hard disk size in Bytes.
|
int |
getHighDisponibility()
Deprecated
|
Integer |
getId()
Opaque ID of the virtual machine.
|
int |
getIdState()
Opaque ID of the state.
|
int |
getIdType()
Deprecated.
|
String |
getKeymap()
Keyboard keymap to be setted on the virtual machine.
|
String |
getLabel() |
String |
getMediaType() |
Map<String,Object> |
getMetadata() |
String |
getName()
Name of the virtual machine.
|
String |
getPassword()
VNC password.
|
Integer |
getRam()
Ram size of the virtual machine.
|
RunlistElementsDto |
getRunlist()
Chef runlist to bootstrap.
|
VirtualMachineState |
getState()
Current virtual machine state.
|
VirtualMachineType |
getType()
The type of the virtual machine
|
String |
getUuid()
UUID of the virtual machine.
|
Boolean |
getVdrpEnabled() |
String |
getVdrpIP()
Virtual remote desktop IP.
|
Integer |
getVdrpPort()
Virtual remote desktop port.
|
void |
setCoresPerSocket(Integer coresPerSocket) |
void |
setCpu(Integer cpu) |
void |
setDescription(String description) |
void |
setDvd(DvdManagementDto dvd) |
void |
setHdInBytes(Long hdInBytes) |
void |
setHighDisponibility(int highDisponibility) |
void |
setId(Integer id) |
void |
setIdState(int idState) |
void |
setIdType(int idType)
Deprecated.
|
void |
setKeymap(String keymap) |
void |
setLabel(String label) |
void |
setMetadata(Map<String,Object> metadata) |
void |
setName(String name) |
void |
setNicLinks(List<RESTLink> nics)
Modify the NIC links.
|
void |
setPassword(String password) |
void |
setRam(Integer ram) |
void |
setRunlist(RunlistElementsDto runlistElements) |
void |
setState(VirtualMachineState state) |
void |
setType(VirtualMachineType type) |
void |
setUuid(String uuid) |
void |
setVdrpEnabled(Boolean vdrpEnabled) |
void |
setVdrpIP(String vdrpIP) |
void |
setVdrpPort(Integer vdrpPort) |
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 static final String MEDIA_TYPE_22
public static final String MEDIA_TYPE_23
public static final String MEDIA_TYPE_24
public static final String MEDIA_TYPE_XML_26
public static final String MEDIA_TYPE_JSON_26
public String getBaseMediaType()
getBaseMediaType in class SingleResourceTransportDto@NotNull public Integer getCpu()
public Integer getCoresPerSocket()
This attribute MUST be divisor of CPU.
public String getDescription()
public DvdManagementDto getDvd()
@NotNull public Long getHdInBytes()
@NotNull public int getHighDisponibility()
public Integer getId()
public int getIdState()
@Deprecated public int getIdType()
public VirtualMachineType getType()
public String getKeymap()
public String getMediaType()
getMediaType in class SingleResourceTransportDto@NotNull public String getName()
public String getPassword()
@NotNull public Integer getRam()
public RunlistElementsDto getRunlist()
public VirtualMachineState getState()
public String getUuid()
public String getVdrpIP()
public Integer getVdrpPort()
public String getLabel()
public Boolean getVdrpEnabled()
public void setVdrpEnabled(Boolean vdrpEnabled)
public void setCpu(Integer cpu)
public void setCoresPerSocket(Integer coresPerSocket)
public void setDescription(String description)
public void setDvd(DvdManagementDto dvd)
public void setHdInBytes(Long hdInBytes)
public void setHighDisponibility(int highDisponibility)
public void setId(Integer id)
public void setIdState(int idState)
@Deprecated public void setIdType(int idType)
public void setType(VirtualMachineType type)
public void setKeymap(String keymap)
public void setName(String name)
public void setPassword(String password)
public void setRam(Integer ram)
public void setRunlist(RunlistElementsDto runlistElements)
public void setState(VirtualMachineState state)
public void setUuid(String uuid)
public void setVdrpIP(String vdrpIP)
public void setVdrpPort(Integer vdrpPort)
public void setLabel(String label)
Copyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.