Show / Hide Table of Contents

Class AlertSummary

Summary of a Data Safe Alert.

Inheritance
object
AlertSummary
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class AlertSummary

Properties

AlertPolicyRuleKey

Declaration
[JsonProperty(PropertyName = "alertPolicyRuleKey")]
public string AlertPolicyRuleKey { get; set; }
Property Value
Type Description
string

The key of the rule of alert policy that triggered alert.

AlertPolicyRuleName

Declaration
[JsonProperty(PropertyName = "alertPolicyRuleName")]
public string AlertPolicyRuleName { get; set; }
Property Value
Type Description
string

The display name of the rule of alert policy that triggered alert.

AlertType

Declaration
[JsonProperty(PropertyName = "alertType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AlertType? AlertType { get; set; }
Property Value
Type Description
AlertType?

Type of the alert. Indicates the Data Safe feature triggering the alert.

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the compartment that contains the alert.

Remarks

Required

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations": {"CostCenter": "42"}}

Description

Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

The details of the alert.

DisplayName

Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

The display name of the alert.

Remarks

Required

FeatureDetails

Declaration
[JsonProperty(PropertyName = "featureDetails")]
public Dictionary<string, Dictionary<string, object>> FeatureDetails { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

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"}

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The OCID of the alert.

Remarks

Required

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AlertLifecycleState? LifecycleState { get; set; }
Property Value
Type Description
AlertLifecycleState?

The current state of the alert.

Remarks

Required

Operation

Declaration
[JsonProperty(PropertyName = "operation")]
public string Operation { get; set; }
Property Value
Type Description
string

The operation that triggered alert.

OperationStatus

Declaration
[JsonProperty(PropertyName = "operationStatus")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AlertSummary.OperationStatusEnum? OperationStatus { get; set; }
Property Value
Type Description
AlertSummary.OperationStatusEnum?

The result of the operation (event) that triggered alert.

OperationTime

Declaration
[JsonProperty(PropertyName = "operationTime")]
public DateTime? OperationTime { get; set; }
Property Value
Type Description
DateTime?

Creation date and time of the operation that triggered alert, in the format defined by RFC3339.

PolicyId

Declaration
[JsonProperty(PropertyName = "policyId")]
public string PolicyId { get; set; }
Property Value
Type Description
string

The OCID of the policy that triggered alert.

Severity

Declaration
[Required(ErrorMessage = "Severity is required.")]
[JsonProperty(PropertyName = "severity")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AlertSeverity? Severity { get; set; }
Property Value
Type Description
AlertSeverity?

Severity level of the alert.

Remarks

Required

Status

Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AlertStatus? Status { get; set; }
Property Value
Type Description
AlertStatus?

The status of the alert.

Remarks

Required

TargetIds

Declaration
[JsonProperty(PropertyName = "targetIds")]
public List<string> TargetIds { get; set; }
Property Value
Type Description
List<string>

Array of OCIDs of the target database.

TargetNames

Declaration
[JsonProperty(PropertyName = "targetNames")]
public List<string> TargetNames { get; set; }
Property Value
Type Description
List<string>

Array of names of the target database.

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

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

Remarks

Required

TimeUpdated

Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

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

Remarks

Required

In this article
Back to top