Lingua

ProjectsAgentsModelFactory.AgentIdentity Method

Definition

The AgentIdentity.

public static Azure.AI.Projects.Agents.AgentIdentity AgentIdentity(string principalId = default, string clientId = default, Azure.AI.Projects.Agents.AgentIdentityStatus? status = default);
static member AgentIdentity : string * string * Nullable<Azure.AI.Projects.Agents.AgentIdentityStatus> -> Azure.AI.Projects.Agents.AgentIdentity
Public Shared Function AgentIdentity (Optional principalId As String = Nothing, Optional clientId As String = Nothing, Optional status As Nullable(Of AgentIdentityStatus) = Nothing) As AgentIdentity

Parameters

principalId
String

The principal ID of the agent instance.

clientId
String

The client ID of the agent instance. Also referred to as the instance ID.

status
Nullable<AgentIdentityStatus>

The status of the agent identity. Present for both the agent instance identity and the agent blueprint.

Returns

A new AgentIdentity instance for mocking.

Applies to