共用方式為


TemplateClient Constructors

Definition

Overloads

TemplateClient()

Initializes a new instance of TemplateClient for mocking.

TemplateClient(String, TokenCredential)

Initializes a new instance of TemplateClient.

TemplateClient(String, TokenCredential, TemplateClientOptions)

Initializes a new instance of TemplateClient.

TemplateClient()

Source:
TemplateClient.cs

Initializes a new instance of TemplateClient for mocking.

protected TemplateClient ();
Protected Sub New ()

Applies to

TemplateClient(String, TokenCredential)

Source:
TemplateClient.cs

Initializes a new instance of TemplateClient.

public TemplateClient (string vaultBaseUrl, Azure.Core.TokenCredential credential);
new Azure.Template.TemplateClient : string * Azure.Core.TokenCredential -> Azure.Template.TemplateClient
Public Sub New (vaultBaseUrl As String, credential As TokenCredential)

Parameters

vaultBaseUrl
String

The vault name, for example https://myvault.vault.azure.net.

credential
TokenCredential

A credential used to authenticate to an Azure Service.

Exceptions

vaultBaseUrl or credential is null.

Applies to

TemplateClient(String, TokenCredential, TemplateClientOptions)

Source:
TemplateClient.cs

Initializes a new instance of TemplateClient.

public TemplateClient (string vaultBaseUrl, Azure.Core.TokenCredential credential, Azure.Template.TemplateClientOptions options);
new Azure.Template.TemplateClient : string * Azure.Core.TokenCredential * Azure.Template.TemplateClientOptions -> Azure.Template.TemplateClient
Public Sub New (vaultBaseUrl As String, credential As TokenCredential, options As TemplateClientOptions)

Parameters

vaultBaseUrl
String

The vault name, for example https://myvault.vault.azure.net.

credential
TokenCredential

A credential used to authenticate to an Azure Service.

options
TemplateClientOptions

The options for configuring the client.

Exceptions

vaultBaseUrl or credential is null.

Applies to