models.protection_source_node module¶
-
class
models.protection_source_node.
ProtectionSourceNode
(application_nodes=None, entity_pagination_parameters=None, entity_permission_info=None, logical_size=None, nodes=None, protected_sources_summary=None, protection_source=None, registration_info=None, unprotected_sources_summary=None)[source]¶ Bases:
object
Implementation of the ‘ProtectionSourceNode’ model.
Many different node types are supported such as ‘kComputeResource’ and ‘kResourcePool’.
- Attributes:
- application_nodes (list of object): Array of Child Subtrees.
Specifies the child subtree used to store additional application-level Objects. Different environments use the subtree to store application-level information. For example for SQL Server, this subtree stores the SQL Server instances running on a VM.
- entity_pagination_parameters (PaginationParameters): Specifies the
cursor based pagination parameters for Protection Source and its children. Pagination is supported at a given level within the Protection Source Hierarchy with the help of before or after cursors. A Cursor will always refer to a specific source within the source dataset but will be invalidated if the item is removed.
- entity_permission_info (EntityPermissionInformation): Specifies the
permission information of entities.
- logical_size (long|int): Specifies the logical size of the data in
bytes for the Object on this node. Presence of this field indicates this node is a leaf node.
- nodes (list of object): Array of Child Nodes. Specifies children of
the current node in the Protection Sources hierarchy. When representing Objects in memory, the entire Object subtree hierarchy is represented. You can use this subtree to navigate down the Object hierarchy.
- protected_sources_summary (list of AggregatedSubtreeInfo): Array of
Protected Objects. Specifies aggregated information about all the child Objects of this node that are currently protected by a Protection Job. There is one entry for each environment that is being backed up. The aggregated information for the Object hierarchy’s environment will be available at the 0th index of the vector.
- protection_source (ProtectionSource): Specifies the Protection Source
for the current node.
- registration_info (RegisteredSourceInfo): Specifies registration
information for a root node in a Protection Sources tree. A root node represents a registered Source on the Cohesity Cluster, such as a vCenter Server.
- unprotected_sources_summary (list of AggregatedSubtreeInfo): Array of
Unprotected Sources. Specifies aggregated information about all the child Objects of this node that are not protected by any Protection Jobs. The aggregated information for the Objects hierarchy’s environment will be available at the 0th index of the vector. NOTE: This list includes Objects that were protected at some point in the past but are no longer actively protected. Snapshots containing these Objects may even exist on the Cohesity Cluster and be available to recover from.
-
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.