Compartilhar via


MetricsQueryClientBuilderExtensions.AddMetricsQueryClient Método

Definição

Sobrecargas

AddMetricsQueryClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registra uma MetricsQueryClient instância.

AddMetricsQueryClient<TBuilder>(TBuilder, Uri)

Registra uma MetricsQueryClient instância.

AddMetricsQueryClient<TBuilder>(TBuilder)

Registra uma MetricsQueryClient instância com o ponto https://management.azure.com/ de extremidade padrão para a nuvem pública.

AddMetricsQueryClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Origem:
MetricsQueryClientBuilderExtensions.cs
Origem:
MetricsQueryClientBuilderExtensions.cs

Registra uma MetricsQueryClient instância.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Monitor.Query.MetricsQueryClient,Azure.Monitor.Query.MetricsQueryClientOptions> AddMetricsQueryClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddMetricsQueryClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Monitor.Query.MetricsQueryClient, Azure.Monitor.Query.MetricsQueryClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddMetricsQueryClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of MetricsQueryClient, MetricsQueryClientOptions)

Parâmetros de tipo

TBuilder
TConfiguration

Parâmetros

builder
TBuilder

O construtor com o qual se registrar.

configuration
TConfiguration

Os valores de configuração.

Retornos

Aplica-se a

AddMetricsQueryClient<TBuilder>(TBuilder, Uri)

Origem:
MetricsQueryClientBuilderExtensions.cs
Origem:
MetricsQueryClientBuilderExtensions.cs

Registra uma MetricsQueryClient instância.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Monitor.Query.MetricsQueryClient,Azure.Monitor.Query.MetricsQueryClientOptions> AddMetricsQueryClient<TBuilder> (this TBuilder builder, Uri endpoint) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential;
static member AddMetricsQueryClient : 'Builder * Uri -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Monitor.Query.MetricsQueryClient, Azure.Monitor.Query.MetricsQueryClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential)
<Extension()>
Public Function AddMetricsQueryClient(Of TBuilder As IAzureClientFactoryBuilderWithCredential) (builder As TBuilder, endpoint As Uri) As IAzureClientBuilder(Of MetricsQueryClient, MetricsQueryClientOptions)

Parâmetros de tipo

TBuilder

Parâmetros

builder
TBuilder

O construtor com o qual se registrar.

endpoint
Uri

O ponto de extremidade de serviço do gerenciador de recursos a ser usado.

Retornos

Aplica-se a

AddMetricsQueryClient<TBuilder>(TBuilder)

Origem:
MetricsQueryClientBuilderExtensions.cs
Origem:
MetricsQueryClientBuilderExtensions.cs

Registra uma MetricsQueryClient instância com o ponto https://management.azure.com/ de extremidade padrão para a nuvem pública.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Monitor.Query.MetricsQueryClient,Azure.Monitor.Query.MetricsQueryClientOptions> AddMetricsQueryClient<TBuilder> (this TBuilder builder) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential;
static member AddMetricsQueryClient : 'Builder -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Monitor.Query.MetricsQueryClient, Azure.Monitor.Query.MetricsQueryClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential)
<Extension()>
Public Function AddMetricsQueryClient(Of TBuilder As IAzureClientFactoryBuilderWithCredential) (builder As TBuilder) As IAzureClientBuilder(Of MetricsQueryClient, MetricsQueryClientOptions)

Parâmetros de tipo

TBuilder

Parâmetros

builder
TBuilder

O construtor com o qual se registrar.

Retornos

Aplica-se a