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
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro