Class IndexerExecutionEnvironment
java.lang.Object
com.azure.core.util.ExpandableStringEnum<IndexerExecutionEnvironment>
com.azure.search.documents.indexes.models.IndexerExecutionEnvironment
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class IndexerExecutionEnvironment
extends com.azure.core.util.ExpandableStringEnum<IndexerExecutionEnvironment>
Specifies the environment in which the indexer should execute.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IndexerExecutionEnvironmentIndicates that the indexer should run with the environment provisioned specifically for the search service.static final IndexerExecutionEnvironmentIndicates that the search service can determine where the indexer should execute. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IndexerExecutionEnvironmentfromString(String name) Creates or finds a IndexerExecutionEnvironment from its string representation.values()Gets known IndexerExecutionEnvironment values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
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. -
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.
-
-
Constructor Details
-
IndexerExecutionEnvironment
Deprecated.Use thefromString(String)factory method.Creates a new instance of IndexerExecutionEnvironment value.
-
-
Method Details
-
fromString
Creates or finds a IndexerExecutionEnvironment from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding IndexerExecutionEnvironment.
-
values
Gets known IndexerExecutionEnvironment values.- Returns:
- known IndexerExecutionEnvironment values.
-
fromString(String)factory method.