共用方式為


DataProtectionBackupVaultCollection.GetAll(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.Pageable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupVaultResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupVaultResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupVaultResource>
Public Overridable Function GetAll (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