GetAlertsOptions(DateTimeOffset, DateTimeOffset, AlertQueryTimeMode) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.