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 Details

    • 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.
    • 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.
  • Constructor Details

    • IndexerExecutionEnvironment

      @Deprecated public IndexerExecutionEnvironment()
      Deprecated.
      Use the fromString(String) factory method.
      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:
      name - a name to look for.
      Returns:
      the corresponding IndexerExecutionEnvironment.
    • values

      public static Collection<IndexerExecutionEnvironment> values()
      Gets known IndexerExecutionEnvironment values.
      Returns:
      known IndexerExecutionEnvironment values.