CodeDependencyResolution Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. agents. models. CodeDependencyResolution
- com.
- com.
public final class CodeDependencyResolution
extends ExpandableStringEnum<CodeDependencyResolution>
How package dependencies are resolved at deployment time for a code-based hosted agent.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Code |
BUNDLED
The caller has bundled all dependencies into the uploaded zip; the service performs no remote build. |
|
static final
Code |
REMOTE_BUILD
The service builds dependencies remotely from the manifest included in the uploaded zip. |
Constructor Summary
| Constructor | Description |
|---|---|
| CodeDependencyResolution() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Code |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Code |
fromString(String name)
Creates or finds a Code |
|
static
Collection<Code |
values()
Gets known Code |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
BUNDLED
public static final CodeDependencyResolution BUNDLED
The caller has bundled all dependencies into the uploaded zip; the service performs no remote build.
REMOTE_BUILD
public static final CodeDependencyResolution REMOTE_BUILD
The service builds dependencies remotely from the manifest included in the uploaded zip.
Constructor Details
CodeDependencyResolution
@Deprecated
public CodeDependencyResolution()
Deprecated
Creates a new instance of CodeDependencyResolution value.
Method Details
fromString
public static CodeDependencyResolution fromString(String name)
Creates or finds a CodeDependencyResolution from its string representation.
Parameters:
Returns:
values
public static Collection<CodeDependencyResolution> values()
Gets known CodeDependencyResolution values.
Returns: