ReplicationEligibilityResultCollection.GetAllAsync(CancellationToken) Method

Definition

Validates whether a given VM can be protected or not in which case returns list of errors.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to