QueryKeysClient Interface
public interface QueryKeysClient
An instance of this class provides access to all the operations defined in QueryKeysClient.
Method Summary
Method Details
create
public abstract QueryKeyInner create(String resourceGroupName, String searchServiceName, String name)
Generates a new query key for the specified search service. You can create up to 50 query keys per service.
Parameters:
Returns:
createAsync
public abstract Mono<QueryKeyInner> createAsync(String resourceGroupName, String searchServiceName, String name)
Generates a new query key for the specified search service. You can create up to 50 query keys per service.
Parameters:
Returns:
createWithResponse
public abstract Response<QueryKeyInner> createWithResponse(String resourceGroupName, String searchServiceName, String name, Context context)
Generates a new query key for the specified search service. You can create up to 50 query keys per service.
Parameters:
Returns:
createWithResponseAsync
public abstract Mono<Response<QueryKeyInner>> createWithResponseAsync(String resourceGroupName, String searchServiceName, String name)
Generates a new query key for the specified search service. You can create up to 50 query keys per service.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String searchServiceName, String key)
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. Returns 200 (OK) on successful deletion, 204 (No Content) if the service exists but the query keys not found, or 404 (Not Found) if the service is not found. NOTE: The behavior of returning 404 is inconsistent with ARM guidelines. Clients should expect a 204 response in future versions and avoid new dependencies on the 404 response.
Parameters:
deleteAsync
public abstract Mono<Void> deleteAsync(String resourceGroupName, String searchServiceName, String key)
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. Returns 200 (OK) on successful deletion, 204 (No Content) if the service exists but the query keys not found, or 404 (Not Found) if the service is not found. NOTE: The behavior of returning 404 is inconsistent with ARM guidelines. Clients should expect a 204 response in future versions and avoid new dependencies on the 404 response.
Parameters:
Returns:
deleteWithResponse
public abstract Response<Void> deleteWithResponse(String resourceGroupName, String searchServiceName, String key, Context context)
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. Returns 200 (OK) on successful deletion, 204 (No Content) if the service exists but the query keys not found, or 404 (Not Found) if the service is not found. NOTE: The behavior of returning 404 is inconsistent with ARM guidelines. Clients should expect a 204 response in future versions and avoid new dependencies on the 404 response.
Parameters:
Returns:
deleteWithResponseAsync
public abstract Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String searchServiceName, String key)
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. Returns 200 (OK) on successful deletion, 204 (No Content) if the service exists but the query keys not found, or 404 (Not Found) if the service is not found. NOTE: The behavior of returning 404 is inconsistent with ARM guidelines. Clients should expect a 204 response in future versions and avoid new dependencies on the 404 response.
Parameters:
Returns:
listBySearchService
public abstract PagedIterable<QueryKeyInner> listBySearchService(String resourceGroupName, String searchServiceName)
Returns the list of query API keys for the given Azure AI Search service.
Parameters:
Returns:
listBySearchService
public abstract PagedIterable<QueryKeyInner> listBySearchService(String resourceGroupName, String searchServiceName, Context context)
Returns the list of query API keys for the given Azure AI Search service.
Parameters:
Returns:
listBySearchServiceAsync
public abstract PagedFlux<QueryKeyInner> listBySearchServiceAsync(String resourceGroupName, String searchServiceName)
Returns the list of query API keys for the given Azure AI Search service.
Parameters:
Returns: