SearchServices Interface
Implements
public interface SearchServices
extends SupportsCreating<Blank>, SupportsListing<SearchService>, SupportsListingByResourceGroup<SearchService>, SupportsGettingByResourceGroup<SearchService>, SupportsGettingById<SearchService>, SupportsDeletingById, SupportsDeletingByResourceGroup, SupportsBatchCreation<SearchService>, HasManager<com.microsoft.azure.management.search.implementation.SearchServiceManager>, HasInner<com.microsoft.azure.management.search.implementation.ServicesInner>
Entry point to Search service management API in Azure.
Modifier and Type | Method and Description |
---|---|
abstract
Check |
check Checks if the specified Search service name is valid and available. |
abstract
rx.Observable<Check |
check Checks if Search service name is valid and is not in use asynchronously. |
abstract
com.microsoft.rest.ServiceFuture<Check |
check Checks if Search service name is valid and is not in use asynchronously. |
abstract
Query |
create Regenerates either the primary or secondary admin API key. |
abstract
rx.Observable<Query |
create Regenerates either the primary or secondary admin API key. |
abstract void |
delete Deletes the specified query key. |
abstract rx.Completable |
delete Deletes the specified query key. |
abstract
Admin |
get Gets the primary and secondary admin API keys for the specified Azure Search service. |
abstract
rx.Observable<Admin |
get Gets the primary and secondary admin API keys for the specified Azure Search service. |
abstract
java.util.List<Query |
list Returns the list of query API keys for the given Azure Search service. |
abstract
rx.Observable<Query |
list Returns the list of query API keys for the given Azure Search service. |
abstract
Admin |
regenerate Regenerates either the primary or secondary admin API key. |
abstract
rx.Observable<Admin |
regenerate Regenerates either the primary or secondary admin API key. |
checkNameAvailability
public abstract CheckNameAvailabilityResult checkNameAvailability(String name)
Checks if the specified Search service name is valid and available.
Parameters:
Returns:
checkNameAvailabilityAsync
public abstract Observable
Checks if Search service name is valid and is not in use asynchronously.
Parameters:
Returns:
checkNameAvailabilityAsync
public abstract ServiceFuture
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 Observable
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 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:
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 Observable
Gets the primary and secondary admin API keys for the specified Azure Search service.
Parameters:
Returns:
listQueryKeys
public abstract List
Returns the list of query API keys for the given Azure Search service.
Parameters:
Returns:
listQueryKeysAsync
public abstract Observable
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 Observable
Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time.
Parameters:
Returns: