Share via


KeyVaultBackupClient Constructors

Definition

Overloads

KeyVaultBackupClient()

Initializes a new instance of the KeyVaultBackupClient class for mocking.

KeyVaultBackupClient(Uri, TokenCredential)

Initializes a new instance of the KeyVaultBackupClient class for the specified vault.

KeyVaultBackupClient(Uri, TokenCredential, KeyVaultAdministrationClientOptions)

Initializes a new instance of the KeyVaultBackupClient class for the specified vault.

KeyVaultBackupClient()

Source:
KeyVaultBackupClient.cs
Source:
KeyVaultBackupClient.cs

Initializes a new instance of the KeyVaultBackupClient class for mocking.

protected KeyVaultBackupClient ();
Protected Sub New ()

Applies to

KeyVaultBackupClient(Uri, TokenCredential)

Source:
KeyVaultBackupClient.cs
Source:
KeyVaultBackupClient.cs

Initializes a new instance of the KeyVaultBackupClient class for the specified vault.

public KeyVaultBackupClient (Uri vaultUri, Azure.Core.TokenCredential credential);
new Azure.Security.KeyVault.Administration.KeyVaultBackupClient : Uri * Azure.Core.TokenCredential -> Azure.Security.KeyVault.Administration.KeyVaultBackupClient
Public Sub New (vaultUri As Uri, credential As TokenCredential)

Parameters

vaultUri
Uri

A Uri to the vault on which the client operates. Appears as "DNS Name" in the Azure portal. You should validate that this URI references a valid Managed HSM resource. See https://aka.ms/azsdk/blog/vault-uri for details.

credential
TokenCredential

A TokenCredential used to authenticate requests to the vault, such as DefaultAzureCredential.

Exceptions

vaultUri or credential is null.

Applies to

KeyVaultBackupClient(Uri, TokenCredential, KeyVaultAdministrationClientOptions)

Source:
KeyVaultBackupClient.cs
Source:
KeyVaultBackupClient.cs

Initializes a new instance of the KeyVaultBackupClient class for the specified vault.

public KeyVaultBackupClient (Uri vaultUri, Azure.Core.TokenCredential credential, Azure.Security.KeyVault.Administration.KeyVaultAdministrationClientOptions options);
new Azure.Security.KeyVault.Administration.KeyVaultBackupClient : Uri * Azure.Core.TokenCredential * Azure.Security.KeyVault.Administration.KeyVaultAdministrationClientOptions -> Azure.Security.KeyVault.Administration.KeyVaultBackupClient
Public Sub New (vaultUri As Uri, credential As TokenCredential, options As KeyVaultAdministrationClientOptions)

Parameters

vaultUri
Uri

A Uri to the vault on which the client operates. Appears as "DNS Name" in the Azure portal You should validate that this URI references a valid Managed HSM resource. See https://aka.ms/azsdk/blog/vault-uri for details..

credential
TokenCredential

A TokenCredential used to authenticate requests to the vault, such as DefaultAzureCredential.

options
KeyVaultAdministrationClientOptions

KeyVaultAdministrationClientOptions that allow to configure the management of the request sent to Key Vault.

Exceptions

vaultUri or credential is null.

Applies to