Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace AlertPolicy

An Alert Policy is a set of alerting rules evaluated against a target. The alert policy is said to be satisfied when all rules in the policy evaulate to true. If there are three rules: rule1,rule2 and rule3, the policy is satisfied if rule1 AND rule2 AND rule3 is True.

Properties

Optional alertPolicyType

alertPolicyType: model.AlertPolicyType

Indicates the Data Safe feature to which the alert policy belongs.

compartmentId

compartmentId: string

The OCID of the compartment that contains the alert policy.

Optional definedTags

definedTags: undefined | object

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

Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}

Optional description

description: undefined | string

The description of the alert policy.

displayName

displayName: string

The display name of the alert policy.

Optional freeformTags

freeformTags: undefined | object

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: {@code {\"Department\": \"Finance\"}}

id

id: string

The OCID of the alert policy.

Optional isUserDefined

isUserDefined: undefined | false | true

Indicates if the alert policy is user-defined (true) or pre-defined (false).

lifecycleState

The current state of the alert.

Optional severity

severity: model.AlertSeverity

Severity level of the alert raised by this policy.

Optional systemTags

systemTags: undefined | object

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {@code {"orcl-cloud": {"free-tier-retained": "true"}}}

timeCreated

timeCreated: Date

Creation date and time of the alert policy, in the format defined by RFC3339.

timeUpdated

timeUpdated: Date

Last date and time the alert policy was updated, in the format defined by RFC3339.

Functions

getDeserializedJsonObj

getJsonObj