Share via


BatchPrivateEndpointConnectionCollection.GetAllAsync Method

Definition

Lists all of the private endpoint connections in the specified account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections
  • Operation Id: PrivateEndpointConnection_ListByBatchAccount
  • Default Api Version: 2024-02-01
  • Resource: BatchPrivateEndpointConnectionResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Batch.BatchPrivateEndpointConnectionResource> GetAllAsync (int? maxresults = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Batch.BatchPrivateEndpointConnectionResource>
override this.GetAllAsync : Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Batch.BatchPrivateEndpointConnectionResource>
Public Overridable Function GetAllAsync (Optional maxresults As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of BatchPrivateEndpointConnectionResource)

Parameters

maxresults
Nullable<Int32>

The maximum number of items to return in the response.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to