Package com.ibm.cloud.is.vpc.v1.model
Class DedicatedHostDisk
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.DedicatedHostDisk
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class DedicatedHostDisk extends com.ibm.cloud.sdk.core.service.model.GenericModelDedicatedHostDisk.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDedicatedHostDisk.InterfaceTypeThe disk interface used for attaching the disk The enumerated values for this property are expected to expand in the future.static interfaceDedicatedHostDisk.LifecycleStateThe lifecycle state of this dedicated host disk.static interfaceDedicatedHostDisk.ResourceTypeThe resource type.static interfaceDedicatedHostDisk.SupportedInstanceInterfaceTypesThe disk interface used for attaching the disk.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetAvailable()Gets the available.DategetCreatedAt()Gets the createdAt.StringgetHref()Gets the href.StringgetId()Gets the id.List<InstanceDiskReference>getInstanceDisks()Gets the instanceDisks.StringgetInterfaceType()Gets the interfaceType.StringgetLifecycleState()Gets the lifecycleState.StringgetName()Gets the name.StringgetResourceType()Gets the resourceType.LonggetSize()Gets the size.List<String>getSupportedInstanceInterfaceTypes()Gets the supportedInstanceInterfaceTypes.BooleanisProvisionable()Gets the provisionable.
-
-
-
Method Detail
-
getAvailable
public Long getAvailable()
Gets the available. The remaining space left for instance placement in GB (gigabytes).- Returns:
- the available
-
getCreatedAt
public Date getCreatedAt()
Gets the createdAt. The date and time that the disk was created.- Returns:
- the createdAt
-
getHref
public String getHref()
Gets the href. The URL for this disk.- Returns:
- the href
-
getId
public String getId()
Gets the id. The unique identifier for this disk.- Returns:
- the id
-
getInstanceDisks
public List<InstanceDiskReference> getInstanceDisks()
Gets the instanceDisks. Instance disks that are on this dedicated host disk.- Returns:
- the instanceDisks
-
getInterfaceType
public String getInterfaceType()
Gets the interfaceType. The disk interface used for attaching the disk 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 interfaceType
-
getLifecycleState
public String getLifecycleState()
Gets the lifecycleState. The lifecycle state of this dedicated host disk.- Returns:
- the lifecycleState
-
getName
public String getName()
Gets the name. The name for this dedicated host disk. The name is unique across all disks on the dedicated host.- Returns:
- the name
-
isProvisionable
public Boolean isProvisionable()
Gets the provisionable. Indicates whether this dedicated host disk is available for instance disk creation.- Returns:
- the provisionable
-
getResourceType
public String getResourceType()
Gets the resourceType. The resource type.- Returns:
- the resourceType
-
getSize
public Long getSize()
Gets the size. The size of the disk in GB (gigabytes).- Returns:
- the size
-
-