AgentOptimizationJob Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Agent optimization job resource — a long-running job that produces candidate changes to a Foundry agent configuration.
public class AgentOptimizationJob : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.Agents.AgentOptimizationJob>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.Agents.AgentOptimizationJob>
type AgentOptimizationJob = class
interface IJsonModel<AgentOptimizationJob>
interface IPersistableModel<AgentOptimizationJob>
Public Class AgentOptimizationJob
Implements IJsonModel(Of AgentOptimizationJob), IPersistableModel(Of AgentOptimizationJob)
- Inheritance
-
AgentOptimizationJob
- Implements
Constructors
| Name | Description |
|---|---|
| AgentOptimizationJob(AgentOptimizationModelConfiguration, AgentOptimizationConfigurationBase) |
Initializes a new instance of AgentOptimizationJob. |
Properties
| Name | Description |
|---|---|
| CreatedOn |
The timestamp when the job was created, represented in Unix time. |
| DisplayName |
Human-readable label. Omitted when no label is needed; it has no uniqueness, routing, or idempotency semantics. |
| Id |
Server-assigned unique identifier. |
| OptimizationConfiguration |
Type-specific optimization configuration. |
| OptimizationModelConfiguration |
Model used to generate candidate changes. An existing deployment name is also accepted. |
| Result |
Result produced on success. |
| RunDurationMs |
Duration for which the job has been running, in milliseconds. |
| Status |
Current lifecycle status. |
| TargetConfiguration |
Foundry agent whose configuration is optimized. Omitted when the workflow does not target a registered Foundry agent. |
| UpdatedOn |
The timestamp when the job was last updated, represented in Unix time. |
| Warnings |
Non-fatal warnings emitted during optimization. Omitted when no warnings were produced. |
Methods
Operators
| Name | Description |
|---|---|
| Explicit(ClientResult to AgentOptimizationJob) | |
| Implicit(AgentOptimizationJob to BinaryContent) | |