Package | Description |
---|---|
com.azure.ai.metricsadvisor |
Package containing classes for creating a
MetricsAdvisorAsyncClient
and MetricsAdvisorClient to
perform operations on Azure Metrics Advisor service. |
com.azure.ai.metricsadvisor.models |
Package containing classes for AzureCognitiveServiceMetricsAdvisorRestAPIOpenAPIV2.
|
Modifier and Type | Method and Description |
---|---|
com.azure.core.http.rest.PagedFlux<AnomalyAlert> |
MetricsAdvisorAsyncClient.listAlerts(String alertConfigurationId,
OffsetDateTime startTime,
OffsetDateTime endTime,
ListAlertOptions options)
Fetch the alerts triggered by an anomaly alert configuration.
|
com.azure.core.http.rest.PagedIterable<AnomalyAlert> |
MetricsAdvisorClient.listAlerts(String alertConfigurationId,
OffsetDateTime startTime,
OffsetDateTime endTime,
ListAlertOptions options,
com.azure.core.util.Context context)
Fetch the alerts triggered by an anomaly alert configuration.
|
Modifier and Type | Method and Description |
---|---|
ListAlertOptions |
ListAlertOptions.setAlertQueryTimeMode(AlertQueryTimeMode alertQueryTimeMode)
Set the query time mode.
|
ListAlertOptions |
ListAlertOptions.setMaxPageSize(int maxPageSize)
Sets limit indicating the number of items to be included in a service returned page.
|
ListAlertOptions |
ListAlertOptions.setSkip(int skip)
Sets the number of items in the queried collection that are to be skipped and not included
in the returned result.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.