MetricsAdvisorModelFactory.AnomalyAlert Method
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 AnomalyAlert for mocking purposes.
public static Azure.AI.MetricsAdvisor.Models.AnomalyAlert AnomalyAlert(string id = default, DateTimeOffset timestamp = default, DateTimeOffset createdOn = default, DateTimeOffset lastModified = default);
static member AnomalyAlert : string * DateTimeOffset * DateTimeOffset * DateTimeOffset -> Azure.AI.MetricsAdvisor.Models.AnomalyAlert
Public Shared Function AnomalyAlert (Optional id As String = Nothing, Optional timestamp As DateTimeOffset = Nothing, Optional createdOn As DateTimeOffset = Nothing, Optional lastModified As DateTimeOffset = Nothing) As AnomalyAlert
Parameters
- timestamp
- DateTimeOffset
Sets the Timestamp property.
- createdOn
- DateTimeOffset
Sets the CreatedOn property.
- lastModified
- DateTimeOffset
Sets the LastModified property.
Returns
A new instance of AnomalyAlert for mocking purposes.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET