Show / Hide Table of Contents

Class LogAnalyticsWarning

LogAnalyticsWarning

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

Properties

AgentId

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

The unique identifier of the agent associated with the warning

CompartmentId

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

The entity compartment ID.

EntityId

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

The unique identifier of the entity associated with the warning

EntityName

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

The name of the entity associated with the warning

EntityType

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

The type of the entity associated with the warning

EntityTypeDisplayName

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

The display name of the entity type associated with the warning

HostName

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

The host containing the agent associated with the warning

IsActive

Declaration
[JsonProperty(PropertyName = "isActive")]
public bool? IsActive { get; set; }
Property Value
Type Description
bool?

A flag indicating if the warning is currently active

IsSuppressed

Declaration
[JsonProperty(PropertyName = "isSuppressed")]
public bool? IsSuppressed { get; set; }
Property Value
Type Description
bool?

A flag indicating if the warning is currently suppressed

PatternId

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

The unique identifier of the warning pattern

PatternText

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

The text of the pattern used by the warning

RuleDisplayName

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

The display name of the rule which triggered the warning

RuleId

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

The unique identifier of the rule associated with the warning

Severity

Declaration
[JsonProperty(PropertyName = "severity")]
public int? Severity { get; set; }
Property Value
Type Description
int?

The warning severity

SourceDisplayName

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

The display name of the source associated with the warning

SourceId

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

The unique identifier of the source associated with the warning

SourceName

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

The name of the source associated with the warning

SuppressedBy

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

The user who suppressed the warning, or empty if the warning is not suppressed

TimeCollected

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

The time at which the warning was most recently collected

TimeOfInitialWarning

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

The date at which the warning was initially triggered

TimeOfLatestWarning

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

The most recent date on which the warning was triggered

TypeDisplayName

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

The display name of the warning type

TypeName

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

The internal name of the warning

WarningId

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

The unique identifier of the warning

WarningLevel

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

The warning level - either pattern, rule, or source.

WarningMessage

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

A description of the warning intended for the consumer of the warning. It will usually detail the cause of the warning, may suggest a remedy, and can contain any other relevant information the consumer might find useful

In this article
Back to top