Share via


AlertSeverity Struct

Definition

Severity of the alert. Should be an integer between [0-4]. Value of 0 is severest. Relevant and required only for rules of the kind LogAlert.

public readonly struct AlertSeverity : IEquatable<Azure.ResourceManager.Monitor.Models.AlertSeverity>
type AlertSeverity = struct
Public Structure AlertSeverity
Implements IEquatable(Of AlertSeverity)
Inheritance
AlertSeverity
Implements

Constructors

AlertSeverity(Int64)

Initializes a new instance of AlertSeverity.

Properties

Four
One
Three
Two
Zero

Methods

Equals(AlertSeverity)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(AlertSeverity, AlertSeverity)

Determines if two AlertSeverity values are the same.

Implicit(Int64 to AlertSeverity)

Converts a string to a AlertSeverity.

Inequality(AlertSeverity, AlertSeverity)

Determines if two AlertSeverity values are not the same.

Applies to