CreateAgentFromCodeOptions 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 CreateAgentFromCodeOptions.
public CreateAgentFromCodeOptions(Azure.AI.Projects.Agents.CreateAgentVersionFromCodeMetadata metadata, BinaryData code);
new Azure.AI.Projects.Agents.CreateAgentFromCodeOptions : Azure.AI.Projects.Agents.CreateAgentVersionFromCodeMetadata * BinaryData -> Azure.AI.Projects.Agents.CreateAgentFromCodeOptions
Public Sub New (metadata As CreateAgentVersionFromCodeMetadata, code As BinaryData)
Parameters
- metadata
- CreateAgentVersionFromCodeMetadata
JSON metadata including description and hosted definition.
- code
- BinaryData
The code zip file (max 250 MB).
Exceptions
metadata or code is null.