Share via


MongoClusterResource.GetReplicasByParent(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.Pageable<Azure.ResourceManager.MongoCluster.Models.MongoClusterReplica> GetReplicasByParent (System.Threading.CancellationToken cancellationToken = default);
abstract member GetReplicasByParent : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.MongoCluster.Models.MongoClusterReplica>
override this.GetReplicasByParent : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.MongoCluster.Models.MongoClusterReplica>
Public Overridable Function GetReplicasByParent (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of MongoClusterReplica)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to