models.view_protection_source module

class models.view_protection_source.ViewProtectionSource(id=None, name=None, mtype=None)[source]

Bases: object

Implementation of the ‘ViewProtectionSource’ model.

Specifies a Protection Source in a View environment.

Attributes:
id (UniversalId): Specifies a unique id of a Protection Source for a

View. The id is unique across Cohesity Clusters.

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

Source of a View.

mtype (TypeViewProtectionSourceEnum): Specifies the type of managed

Object in a View Protection Source environment. Examples of View Objects include ‘kViewBox’ or ‘kView’. ‘kViewBox’ indicates Storage Domain as a Protection Source type. ‘kView’ indicates View as a Protection Source type.

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.