Condividi tramite


IngestionClientBuilderExtensions.AddLogsIngestionClient Method

Definition

Overloads

AddLogsIngestionClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registers a LogsIngestionClient instance.

AddLogsIngestionClient<TBuilder>(TBuilder, Uri)

Registers a LogsIngestionClient instance.

AddLogsIngestionClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Source:
IngestionClientBuilderExtensions.cs
Source:
IngestionClientBuilderExtensions.cs

Registers a LogsIngestionClient instance.

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)

Type Parameters

TBuilder
TConfiguration

Parameters

builder
TBuilder

The builder to register with.

configuration
TConfiguration

The configuration values.

Returns

Applies to

AddLogsIngestionClient<TBuilder>(TBuilder, Uri)

Source:
IngestionClientBuilderExtensions.cs
Source:
IngestionClientBuilderExtensions.cs

Registers a LogsIngestionClient instance.

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)

Type Parameters

TBuilder

Parameters

builder
TBuilder

The builder to register with.

endpoint
Uri

The Data Collection Endpoint for the Data Collection Rule, for example https://dce-name.eastus-2.ingest.monitor.azure.com.

Returns

Applies to