Share via


EventHubsPrivateEndpointConnectionCollection.GetAllAsync Method

Definition

Gets the available PrivateEndpointConnections within a namespace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/privateEndpointConnections
  • Operation Id: PrivateEndpointConnections_List
  • Default Api Version: 2024-01-01
  • Resource: EventHubsPrivateEndpointConnectionResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.EventHubs.EventHubsPrivateEndpointConnectionResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.EventHubs.EventHubsPrivateEndpointConnectionResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.EventHubs.EventHubsPrivateEndpointConnectionResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of EventHubsPrivateEndpointConnectionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to