ProjectsAgentsModelFactory.ProjectsAgentVersion Method

Definition

The ProjectsAgentVersion.

public static Azure.AI.Projects.Agents.ProjectsAgentVersion ProjectsAgentVersion(System.Collections.Generic.IDictionary<string,string> metadata = default, string id = default, string name = default, string version = default, string description = default, DateTimeOffset createdAt = default, Azure.AI.Projects.Agents.ProjectsAgentDefinition definition = default, Azure.AI.Projects.Agents.AgentVersionStatus? status = default, Azure.AI.Projects.Agents.AgentIdentity instanceIdentity = default, Azure.AI.Projects.Agents.AgentIdentity blueprint = default, Azure.AI.Projects.Agents.AgentBlueprintReference blueprintReference = default, string agentGuid = default);
static member ProjectsAgentVersion : System.Collections.Generic.IDictionary<string, string> * string * string * string * string * DateTimeOffset * Azure.AI.Projects.Agents.ProjectsAgentDefinition * Nullable<Azure.AI.Projects.Agents.AgentVersionStatus> * Azure.AI.Projects.Agents.AgentIdentity * Azure.AI.Projects.Agents.AgentIdentity * Azure.AI.Projects.Agents.AgentBlueprintReference * string -> Azure.AI.Projects.Agents.ProjectsAgentVersion
Public Shared Function ProjectsAgentVersion (Optional metadata As IDictionary(Of String, String) = Nothing, Optional id As String = Nothing, Optional name As String = Nothing, Optional version As String = Nothing, Optional description As String = Nothing, Optional createdAt As DateTimeOffset = Nothing, Optional definition As ProjectsAgentDefinition = Nothing, Optional status As Nullable(Of AgentVersionStatus) = Nothing, Optional instanceIdentity As AgentIdentity = Nothing, Optional blueprint As AgentIdentity = Nothing, Optional blueprintReference As AgentBlueprintReference = Nothing, Optional agentGuid As String = Nothing) As ProjectsAgentVersion

Parameters

metadata
IDictionary<String,String>

Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.

id
String

The unique identifier of the agent version.

name
String

The name of the agent. Name can be used to retrieve/update/delete the agent.

version
String

The version identifier of the agent. Agents are immutable and every update creates a new version while keeping the name same.

description
String

A human-readable description of the agent.

createdAt
DateTimeOffset

The Unix timestamp (seconds) when the agent was created.

status
Nullable<AgentVersionStatus>

The provisioning status of the agent version. Defaults to 'active' for non-hosted agents. For hosted agents, reflects infrastructure readiness.

instanceIdentity
AgentIdentity

The instance identity of the agent.

blueprint
AgentIdentity

The blueprint for the agent.

blueprintReference
AgentBlueprintReference

The blueprint for the agent.

agentGuid
String

The unique GUID identifier of the agent.

Returns

A new ProjectsAgentVersion instance for mocking.

Applies to