Compartilhar via


ArmClientBuilderExtensions.AddArmClient Método

Definição

Sobrecargas

AddArmClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registra uma ArmClient instância com opções de conexão carregadas da instância fornecida configuration .

AddArmClient<TBuilder>(TBuilder, String)

Registra uma ArmClient instância com o fornecido defaultSubscription

AddArmClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Origem:
ArmClientBuilderExtensions.cs
Origem:
ArmClientBuilderExtensions.cs

Registra uma ArmClient instância com opções de conexão carregadas da instância fornecida configuration .

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.ResourceManager.ArmClient,Azure.ResourceManager.ArmClientOptions> AddArmClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddArmClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.ResourceManager.ArmClient, Azure.ResourceManager.ArmClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddArmClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of ArmClient, ArmClientOptions)

Parâmetros de tipo

TBuilder
TConfiguration

Parâmetros

builder
TBuilder
configuration
TConfiguration

Retornos

Aplica-se a

AddArmClient<TBuilder>(TBuilder, String)

Origem:
ArmClientBuilderExtensions.cs
Origem:
ArmClientBuilderExtensions.cs

Registra uma ArmClient instância com o fornecido defaultSubscription

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.ResourceManager.ArmClient,Azure.ResourceManager.ArmClientOptions> AddArmClient<TBuilder> (this TBuilder builder, string defaultSubscription) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential;
static member AddArmClient : 'Builder * string -> Azure.Core.Extensions.IAzureClientBuilder<Azure.ResourceManager.ArmClient, Azure.ResourceManager.ArmClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential)
<Extension()>
Public Function AddArmClient(Of TBuilder As IAzureClientFactoryBuilderWithCredential) (builder As TBuilder, defaultSubscription As String) As IAzureClientBuilder(Of ArmClient, ArmClientOptions)

Parâmetros de tipo

TBuilder

Parâmetros

builder
TBuilder
defaultSubscription
String

Retornos

Aplica-se a