ISearchServices.DeleteQueryKeyAsync Method

Definition

Deletes the specified query key. Unlike admin keys, query keys are not regenerated. The process for regenerating a query key is to delete and then recreate it.

public System.Threading.Tasks.Task DeleteQueryKeyAsync (string resourceGroupName, string searchServiceName, string key, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteQueryKeyAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteQueryKeyAsync (resourceGroupName As String, searchServiceName As String, key As String, Optional cancellationToken As CancellationToken = Nothing) As Task

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.

key
String

The query key to be deleted. Query keys are identified by value, not by name.

cancellationToken
CancellationToken

Returns

Applies to