MockableDataProtectionBackupSubscriptionResource.GetDataProtectionDeletedBackupVaultAsync Method
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.
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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataProtectionBackup.DataProtectionDeletedBackupVaultResource>> GetDataProtectionDeletedBackupVaultAsync(Azure.Core.AzureLocation location, string deletedVaultName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDataProtectionDeletedBackupVaultAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataProtectionBackup.DataProtectionDeletedBackupVaultResource>>
override this.GetDataProtectionDeletedBackupVaultAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataProtectionBackup.DataProtectionDeletedBackupVaultResource>>
Public Overridable Function GetDataProtectionDeletedBackupVaultAsync (location As AzureLocation, deletedVaultName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.