Sdílet prostřednictvím


GetAlertsOptions(DateTimeOffset, DateTimeOffset, AlertQueryTimeMode) Constructor

Definition

Initializes a new instance of the GetAlertsOptions class.

public GetAlertsOptions (DateTimeOffset startsOn, DateTimeOffset endsOn, Azure.AI.MetricsAdvisor.AlertQueryTimeMode timeMode);
new Azure.AI.MetricsAdvisor.GetAlertsOptions : DateTimeOffset * DateTimeOffset * Azure.AI.MetricsAdvisor.AlertQueryTimeMode -> Azure.AI.MetricsAdvisor.GetAlertsOptions
Public Sub New (startsOn As DateTimeOffset, endsOn As DateTimeOffset, timeMode As AlertQueryTimeMode)

Parameters

startsOn
DateTimeOffset

Filters the result. Only alerts triggered from this point in time, in UTC, will be returned.

endsOn
DateTimeOffset

Filters the result. Only alerts triggered up to this point in time, in UTC, will be returned.

timeMode
AlertQueryTimeMode

Specifies to which time property of an AnomalyAlert the filters startsOn and endsOn will be applied.

Applies to