Partilhar via


SecretClientBuilderExtensions.AddSecretClient Método

Definição

Sobrecargas

AddSecretClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

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

AddSecretClient<TBuilder>(TBuilder, Uri)

Registra uma SecretClient instância com o fornecido vaultUri

AddSecretClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Origem:
SecretClientBuilderExtensions.cs
Origem:
SecretClientBuilderExtensions.cs

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)

Origem:
SecretClientBuilderExtensions.cs
Origem:
SecretClientBuilderExtensions.cs

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