Compartilhar via


LogsQueryClientBuilderExtensions.AddLogsQueryClient Método

Definição

Sobrecargas

AddLogsQueryClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registra uma LogsQueryClient instância.

AddLogsQueryClient<TBuilder>(TBuilder, Uri)

Registra uma LogsQueryClient instância.

AddLogsQueryClient<TBuilder>(TBuilder)

Registra uma LogsQueryClient instância com o ponto de extremidade padrão 'https://api.loganalytics.io'.

AddLogsQueryClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Origem:
LogsQueryClientBuilderExtensions.cs
Origem:
LogsQueryClientBuilderExtensions.cs

Registra uma LogsQueryClient instância.

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)

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

AddLogsQueryClient<TBuilder>(TBuilder, Uri)

Origem:
LogsQueryClientBuilderExtensions.cs
Origem:
LogsQueryClientBuilderExtensions.cs

Registra uma LogsQueryClient instância.

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)

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 a ser usado.

Retornos

Aplica-se a

AddLogsQueryClient<TBuilder>(TBuilder)

Origem:
LogsQueryClientBuilderExtensions.cs
Origem:
LogsQueryClientBuilderExtensions.cs

Registra uma LogsQueryClient instância com o ponto de extremidade padrão '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)

Parâmetros de tipo

TBuilder

Parâmetros

builder
TBuilder

O construtor com o qual se registrar.

Retornos

Aplica-se a