ArmClientBuilderExtensions.AddArmClient Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
AddArmClient<TBuilder,TConfiguration>(TBuilder, TConfiguration) |
Registra uma ArmClient instância com opções de conexão carregadas da instância fornecida |
AddArmClient<TBuilder>(TBuilder, String) |
Registra uma ArmClient instância com o fornecido |
AddArmClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)
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)
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
Azure SDK for .NET