KeyVaultManagementClient Constructors

Definition

Overloads

KeyVaultManagementClient()

Initializes a new instance of KeyVaultManagementClient for mocking.

KeyVaultManagementClient(String, TokenCredential, KeyVaultManagementClientOptions)

Initializes a new instance of KeyVaultManagementClient.

KeyVaultManagementClient(String, Uri, TokenCredential, KeyVaultManagementClientOptions)

Initializes a new instance of KeyVaultManagementClient.

KeyVaultManagementClient()

Initializes a new instance of KeyVaultManagementClient for mocking.

protected KeyVaultManagementClient ();
Protected Sub New ()

Applies to

KeyVaultManagementClient(String, TokenCredential, KeyVaultManagementClientOptions)

Initializes a new instance of KeyVaultManagementClient.

public KeyVaultManagementClient (string subscriptionId, Azure.Core.TokenCredential tokenCredential, Azure.ResourceManager.KeyVault.KeyVaultManagementClientOptions options = default);
new Azure.ResourceManager.KeyVault.KeyVaultManagementClient : string * Azure.Core.TokenCredential * Azure.ResourceManager.KeyVault.KeyVaultManagementClientOptions -> Azure.ResourceManager.KeyVault.KeyVaultManagementClient
Public Sub New (subscriptionId As String, tokenCredential As TokenCredential, Optional options As KeyVaultManagementClientOptions = Nothing)

Parameters

subscriptionId
System.String

Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

tokenCredential
TokenCredential

The OAuth token for making client requests.

options
KeyVaultManagementClientOptions

The options for configuring the client.

Applies to

KeyVaultManagementClient(String, Uri, TokenCredential, KeyVaultManagementClientOptions)

Initializes a new instance of KeyVaultManagementClient.

public KeyVaultManagementClient (string subscriptionId, Uri endpoint, Azure.Core.TokenCredential tokenCredential, Azure.ResourceManager.KeyVault.KeyVaultManagementClientOptions options = default);
new Azure.ResourceManager.KeyVault.KeyVaultManagementClient : string * Uri * Azure.Core.TokenCredential * Azure.ResourceManager.KeyVault.KeyVaultManagementClientOptions -> Azure.ResourceManager.KeyVault.KeyVaultManagementClient
Public Sub New (subscriptionId As String, endpoint As Uri, tokenCredential As TokenCredential, Optional options As KeyVaultManagementClientOptions = Nothing)

Parameters

subscriptionId
System.String

Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

endpoint
System.Uri

server parameter.

tokenCredential
TokenCredential

The OAuth token for making client requests.

options
KeyVaultManagementClientOptions

The options for configuring the client.

Exceptions

System.ArgumentNullException

This occurs when one of the required arguments is null.

Applies to