ProjectsAgentsModelFactory.ProjectsAgentVersion 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.
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);
static member ProjectsAgentVersion : System.Collections.Generic.IDictionary<string, string> * string * string * string * string * DateTimeOffset * Azure.AI.Projects.Agents.ProjectsAgentDefinition -> 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) 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.
- definition
- ProjectsAgentDefinition
Returns
A new ProjectsAgentVersion instance for mocking.