Share via


NetAppBackupVaultBackupCollection.GetAllAsync Method

Definition

List all backups Under a Backup Vault

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups
  • Operation Id: Backups_ListByVault
  • Default Api Version: 2023-05-01-preview
  • Resource: NetAppBackupVaultBackupResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.NetApp.NetAppBackupVaultBackupResource> GetAllAsync (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NetApp.NetAppBackupVaultBackupResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NetApp.NetAppBackupVaultBackupResource>
Public Overridable Function GetAllAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of NetAppBackupVaultBackupResource)

Parameters

filter
String

An option to specify the VolumeResourceId. If present, then only returns the backups under the specified volume.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of NetAppBackupVaultBackupResource that may take multiple service requests to iterate over.

Applies to