Package com.ibm.cloud.is.vpc.v1.model
Class DedicatedHostProfile
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.DedicatedHostProfile
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class DedicatedHostProfile extends com.ibm.cloud.sdk.core.service.model.GenericModel
DedicatedHostProfile.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DedicatedHostProfile.Family
The product family this dedicated host profile belongs to The enumerated values for this property are expected to expand in the future.static interface
DedicatedHostProfile.Status
The status of the dedicated host profile: - `previous`: This dedicated host profile is an older revision, but remains provisionable and usable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DedicatedHostProfileDisk>
getDisks()
Gets the disks.String
getFamily()
Gets the family.String
getHref()
Gets the href.DedicatedHostProfileMemory
getMemory()
Gets the memory.String
getName()
Gets the name.DedicatedHostProfileSocket
getSocketCount()
Gets the socketCount.String
getStatus()
Gets the status.List<InstanceProfileReference>
getSupportedInstanceProfiles()
Gets the supportedInstanceProfiles.DedicatedHostProfileVCPUArchitecture
getVcpuArchitecture()
Gets the vcpuArchitecture.DedicatedHostProfileVCPU
getVcpuCount()
Gets the vcpuCount.DedicatedHostProfileVCPUManufacturer
getVcpuManufacturer()
Gets the vcpuManufacturer.String
getXClass()
Gets the xClass.
-
-
-
Method Detail
-
getXClass
public String getXClass()
Gets the xClass. The product class this dedicated host profile belongs to.- Returns:
- the xClass
-
getDisks
public List<DedicatedHostProfileDisk> getDisks()
Gets the disks. Collection of the dedicated host profile's disks.- Returns:
- the disks
-
getFamily
public String getFamily()
Gets the family. The product family this dedicated host profile belongs to The enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.- Returns:
- the family
-
getHref
public String getHref()
Gets the href. The URL for this dedicated host.- Returns:
- the href
-
getMemory
public DedicatedHostProfileMemory getMemory()
Gets the memory.- Returns:
- the memory
-
getName
public String getName()
Gets the name. The globally unique name for this dedicated host profile.- Returns:
- the name
-
getSocketCount
public DedicatedHostProfileSocket getSocketCount()
Gets the socketCount.- Returns:
- the socketCount
-
getStatus
public String getStatus()
Gets the status. The status of the dedicated host profile: - `previous`: This dedicated host profile is an older revision, but remains provisionable and usable. - `current`: This profile is the latest revision. Note that revisions are indicated by the generation of a dedicated host profile. Refer to the [profile naming conventions] (https://cloud.ibm.com/docs/vpc?topic=vpc-dh-profiles&interface=ui#profiles-naming-rule) for information on how generations are defined within a dedicated host profile. The enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the profile on which the unexpected property value was encountered.- Returns:
- the status
-
getSupportedInstanceProfiles
public List<InstanceProfileReference> getSupportedInstanceProfiles()
Gets the supportedInstanceProfiles. The instance profiles usable by instances placed on dedicated hosts with this profile.- Returns:
- the supportedInstanceProfiles
-
getVcpuArchitecture
public DedicatedHostProfileVCPUArchitecture getVcpuArchitecture()
Gets the vcpuArchitecture.- Returns:
- the vcpuArchitecture
-
getVcpuCount
public DedicatedHostProfileVCPU getVcpuCount()
Gets the vcpuCount.- Returns:
- the vcpuCount
-
getVcpuManufacturer
public DedicatedHostProfileVCPUManufacturer getVcpuManufacturer()
Gets the vcpuManufacturer.- Returns:
- the vcpuManufacturer
-
-