ProjectsAgentsModelFactory.PromoteCandidateRequest(String, String) Method

Definition

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.

Applies to