IngestionClientBuilderExtensions.AddLogsIngestionClient Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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)
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)
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
Azure SDK for .NET