Skip to main content

Definition

Assembly: Microsoft.OData.Mcp.Core.dll Namespace: Microsoft.OData.Mcp.Core.Configuration Inheritance: System.Object

Syntax

Summary

Alerting configuration.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

Enabled

Gets or sets a value indicating whether alerting is enabled.

Syntax

Property Value

Type: bool

Rules

Gets or sets the alert rules.

Syntax

Property Value

Type: System.Collections.Generic.List<Microsoft.OData.Mcp.Core.Configuration.AlertRule>

Methods

Clone

Creates a copy of this configuration.

Syntax

Returns

Type: Microsoft.OData.Mcp.Core.Configuration.AlertingConfiguration A new instance with the same settings.

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

MergeWith

Merges another configuration into this one.

Syntax

Parameters

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?

Validate

Validates the alerting configuration.

Syntax

Returns

Type: System.Collections.Generic.IEnumerable<string> Validation errors.