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