models_v2.primary_backup_target module

class models_v2.primary_backup_target.PrimaryBackupTarget(target_type='Local', archival_target_settings=None)[source]

Bases: object

Implementation of the ‘PrimaryBackupTarget’ model.

Specifies the primary backup target settings for regular backups. If the backup target field is not specified then backup will be taken locally on the Cohesity cluster.

Attributes:
target_type (TargetType2Enum): Specifies the primary backup location

where backups will be stored. If not specified, then default is assumed as local backup on Cohesity cluster.

archival_target_settings (PrimaryArchivalTarget): Specifies the

primary archival settings. Mainly used for cloud direct archive (CAD) policy where primary backup is stored on archival target.

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.