DataReplicationDraCollection.GetAllAsync(CancellationToken) Method

Definition

Gets the list of fabric agents in the given fabric.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}/fabricAgents
  • Operation Id: Dra_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationDraResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationDraResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationDraResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DataReplicationDraResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to