CosmosDBPrivateEndpointConnectionCollection.GetAllAsync 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-05-15-preview
  • Resource: CosmosDBPrivateEndpointConnectionResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.CosmosDBPrivateEndpointConnectionResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.CosmosDBPrivateEndpointConnectionResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.CosmosDBPrivateEndpointConnectionResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CosmosDBPrivateEndpointConnectionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to