CreateAgentVersionFromCodeMetadata(HostedAgentDefinition) Constructor
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.
Initializes a new instance of CreateAgentVersionFromCodeMetadata.
public CreateAgentVersionFromCodeMetadata(Azure.AI.Projects.Agents.HostedAgentDefinition definition);
new Azure.AI.Projects.Agents.CreateAgentVersionFromCodeMetadata : Azure.AI.Projects.Agents.HostedAgentDefinition -> Azure.AI.Projects.Agents.CreateAgentVersionFromCodeMetadata
Public Sub New (definition As HostedAgentDefinition)
Parameters
- definition
- HostedAgentDefinition
The hosted agent definition including code_configuration (runtime, entry_point), cpu, memory, and protocol_versions.
Exceptions
definition is null.