Class ComputeServerType

java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.ComputeServerType
All Implemented Interfaces:
IModelCodeName, Serializable

public class ComputeServerType extends MorpheusModel implements IModelCodeName
Representation of a Morpheus ComputeServerType database object within the Morpheus platform. A ComputeServerType is assigned to any Compute object that may be synced or represented within Morpheus. It could be a Linux vm, Windows vm, Baremetal, or maybe a Docker Host.
See Also:
  • Field Details

    • name

      protected String name
    • code

      protected String code
    • nodeType

      protected String nodeType
    • description

      protected String description
    • computeService

      protected String computeService
    • vmHypervisor

      protected Boolean vmHypervisor
    • containerHypervisor

      protected Boolean containerHypervisor
    • morpheusHypervisor

      protected Boolean morpheusHypervisor
    • bareMetalHost

      protected Boolean bareMetalHost
    • guestVm

      protected Boolean guestVm
    • managed

      protected Boolean managed
    • controlPower

      protected Boolean controlPower
    • controlSuspend

      protected Boolean controlSuspend
    • controlEjectCd

      protected Boolean controlEjectCd
    • enabled

      protected Boolean enabled
    • selectable

      protected Boolean selectable
    • creatable

      protected Boolean creatable
    • reconfigureSupported

      protected Boolean reconfigureSupported
    • externalDelete

      protected Boolean externalDelete
    • hasAutomation

      protected Boolean hasAutomation
    • hasDevices

      protected Boolean hasDevices
      Flags whether this ComputeServerType can have ComputeDevice's associated with it.

      If true, a 'Devices' tab is added to the ComputeServer page in the Morpheus UI.

      Since:
      1.2.11
    • supportsDeviceAttachment

      protected Boolean supportsDeviceAttachment
      Flags whether this ComputeServerType supports attaching/detaching devices and should allow those actions to be executed.

      If true, actions will be added where relevant in the UI and will be permissible via the API.

      Since:
      1.2.11
    • supportsAgentlessMetrics

      protected Boolean supportsAgentlessMetrics
      Flags whether this ComputeServerType supports agentless metrics collection.

      If true, Morpheus will call the CloudProvider's getServerStats() method to collect metrics for servers without an agent installed. This enables cloud providers to collect CPU, memory, and storage metrics directly from their cloud APIs.

      Since:
      1.2.14
    • supportsConsoleKeymap

      protected Boolean supportsConsoleKeymap
    • displayOrder

      protected Integer displayOrder
    • managedServerType

      protected String managedServerType
    • hasMaintenanceMode

      protected Boolean hasMaintenanceMode
    • forceResourceCleanupOnDelete

      protected Boolean forceResourceCleanupOnDelete
      Flags whether this ComputeServerType should clean up resources when deleted.

      If true, resources will be cleaned up during deletion, regardless of the 'Remove Infrastructure' option setting.

      Since:
      1.2.11
    • agentType

      protected ComputeServerType.AgentType agentType
    • computeTypeCode

      protected String computeTypeCode
    • provisionTypeCode

      protected String provisionTypeCode
    • clusterType

      protected ComputeServerType.ClusterType clusterType
    • optionTypes

      protected Collection<OptionType> optionTypes
    • platform

      protected PlatformType platform
    • containerEngine

      protected ComputeServerType.ContainerEngine containerEngine
  • Constructor Details

    • ComputeServerType

      public ComputeServerType()
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface IModelCodeName
    • setName

      public void setName(String name)
    • getCode

      public String getCode()
      Specified by:
      getCode in interface IModelCodeName
    • setCode

      public void setCode(String code)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getNodeType

      public String getNodeType()
    • setNodeType

      public void setNodeType(String nodeType)
    • getComputeService

      public String getComputeService()
    • setComputeService

      public void setComputeService(String computeService)
    • getVmHypervisor

      public Boolean getVmHypervisor()
    • setVmHypervisor

      public void setVmHypervisor(Boolean vmHypervisor)
    • getContainerHypervisor

      public Boolean getContainerHypervisor()
    • setContainerHypervisor

      public void setContainerHypervisor(Boolean containerHypervisor)
    • getMorpheusHypervisor

      public Boolean getMorpheusHypervisor()
    • setMorpheusHypervisor

      public void setMorpheusHypervisor(Boolean morpheusHypervisor)
    • getBareMetalHost

      public Boolean getBareMetalHost()
    • setBareMetalHost

      public void setBareMetalHost(Boolean bareMetalHost)
    • getGuestVm

      public Boolean getGuestVm()
    • setGuestVm

      public void setGuestVm(Boolean guestVm)
    • getPlatform

      public PlatformType getPlatform()
    • setPlatform

      public void setPlatform(PlatformType platform)
    • getManaged

      public Boolean getManaged()
    • setManaged

      public void setManaged(Boolean managed)
    • getControlPower

      public Boolean getControlPower()
    • setControlPower

      public void setControlPower(Boolean controlPower)
    • getControlSuspend

      public Boolean getControlSuspend()
    • setControlSuspend

      public void setControlSuspend(Boolean controlSuspend)
    • getEnabled

      public Boolean getEnabled()
    • setEnabled

      public void setEnabled(Boolean enabled)
    • getSelectable

      public Boolean getSelectable()
    • setSelectable

      public void setSelectable(Boolean selectable)
    • getReconfigureSupported

      public Boolean getReconfigureSupported()
    • setReconfigureSupported

      public void setReconfigureSupported(Boolean reconfigureSupported)
    • getExternalDelete

      public Boolean getExternalDelete()
    • setExternalDelete

      public void setExternalDelete(Boolean externalDelete)
    • getHasAutomation

      public Boolean getHasAutomation()
    • setHasAutomation

      public void setHasAutomation(Boolean hasAutomation)
    • getDisplayOrder

      public Integer getDisplayOrder()
    • setDisplayOrder

      public void setDisplayOrder(Integer displayOrder)
    • getOptionTypes

      public Collection<OptionType> getOptionTypes()
    • setOptionTypes

      public void setOptionTypes(Collection<OptionType> optionTypes)
    • getAgentType

      public ComputeServerType.AgentType getAgentType()
    • setAgentType

      public void setAgentType(ComputeServerType.AgentType agentType)
    • getClusterType

      public ComputeServerType.ClusterType getClusterType()
    • setClusterType

      public void setClusterType(ComputeServerType.ClusterType clusterType)
    • getSupportsConsoleKeymap

      public Boolean getSupportsConsoleKeymap()
    • setSupportsConsoleKeymap

      public void setSupportsConsoleKeymap(Boolean supportsConsoleKeymap)
    • getComputeTypeCode

      public String getComputeTypeCode()
    • setComputeTypeCode

      public void setComputeTypeCode(String computeTypeCode)
    • getManagedServerType

      public String getManagedServerType()
    • setManagedServerType

      public void setManagedServerType(String managedServerType)
    • getProvisionTypeCode

      public String getProvisionTypeCode()
    • setProvisionTypeCode

      public void setProvisionTypeCode(String provisionTypeCode)
    • getControlEjectCd

      public Boolean getControlEjectCd()
    • setControlEjectCd

      public void setControlEjectCd(Boolean controlEjectCd)
    • getContainerEngine

      public ComputeServerType.ContainerEngine getContainerEngine()
    • setContainerEngine

      public void setContainerEngine(ComputeServerType.ContainerEngine containerEngine)
    • getCreatable

      public Boolean getCreatable()
    • setCreatable

      public void setCreatable(Boolean creatable)
    • getHasMaintenanceMode

      public Boolean getHasMaintenanceMode()
    • setHasMaintenanceMode

      public void setHasMaintenanceMode(Boolean hasMaintenanceMode)
    • getHasDevices

      public Boolean getHasDevices()
    • setHasDevices

      public void setHasDevices(Boolean hasDevices)
    • getSupportsDeviceAttachment

      public Boolean getSupportsDeviceAttachment()
    • setSupportsDeviceAttachment

      public void setSupportsDeviceAttachment(Boolean supportsDeviceAttachment)
    • getSupportsAgentlessMetrics

      public Boolean getSupportsAgentlessMetrics()
    • setSupportsAgentlessMetrics

      public void setSupportsAgentlessMetrics(Boolean supportsAgentlessMetrics)
    • getForceResourceCleanupOnDelete

      public Boolean getForceResourceCleanupOnDelete()
    • setForceResourceCleanupOnDelete

      public void setForceResourceCleanupOnDelete(Boolean forceResourceCleanupOnDelete)