models.capacity_by_tier module¶
-
class
models.capacity_by_tier.
CapacityByTier
(storage_tier=None, tier_max_physical_capacity_bytes=None)[source]¶ Bases:
object
Implementation of the ‘CapacityByTier’ model.
CapacityByTier provides the physical capacity in bytes of each storage tier.
- Attributes:
- storage_tier (StorageTierEnum): StorageTier is the type of
StorageTier. StorageTierType represents the various values for the Storage Tier. ‘kPCIeSSD’ indicates storage tier type of Pci Solid State Drive. ‘kSATAHDD’ indicates storage tier type of SATA Solid State Drive. ‘kSATAHDD’ indicates storage tier type of SATA Hard Disk Drive. ‘kCLOUD’ indicates storage tier type of Cloud.
- tier_max_physical_capacity_bytes (long|int):
TierMaxPhysicalCapacityBytes is the maximum physical capacity in bytes of the storage tier.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.