AgentAdministrationClient.CreateAgentVersionFromManifest 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.
Creates a new version of an agent from an agent manifest.
public virtual System.ClientModel.ClientResult<Azure.AI.Projects.Agents.ProjectsAgentVersion> CreateAgentVersionFromManifest(string agentName, string manifestId, Azure.AI.Projects.Agents.AgentManifestOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateAgentVersionFromManifest : string * string * Azure.AI.Projects.Agents.AgentManifestOptions * System.Threading.CancellationToken -> System.ClientModel.ClientResult<Azure.AI.Projects.Agents.ProjectsAgentVersion>
override this.CreateAgentVersionFromManifest : string * string * Azure.AI.Projects.Agents.AgentManifestOptions * System.Threading.CancellationToken -> System.ClientModel.ClientResult<Azure.AI.Projects.Agents.ProjectsAgentVersion>
Public Overridable Function CreateAgentVersionFromManifest (agentName As String, manifestId As String, Optional options As AgentManifestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ClientResult(Of ProjectsAgentVersion)
Parameters
- agentName
- String
The name of the agent to create a version for.
- manifestId
- String
The identifier of the agent manifest to use.
- options
- AgentManifestOptions
Options describing the manifest-based creation request.
- cancellationToken
- CancellationToken
The cancellation token to use.