Delen via


RecoveryServicesVaultCollection.GetAllAsync(CancellationToken) Method

Definition

Retrieve a list of Vaults.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to