SearchServices Interface
public interface SearchServices extends SupportsCreating<SearchService.DefinitionStages.Blank>,SupportsListing,SupportsListingByResourceGroup,SupportsGettingByResourceGroup,SupportsGettingById,SupportsDeletingById,SupportsDeletingByResourceGroup,SupportsBatchCreation,HasManager,HasInner
Entry point to Search service management API in Azure.
Method Summary
Modifier and Type | Method and Description |
---|---|
Check |
checkNameAvailability(String name)
Checks if the specified Search service name is valid and available. |
Observable<Check |
checkNameAvailabilityAsync(String name)
Checks if Search service name is valid and is not in use asynchronously. |
ServiceFuture<Check |
checkNameAvailabilityAsync(String name, ServiceCallback<CheckNameAvailabilityResult> callback)
Checks if Search service name is valid and is not in use asynchronously. |
Query |
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. |
Observable<Query |
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. |
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. |
Completable |
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. |
Admin |
getAdminKeys(String resourceGroupName, String searchServiceName)
Gets the primary and secondary admin API keys for the specified Azure Search service. |
Observable<Admin |
getAdminKeysAsync(String resourceGroupName, String searchServiceName)
Gets the primary and secondary admin API keys for the specified Azure Search service. |
List<Query |
listQueryKeys(String resourceGroupName, String searchServiceName)
Returns the list of query API keys for the given Azure Search service. |
Observable<Query |
listQueryKeysAsync(String resourceGroupName, String searchServiceName)
Returns the list of query API keys for the given Azure Search service. |
Admin |
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. |
Observable<Admin |
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. |
Inherited Members
Method Details
checkNameAvailability
public CheckNameAvailabilityResult checkNameAvailability(String name)
Checks if the specified Search service name is valid and available.
Parameters:
Returns:
checkNameAvailabilityAsync
public Observable
Checks if Search service name is valid and is not in use asynchronously.
Parameters:
Returns:
checkNameAvailabilityAsync
public ServiceFuture
Checks if Search service name is valid and is not in use asynchronously.
Parameters:
Returns:
createQueryKey
public 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:
Throws:
createQueryKeyAsync
public Observable
Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time.
Parameters:
Returns:
Throws:
deleteQueryKey
public 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:
Throws:
deleteQueryKeyAsync
public Completable 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:
Throws:
getAdminKeys
public AdminKeys getAdminKeys(String resourceGroupName, String searchServiceName)
Gets the primary and secondary admin API keys for the specified Azure Search service.
Parameters:
Returns:
Throws:
getAdminKeysAsync
public Observable
Gets the primary and secondary admin API keys for the specified Azure Search service.
Parameters:
Returns:
Throws:
listQueryKeys
public List
Returns the list of query API keys for the given Azure Search service.
Parameters:
Returns:
Throws:
listQueryKeysAsync
public Observable
Returns the list of query API keys for the given Azure Search service.
Parameters:
Returns:
Throws:
regenerateAdminKeys
public 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:
Throws:
regenerateAdminKeysAsync
public Observable
Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time.
Parameters:
Returns:
Throws:
Applies to
Azure SDK for Java