DataReplicationFabricAgentCollection.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. : FabricAgent_List.
  • Default Api Version. : 2024-09-01.
public virtual Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationFabricAgentResource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationFabricAgentResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationFabricAgentResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DataReplicationFabricAgentResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to