UpdateAlertPolicyDetails

class oci.data_safe.models.UpdateAlertPolicyDetails(**kwargs)

Bases: object

The details used to update a alert policy.

Attributes

SEVERITY_CRITICAL A constant which can be used with the severity property of a UpdateAlertPolicyDetails.
SEVERITY_EVALUATE A constant which can be used with the severity property of a UpdateAlertPolicyDetails.
SEVERITY_HIGH A constant which can be used with the severity property of a UpdateAlertPolicyDetails.
SEVERITY_LOW A constant which can be used with the severity property of a UpdateAlertPolicyDetails.
SEVERITY_MEDIUM A constant which can be used with the severity property of a UpdateAlertPolicyDetails.
defined_tags Gets the defined_tags of this UpdateAlertPolicyDetails.
description Gets the description of this UpdateAlertPolicyDetails.
display_name Gets the display_name of this UpdateAlertPolicyDetails.
freeform_tags Gets the freeform_tags of this UpdateAlertPolicyDetails.
severity Gets the severity of this UpdateAlertPolicyDetails.

Methods

__init__(**kwargs) Initializes a new UpdateAlertPolicyDetails object with values from keyword arguments.
SEVERITY_CRITICAL = 'CRITICAL'

A constant which can be used with the severity property of a UpdateAlertPolicyDetails. This constant has a value of “CRITICAL”

SEVERITY_EVALUATE = 'EVALUATE'

A constant which can be used with the severity property of a UpdateAlertPolicyDetails. This constant has a value of “EVALUATE”

SEVERITY_HIGH = 'HIGH'

A constant which can be used with the severity property of a UpdateAlertPolicyDetails. This constant has a value of “HIGH”

SEVERITY_LOW = 'LOW'

A constant which can be used with the severity property of a UpdateAlertPolicyDetails. This constant has a value of “LOW”

SEVERITY_MEDIUM = 'MEDIUM'

A constant which can be used with the severity property of a UpdateAlertPolicyDetails. This constant has a value of “MEDIUM”

__init__(**kwargs)

Initializes a new UpdateAlertPolicyDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) – The value to assign to the display_name property of this UpdateAlertPolicyDetails.
  • description (str) – The value to assign to the description property of this UpdateAlertPolicyDetails.
  • severity (str) – The value to assign to the severity property of this UpdateAlertPolicyDetails. Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”, “EVALUATE”
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateAlertPolicyDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateAlertPolicyDetails.
defined_tags

Gets the defined_tags of this UpdateAlertPolicyDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags

Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this UpdateAlertPolicyDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this UpdateAlertPolicyDetails. The description of the alert policy.

Returns:The description of this UpdateAlertPolicyDetails.
Return type:str
display_name

Gets the display_name of this UpdateAlertPolicyDetails. The display name of the alert policy. The name does not have to be unique, and it’s changeable.

Returns:The display_name of this UpdateAlertPolicyDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this UpdateAlertPolicyDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags

Example: {“Department”: “Finance”}

Returns:The freeform_tags of this UpdateAlertPolicyDetails.
Return type:dict(str, str)
severity

Gets the severity of this UpdateAlertPolicyDetails. Severity level of the alert raised by this policy.

Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”, “EVALUATE”

Returns:The severity of this UpdateAlertPolicyDetails.
Return type:str