@Beta(value=V1_2_0) public interface SearchServices extends com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating<SearchService.DefinitionStages.Blank>, com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing<SearchService>, com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsListingByResourceGroup<SearchService>, com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingByResourceGroup<SearchService>, com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById<SearchService>, com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById, com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup, com.microsoft.azure.management.resources.fluentcore.collection.SupportsBatchCreation<SearchService>, com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager<com.microsoft.azure.management.search.implementation.SearchServiceManager>, com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.search.implementation.ServicesInner>
| Modifier and Type | Method and Description |
|---|---|
CheckNameAvailabilityResult |
checkNameAvailability(String name)
Checks if the specified Search service name is valid and available.
|
rx.Observable<CheckNameAvailabilityResult> |
checkNameAvailabilityAsync(String name)
Checks if Search service name is valid and is not in use asynchronously.
|
com.microsoft.rest.ServiceFuture<CheckNameAvailabilityResult> |
checkNameAvailabilityAsync(String name,
com.microsoft.rest.ServiceCallback<CheckNameAvailabilityResult> callback)
Checks if Search service name is valid and is not in use asynchronously.
|
QueryKey |
createQueryKey(String resourceGroupName,
String searchServiceName,
String name)
Regenerates either the primary or secondary admin API key.
|
rx.Observable<QueryKey> |
createQueryKeyAsync(String resourceGroupName,
String searchServiceName,
String name)
Regenerates either the primary or secondary admin API key.
|
void |
deleteQueryKey(String resourceGroupName,
String searchServiceName,
String key)
Deletes the specified query key.
|
rx.Completable |
deleteQueryKeyAsync(String resourceGroupName,
String searchServiceName,
String key)
Deletes the specified query key.
|
AdminKeys |
getAdminKeys(String resourceGroupName,
String searchServiceName)
Gets the primary and secondary admin API keys for the specified Azure Search service.
|
rx.Observable<AdminKeys> |
getAdminKeysAsync(String resourceGroupName,
String searchServiceName)
Gets the primary and secondary admin API keys for the specified Azure Search service.
|
List<QueryKey> |
listQueryKeys(String resourceGroupName,
String searchServiceName)
Returns the list of query API keys for the given Azure Search service.
|
rx.Observable<QueryKey> |
listQueryKeysAsync(String resourceGroupName,
String searchServiceName)
Returns the list of query API keys for the given Azure Search service.
|
AdminKeys |
regenerateAdminKeys(String resourceGroupName,
String searchServiceName,
AdminKeyKind keyKind)
Regenerates either the primary or secondary admin API key.
|
rx.Observable<AdminKeys> |
regenerateAdminKeysAsync(String resourceGroupName,
String searchServiceName,
AdminKeyKind keyKind)
Regenerates either the primary or secondary admin API key.
|
definelist, listAsynclistByResourceGroup, listByResourceGroupAsyncgetByResourceGroup, getByResourceGroupAsync, getByResourceGroupAsyncgetById, getByIdAsync, getByIdAsyncdeleteById, deleteByIdAsync, deleteByIdAsyncdeleteByResourceGroup, deleteByResourceGroupAsync, deleteByResourceGroupAsynccreate, create, createAsync, createAsync, createAsync, createAsyncCheckNameAvailabilityResult checkNameAvailability(String name)
name - the Search service name to checkrx.Observable<CheckNameAvailabilityResult> checkNameAvailabilityAsync(String name)
name - the Search service name to checkcom.microsoft.rest.ServiceFuture<CheckNameAvailabilityResult> checkNameAvailabilityAsync(String name, com.microsoft.rest.ServiceCallback<CheckNameAvailabilityResult> callback)
name - the Search service name to checkcallback - the callback to call on success or failureAdminKeys getAdminKeys(String resourceGroupName, String searchServiceName)
resourceGroupName - The name of the resource group within the current subscription; you can obtain this value from the Azure Resource Manager API or the portalsearchServiceName - The name of the Azure Search service associated with the specified resource groupIllegalArgumentException - thrown if parameters fail the validationcom.microsoft.azure.CloudException - thrown if the request is rejected by serverRuntimeException - all other wrapped checked exceptions if the request fails to be sentrx.Observable<AdminKeys> getAdminKeysAsync(String resourceGroupName, String searchServiceName)
resourceGroupName - The name of the resource group within the current subscription; you can obtain this value from the Azure Resource Manager API or the portalsearchServiceName - The name of the Azure Search service associated with the specified resource groupIllegalArgumentException - thrown if parameters fail the validationList<QueryKey> listQueryKeys(String resourceGroupName, String searchServiceName)
resourceGroupName - The name of the resource group within the current subscription; you can obtain this value from the Azure Resource Manager API or the portalsearchServiceName - The name of the Azure Search service associated with the specified resource groupIllegalArgumentException - thrown if parameters fail the validationcom.microsoft.azure.CloudException - thrown if the request is rejected by serverRuntimeException - all other wrapped checked exceptions if the request fails to be sentrx.Observable<QueryKey> listQueryKeysAsync(String resourceGroupName, String searchServiceName)
resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.searchServiceName - The name of the Azure Search service associated with the specified resource group.IllegalArgumentException - thrown if parameters fail the validationAdminKeys regenerateAdminKeys(String resourceGroupName, String searchServiceName, AdminKeyKind keyKind)
resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.searchServiceName - The name of the Azure Search service associated with the specified resource group.keyKind - Specifies which key to regenerate. Valid values include 'primary' and 'secondary'.
Possible values include: 'primary', 'secondary'IllegalArgumentException - thrown if parameters fail the validationcom.microsoft.azure.CloudException - thrown if the request is rejected by serverRuntimeException - all other wrapped checked exceptions if the request fails to be sentrx.Observable<AdminKeys> regenerateAdminKeysAsync(String resourceGroupName, String searchServiceName, AdminKeyKind keyKind)
resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.searchServiceName - The name of the Azure Search service associated with the specified resource group.keyKind - Specifies which key to regenerate. Valid values include 'primary' and 'secondary'.
Possible values include: 'primary', 'secondary'IllegalArgumentException - thrown if parameters fail the validationQueryKey createQueryKey(String resourceGroupName, String searchServiceName, String name)
resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.searchServiceName - The name of the Azure Search service associated with the specified resource group.name - The name of the new query API key.IllegalArgumentException - thrown if parameters fail the validationcom.microsoft.azure.CloudException - thrown if the request is rejected by serverRuntimeException - all other wrapped checked exceptions if the request fails to be sentrx.Observable<QueryKey> createQueryKeyAsync(String resourceGroupName, String searchServiceName, String name)
resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.searchServiceName - The name of the Azure Search service associated with the specified resource group.name - The name of the new query API key.IllegalArgumentException - thrown if parameters fail the validationvoid deleteQueryKey(String resourceGroupName, String searchServiceName, String key)
resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.searchServiceName - The name of the Azure Search service associated with the specified resource group.key - The query key to be deleted. Query keys are identified by value, not by name.IllegalArgumentException - thrown if parameters fail the validationcom.microsoft.azure.CloudException - thrown if the request is rejected by serverRuntimeException - all other wrapped checked exceptions if the request fails to be sentrx.Completable deleteQueryKeyAsync(String resourceGroupName, String searchServiceName, String key)
resourceGroupName - The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.searchServiceName - The name of the Azure Search service associated with the specified resource group.key - The query key to be deleted. Query keys are identified by value, not by name.IllegalArgumentException - thrown if parameters fail the validation/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/