KnowledgeSourceNetworkAccessMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. search. documents. knowledgebases. models. KnowledgeSourceNetworkAccessMode
- com.
- com.
public final class KnowledgeSourceNetworkAccessMode
extends ExpandableStringEnum<KnowledgeSourceNetworkAccessMode>
Specifies the network access mode for knowledge source ingestion. Default is 'public'.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Knowledge |
PRIVATE
Ingestion runs in a private execution environment so it can reach data sources and dependencies over a private network (private endpoint / shared private link). |
|
static final
Knowledge |
PUBLIC
Ingestion runs in the standard, publicly reachable execution environment. |
Constructor Summary
| Constructor | Description |
|---|---|
| KnowledgeSourceNetworkAccessMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Knowledge |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Knowledge |
fromString(String name)
Creates or finds a Knowledge |
|
static
Collection<Knowledge |
values()
Gets known Knowledge |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
PRIVATE
public static final KnowledgeSourceNetworkAccessMode PRIVATE
Ingestion runs in a private execution environment so it can reach data sources and dependencies over a private network (private endpoint / shared private link).
PUBLIC
public static final KnowledgeSourceNetworkAccessMode PUBLIC
Ingestion runs in the standard, publicly reachable execution environment. This is the default.
Constructor Details
KnowledgeSourceNetworkAccessMode
@Deprecated
public KnowledgeSourceNetworkAccessMode()
Deprecated
Creates a new instance of KnowledgeSourceNetworkAccessMode value.
Method Details
fromString
public static KnowledgeSourceNetworkAccessMode fromString(String name)
Creates or finds a KnowledgeSourceNetworkAccessMode from its string representation.
Parameters:
Returns:
values
public static Collection<KnowledgeSourceNetworkAccessMode> values()
Gets known KnowledgeSourceNetworkAccessMode values.
Returns: