TemplateClient Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin