Compartir a través de


AnomalyDetectorClient.LastDetectWithHttpMessagesAsync Método

Definición

Detecte el estado de anomalía del último momento de la serie temporal.

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.LastDetectResponse>> LastDetectWithHttpMessagesAsync (Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.Request body, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member LastDetectWithHttpMessagesAsync : Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.Request * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.LastDetectResponse>>
override this.LastDetectWithHttpMessagesAsync : Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.Request * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.LastDetectResponse>>
Public Function LastDetectWithHttpMessagesAsync (body As Request, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of LastDetectResponse))

Parámetros

body
Request

Puntos de serie temporal y período si es necesario. Los parámetros de modelo avanzados también se pueden establecer en la solicitud.

customHeaders
Dictionary<String,List<String>>

Encabezados que se agregarán a la solicitud.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Implementaciones

Excepciones

Se produce cuando la operación devolvió un código de estado no válido

Se produce cuando no se puede deserializar la respuesta

Se produce cuando un parámetro obligatorio es NULL

Se produce cuando un parámetro obligatorio es NULL

Comentarios

Esta operación genera un modelo con puntos anteriores al último. Con este método, solo se usan puntos históricos para determinar si el punto de destino es una anomalía. La operación de detección de puntos más reciente coincide con el escenario de supervisión en tiempo real de las métricas empresariales.

Se aplica a