models_v2.protection_source module¶
-
class
models_v2.protection_source.
ProtectionSource
(id=None, source_id=None, source_name=None, name=None, object_type=None, logical_size_bytes=None, uuid=None, environment=None, os_type=None, protection_stats=None, permissions=None, vmware_params=None, isilon_params=None, netapp_params=None, generic_nas_params=None, flashblade_params=None, elastifile_params=None, gpfs_params=None, last_refreshed_time=None, registration_id=None)[source]¶ Bases:
object
Implementation of the ‘Protection Source.’ model.
Specifies the Protection Source.
- Attributes:
id (long|int): Specifies object id. source_id (long|int): Specifies registered source id to which object
belongs.
- source_name (string): Specifies registered source name to which object
belongs.
name (string): Specifies the name of the object. object_type (ObjectType5Enum): Specifies the type of the object. logical_size_bytes (long|int): Specifies the logical size of object in
bytes.
- uuid (string): Specifies the uuid which is a unique identifier of the
object.
- environment (Environment2Enum): Specifies the environment of the
object.
- os_type (OsTypeEnum): Specifies the operating system type of the
object.
- protection_stats (list of ObjectProtectionStatsSummary): Specifies the
count and size of protected and unprotected objects for the size.
- permissions (PermissionsInformation): Specifies the list of users,
groups and users that have permissions for a given object.
vmware_params (VmwareObjectEntityParams): Object details for Vmware. isilon_params (IsilonParams1): Specifies the parameters for Isilon
object.
- netapp_params (NetappParams1): Specifies the parameters for NetApp
object.
- generic_nas_params (GenericNasParams1): Specifies the parameters for
GenericNas object.
- flashblade_params (FlashbladeParams2): Specifies the parameters for
Flashblade object.
- elastifile_params (ElastifileParams1): Specifies the parameters for
Elastifile object.
gpfs_params (GpfsParams1): Specifies the parameters for GPFS object. last_refreshed_time (long|int): Time at which the data about this
protection source was last refreshed.
- registration_id (long|int): Id of the registration as part of which
this source was discovered.
-
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.