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.
Applies to
Azure SDK for .NET
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro