LogsQueryClientBuilderExtensions.AddLogsQueryClient Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddLogsQueryClient<TBuilder,TConfiguration>(TBuilder, TConfiguration) |
Registers a LogsQueryClient instance. |
AddLogsQueryClient<TBuilder>(TBuilder, Uri) |
Registers a LogsQueryClient instance. |
AddLogsQueryClient<TBuilder>(TBuilder) |
Registers a LogsQueryClient instance with the default endpoint 'https://api.loganalytics.io'. |
AddLogsQueryClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)
Registers a 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)
Type Parameters
- TBuilder
- TConfiguration
Parameters
- builder
- TBuilder
The builder to register with.
- configuration
- TConfiguration
The configuration values.
Returns
Applies to
AddLogsQueryClient<TBuilder>(TBuilder, Uri)
Registers a 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)
Type Parameters
- TBuilder
Parameters
- builder
- TBuilder
The builder to register with.
- endpoint
- Uri
The service endpoint to use.
Returns
Applies to
AddLogsQueryClient<TBuilder>(TBuilder)
Registers a LogsQueryClient instance with the default endpoint '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)
Type Parameters
- TBuilder
Parameters
- builder
- TBuilder
The builder to register with.
Returns
Applies to
Azure SDK for .NET