IndexerExecutionEnvironment Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. search. documents. indexes. models. IndexerExecutionEnvironment
- com.
- com.
public final class IndexerExecutionEnvironment
extends ExpandableStringEnum<IndexerExecutionEnvironment>
Specifies the environment in which the indexer should execute.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Indexer |
PRIVATE
Indicates that the indexer should run with the environment provisioned specifically for the search service. |
static final
Indexer |
STANDARD
Indicates that the search service can determine where the indexer should execute. |
Constructor Summary
Constructor | Description |
---|---|
IndexerExecutionEnvironment() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Indexer |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Indexer |
fromString(String name)
Creates or finds a Indexer |
static
Collection<Indexer |
values()
Gets known Indexer |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
PRIVATE
public static final IndexerExecutionEnvironment PRIVATE
Indicates that the indexer should run with the environment provisioned specifically for the search service. This should only be specified as the execution environment if the indexer needs to access resources securely over shared private link resources.
STANDARD
public static final IndexerExecutionEnvironment STANDARD
Indicates that the search service can determine where the indexer should execute. This is the default environment when nothing is specified and is the recommended value.
Constructor Details
IndexerExecutionEnvironment
@Deprecated
public IndexerExecutionEnvironment()
Deprecated
Creates a new instance of IndexerExecutionEnvironment value.
Method Details
fromString
public static IndexerExecutionEnvironment fromString(String name)
Creates or finds a IndexerExecutionEnvironment from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known IndexerExecutionEnvironment values.
Returns:
Applies to
Azure SDK for Java