Class AzureAlertRuleBase
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents an Azure alert rule.
public abstract class AzureAlertRuleBase : GlobalSerializableClassicBase, IComparable<AzureAlertRuleBase>
- Inheritance
-
AzureAlertRuleBase
- Implements
- Derived
Constructors
AzureAlertRuleBase()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.AzureAlertRuleBase class.
public AzureAlertRuleBase()
Properties
ActionNames
Gets the names of the configured actions.
public SerializableStringCollection ActionNames { get; set; }
Property Value
- SerializableStringCollection
Actions
Gets or sets the resource identifiers of the action groups to execute for the alert rule.
public AzureResourceReferences Actions { get; set; }
Property Value
Description
Gets or sets the description of the alert rule.
public string Description { get; set; }
Property Value
Id
Gets or sets the unique identifier of the alert rule - for example "/subscriptions/1245ee1c-ca9c-4f09-9f48-73e77b9c688a/resourceGroups/webservers/providers/microsoft.insights/alertrules/webserveralert".
public string Id { get; set; }
Property Value
Identifier
Gets or sets the unique system assigned identifier of the alert. This is for internal use only.
public Guid Identifier { get; set; }
Property Value
IsEnabled
Gets or sets whether the alert rule is enabled.
public BooleanOption IsEnabled { get; set; }
Property Value
Name
Gets or sets the name of the alert rule.
public string Name { get; set; }
Property Value
ResourceGroupName
Gets or sets the name of the resource group to which this alert rule resides.
public string ResourceGroupName { get; set; }
Property Value
Scopes
Gets or sets the scopes to which the alert rule applies.
public SerializableStringCollection Scopes { get; set; }
Property Value
- SerializableStringCollection
Severity
Gets or sets the severity level.
public AzureAlertRuleSeverity Severity { get; set; }
Property Value
SeverityString
Gets the severity as a human readable string.
public string SeverityString { get; set; }
Property Value
TypeDisplayName
Gets the display name of the alert rule type.
public string TypeDisplayName { get; set; }
Property Value
Methods
CompareTo(AzureAlertRuleBase)
Compares two CENTREL.XIA.Configuration.Types.AzureAlertRuleBase objects to allow for sorting by display name.
public int CompareTo(AzureAlertRuleBase other)
Parameters
other
AzureAlertRuleBaseThe CENTREL.XIA.Configuration.Types.AzureAlertRuleBase to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.AzureAlertRuleBase objects.