Share via


SqlPrivateEndpointConnectionCollection.GetAllAsync(CancellationToken) Method

Definition

Gets all private endpoint connections on a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateEndpointConnections
  • Operation Id: PrivateEndpointConnections_ListByServer
  • Default Api Version: 2022-08-01-preview
  • Resource: SqlPrivateEndpointConnectionResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.SqlPrivateEndpointConnectionResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.SqlPrivateEndpointConnectionResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.SqlPrivateEndpointConnectionResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SqlPrivateEndpointConnectionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to