MetricsClient Class
- java.
lang. Object - com.
azure. monitor. query. MetricsClient
- com.
public final class MetricsClient
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 |
queryResources(List<String> resourceIds, List<String> metricsNames, String metricsNamespace)
Returns all the Azure Monitor metrics requested for the batch of resources. |
Response<Metrics |
queryResourcesWithResponse(List<String> resourceIds, List<String> metricsNames, String metricsNamespace, MetricsQueryResourcesOptions options, Context context)
Returns all the Azure Monitor metrics requested for the batch of resources. |
Methods inherited from java.lang.Object
Method Details
queryResources
public MetricsQueryResourcesResult queryResources(List
Returns all the Azure Monitor metrics requested for the batch of resources.
Parameters:
Returns:
queryResourcesWithResponse
public Response
Returns all the Azure Monitor metrics requested for the batch of resources.
Parameters:
Returns:
Applies to
Azure SDK for Java