CosmosDBPrivateEndpointConnectionCollection.GetAll(CancellationToken) Method

Definition

List all private endpoint connections on a Cosmos DB account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/privateEndpointConnections
  • Operation Id: PrivateEndpointConnections_ListByDatabaseAccount
  • Default Api Version: 2024-09-01-preview
  • Resource: CosmosDBPrivateEndpointConnectionResource
public virtual Azure.Pageable<Azure.ResourceManager.CosmosDB.CosmosDBPrivateEndpointConnectionResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDB.CosmosDBPrivateEndpointConnectionResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDB.CosmosDBPrivateEndpointConnectionResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of CosmosDBPrivateEndpointConnectionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to