Share via


RecoveryServicesVaultCollection.GetAll(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.Pageable<Azure.ResourceManager.RecoveryServices.RecoveryServicesVaultResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServices.RecoveryServicesVaultResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServices.RecoveryServicesVaultResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of RecoveryServicesVaultResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to