Class Host
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.virtual.Host
@ApiType("SoftLayer_Virtual_Host") public class Host extends Entity
The virtual host represents the platform on which virtual guests reside. At times a virtual host has no allocations on the physical server, however with many modern platforms it is a virtual machine with small CPU and Memory allocations that runs in the Control Domain.
- See Also:
- SoftLayer_Virtual_Host
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Host.Mask
static interface
Host.Service
The virtual host service provides a common interface to any virtualization platform supported by SoftLayer.static interface
Host.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
The account which a virtual host belongs to.protected Long
accountId
A virtual host's associated account idprotected boolean
accountIdSpecified
protected Boolean
billedPerGuestFlag
Boolean flag indicating whether this virtualization platform gets billed per guest rather than at a fixed rate.protected Boolean
billedPerMemoryUsageFlag
Boolean flag indicating whether this virtualization platform gets billed per memory usage rather than at a fixed rate.protected GregorianCalendar
createDate
The date a virtual host was created.protected boolean
createDateSpecified
protected String
description
A virtual host's description.protected boolean
descriptionSpecified
protected Long
enabledFlag
The enabled flag specifies whether a virtual host can run guests.protected boolean
enabledFlagSpecified
protected Long
guestCount
A count of the guests associated with a virtual host.protected List<Guest>
guests
The guests associated with a virtual host.protected Server
hardware
The hardware record which a virtual host resides on.protected Long
hardwareId
A hardware device which a virtual host resides.protected boolean
hardwareIdSpecified
protected Long
id
Unique ID for a virtual host.protected boolean
idSpecified
protected Object
metricTrackingObject
The metric tracking object for this virtual host.protected GregorianCalendar
modifyDate
The date a virtual host was last modified.protected boolean
modifyDateSpecified
protected String
name
A virtual host's name.protected boolean
nameSpecified
protected Long
pciDeviceCount
A count ofprotected List<PciDevice>
pciDevices
protected Long
physicalMemoryCapacity
The amount of memory physically available for a virtual host.protected boolean
physicalMemoryCapacitySpecified
protected String
uuid
Unique ID for a virtual host's record on a virtualization platform.protected boolean
uuidSpecified
-
Constructor Summary
Constructors Constructor Description Host()
-
Method Summary
-
Field Details
-
account
The account which a virtual host belongs to. -
billedPerGuestFlag
Boolean flag indicating whether this virtualization platform gets billed per guest rather than at a fixed rate. -
billedPerMemoryUsageFlag
Boolean flag indicating whether this virtualization platform gets billed per memory usage rather than at a fixed rate. -
guests
The guests associated with a virtual host. -
hardware
The hardware record which a virtual host resides on. -
metricTrackingObject
The metric tracking object for this virtual host. -
pciDevices
-
accountId
A virtual host's associated account id -
accountIdSpecified
protected boolean accountIdSpecified -
createDate
The date a virtual host was created. -
createDateSpecified
protected boolean createDateSpecified -
description
A virtual host's description. -
descriptionSpecified
protected boolean descriptionSpecified -
enabledFlag
The enabled flag specifies whether a virtual host can run guests. -
enabledFlagSpecified
protected boolean enabledFlagSpecified -
hardwareId
A hardware device which a virtual host resides. -
hardwareIdSpecified
protected boolean hardwareIdSpecified -
id
Unique ID for a virtual host. -
idSpecified
protected boolean idSpecified -
modifyDate
The date a virtual host was last modified. -
modifyDateSpecified
protected boolean modifyDateSpecified -
name
A virtual host's name. -
nameSpecified
protected boolean nameSpecified -
physicalMemoryCapacity
The amount of memory physically available for a virtual host. -
physicalMemoryCapacitySpecified
protected boolean physicalMemoryCapacitySpecified -
uuid
Unique ID for a virtual host's record on a virtualization platform. -
uuidSpecified
protected boolean uuidSpecified -
guestCount
A count of the guests associated with a virtual host. -
pciDeviceCount
A count of
-
-
Constructor Details
-
Host
public Host()
-
-
Method Details
-
getAccount
-
setAccount
-
getBilledPerGuestFlag
-
setBilledPerGuestFlag
-
getBilledPerMemoryUsageFlag
-
setBilledPerMemoryUsageFlag
-
getGuests
-
getHardware
-
setHardware
-
getMetricTrackingObject
-
setMetricTrackingObject
-
getPciDevices
-
getAccountId
-
setAccountId
-
isAccountIdSpecified
public boolean isAccountIdSpecified() -
unsetAccountId
public void unsetAccountId() -
getCreateDate
-
setCreateDate
-
isCreateDateSpecified
public boolean isCreateDateSpecified() -
unsetCreateDate
public void unsetCreateDate() -
getDescription
-
setDescription
-
isDescriptionSpecified
public boolean isDescriptionSpecified() -
unsetDescription
public void unsetDescription() -
getEnabledFlag
-
setEnabledFlag
-
isEnabledFlagSpecified
public boolean isEnabledFlagSpecified() -
unsetEnabledFlag
public void unsetEnabledFlag() -
getHardwareId
-
setHardwareId
-
isHardwareIdSpecified
public boolean isHardwareIdSpecified() -
unsetHardwareId
public void unsetHardwareId() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getModifyDate
-
setModifyDate
-
isModifyDateSpecified
public boolean isModifyDateSpecified() -
unsetModifyDate
public void unsetModifyDate() -
getName
-
setName
-
isNameSpecified
public boolean isNameSpecified() -
unsetName
public void unsetName() -
getPhysicalMemoryCapacity
-
setPhysicalMemoryCapacity
-
isPhysicalMemoryCapacitySpecified
public boolean isPhysicalMemoryCapacitySpecified() -
unsetPhysicalMemoryCapacity
public void unsetPhysicalMemoryCapacity() -
getUuid
-
setUuid
-
isUuidSpecified
public boolean isUuidSpecified() -
unsetUuid
public void unsetUuid() -
getGuestCount
-
setGuestCount
-
getPciDeviceCount
-
setPciDeviceCount
-
asService
-
service
-
service
-