Share via


MockableDataProtectionBackupSubscriptionResource.GetDataProtectionBackupVaults Method

Definition

Returns resource collection belonging to a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/backupVaults
  • Operation Id: BackupVaults_GetInSubscription
  • Default Api Version: 2024-04-01
  • Resource: DataProtectionBackupVaultResource
public virtual Azure.Pageable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupVaultResource> GetDataProtectionBackupVaults (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDataProtectionBackupVaults : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupVaultResource>
override this.GetDataProtectionBackupVaults : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupVaultResource>
Public Overridable Function GetDataProtectionBackupVaults (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DataProtectionBackupVaultResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of DataProtectionBackupVaultResource that may take multiple service requests to iterate over.

Applies to