MetricsBatchQueryClient Class
- java.
lang. Object - com.
azure. monitor. query. MetricsBatchQueryClient
- com.
public final class MetricsBatchQueryClient
This class provides an asynchronous client that contains all the query operations that use batch requests to retrieve metrics for multiple resources.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Metrics |
queryBatch(List<String> resourceUris, List<String> metricsNames, String metricsNamespace)
Returns all the Azure Monitor metrics requested for the batch of resources. |
|
Response<Metrics |
queryBatchWithResponse(List<String> resourceUris, List<String> metricsNames, String metricsNamespace, MetricsQueryOptions options, Context context)
Returns all the Azure Monitor metrics requested for the batch of resources. |
Methods inherited from java.lang.Object
Method Details
queryBatch
public MetricsBatchResult queryBatch(List<String> resourceUris, List<String> metricsNames, String metricsNamespace)
Returns all the Azure Monitor metrics requested for the batch of resources.
Parameters:
Returns:
queryBatchWithResponse
public Response<MetricsBatchResult> queryBatchWithResponse(List<String> resourceUris, List<String> metricsNames, String metricsNamespace, MetricsQueryOptions options, Context context)
Returns all the Azure Monitor metrics requested for the batch of resources.
Parameters:
Returns: