models.rpo_policy_settings module

class models.rpo_policy_settings.RpoPolicySettings(alerting_config=None, alerting_policy=None, environment_type_job_params=None, indexing_policy=None, qos_type=None, storage_domain_id=None)[source]

Bases: object

Implementation of the ‘RpoPolicySettings’ model.

Specifies all the additional settings that are applicable only to an RPO policy. This can include storage domain, settings of different environments, etc.

alerting_config (AlertingConfig): Specifies optional settings for


alerting_policy (list of AlertingPolicyEnum): Array of Job Events.

During Job Runs, the following Job Events are generated: 1) Job succeeds 2) Job fails 3) Job violates the SLA These Job Events can cause Alerts to be generated. ‘kSuccess’ means the Protection Job succeeded. ‘kFailure’ means the Protection Job failed. ‘kSlaViolation’ means the Protection Job took longer than the time period specified in the SLA.

environment_type_job_params (EnvironmentTypeJobParameters): Specifies

additional parameters that are common to all Protection Sources in a Protection Job created for a particular environment type.

indexing_policy (IndexingPolicy): Specifies settings for indexing

files found in an Object (such as a VM) so these files can be searched and recovered. This also specifies inclusion and exclusion rules that determine the directories to index.

qos_type (QosTypeRpoPolicySettingsEnum): Specifies the QoS policy type

to use. ‘kBackupHDD’ indicates the Cohesity Cluster writes data directly to the HDD tier for this Protection Job. This is the recommended setting. ‘kBackupSSD’ indicates the Cohesity Cluster writes data directly to the SSD tier for this Protection Job. Only specify this policy if you need fast ingest speed for a small number of Protection Jobs.

storage_domain_id (long|int): Specifies the Storage Domain to which

data will be written.

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.