Share via


SearchPrivateEndpointConnectionCollection.GetAllAsync Method

Definition

Gets a list of all private endpoint connections in the given service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/privateEndpointConnections
  • Operation Id: PrivateEndpointConnections_ListByService
  • Default Api Version: 2024-03-01-preview
  • Resource: SearchPrivateEndpointConnectionResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Search.SearchPrivateEndpointConnectionResource> GetAllAsync (Azure.ResourceManager.Search.Models.SearchManagementRequestOptions searchManagementRequestOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Azure.ResourceManager.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Search.SearchPrivateEndpointConnectionResource>
override this.GetAllAsync : Azure.ResourceManager.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Search.SearchPrivateEndpointConnectionResource>
Public Overridable Function GetAllAsync (Optional searchManagementRequestOptions As SearchManagementRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SearchPrivateEndpointConnectionResource)

Parameters

searchManagementRequestOptions
SearchManagementRequestOptions

Parameter group.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to