SecretClientBuilderExtensions.AddSecretClient 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
AddSecretClient<TBuilder,TConfiguration>(TBuilder, TConfiguration) |
Registra uma SecretClient instância com opções de conexão carregadas da instância fornecida |
AddSecretClient<TBuilder>(TBuilder, Uri) |
Registra uma SecretClient instância com o fornecido |
AddSecretClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)
Registra uma SecretClient instância com opções de conexão carregadas da instância fornecida configuration
.
public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Security.KeyVault.Secrets.SecretClient,Azure.Security.KeyVault.Secrets.SecretClientOptions> AddSecretClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddSecretClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Security.KeyVault.Secrets.SecretClient, Azure.Security.KeyVault.Secrets.SecretClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddSecretClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of SecretClient, SecretClientOptions)
Parâmetros de tipo
- TBuilder
- TConfiguration
Parâmetros
- builder
- TBuilder
- configuration
- TConfiguration
Retornos
Aplica-se a
AddSecretClient<TBuilder>(TBuilder, Uri)
Registra uma SecretClient instância com o fornecido vaultUri
public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Security.KeyVault.Secrets.SecretClient,Azure.Security.KeyVault.Secrets.SecretClientOptions> AddSecretClient<TBuilder> (this TBuilder builder, Uri vaultUri) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential;
static member AddSecretClient : 'Builder * Uri -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Security.KeyVault.Secrets.SecretClient, Azure.Security.KeyVault.Secrets.SecretClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential)
<Extension()>
Public Function AddSecretClient(Of TBuilder As IAzureClientFactoryBuilderWithCredential) (builder As TBuilder, vaultUri As Uri) As IAzureClientBuilder(Of SecretClient, SecretClientOptions)
Parâmetros de tipo
- TBuilder
Parâmetros
- builder
- TBuilder
- vaultUri
- Uri
Retornos
Aplica-se a
Azure SDK for .NET