共用方式為


DataProtectionBackupVaultCollection.GetAllAsync(CancellationToken) Method

Definition

Returns resource collection belonging to a resource group.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to