Compartir a través de


SecretClientBuilderExtensions.AddSecretClient Método

Definición

Sobrecargas

AddSecretClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registra una SecretClient instancia con las opciones de conexión cargadas desde la instancia proporcionada configuration .

AddSecretClient<TBuilder>(TBuilder, Uri)

Registra una SecretClient instancia con el proporcionado. vaultUri

AddSecretClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Source:
SecretClientBuilderExtensions.cs
Source:
SecretClientBuilderExtensions.cs

Registra una SecretClient instancia con las opciones de conexión cargadas desde la instancia proporcionada 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

Devoluciones

Se aplica a

AddSecretClient<TBuilder>(TBuilder, Uri)

Source:
SecretClientBuilderExtensions.cs
Source:
SecretClientBuilderExtensions.cs

Registra una SecretClient instancia con el proporcionado. 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

Devoluciones

Se aplica a