ProjectsAgentsModelFactory.PromoteCandidateRequest(String, String) 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.
Request body for promoting a candidate to a Foundry agent version.
public static Azure.AI.Projects.Agents.PromoteCandidateRequest PromoteCandidateRequest(string agentName = default, string agentVersion = default);
static member PromoteCandidateRequest : string * string -> Azure.AI.Projects.Agents.PromoteCandidateRequest
Public Shared Function PromoteCandidateRequest (Optional agentName As String = Nothing, Optional agentVersion As String = Nothing) As PromoteCandidateRequest
Parameters
- agentName
- String
Name of the Foundry agent to promote to.
- agentVersion
- String
Version of the Foundry agent to promote to.
Returns
A new PromoteCandidateRequest instance for mocking.