ComputeBatchClientBuilderExtensions.AddBatchClient Method

Definition

Overloads

AddBatchClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registers a BatchClient instance.

AddBatchClient<TBuilder>(TBuilder, Uri)

Registers a BatchClient instance.

AddBatchClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Source:
ComputeBatchClientBuilderExtensions.cs

Registers a BatchClient instance.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Compute.Batch.BatchClient,Azure.Compute.Batch.BatchClientOptions> AddBatchClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddBatchClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Compute.Batch.BatchClient, Azure.Compute.Batch.BatchClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddBatchClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of BatchClient, BatchClientOptions)

Type Parameters

TBuilder
TConfiguration

Parameters

builder
TBuilder

The builder to register with.

configuration
TConfiguration

The configuration values.

Returns

Applies to

AddBatchClient<TBuilder>(TBuilder, Uri)

Source:
ComputeBatchClientBuilderExtensions.cs

Registers a BatchClient instance.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Compute.Batch.BatchClient,Azure.Compute.Batch.BatchClientOptions> AddBatchClient<TBuilder> (this TBuilder builder, Uri endpoint) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential;
static member AddBatchClient : 'Builder * Uri -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Compute.Batch.BatchClient, Azure.Compute.Batch.BatchClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential)
<Extension()>
Public Function AddBatchClient(Of TBuilder As IAzureClientFactoryBuilderWithCredential) (builder As TBuilder, endpoint As Uri) As IAzureClientBuilder(Of BatchClient, BatchClientOptions)

Type Parameters

TBuilder

Parameters

builder
TBuilder

The builder to register with.

endpoint
Uri

Batch account endpoint (for example: https://batchaccount.eastus2.batch.azure.com).

Returns

Applies to