你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IAnomalyDetectorClient.LastDetectWithHttpMessagesAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检测时序中最新点的异常状态。
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>>
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))
参数
- body
- Request
时序点和时间段(如果需要)。 还可以在请求中设置高级模型参数。
- customHeaders
- Dictionary<String,List<String>>
将添加到请求的标头。
- cancellationToken
- CancellationToken
取消标记。
返回
注解
此操作使用最新点之前的点生成模型。 使用此方法时,只会使用历史点来确定目标点是否异常。 最新的点检测操作与实时监视业务指标的方案相匹配。