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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
The lifecycle state of the dedicated host.static interface
The resource type.static interface
The administrative state of the dedicated host. -
Method Summary
Modifier and TypeMethodDescriptionGets the availableMemory.Gets the availableVcpu.Gets the createdAt.getCrn()
Gets the crn.getDisks()
Gets the disks.getGroup()
Gets the group.getHref()
Gets the href.getId()
Gets the id.Gets the instances.Gets the lifecycleState.Gets the memory.getName()
Gets the name.getNuma()
Gets the numa.Gets the profile.Gets the resourceGroup.Gets the resourceType.Gets the socketCount.getState()
Gets the state.Gets the supportedInstanceProfiles.getVcpu()
Gets the vcpu.getZone()
Gets the zone.Gets the instancePlacementEnabled.Gets the provisionable.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
getAvailableMemory
Gets the availableMemory. The amount of memory in gibibytes that is currently available for instances.- Returns:
- the availableMemory
-
getAvailableVcpu
Gets the availableVcpu. The available VCPU for the dedicated host.- Returns:
- the availableVcpu
-
getCreatedAt
Gets the createdAt. The date and time that the dedicated host was created.- Returns:
- the createdAt
-
getCrn
-
getDisks
Gets the disks. The disks for the dedicated host.- Returns:
- the disks
-
getGroup
Gets the group. The dedicated host group this dedicated host is in.- Returns:
- the group
-
getHref
-
getId
-
isInstancePlacementEnabled
Gets the instancePlacementEnabled. If set to true, instances can be placed on this dedicated host.- Returns:
- the instancePlacementEnabled
-
getInstances
Gets the instances. The instances that are allocated to this dedicated host.- Returns:
- the instances
-
getLifecycleState
Gets the lifecycleState. The lifecycle state of the dedicated host.- Returns:
- the lifecycleState
-
getMemory
Gets the memory. The total amount of memory in gibibytes for this host.- Returns:
- the memory
-
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
Gets the numa. The dedicated host NUMA configuration.- Returns:
- the numa
-
getProfile
Gets the profile. The [profile](https://cloud.ibm.com/docs/vpc?topic=vpc-dh-profiles) for this dedicated host.- Returns:
- the profile
-
isProvisionable
Gets the provisionable. Indicates whether this dedicated host is available for instance creation.- Returns:
- the provisionable
-
getResourceGroup
Gets the resourceGroup. The resource group for this dedicated host.- Returns:
- the resourceGroup
-
getResourceType
-
getSocketCount
Gets the socketCount. The total number of sockets for this host.- Returns:
- the socketCount
-
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
Gets the supportedInstanceProfiles. The instance profiles usable by instances placed on this dedicated host.- Returns:
- the supportedInstanceProfiles
-
getVcpu
-
getZone
Gets the zone. The zone this dedicated host resides in.- Returns:
- the zone
-