SearchServices Interface
Implements
public interface SearchServices
extends SupportsCreating<Blank>, SupportsListing<SearchService>, SupportsListingByResourceGroup<SearchService>, SupportsGettingByResourceGroup<SearchService>, SupportsGettingById<SearchService>, SupportsDeletingById, SupportsDeletingByResourceGroup, SupportsBatchCreation<SearchService>, HasManager<SearchServiceManager>
Entry point to Cognitive Search service management API in Azure.
Method Summary
Method Details
checkNameAvailability
public abstract CheckNameAvailabilityOutput checkNameAvailability(String name)
Checks if the specified Search service name is valid and available.
Parameters:
Returns:
checkNameAvailabilityAsync
public abstract Mono
Checks if Search service name is valid and is not in use asynchronously.
Parameters:
Returns:
createQueryKey
public abstract QueryKey createQueryKey(String resourceGroupName, String searchServiceName, String name)
Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time.
Parameters:
Returns:
createQueryKeyAsync
public abstract Mono
Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time.
Parameters:
Returns:
deleteQueryKey
public abstract void deleteQueryKey(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.
Parameters:
deleteQueryKeyAsync
public abstract Mono
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.
Parameters:
Returns:
getAdminKeys
public abstract AdminKeys getAdminKeys(String resourceGroupName, String searchServiceName)
Gets the primary and secondary admin API keys for the specified Azure Search service.
Parameters:
Returns:
getAdminKeysAsync
public abstract Mono
Gets the primary and secondary admin API keys for the specified Azure Search service.
Parameters:
Returns:
listQueryKeys
public abstract PagedIterable
Returns the list of query API keys for the given Azure Search service.
Parameters:
Returns:
listQueryKeysAsync
public abstract PagedFlux
Returns the list of query API keys for the given Azure Search service.
Parameters:
Returns:
regenerateAdminKeys
public abstract AdminKeys regenerateAdminKeys(String resourceGroupName, String searchServiceName, AdminKeyKind keyKind)
Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time.
Parameters:
Returns:
regenerateAdminKeysAsync
public abstract Mono
Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time.
Parameters:
Returns: