models.pure_protection_source module

class models.pure_protection_source.PureProtectionSource(name=None, storage_array=None, mtype=None, volume=None)[source]

Bases: object

Implementation of the ‘PureProtectionSource’ model.

Specifies a Protection Source in a Pure environment.

Attributes:

name (string): Specifies a unique name of the Protection Source storage_array (SanStorageArray): Specifies a SAN Storage Array. mtype (TypePureProtectionSourceEnum): Specifies the type of managed

Object in a SAN/Pure Protection Source like a kStorageArray or kVolume. Examples of SAN Objects include ‘kStorageArray’ and ‘kVolume’. ‘kStorageArray’ indicates that entire SAN storage array is being protected. ‘kVolume’ indicates that volume within the array is being protected.

volume (SanVolume): Specifies a SAN Volume in a SAN Storage Array.

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.