Share via


CreateAgentVersionFromManifestRequest Class

Definition

The CreateAgentVersionFromManifestRequest.

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

Constructors

Name Description
CreateAgentVersionFromManifestRequest(String, IDictionary<String,BinaryData>)

Initializes a new instance of CreateAgentVersionFromManifestRequest.

Properties

Name Description
Description

A human-readable description of the agent.

ManifestId

The manifest ID to import the agent version from.

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.

ParameterValues

The inputs to the manifest that will result in a fully materialized Agent.

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"). : Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""). : Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }). : Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"). : Creates a payload of { "key": "value" }.

Methods

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

Explicit Interface Implementations

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

Applies to