Class DedicatedHost

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.DedicatedHost
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class DedicatedHost extends com.ibm.cloud.sdk.core.service.model.GenericModel
DedicatedHost.
  • Method Details

    • getAvailableMemory

      public Long getAvailableMemory()
      Gets the availableMemory. The amount of memory in gibibytes that is currently available for instances.
      Returns:
      the availableMemory
    • getAvailableVcpu

      public VCPU getAvailableVcpu()
      Gets the availableVcpu. The available VCPU for the dedicated host.
      Returns:
      the availableVcpu
    • getCreatedAt

      public Date getCreatedAt()
      Gets the createdAt. The date and time that the dedicated host was created.
      Returns:
      the createdAt
    • getCrn

      public String getCrn()
      Gets the crn. The CRN for this dedicated host.
      Returns:
      the crn
    • getDisks

      public List<DedicatedHostDisk> getDisks()
      Gets the disks. The disks for the dedicated host.
      Returns:
      the disks
    • getGroup

      public DedicatedHostGroupReference getGroup()
      Gets the group. The dedicated host group this dedicated host is in.
      Returns:
      the group
    • getHref

      public String getHref()
      Gets the href. The URL for this dedicated host.
      Returns:
      the href
    • getId

      public String getId()
      Gets the id. The unique identifier for this dedicated host.
      Returns:
      the id
    • isInstancePlacementEnabled

      public Boolean isInstancePlacementEnabled()
      Gets the instancePlacementEnabled. If set to true, instances can be placed on this dedicated host.
      Returns:
      the instancePlacementEnabled
    • getInstances

      public List<InstanceReference> getInstances()
      Gets the instances. The instances that are allocated to this dedicated host.
      Returns:
      the instances
    • getLifecycleState

      public String getLifecycleState()
      Gets the lifecycleState. The lifecycle state of the dedicated host.
      Returns:
      the lifecycleState
    • getMemory

      public Long getMemory()
      Gets the memory. The total amount of memory in gibibytes for this host.
      Returns:
      the memory
    • getName

      public String getName()
      Gets the name. The name for this dedicated host. The name is unique across all dedicated hosts in the region.
      Returns:
      the name
    • getNuma

      public DedicatedHostNUMA getNuma()
      Gets the numa. The dedicated host NUMA configuration.
      Returns:
      the numa
    • getProfile

      public DedicatedHostProfileReference getProfile()
      Gets the profile. The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-dh-profiles) for this dedicated host.
      Returns:
      the profile
    • isProvisionable

      public Boolean isProvisionable()
      Gets the provisionable. Indicates whether this dedicated host is available for instance creation.
      Returns:
      the provisionable
    • getResourceGroup

      public ResourceGroupReference getResourceGroup()
      Gets the resourceGroup. The resource group for this dedicated host.
      Returns:
      the resourceGroup
    • getResourceType

      public String getResourceType()
      Gets the resourceType. The resource type.
      Returns:
      the resourceType
    • getSocketCount

      public Long getSocketCount()
      Gets the socketCount. The total number of sockets for this host.
      Returns:
      the socketCount
    • getState

      public String getState()
      Gets the state. The administrative state of the dedicated host. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
      Returns:
      the state
    • getSupportedInstanceProfiles

      public List<InstanceProfileReference> getSupportedInstanceProfiles()
      Gets the supportedInstanceProfiles. The instance profiles usable by instances placed on this dedicated host.
      Returns:
      the supportedInstanceProfiles
    • getVcpu

      public VCPU getVcpu()
      Gets the vcpu. The total VCPU of the dedicated host.
      Returns:
      the vcpu
    • getZone

      public ZoneReference getZone()
      Gets the zone. The zone this dedicated host resides in.
      Returns:
      the zone