Freigeben über


ProjectsAgentVersion Class

Definition

The ProjectsAgentVersion.

public class ProjectsAgentVersion : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.Agents.ProjectsAgentVersion>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.Agents.ProjectsAgentVersion>
type ProjectsAgentVersion = class
    interface IJsonModel<ProjectsAgentVersion>
    interface IPersistableModel<ProjectsAgentVersion>
Public Class ProjectsAgentVersion
Implements IJsonModel(Of ProjectsAgentVersion), IPersistableModel(Of ProjectsAgentVersion)
Inheritance
ProjectsAgentVersion
Implements

Properties

Name Description
CreatedAt

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

Definition

Gets the Definition.

Description

A human-readable description of the agent.

Id

The unique identifier of the agent version.

Metadata

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.

Name

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

Version

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

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Operators

Name Description
Explicit(ClientResult to ProjectsAgentVersion)

Explicit Interface Implementations

Name Description
IJsonModel<ProjectsAgentVersion>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<ProjectsAgentVersion>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<ProjectsAgentVersion>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<ProjectsAgentVersion>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<ProjectsAgentVersion>.Write(ModelReaderWriterOptions)

Applies to