Bagikan melalui


ISearchServices.ListQueryKeysAsync(String, String, CancellationToken) Method

Definition

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

public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Search.Fluent.IQueryKey>> ListQueryKeysAsync (string resourceGroupName, string searchServiceName, System.Threading.CancellationToken cancellationToken = default);
abstract member ListQueryKeysAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.Search.Fluent.IQueryKey>>
Public Function ListQueryKeysAsync (resourceGroupName As String, searchServiceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of IQueryKey))

Parameters

resourceGroupName
String

The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.

searchServiceName
String

The name of the Azure Search service associated with the specified resource group.

cancellationToken
CancellationToken

Returns

Applies to