QueryKeysClientImpl.create(String resourceGroupName, String searchServiceName, String name) Method

Definition

Generates a new query key for the specified search service. You can create up to 50 query keys per service.

public QueryKeyInner create(String resourceGroupName, String searchServiceName, String name)

Parameters

resourceGroupName
java.lang.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
java.lang.String

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

name
java.lang.String

The name of the new query API key.

Returns

describes an API key for a given Azure Cognitive Search service that has permissions for query operations only.

Applies to