JobRouterClientBuilderExtensions.AddJobRouterClient 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
AddJobRouterClient<TBuilder,TConfiguration>(TBuilder, TConfiguration) |
Registers a JobRouterClient instance. |
AddJobRouterClient<TBuilder>(TBuilder, String) |
Registers a JobRouterClient instance. |
AddJobRouterClient<TBuilder>(TBuilder, Uri, AzureKeyCredential) |
Registers a JobRouterClient instance. |
AddJobRouterClient<TBuilder>(TBuilder, Uri, TokenCredential) |
Registers a JobRouterClient instance. |
AddJobRouterClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)
Registers a JobRouterClient instance.
public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Communication.JobRouter.JobRouterClient,Azure.Communication.JobRouter.JobRouterClientOptions> AddJobRouterClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddJobRouterClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Communication.JobRouter.JobRouterClient, Azure.Communication.JobRouter.JobRouterClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddJobRouterClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of JobRouterClient, JobRouterClientOptions)
Type Parameters
- TBuilder
- TConfiguration
Parameters
- builder
- TBuilder
The builder to register with.
- configuration
- TConfiguration
The configuration values.
Returns
Applies to
AddJobRouterClient<TBuilder>(TBuilder, String)
Registers a JobRouterClient instance.
public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Communication.JobRouter.JobRouterClient,Azure.Communication.JobRouter.JobRouterClientOptions> AddJobRouterClient<TBuilder> (this TBuilder builder, string connectionString) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddJobRouterClient : 'Builder * string -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Communication.JobRouter.JobRouterClient, Azure.Communication.JobRouter.JobRouterClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddJobRouterClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, connectionString As String) As IAzureClientBuilder(Of JobRouterClient, JobRouterClientOptions)
Type Parameters
- TBuilder
Parameters
- builder
- TBuilder
The builder to register with.
- connectionString
- String
Connection string acquired from your Communication resource.
Returns
Applies to
AddJobRouterClient<TBuilder>(TBuilder, Uri, AzureKeyCredential)
Registers a JobRouterClient instance.
public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Communication.JobRouter.JobRouterClient,Azure.Communication.JobRouter.JobRouterClientOptions> AddJobRouterClient<TBuilder> (this TBuilder builder, Uri endpoint, Azure.AzureKeyCredential credential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddJobRouterClient : 'Builder * Uri * Azure.AzureKeyCredential -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Communication.JobRouter.JobRouterClient, Azure.Communication.JobRouter.JobRouterClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddJobRouterClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, endpoint As Uri, credential As AzureKeyCredential) As IAzureClientBuilder(Of JobRouterClient, JobRouterClientOptions)
Type Parameters
- TBuilder
Parameters
- builder
- TBuilder
The builder to register with.
- credential
- AzureKeyCredential
The AzureKeyCredential used to authenticate requests.
Returns
Applies to
AddJobRouterClient<TBuilder>(TBuilder, Uri, TokenCredential)
Registers a JobRouterClient instance.
public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Communication.JobRouter.JobRouterClient,Azure.Communication.JobRouter.JobRouterClientOptions> AddJobRouterClient<TBuilder> (this TBuilder builder, Uri endpoint, Azure.Core.TokenCredential credential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddJobRouterClient : 'Builder * Uri * Azure.Core.TokenCredential -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Communication.JobRouter.JobRouterClient, Azure.Communication.JobRouter.JobRouterClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddJobRouterClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, endpoint As Uri, credential As TokenCredential) As IAzureClientBuilder(Of JobRouterClient, JobRouterClientOptions)
Type Parameters
- TBuilder
Parameters
- builder
- TBuilder
The builder to register with.
- credential
- TokenCredential
The TokenCredential used to authenticate requests, such as DefaultAzureCredential.
Returns
Applies to
Azure SDK for .NET