UpdateAlertDetails

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

Bases: object

The details used to update an alert.

Attributes

STATUS_CLOSED A constant which can be used with the status property of a UpdateAlertDetails.
STATUS_OPEN A constant which can be used with the status property of a UpdateAlertDetails.
comment Gets the comment of this UpdateAlertDetails.
defined_tags Gets the defined_tags of this UpdateAlertDetails.
freeform_tags Gets the freeform_tags of this UpdateAlertDetails.
status Gets the status of this UpdateAlertDetails.

Methods

__init__(**kwargs) Initializes a new UpdateAlertDetails object with values from keyword arguments.
STATUS_CLOSED = 'CLOSED'

A constant which can be used with the status property of a UpdateAlertDetails. This constant has a value of “CLOSED”

STATUS_OPEN = 'OPEN'

A constant which can be used with the status property of a UpdateAlertDetails. This constant has a value of “OPEN”

__init__(**kwargs)

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

Parameters:
  • comment (str) – The value to assign to the comment property of this UpdateAlertDetails.
  • status (str) – The value to assign to the status property of this UpdateAlertDetails. Allowed values for this property are: “OPEN”, “CLOSED”
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateAlertDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateAlertDetails.
comment

Gets the comment of this UpdateAlertDetails. A comment can be entered to track the alert changes done by the user.

Returns:The comment of this UpdateAlertDetails.
Return type:str
defined_tags

Gets the defined_tags of this UpdateAlertDetails. 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 UpdateAlertDetails.
Return type:dict(str, dict(str, object))
freeform_tags

Gets the freeform_tags of this UpdateAlertDetails. 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 UpdateAlertDetails.
Return type:dict(str, str)
status

Gets the status of this UpdateAlertDetails. The status of the alert.

Allowed values for this property are: “OPEN”, “CLOSED”

Returns:The status of this UpdateAlertDetails.
Return type:str