Udostępnij za pośrednictwem


MetricsBatchQueryClient Constructors

Definition

Overloads

MetricsBatchQueryClient()

Initializes a new instance of MetricsBatchQueryClient for mocking.

MetricsBatchQueryClient(Uri, TokenCredential, MetricsBatchQueryClientOptions)

Initializes a new instance of MetricsBatchQueryClient.

MetricsBatchQueryClient()

Source:
MetricsBatchQueryClient.cs

Initializes a new instance of MetricsBatchQueryClient for mocking.

protected MetricsBatchQueryClient ();
Protected Sub New ()

Applies to

MetricsBatchQueryClient(Uri, TokenCredential, MetricsBatchQueryClientOptions)

Source:
MetricsBatchQueryClient.cs

Initializes a new instance of MetricsBatchQueryClient.

public MetricsBatchQueryClient (Uri endpoint, Azure.Core.TokenCredential credential, Azure.Monitor.Query.MetricsBatchQueryClientOptions options = default);
new Azure.Monitor.Query.MetricsBatchQueryClient : Uri * Azure.Core.TokenCredential * Azure.Monitor.Query.MetricsBatchQueryClientOptions -> Azure.Monitor.Query.MetricsBatchQueryClient
Public Sub New (endpoint As Uri, credential As TokenCredential, Optional options As MetricsBatchQueryClientOptions = Nothing)

Parameters

endpoint
Uri

The data plane service endpoint to use. For example https://metrics.monitor.azure.com/.default for public cloud.

credential
TokenCredential

The TokenCredential instance to use for authentication.

options
MetricsBatchQueryClientOptions

The MetricsQueryClientOptions instance to as client configuration.

Applies to