models_v2.sla_rule module

class models_v2.sla_rule.SlaRule(backup_run_type=None, sla_minutes=None)[source]

Bases: object

Implementation of the ‘SlaRule’ model.

Specifies an SLA rule for a specific Protection Group run type.

Attributes:
backup_run_type (BackupRunTypeEnum): Specifies the type of run this

rule should apply to.

sla_minutes (long|int): Specifies the number of minutes allotted to a

run of the specified type before SLA is considered violated.

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.