Share via


SiteRecoveryRecoveryPlanCollection.GetAll(CancellationToken) Method

Definition

Lists the recovery plans in the vault.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans
  • Operation Id: ReplicationRecoveryPlans_List
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryRecoveryPlanResource
public virtual Azure.Pageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryRecoveryPlanResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryRecoveryPlanResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryRecoveryPlanResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SiteRecoveryRecoveryPlanResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to