ProjectsAgentsModelFactory.AgentOptimizationCandidatePromotionInfo Method
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.
Promotion metadata recorded for a candidate.
public static Azure.AI.Projects.Agents.AgentOptimizationCandidatePromotionInfo AgentOptimizationCandidatePromotionInfo(DateTimeOffset promotedOn = default, Azure.AI.Projects.Agents.AgentReference promotedAgent = default);
static member AgentOptimizationCandidatePromotionInfo : DateTimeOffset * Azure.AI.Projects.Agents.AgentReference -> Azure.AI.Projects.Agents.AgentOptimizationCandidatePromotionInfo
Public Shared Function AgentOptimizationCandidatePromotionInfo (Optional promotedOn As DateTimeOffset = Nothing, Optional promotedAgent As AgentReference = Nothing) As AgentOptimizationCandidatePromotionInfo
Parameters
- promotedOn
- DateTimeOffset
Timestamp when promotion occurred, represented in Unix time.
- promotedAgent
- AgentReference
Agent reference associated with the completed promotion.
Returns
A new AgentOptimizationCandidatePromotionInfo instance for mocking.