TemplateClientBuilderExtensions.AddTemplateClient Метод

Определение

Перегрузки

AddTemplateClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

TemplateClient Регистрирует экземпляр .

AddTemplateClient<TBuilder>(TBuilder, String)

TemplateClient Регистрирует экземпляр .

AddTemplateClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Исходный код:
TemplateClientBuilderExtensions.cs

TemplateClient Регистрирует экземпляр .

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)

Параметры типа

TBuilder
TConfiguration

Параметры

builder
TBuilder

Построитель для регистрации.

configuration
TConfiguration

Значения конфигурации.

Возвращаемое значение

Применяется к

AddTemplateClient<TBuilder>(TBuilder, String)

Исходный код:
TemplateClientBuilderExtensions.cs

TemplateClient Регистрирует экземпляр .

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)

Параметры типа

TBuilder

Параметры

builder
TBuilder

Построитель для регистрации.

vaultBaseUrl
String

Имя хранилища, например https://myvault.vault.azure.net.

Возвращаемое значение

Применяется к