Partager via


SecretClientBuilderExtensions.AddSecretClient Méthode

Définition

Surcharges

AddSecretClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Inscrit un SecretClient instance avec les options de connexion chargées à partir de la instance fournie configuration .

AddSecretClient<TBuilder>(TBuilder, Uri)

Inscrit un SecretClient instance avec le fournivaultUri

AddSecretClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Source:
SecretClientBuilderExtensions.cs
Source:
SecretClientBuilderExtensions.cs

Inscrit un SecretClient instance avec les options de connexion chargées à partir de la instance fournie 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)

Paramètres de type

TBuilder
TConfiguration

Paramètres

builder
TBuilder
configuration
TConfiguration

Retours

S’applique à

AddSecretClient<TBuilder>(TBuilder, Uri)

Source:
SecretClientBuilderExtensions.cs
Source:
SecretClientBuilderExtensions.cs

Inscrit un SecretClient instance avec le fournivaultUri

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)

Paramètres de type

TBuilder

Paramètres

builder
TBuilder
vaultUri
Uri

Retours

S’applique à