ProjectsAgentsModelFactory.ProjectsAgentRecord Method

Definition

Creates a new instance of ProjectsAgentRecord for mocking.

public static Azure.AI.Projects.Agents.ProjectsAgentRecord ProjectsAgentRecord(string id = default, string name = default, Azure.AI.Projects.Agents.AgentState state = default);
static member ProjectsAgentRecord : string * string * Azure.AI.Projects.Agents.AgentState -> Azure.AI.Projects.Agents.ProjectsAgentRecord
Public Shared Function ProjectsAgentRecord (Optional id As String = Nothing, Optional name As String = Nothing, Optional state As AgentState = Nothing) As ProjectsAgentRecord

Parameters

id
String

The agent identifier.

name
String

The agent name.

state
AgentState

The agent state.

Returns

Applies to