共用方式為


AzureLoadTestingClientBuilderExtensions.AddLoadTestRunClient Method

Definition

Overloads

AddLoadTestRunClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registers a LoadTestRunClient instance.

AddLoadTestRunClient<TBuilder>(TBuilder, Uri)

Registers a LoadTestRunClient instance.

AddLoadTestRunClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Source:
AzureLoadTestingClientBuilderExtensions.cs

Registers a LoadTestRunClient instance.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Developer.LoadTesting.LoadTestRunClient,Azure.Developer.LoadTesting.LoadTestingClientOptions> AddLoadTestRunClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddLoadTestRunClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Developer.LoadTesting.LoadTestRunClient, Azure.Developer.LoadTesting.LoadTestingClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddLoadTestRunClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of LoadTestRunClient, LoadTestingClientOptions)

Type Parameters

TBuilder
TConfiguration

Parameters

builder
TBuilder

The builder to register with.

configuration
TConfiguration

The configuration values.

Returns

Applies to

AddLoadTestRunClient<TBuilder>(TBuilder, Uri)

Source:
AzureLoadTestingClientBuilderExtensions.cs

Registers a LoadTestRunClient instance.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Developer.LoadTesting.LoadTestRunClient,Azure.Developer.LoadTesting.LoadTestingClientOptions> AddLoadTestRunClient<TBuilder> (this TBuilder builder, Uri endpoint) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential;
static member AddLoadTestRunClient : 'Builder * Uri -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Developer.LoadTesting.LoadTestRunClient, Azure.Developer.LoadTesting.LoadTestingClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential)
<Extension()>
Public Function AddLoadTestRunClient(Of TBuilder As IAzureClientFactoryBuilderWithCredential) (builder As TBuilder, endpoint As Uri) As IAzureClientBuilder(Of LoadTestRunClient, LoadTestingClientOptions)

Type Parameters

TBuilder

Parameters

builder
TBuilder

The builder to register with.

endpoint
Uri

URL to perform data plane API operations on the resource.

Returns

Applies to