models.count_by_tier module

class models.count_by_tier.CountByTier(disk_count=None, storage_tier=None)[source]

Bases: object

Implementation of the ‘CountByTier’ model.

CountByTier provides the disk count of each storage tier.

Attributes:
disk_count (long|int): DiskCount is the disk number of the storage

tier.

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.

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.