Skip to main content

Definition

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

Syntax

Summary

Alert rule definition.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

Metric

Gets or sets the metric to monitor.

Syntax

Property Value

Type: string

Name

Gets or sets the rule name.

Syntax

Property Value

Type: string

Operator

Gets or sets the comparison operator.

Syntax

Property Value

Type: string

Threshold

Gets or sets the threshold value.

Syntax

Property Value

Type: double

Methods

Clone

Creates a copy of this rule.

Syntax

Returns

Type: Microsoft.OData.Mcp.Core.Configuration.AlertRule 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

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?