@Beta(value=V1_2_0) public interface SearchService extends GroupableResource<com.microsoft.azure.management.search.implementation.SearchServiceManager,com.microsoft.azure.management.search.implementation.SearchServiceInner>, Refreshable<SearchService>, Updatable<SearchService.Update>
Modifier and Type | Interface and Description |
---|---|
static interface |
SearchService.Definition
The entirety of the Search service definition.
|
static interface |
SearchService.DefinitionStages
Grouping of virtual network definition stages.
|
static interface |
SearchService.Update
The template for a Search service update operation, containing all the settings that can be modified.
|
static interface |
SearchService.UpdateStages
Grouping of all the Search service update stages.
|
Resource.DefinitionWithRegion<T>, Resource.DefinitionWithTags<T>, Resource.UpdateWithTags<T>
Modifier and Type | Method and Description |
---|---|
QueryKey |
createQueryKey(String name)
Regenerates either the primary or secondary admin API key.
|
rx.Observable<QueryKey> |
createQueryKeyAsync(String name)
Regenerates either the primary or secondary admin API key.
|
void |
deleteQueryKey(String key)
Deletes the specified query key.
|
rx.Completable |
deleteQueryKeyAsync(String key)
Deletes the specified query key.
|
AdminKeys |
getAdminKeys()
The primary and secondary admin API keys for the specified Azure Search service.
|
rx.Observable<AdminKeys> |
getAdminKeysAsync()
The primary and secondary admin API keys for the specified Azure Search service.
|
HostingMode |
hostingMode()
The hosting mode value.
|
List<QueryKey> |
listQueryKeys()
Returns the list of query API keys for the given Azure Search service.
|
rx.Observable<QueryKey> |
listQueryKeysAsync()
Returns the list of query API keys for the given Azure Search service.
|
int |
partitionCount() |
ProvisioningState |
provisioningState()
The state of the last provisioning operation performed on the Search service.
|
AdminKeys |
regenerateAdminKeys(AdminKeyKind keyKind)
Regenerates either the primary or secondary admin API key.
|
rx.Observable<AdminKeys> |
regenerateAdminKeysAsync(AdminKeyKind keyKind)
Regenerates either the primary or secondary admin API key.
|
int |
replicaCount() |
Sku |
sku() |
SearchServiceStatus |
status()
The status of the Search service.
|
String |
statusDetails() |
region, regionName, tags, type
key
id
name
resourceGroupName
manager
inner
refresh, refreshAsync
HostingMode hostingMode()
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'.
int partitionCount()
ProvisioningState provisioningState()
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.
int replicaCount()
Sku sku()
SearchServiceStatus status()
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()
AdminKeys getAdminKeys()
IllegalArgumentException
- thrown if parameters fail the validationCloudException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentrx.Observable<AdminKeys> getAdminKeysAsync()
IllegalArgumentException
- thrown if parameters fail the validationList<QueryKey> listQueryKeys()
IllegalArgumentException
- thrown if parameters fail the validationCloudException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentrx.Observable<QueryKey> listQueryKeysAsync()
IllegalArgumentException
- thrown if parameters fail the validationAdminKeys regenerateAdminKeys(AdminKeyKind keyKind)
You can only regenerate one key at a time.
keyKind
- specifies which key to regenerateIllegalArgumentException
- thrown if parameters fail the validationCloudException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentrx.Observable<AdminKeys> regenerateAdminKeysAsync(AdminKeyKind keyKind)
keyKind
- Specifies which key to regenerateIllegalArgumentException
- thrown if parameters fail the validationQueryKey createQueryKey(String name)
You can only regenerate one key at a time.
name
- The name of the new query API key.IllegalArgumentException
- thrown if parameters fail the validationCloudException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentrx.Observable<QueryKey> createQueryKeyAsync(String name)
You can only regenerate one key at a time.
name
- The name of the new query API key.IllegalArgumentException
- thrown if parameters fail the validationvoid deleteQueryKey(String key)
Unlike admin keys, query keys are not regenerated. The process for regenerating a query key is to delete and then recreate it.
key
- The query key to be deleted. Query keys are identified by value, not by name.IllegalArgumentException
- thrown if parameters fail the validationCloudException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sentrx.Completable deleteQueryKeyAsync(String key)
Unlike admin keys, query keys are not regenerated. The process for regenerating a query key is to delete and then recreate it.
key
- The query key to be deleted. Query keys are identified by value, not by name.IllegalArgumentException
- thrown if parameters fail the validationCopyright © 2019. All rights reserved.