Share via


MockableRecoveryServicesSubscriptionResource.GetRecoveryServicesVaultsAsync Method

Definition

Fetches all the resources of the specified type in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/vaults
  • Operation Id: Vaults_ListBySubscriptionId
  • Default Api Version: 2023-04-01
  • Resource: RecoveryServicesVaultResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.RecoveryServices.RecoveryServicesVaultResource> GetRecoveryServicesVaultsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetRecoveryServicesVaultsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServices.RecoveryServicesVaultResource>
override this.GetRecoveryServicesVaultsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServices.RecoveryServicesVaultResource>
Public Overridable Function GetRecoveryServicesVaultsAsync (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