Share via


SearchServiceResource.GetQueryKeysBySearchService Method

Definition

Returns the list of query API keys for the given Azure AI Search service.

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

Parameters

searchManagementRequestOptions
SearchManagementRequestOptions

Parameter group.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of SearchServiceQueryKey that may take multiple service requests to iterate over.

Applies to