Partager via


LogsQueryClientBuilderExtensions.AddLogsQueryClient Méthode

Définition

Surcharges

AddLogsQueryClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Inscrit un LogsQueryClient instance.

AddLogsQueryClient<TBuilder>(TBuilder, Uri)

Inscrit un LogsQueryClient instance.

AddLogsQueryClient<TBuilder>(TBuilder)

Inscrit un LogsQueryClient instance avec le point de terminaison par défaut « ».https://api.loganalytics.io

AddLogsQueryClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Source:
LogsQueryClientBuilderExtensions.cs
Source:
LogsQueryClientBuilderExtensions.cs

Inscrit un LogsQueryClient instance.

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

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 à

AddLogsQueryClient<TBuilder>(TBuilder, Uri)

Source:
LogsQueryClientBuilderExtensions.cs
Source:
LogsQueryClientBuilderExtensions.cs

Inscrit un LogsQueryClient instance.

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

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 à utiliser.

Retours

S’applique à

AddLogsQueryClient<TBuilder>(TBuilder)

Source:
LogsQueryClientBuilderExtensions.cs
Source:
LogsQueryClientBuilderExtensions.cs

Inscrit un LogsQueryClient instance avec le point de terminaison par défaut « ».https://api.loganalytics.io

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

Paramètres de type

TBuilder

Paramètres

builder
TBuilder

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

Retours

S’applique à