MulticloudAlert¶
-
class
oci.multicloud.models.MulticloudAlert(**kwargs)¶ Bases:
objectA multicloud Alert
Attributes
ALERT_STATUS_ACKNOWLEDGEDA constant which can be used with the alert_status property of a MulticloudAlert. ALERT_STATUS_RESOLVEDA constant which can be used with the alert_status property of a MulticloudAlert. ALERT_STATUS_UNACKNOWLEDGEDA constant which can be used with the alert_status property of a MulticloudAlert. LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a MulticloudAlert. LIFECYCLE_STATE_CREATINGA constant which can be used with the lifecycle_state property of a MulticloudAlert. LIFECYCLE_STATE_DELETEDA constant which can be used with the lifecycle_state property of a MulticloudAlert. LIFECYCLE_STATE_DELETINGA constant which can be used with the lifecycle_state property of a MulticloudAlert. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a MulticloudAlert. LIFECYCLE_STATE_UPDATINGA constant which can be used with the lifecycle_state property of a MulticloudAlert. SEVERITY_CRITICALA constant which can be used with the severity property of a MulticloudAlert. SEVERITY_HIGHA constant which can be used with the severity property of a MulticloudAlert. SEVERITY_LOWA constant which can be used with the severity property of a MulticloudAlert. SEVERITY_MEDIUMA constant which can be used with the severity property of a MulticloudAlert. SUBSCRIPTION_TYPE_ORACLEDBATAWSA constant which can be used with the subscription_type property of a MulticloudAlert. SUBSCRIPTION_TYPE_ORACLEDBATAZUREA constant which can be used with the subscription_type property of a MulticloudAlert. SUBSCRIPTION_TYPE_ORACLEDBATGOOGLEA constant which can be used with the subscription_type property of a MulticloudAlert. additional_parametersGets the additional_parameters of this MulticloudAlert. alert_idGets 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_idGets the compartment_id of this MulticloudAlert. defined_tagsGets the defined_tags of this MulticloudAlert. descriptionGets the description of this MulticloudAlert. display_name[Required] Gets the display_name of this MulticloudAlert. freeform_tagsGets 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_stateGets the lifecycle_state of this MulticloudAlert. resource_idGets the resource_id of this MulticloudAlert. resource_typeGets the resource_type of this MulticloudAlert. severity[Required] Gets the severity of this MulticloudAlert. sourceGets the source of this MulticloudAlert. source_regionGets the source_region of this MulticloudAlert. subscription_idGets the subscription_id of this MulticloudAlert. subscription_typeGets the subscription_type of this MulticloudAlert. system_tagsGets the system_tags of this MulticloudAlert. time_created[Required] Gets the time_created of this MulticloudAlert. time_updatedGets 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.
-
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)
-
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
-
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
-
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
-
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
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))
-
description¶ Gets the description of this MulticloudAlert. Description of the alert and its purpose.
Returns: The description of this MulticloudAlert. Return type: str
-
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
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)
-
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
-
id¶ [Required] Gets the id of this MulticloudAlert. The OCID of the multicloud alert.
Returns: The id of this MulticloudAlert. Return type: str
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
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))
-
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
-
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
-