Compartilhar via


IngestionClientBuilderExtensions.AddLogsIngestionClient Método

Definição

Sobrecargas

AddLogsIngestionClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registra uma LogsIngestionClient instância.

AddLogsIngestionClient<TBuilder>(TBuilder, Uri)

Registra uma LogsIngestionClient instância.

AddLogsIngestionClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Origem:
IngestionClientBuilderExtensions.cs
Origem:
IngestionClientBuilderExtensions.cs

Registra uma LogsIngestionClient instância.

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

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

AddLogsIngestionClient<TBuilder>(TBuilder, Uri)

Origem:
IngestionClientBuilderExtensions.cs
Origem:
IngestionClientBuilderExtensions.cs

Registra uma LogsIngestionClient instância.

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

Parâmetros de tipo

TBuilder

Parâmetros

builder
TBuilder

O construtor com o qual se registrar.

endpoint
Uri

O ponto de extremidade de coleta de dados para a regra de coleta de dados, por exemplo https://dce-name.eastus-2.ingest.monitor.azure.com.

Retornos

Aplica-se a