MulticloudAlert

class oci.multicloud.models.MulticloudAlert(**kwargs)

Bases: object

A multicloud Alert

Attributes:

ALERT_STATUS_ACKNOWLEDGED

A constant which can be used with the alert_status property of a MulticloudAlert.

ALERT_STATUS_RESOLVED

A constant which can be used with the alert_status property of a MulticloudAlert.

ALERT_STATUS_UNACKNOWLEDGED

A constant which can be used with the alert_status property of a MulticloudAlert.

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a MulticloudAlert.

LIFECYCLE_STATE_CREATING

A constant which can be used with the lifecycle_state property of a MulticloudAlert.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a MulticloudAlert.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a MulticloudAlert.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a MulticloudAlert.

LIFECYCLE_STATE_UPDATING

A constant which can be used with the lifecycle_state property of a MulticloudAlert.

SEVERITY_CRITICAL

A constant which can be used with the severity property of a MulticloudAlert.

SEVERITY_HIGH

A constant which can be used with the severity property of a MulticloudAlert.

SEVERITY_LOW

A constant which can be used with the severity property of a MulticloudAlert.

SEVERITY_MEDIUM

A constant which can be used with the severity property of a MulticloudAlert.

SUBSCRIPTION_TYPE_ORACLEDBATAWS

A constant which can be used with the subscription_type property of a MulticloudAlert.

SUBSCRIPTION_TYPE_ORACLEDBATAZURE

A constant which can be used with the subscription_type property of a MulticloudAlert.

SUBSCRIPTION_TYPE_ORACLEDBATGOOGLE

A constant which can be used with the subscription_type property of a MulticloudAlert.

additional_parameters

Gets the additional_parameters of this MulticloudAlert.

alert_id

Gets the alert_id of this MulticloudAlert.

alert_status

[Required] Gets the alert_status of this MulticloudAlert.

alert_type

[Required] Gets the alert_type of this MulticloudAlert.

compartment_id

Gets the compartment_id of this MulticloudAlert.

defined_tags

Gets the defined_tags of this MulticloudAlert.

description

Gets the description of this MulticloudAlert.

display_name

[Required] Gets the display_name of this MulticloudAlert.

freeform_tags

Gets the freeform_tags of this MulticloudAlert.

function_type

[Required] Gets the function_type of this MulticloudAlert.

id

[Required] Gets the id of this MulticloudAlert.

lifecycle_state

Gets the lifecycle_state of this MulticloudAlert.

resource_id

Gets the resource_id of this MulticloudAlert.

resource_type

Gets the resource_type of this MulticloudAlert.

severity

[Required] Gets the severity of this MulticloudAlert.

source

Gets the source of this MulticloudAlert.

source_region

Gets the source_region of this MulticloudAlert.

subscription_id

Gets the subscription_id of this MulticloudAlert.

subscription_type

Gets the subscription_type of this MulticloudAlert.

system_tags

Gets the system_tags of this MulticloudAlert.

time_created

[Required] Gets the time_created of this MulticloudAlert.

time_updated

Gets the time_updated of this MulticloudAlert.

Methods:

__init__(**kwargs)

Initializes a new MulticloudAlert object with values from keyword arguments.

ALERT_STATUS_ACKNOWLEDGED = 'ACKNOWLEDGED'

A constant which can be used with the alert_status property of a MulticloudAlert. This constant has a value of “ACKNOWLEDGED”

ALERT_STATUS_RESOLVED = 'RESOLVED'

A constant which can be used with the alert_status property of a MulticloudAlert. This constant has a value of “RESOLVED”

ALERT_STATUS_UNACKNOWLEDGED = 'UNACKNOWLEDGED'

A constant which can be used with the alert_status property of a MulticloudAlert. This constant has a value of “UNACKNOWLEDGED”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a MulticloudAlert. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a MulticloudAlert. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a MulticloudAlert. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a MulticloudAlert. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a MulticloudAlert. This constant has a value of “FAILED”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a MulticloudAlert. This constant has a value of “UPDATING”

SEVERITY_CRITICAL = 'CRITICAL'

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

SEVERITY_HIGH = 'HIGH'

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

SEVERITY_LOW = 'LOW'

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

SEVERITY_MEDIUM = 'MEDIUM'

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

SUBSCRIPTION_TYPE_ORACLEDBATAWS = 'ORACLEDBATAWS'

A constant which can be used with the subscription_type property of a MulticloudAlert. This constant has a value of “ORACLEDBATAWS”

SUBSCRIPTION_TYPE_ORACLEDBATAZURE = 'ORACLEDBATAZURE'

A constant which can be used with the subscription_type property of a MulticloudAlert. This constant has a value of “ORACLEDBATAZURE”

SUBSCRIPTION_TYPE_ORACLEDBATGOOGLE = 'ORACLEDBATGOOGLE'

A constant which can be used with the subscription_type property of a MulticloudAlert. This constant has a value of “ORACLEDBATGOOGLE”

__init__(**kwargs)

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

Parameters
  • id (str) – The value to assign to the id property of this MulticloudAlert.

  • display_name (str) – The value to assign to the display_name property of this MulticloudAlert.

  • description (str) – The value to assign to the description property of this MulticloudAlert.

  • alert_type (str) – The value to assign to the alert_type property of this MulticloudAlert.

  • severity (str) – The value to assign to the severity property of this MulticloudAlert. Allowed values for this property are: “LOW”, “MEDIUM”, “HIGH”, “CRITICAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • subscription_id (str) – The value to assign to the subscription_id property of this MulticloudAlert.

  • subscription_type (str) – The value to assign to the subscription_type property of this MulticloudAlert. Allowed values for this property are: “ORACLEDBATAZURE”, “ORACLEDBATGOOGLE”, “ORACLEDBATAWS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • alert_status (str) – The value to assign to the alert_status property of this MulticloudAlert. Allowed values for this property are: “UNACKNOWLEDGED”, “ACKNOWLEDGED”, “RESOLVED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • time_created (datetime) – The value to assign to the time_created property of this MulticloudAlert.

  • time_updated (datetime) – The value to assign to the time_updated property of this MulticloudAlert.

  • resource_id (str) – The value to assign to the resource_id property of this MulticloudAlert.

  • resource_type (str) – The value to assign to the resource_type property of this MulticloudAlert.

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

  • function_type (str) – The value to assign to the function_type property of this MulticloudAlert.

  • source (str) – The value to assign to the source property of this MulticloudAlert.

  • alert_id (str) – The value to assign to the alert_id property of this MulticloudAlert.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this MulticloudAlert. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this MulticloudAlert.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this MulticloudAlert.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this MulticloudAlert.

  • source_region (str) – The value to assign to the source_region property of this MulticloudAlert.

  • additional_parameters (dict(str, str)) – The value to assign to the additional_parameters property of this MulticloudAlert.

property additional_parameters

Gets the additional_parameters of this MulticloudAlert. Alert-specific contextual parameters.

Returns

The additional_parameters of this MulticloudAlert.

Return type

dict(str, str)

property alert_id

Gets the alert_id of this MulticloudAlert. External or human-friendly alert identifier.

Returns

The alert_id of this MulticloudAlert.

Return type

str

property alert_status

[Required] Gets the alert_status of this MulticloudAlert. Current acknowledgment status of the alert.

Allowed values for this property are: “UNACKNOWLEDGED”, “ACKNOWLEDGED”, “RESOLVED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The alert_status of this MulticloudAlert.

Return type

str

property alert_type

[Required] Gets the alert_type of this MulticloudAlert. Type/category of the alert (e.g. IAM_POLICY_GAP, TAG_INCONSISTENCY).

Returns

The alert_type of this MulticloudAlert.

Return type

str

property compartment_id

Gets the compartment_id of this MulticloudAlert. Root Compartment The OCID (TenantId) associated with the alert.

Returns

The compartment_id of this MulticloudAlert.

Return type

str

property defined_tags

Gets the defined_tags of this MulticloudAlert. 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 MulticloudAlert.

Return type

dict(str, dict(str, object))

property description

Gets the description of this MulticloudAlert. Description of the alert and its purpose.

Returns

The description of this MulticloudAlert.

Return type

str

property display_name

[Required] Gets the display_name of this MulticloudAlert. Human-readable name of the alert.

Returns

The display_name of this MulticloudAlert.

Return type

str

property freeform_tags

Gets the freeform_tags of this MulticloudAlert. 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 MulticloudAlert.

Return type

dict(str, str)

property function_type

[Required] Gets the function_type of this MulticloudAlert. Internal service or function type generating the alert (e.g. ORP, ODBG_NETWORK, BILLING, OBSERVABILITY).

Returns

The function_type of this MulticloudAlert.

Return type

str

property id

[Required] Gets the id of this MulticloudAlert. The OCID of the multicloud alert.

Returns

The id of this MulticloudAlert.

Return type

str

property lifecycle_state

Gets the lifecycle_state of this MulticloudAlert. The current state of the Multicloud Network Alert.

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this MulticloudAlert.

Return type

str

property resource_id

Gets the resource_id of this MulticloudAlert. The OCID of the affected resource.

Returns

The resource_id of this MulticloudAlert.

Return type

str

property resource_type

Gets the resource_type of this MulticloudAlert. Type of the affected resource (e.g. ADBD).

Returns

The resource_type of this MulticloudAlert.

Return type

str

property severity

[Required] Gets the severity of this MulticloudAlert. Severity of the alert.

Allowed values for this property are: “LOW”, “MEDIUM”, “HIGH”, “CRITICAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The severity of this MulticloudAlert.

Return type

str

property source

Gets the source of this MulticloudAlert. Source subsystem that generated the alert. (Azure Tag Validation)

Returns

The source of this MulticloudAlert.

Return type

str

property source_region

Gets the source_region of this MulticloudAlert. OCI region where the alert originated (e.g. us-phoenix-1)

Returns

The source_region of this MulticloudAlert.

Return type

str

property subscription_id

Gets the subscription_id of this MulticloudAlert. The OCID of the multicloud subscription.

Returns

The subscription_id of this MulticloudAlert.

Return type

str

property subscription_type

Gets the subscription_type of this MulticloudAlert. Oracle Cloud Infrastructure Subscription Type.

Allowed values for this property are: “ORACLEDBATAZURE”, “ORACLEDBATGOOGLE”, “ORACLEDBATAWS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The subscription_type of this MulticloudAlert.

Return type

str

property system_tags

Gets the system_tags of this MulticloudAlert. System tags for this resource. Each key is predefined and scoped to a namespace.

Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns

The system_tags of this MulticloudAlert.

Return type

dict(str, dict(str, object))

property time_created

[Required] Gets the time_created of this MulticloudAlert. Timestamp when the alert was created.

Returns

The time_created of this MulticloudAlert.

Return type

datetime

property time_updated

Gets the time_updated of this MulticloudAlert. Timestamp when the alert was last updated.

Returns

The time_updated of this MulticloudAlert.

Return type

datetime