Freigeben über


SecretClientBuilderExtensions.AddSecretClient Methode

Definition

Überlädt

AddSecretClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registriert einen SecretClient instance mit Verbindungsoptionen, die aus dem bereitgestellten configuration instance geladen werden.

AddSecretClient<TBuilder>(TBuilder, Uri)

Registriert eine SecretClient instance bei der bereitgestelltenvaultUri

AddSecretClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Quelle:
SecretClientBuilderExtensions.cs
Quelle:
SecretClientBuilderExtensions.cs

Registriert einen SecretClient instance mit Verbindungsoptionen, die aus dem bereitgestellten configuration instance geladen werden.

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)

Typparameter

TBuilder
TConfiguration

Parameter

builder
TBuilder
configuration
TConfiguration

Gibt zurück

Gilt für:

AddSecretClient<TBuilder>(TBuilder, Uri)

Quelle:
SecretClientBuilderExtensions.cs
Quelle:
SecretClientBuilderExtensions.cs

Registriert eine SecretClient instance bei der bereitgestelltenvaultUri

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)

Typparameter

TBuilder

Parameter

builder
TBuilder
vaultUri
Uri

Gibt zurück

Gilt für: