Share via


CosmosDBForPostgreSqlPrivateLinkResourceCollection.GetAll Method

Definition

Gets the private link resources for cluster.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/privateLinkResources.
  • Operation Id. : PrivateLinkResources_ListByCluster.
  • Default Api Version. : 2023-03-02-preview.
public virtual Azure.Pageable<Azure.ResourceManager.CosmosDBForPostgreSql.CosmosDBForPostgreSqlPrivateLinkResource> GetAll(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDBForPostgreSql.CosmosDBForPostgreSqlPrivateLinkResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDBForPostgreSql.CosmosDBForPostgreSqlPrivateLinkResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of CosmosDBForPostgreSqlPrivateLinkResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to