Compartilhar via


KeyClientBuilderExtensions.AddCryptographyClient Método

Definição

Sobrecargas

AddCryptographyClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

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

AddCryptographyClient<TBuilder>(TBuilder, Uri)

Registra uma KeyClient instância com o fornecido vaultUri

AddCryptographyClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Origem:
KeyClientBuilderExtensions.cs
Origem:
KeyClientBuilderExtensions.cs

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

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Security.KeyVault.Keys.Cryptography.CryptographyClient,Azure.Security.KeyVault.Keys.Cryptography.CryptographyClientOptions> AddCryptographyClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddCryptographyClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Security.KeyVault.Keys.Cryptography.CryptographyClient, Azure.Security.KeyVault.Keys.Cryptography.CryptographyClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddCryptographyClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of CryptographyClient, CryptographyClientOptions)

Parâmetros de tipo

TBuilder

O tipo de construtor a ser estendido.

TConfiguration

O tipo de configuração a ser usado para o construtor de clientes.

Parâmetros

builder
TBuilder

O construtor a ser estendido.

configuration
TConfiguration

A configuração a ser usada para o construtor de clientes.

Retornos

Um construtor de clientes do Azure.

Aplica-se a

AddCryptographyClient<TBuilder>(TBuilder, Uri)

Origem:
KeyClientBuilderExtensions.cs
Origem:
KeyClientBuilderExtensions.cs

Registra uma KeyClient instância com o fornecido vaultUri

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Security.KeyVault.Keys.Cryptography.CryptographyClient,Azure.Security.KeyVault.Keys.Cryptography.CryptographyClientOptions> AddCryptographyClient<TBuilder> (this TBuilder builder, Uri vaultUri) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential;
static member AddCryptographyClient : 'Builder * Uri -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Security.KeyVault.Keys.Cryptography.CryptographyClient, Azure.Security.KeyVault.Keys.Cryptography.CryptographyClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential)
<Extension()>
Public Function AddCryptographyClient(Of TBuilder As IAzureClientFactoryBuilderWithCredential) (builder As TBuilder, vaultUri As Uri) As IAzureClientBuilder(Of CryptographyClient, CryptographyClientOptions)

Parâmetros de tipo

TBuilder

O tipo de construtor a ser estendido.

Parâmetros

builder
TBuilder

O construtor a ser estendido.

vaultUri
Uri

O URI para uma chave específica em um Key Vault do Azure, por exemplo:https://my-vault.vault.azure.net/keys/my-key

Retornos

Um construtor de clientes do Azure.

Aplica-se a