Udostępnij za pośrednictwem


MetricsBatchQueryClient Class

Definition

The MetricsBatchQueryClient allows you to query multiple Azure Monitor Metric services.

public class MetricsBatchQueryClient
type MetricsBatchQueryClient = class
Public Class MetricsBatchQueryClient
Inheritance
MetricsBatchQueryClient

Constructors

MetricsBatchQueryClient()

Initializes a new instance of MetricsBatchQueryClient for mocking.

MetricsBatchQueryClient(Uri, TokenCredential, MetricsBatchQueryClientOptions)

Initializes a new instance of MetricsBatchQueryClient.

Properties

Endpoint

Gets the endpoint used by the client.

Methods

QueryBatch(List<String>, List<String>, String, MetricsQueryOptions, CancellationToken)

Returns all the Azure Monitor metrics requested for the batch of resources.

QueryBatchAsync(List<String>, List<String>, String, MetricsQueryOptions, CancellationToken)

Returns all the Azure Monitor metrics requested for the batch of resources.

Applies to