Partager via


MetricsQueryClientBuilderExtensions.AddMetricsQueryClient Méthode

Définition

Surcharges

AddMetricsQueryClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Inscrit un MetricsQueryClient instance.

AddMetricsQueryClient<TBuilder>(TBuilder, Uri)

Inscrit un MetricsQueryClient instance.

AddMetricsQueryClient<TBuilder>(TBuilder)

Inscrit un MetricsQueryClient instance avec le point de terminaison https://management.azure.com/ par défaut pour le cloud public.

AddMetricsQueryClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Source:
MetricsQueryClientBuilderExtensions.cs
Source:
MetricsQueryClientBuilderExtensions.cs

Inscrit un MetricsQueryClient instance.

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)

Paramètres de type

TBuilder
TConfiguration

Paramètres

builder
TBuilder

Générateur auprès de laquelle s’inscrire.

configuration
TConfiguration

Valeurs de configuration.

Retours

S’applique à

AddMetricsQueryClient<TBuilder>(TBuilder, Uri)

Source:
MetricsQueryClientBuilderExtensions.cs
Source:
MetricsQueryClientBuilderExtensions.cs

Inscrit un MetricsQueryClient instance.

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)

Paramètres de type

TBuilder

Paramètres

builder
TBuilder

Générateur auprès de laquelle s’inscrire.

endpoint
Uri

Point de terminaison de service Resource Manager à utiliser.

Retours

S’applique à

AddMetricsQueryClient<TBuilder>(TBuilder)

Source:
MetricsQueryClientBuilderExtensions.cs
Source:
MetricsQueryClientBuilderExtensions.cs

Inscrit un MetricsQueryClient instance avec le point de terminaison https://management.azure.com/ par défaut pour le cloud public.

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)

Paramètres de type

TBuilder

Paramètres

builder
TBuilder

Générateur auprès de laquelle s’inscrire.

Retours

S’applique à