SearchService Interface
public interface SearchService extends GroupableResource<SearchServiceManager, SearchServiceInner>,Refreshable,Updatable<SearchService.Update>
An immutable client-side representation of an Azure registry.
Method Summary
Modifier and Type | Method and Description |
---|---|
Query |
createQueryKey(String name)
Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time. |
Observable<Query |
createQueryKeyAsync(String name)
Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time. |
void |
deleteQueryKey(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 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()
The primary and secondary admin API keys for the specified Azure Search service. |
Observable<Admin |
getAdminKeysAsync()
The primary and secondary admin API keys for the specified Azure Search service. |
Hosting |
hostingMode()
The hosting mode value. Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'. |
List<Query |
listQueryKeys()
Returns the list of query API keys for the given Azure Search service. |
Observable<Query |
listQueryKeysAsync()
Returns the list of query API keys for the given Azure Search service. |
int | partitionCount() |
Provisioning |
provisioningState()
The state of the last provisioning operation performed on the Search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up. |
Admin |
regenerateAdminKeys(AdminKeyKind keyKind)
Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time. |
Observable<Admin |
regenerateAdminKeysAsync(AdminKeyKind keyKind)
Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time. |
int | replicaCount() |
Sku | sku() |
Search |
status()
The status of the Search service. Possible values include: 'running': the Search service is running and no provisioning operations are underway. 'provisioning': the Search service is being provisioned or scaled up or down. 'deleting': the Search service is being deleted. 'degraded': the Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': the Search service is disabled. In this state, the service will reject all API requests. 'error': the Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. |
String | statusDetails() |
Inherited Members
Method Details
createQueryKey
public QueryKey createQueryKey(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 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 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()
The primary and secondary admin API keys for the specified Azure Search service.
Returns:
Throws:
getAdminKeysAsync
public Observable
The primary and secondary admin API keys for the specified Azure Search service.
Returns:
Throws:
hostingMode
public HostingMode hostingMode()
The hosting mode value.
Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'.
Returns:
listQueryKeys
public List
Returns the list of query API keys for the given Azure Search service.
Returns:
Throws:
listQueryKeysAsync
public Observable
Returns the list of query API keys for the given Azure Search service.
Returns:
Throws:
partitionCount
public int partitionCount()
Returns:
provisioningState
public ProvisioningState provisioningState()
The state of the last provisioning operation performed on the Search service.
Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'succeeded' or 'failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'succeeded' directly in the call to Create Search service. This is because the free service uses capacity that is already set up.
Returns:
regenerateAdminKeys
public AdminKeys regenerateAdminKeys(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:
replicaCount
public int replicaCount()
Returns:
sku
public Sku sku()
Returns:
status
public SearchServiceStatus status()
The status of the Search service.
Possible values include: 'running': the Search service is running and no provisioning operations are underway. 'provisioning': the Search service is being provisioned or scaled up or down. 'deleting': the Search service is being deleted. 'degraded': the Search service is degraded. This can occur when the underlying search units are not healthy. The Search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': the Search service is disabled. In this state, the service will reject all API requests. 'error': the Search service is in an error state. If your service is in the degraded, disabled, or error states, it means the Azure Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned.
Returns:
statusDetails
public String statusDetails()
Returns:
Applies to
Azure SDK for Java