Share via


MongoClusterResource.GetPrivateLinks(CancellationToken) Method

Definition

list private links on the given resource

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to