ProjectsAgentsModelFactory.PromotionInfo 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 when a candidate is deployed to a Foundry agent.
public static Azure.AI.Projects.Agents.PromotionInfo PromotionInfo(DateTimeOffset promotedAt = default, string agentName = default, string agentVersion = default);
static member PromotionInfo : DateTimeOffset * string * string -> Azure.AI.Projects.Agents.PromotionInfo
Public Shared Function PromotionInfo (Optional promotedAt As DateTimeOffset = Nothing, Optional agentName As String = Nothing, Optional agentVersion As String = Nothing) As PromotionInfo
Parameters
- promotedAt
- DateTimeOffset
Timestamp when promotion occurred, represented in Unix time.
- agentName
- String
Name of the Foundry agent this candidate was promoted to.
- agentVersion
- String
Version of the Foundry agent this candidate was promoted to.
Returns
A new PromotionInfo instance for mocking.