Bagikan melalui


ISearchServices.CreateQueryKey(String, String, String) Method

Definition

Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time.

public Microsoft.Azure.Management.Search.Fluent.IQueryKey CreateQueryKey (string resourceGroupName, string searchServiceName, string name);
abstract member CreateQueryKey : string * string * string -> Microsoft.Azure.Management.Search.Fluent.IQueryKey
Public Function CreateQueryKey (resourceGroupName As String, searchServiceName As String, name As String) As 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.

name
String

The name of the new query API key.

Returns

Applies to