Package org.jclouds.compute.domain
Interface Hardware
-
- All Superinterfaces:
Comparable<ResourceMetadata<ComputeType>>,ComputeMetadata,ResourceMetadata<ComputeType>
- All Known Implementing Classes:
HardwareImpl
public interface Hardware extends ComputeMetadata
Size of a node.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetHypervisor()List<? extends Processor>getProcessors()Amount of virtual or physical processors providedintgetRam()Amount of RAM provided in MB (256M, 1740)List<? extends Volume>getVolumes()volumes associated with this.booleanisDeprecated()True if usage of the hardware profile is now discouraged.com.google.common.base.Predicate<Image>supportsImage()Determines whether this size can run an image.-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface org.jclouds.compute.domain.ComputeMetadata
getId, getName, getProviderId, getTags, getType
-
Methods inherited from interface org.jclouds.domain.ResourceMetadata
getLocation, getUri, getUserMetadata
-
-
-
-
Method Detail
-
getProcessors
List<? extends Processor> getProcessors()
Amount of virtual or physical processors provided
-
getRam
int getRam()
Amount of RAM provided in MB (256M, 1740)
-
supportsImage
com.google.common.base.Predicate<Image> supportsImage()
Determines whether this size can run an image.
-
getHypervisor
@Nullable String getHypervisor()
- Returns:
- hypervisor type, if this is a virtual machine and the type is known
-
isDeprecated
boolean isDeprecated()
True if usage of the hardware profile is now discouraged.
-
-