ProjectsAgentsModelFactory.ToolboxVersion Method

Definition

A specific version of a toolbox.

public static Azure.AI.Projects.Agents.ToolboxVersion ToolboxVersion(System.Collections.Generic.IDictionary<string,string> metadata = default, string id = default, string name = default, string version = default, string description = default, DateTimeOffset createdAt = default, System.Collections.Generic.IEnumerable<Azure.AI.Projects.Agents.ProjectsAgentTool> tools = default, Azure.AI.Projects.Agents.ToolboxPolicies policies = default);
static member ToolboxVersion : System.Collections.Generic.IDictionary<string, string> * string * string * string * string * DateTimeOffset * seq<Azure.AI.Projects.Agents.ProjectsAgentTool> * Azure.AI.Projects.Agents.ToolboxPolicies -> Azure.AI.Projects.Agents.ToolboxVersion
Public Shared Function ToolboxVersion (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 tools As IEnumerable(Of ProjectsAgentTool) = Nothing, Optional policies As ToolboxPolicies = Nothing) As ToolboxVersion

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 toolbox version.

name
String

The name of the toolbox.

version
String

The version identifier of the toolbox. Toolbox versions are immutable and every update creates a new version.

description
String

A human-readable description of the toolbox.

createdAt
DateTimeOffset

The Unix timestamp (seconds) when the toolbox version was created.

tools
IEnumerable<ProjectsAgentTool>

The list of tools contained in this toolbox version.

policies
ToolboxPolicies

Policy configuration for the toolbox version.

Returns

A new ToolboxVersion instance for mocking.

Applies to