MongoClusterResource.GetReplicasByParentAsync(CancellationToken) Method

Definition

List all the replicas for the mongo cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/replicas
  • Operation Id: Replica_ListByParent
  • Default Api Version: 2024-07-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.MongoCluster.Models.MongoClusterReplica> GetReplicasByParentAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetReplicasByParentAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MongoCluster.Models.MongoClusterReplica>
override this.GetReplicasByParentAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MongoCluster.Models.MongoClusterReplica>
Public Overridable Function GetReplicasByParentAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MongoClusterReplica)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to