ComputeBatchClientBuilderExtensions.AddBatchClient 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
AddBatchClient<TBuilder,TConfiguration>(TBuilder, TConfiguration) |
Registers a BatchClient instance. |
AddBatchClient<TBuilder>(TBuilder, Uri) |
Registers a BatchClient instance. |
AddBatchClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)
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)
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET