Freigeben über


MockableDataProtectionBackupSubscriptionResource.GetDataProtectionDeletedBackupVault Method

Definition

Gets a deleted backup vault

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/locations/{location}/deletedVaults/{deletedVaultName}.
  • Operation Id. : DeletedBackupVaults_Get.
  • Default Api Version. : 2025-09-01.
public virtual Azure.Response<Azure.ResourceManager.DataProtectionBackup.DataProtectionDeletedBackupVaultResource> GetDataProtectionDeletedBackupVault(Azure.Core.AzureLocation location, string deletedVaultName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDataProtectionDeletedBackupVault : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataProtectionBackup.DataProtectionDeletedBackupVaultResource>
override this.GetDataProtectionDeletedBackupVault : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataProtectionBackup.DataProtectionDeletedBackupVaultResource>
Public Overridable Function GetDataProtectionDeletedBackupVault (location As AzureLocation, deletedVaultName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DataProtectionDeletedBackupVaultResource)

Parameters

location
AzureLocation

The location for the resource.

deletedVaultName
String

The name of the DeletedBackupVaultResource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

deletedVaultName is null.

deletedVaultName is an empty string, and was expected to be non-empty.

Applies to