Freigeben über


TemplateClientBuilderExtensions.AddTemplateClient Methode

Definition

Überlädt

AddTemplateClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registriert eine TemplateClient instance.

AddTemplateClient<TBuilder>(TBuilder, String)

Registriert eine TemplateClient instance.

AddTemplateClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Quelle:
TemplateClientBuilderExtensions.cs

Registriert eine TemplateClient instance.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Template.TemplateClient,Azure.Template.TemplateClientOptions> AddTemplateClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddTemplateClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Template.TemplateClient, Azure.Template.TemplateClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddTemplateClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of TemplateClient, TemplateClientOptions)

Typparameter

TBuilder
TConfiguration

Parameter

builder
TBuilder

Der Generator, bei dem registriert werden soll.

configuration
TConfiguration

Die Konfigurationswerte.

Gibt zurück

Gilt für:

AddTemplateClient<TBuilder>(TBuilder, String)

Quelle:
TemplateClientBuilderExtensions.cs

Registriert eine TemplateClient instance.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Template.TemplateClient,Azure.Template.TemplateClientOptions> AddTemplateClient<TBuilder> (this TBuilder builder, string vaultBaseUrl) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential;
static member AddTemplateClient : 'Builder * string -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Template.TemplateClient, Azure.Template.TemplateClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential)
<Extension()>
Public Function AddTemplateClient(Of TBuilder As IAzureClientFactoryBuilderWithCredential) (builder As TBuilder, vaultBaseUrl As String) As IAzureClientBuilder(Of TemplateClient, TemplateClientOptions)

Typparameter

TBuilder

Parameter

builder
TBuilder

Der Generator, bei dem registriert werden soll.

vaultBaseUrl
String

Der Tresorname, z. B https://myvault.vault.azure.net. .

Gibt zurück

Gilt für: