SecretClientBuilderExtensions.AddSecretClient Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddSecretClient<TBuilder,TConfiguration>(TBuilder, TConfiguration) |
Registers a SecretClient instance with connection options loaded from the provided |
AddSecretClient<TBuilder>(TBuilder, Uri) |
Registers a SecretClient instance with the provided |
AddSecretClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)
Registers a SecretClient instance with connection options loaded from the provided configuration
instance.
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)
Type Parameters
- TBuilder
- TConfiguration
Parameters
- builder
- TBuilder
- configuration
- TConfiguration
Returns
Applies to
AddSecretClient<TBuilder>(TBuilder, Uri)
Registers a SecretClient instance with the provided 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)
Type Parameters
- TBuilder
Parameters
- builder
- TBuilder
- vaultUri
- Uri
Returns
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.