KeyVaultBackupClient 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
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.
KeyVaultAdministrationClientOptions that allow to configure the management of the request sent to Key Vault.
Exceptions
vaultUri
or credential
is null.
Applies to
Azure SDK for .NET