Freigeben über


IndexerExecutionEnvironment Class

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 IndexerExecutionEnvironment PRIVATE

Indicates that the indexer should run with the environment provisioned specifically for the search service.

static final IndexerExecutionEnvironment 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 IndexerExecutionEnvironment value.

Method Summary

Modifier and Type Method and Description
static IndexerExecutionEnvironment fromString(String name)

Creates or finds a IndexerExecutionEnvironment from its string representation.

static Collection<IndexerExecutionEnvironment> values()

Gets known IndexerExecutionEnvironment values.

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

Use the fromString(String name) 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 values()

Gets known IndexerExecutionEnvironment values.

Returns:

known IndexerExecutionEnvironment values.

Applies to