Share via


SharedSearchServicePrivateLinkResourceCollection.GetAllAsync Method

Definition

Gets a list of all shared private link resources managed by the given service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources
  • Operation Id: SharedPrivateLinkResources_ListByService
  • Default Api Version: 2024-03-01-preview
  • Resource: SharedSearchServicePrivateLinkResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Search.SharedSearchServicePrivateLinkResource> 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.SharedSearchServicePrivateLinkResource>
override this.GetAllAsync : Azure.ResourceManager.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Search.SharedSearchServicePrivateLinkResource>
Public Overridable Function GetAllAsync (Optional searchManagementRequestOptions As SearchManagementRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SharedSearchServicePrivateLinkResource)

Parameters

searchManagementRequestOptions
SearchManagementRequestOptions

Parameter group.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to