models.physical_protection_source module

class models.physical_protection_source.PhysicalProtectionSource(agents=None, host_name=None, host_type=None, id=None, memory_size_bytes=None, name=None, networking_info=None, num_processors=None, os_name=None, mtype=None, vcs_version=None, volumes=None)[source]

Bases: object

Implementation of the ‘PhysicalProtectionSource’ model.

Specifies a Protection Source in a Physical environment.

agents (list of AgentInformation): Array of Agents on the Physical

Protection Source. Specifiles the agents running on the Physical Protection Source and the status information.

host_name (string): Specifies the hostname. host_type (HostTypePhysicalProtectionSourceEnum): Specifies the

environment type for the host. ‘kLinux’ indicates the Linux operating system. ‘kWindows’ indicates the Microsoft Windows operating system. ‘kAix’ indicates the IBM AIX operating system. ‘kSolaris’ indicates the Oracle Solaris operating system. ‘kSapHana’ indicates the Sap Hana database system developed by SAP SE. ‘kOther’ indicates the other types of operating system.

id (UniversalId): Specifies a unique id of a Physical Protection

Source. The id is unique across Cohesity Clusters.

memory_size_bytes (long|int): Specifies the total memory on the host

in bytes.

name (string): Specifies a human readable name of the Protection


networking_info (NetworkingInformation): Specifies the struct

containing information about network addresses configured on the given box. This is needed for dealing with Windows/Oracle Cluster resources that we discover and protect automatically.

num_processors (long|int): Specifies the number of processors on the


os_name (string): Specifies a human readable name of the OS of the

Protection Source.

mtype (TypePhysicalProtectionSourceEnum): Specifies the type of

managed Object in a Physical Protection Source. ‘kGroup’ indicates the EH container. ‘kHost’ indicates a single physical server. ‘kWindowsCluster’ indicates a Microsoft Windows cluster. ‘kOracleRACCluster’ indicates an Oracle Real Application Cluster(RAC). ‘kOracleAPCluster’ indicates an Oracle Active-Passive Cluster.

vcs_version (string): Specifies cluster version for VCS host. volumes (list of PhysicalVolume): Array of Physical Volumes.

Specifies the volumes available on the physical host. These fields are populated only for the kPhysicalHost type.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


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.


object: An instance of this structure class.