AlertsUpdateDetails

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

Bases: object

The details to update alerts in the specified compartment.

Attributes:

STATUS_CLOSED

A constant which can be used with the status property of a AlertsUpdateDetails.

STATUS_OPEN

A constant which can be used with the status property of a AlertsUpdateDetails.

compartment_id

[Required] Gets the compartment_id of this AlertsUpdateDetails.

status

[Required] Gets the status of this AlertsUpdateDetails.

target_id

Gets the target_id of this AlertsUpdateDetails.

Methods:

__init__(**kwargs)

Initializes a new AlertsUpdateDetails object with values from keyword arguments.

STATUS_CLOSED = 'CLOSED'

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

STATUS_OPEN = 'OPEN'

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

__init__(**kwargs)

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

Parameters
  • status (str) – The value to assign to the status property of this AlertsUpdateDetails. Allowed values for this property are: “OPEN”, “CLOSED”

  • compartment_id (str) – The value to assign to the compartment_id property of this AlertsUpdateDetails.

  • target_id (str) – The value to assign to the target_id property of this AlertsUpdateDetails.

property compartment_id

[Required] Gets the compartment_id of this AlertsUpdateDetails. The OCID of the compartment that contains the alerts.

Returns

The compartment_id of this AlertsUpdateDetails.

Return type

str

property status

[Required] Gets the status of this AlertsUpdateDetails. The status of the alert.

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

Returns

The status of this AlertsUpdateDetails.

Return type

str

property target_id

Gets the target_id of this AlertsUpdateDetails. The OCID of the target database associated with the alerts.

Returns

The target_id of this AlertsUpdateDetails.

Return type

str