models_v2.protection_group_alerting_policy module¶
-
class
models_v2.protection_group_alerting_policy.
ProtectionGroupAlertingPolicy
(backup_run_status=None, alert_targets=None)[source]¶ Bases:
object
Implementation of the ‘ProtectionGroupAlertingPolicy’ model.
Specifies a policy for alerting users of the status of a Protection Group.
- Attributes:
- backup_run_status (list of BackupRunStatusEnum): Specifies the run
status for which the user would like to receive alerts.
- alert_targets (list of AlertTarget): Specifies a list of targets to
receive the alerts.
-
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.