Condividi tramite


SearchServiceResource.GetQueryKeysBySearchServiceAsync 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.AsyncPageable<Azure.ResourceManager.Search.Models.SearchServiceQueryKey> GetQueryKeysBySearchServiceAsync (Azure.ResourceManager.Search.Models.SearchManagementRequestOptions searchManagementRequestOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetQueryKeysBySearchServiceAsync : Azure.ResourceManager.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Search.Models.SearchServiceQueryKey>
override this.GetQueryKeysBySearchServiceAsync : Azure.ResourceManager.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Search.Models.SearchServiceQueryKey>
Public Overridable Function GetQueryKeysBySearchServiceAsync (Optional searchManagementRequestOptions As SearchManagementRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SearchServiceQueryKey)

Parameters

searchManagementRequestOptions
SearchManagementRequestOptions

Parameter group.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to