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
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Check |
checkNameAvailability(String name)
Checks if the specified Search service name is valid and available. |
|
abstract
reactor.core.publisher.Mono<Check |
checkNameAvailabilityAsync(String name)
Checks if Search service name is valid and is not in use asynchronously. |
|
abstract
Query |
createQueryKey(String resourceGroupName, String searchServiceName, String name)
Regenerates either the primary or secondary admin API key. |
|
abstract
reactor.core.publisher.Mono<Query |
createQueryKeyAsync(String resourceGroupName, String searchServiceName, String name)
Regenerates either the primary or secondary admin API key. |
| abstract void |
deleteQueryKey(String resourceGroupName, String searchServiceName, String key)
Deletes the specified query key. |
| abstract reactor.core.publisher.Mono<Void> |
deleteQueryKeyAsync(String resourceGroupName, String searchServiceName, String key)
Deletes the specified query key. |
|
abstract
Admin |
getAdminKeys(String resourceGroupName, String searchServiceName)
Gets the primary and secondary admin API keys for the specified Azure Search service. |
|
abstract
reactor.core.publisher.Mono<Admin |
getAdminKeysAsync(String resourceGroupName, String searchServiceName)
Gets the primary and secondary admin API keys for the specified Azure Search service. |
|
abstract
Paged |
listQueryKeys(String resourceGroupName, String searchServiceName)
Returns the list of query API keys for the given Azure Search service. |
|
abstract
Paged |
listQueryKeysAsync(String resourceGroupName, String searchServiceName)
Returns the list of query API keys for the given Azure Search service. |
|
abstract
Admin |
regenerateAdminKeys(String resourceGroupName, String searchServiceName, AdminKeyKind keyKind)
Regenerates either the primary or secondary admin API key. |
|
abstract
reactor.core.publisher.Mono<Admin |
regenerateAdminKeysAsync(String resourceGroupName, String searchServiceName, AdminKeyKind keyKind)
Regenerates either the primary or secondary admin API key. |
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<CheckNameAvailabilityOutput> checkNameAvailabilityAsync(String name)
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<QueryKey> createQueryKeyAsync(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:
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<Void> deleteQueryKeyAsync(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:
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<AdminKeys> getAdminKeysAsync(String resourceGroupName, String searchServiceName)
Gets the primary and secondary admin API keys for the specified Azure Search service.
Parameters:
Returns:
listQueryKeys
public abstract PagedIterable<QueryKey> listQueryKeys(String resourceGroupName, String searchServiceName)
Returns the list of query API keys for the given Azure Search service.
Parameters:
Returns:
listQueryKeysAsync
public abstract PagedFlux<QueryKey> listQueryKeysAsync(String resourceGroupName, String searchServiceName)
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<AdminKeys> regenerateAdminKeysAsync(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: