ImageBasedHostedAgentDefinition 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 ImageBasedHostedAgentDefinition.
public ImageBasedHostedAgentDefinition(System.Collections.Generic.IEnumerable<Azure.AI.Projects.OpenAI.ProtocolVersionRecord> containerProtocolVersions, string cpu, string memory, string image);
new Azure.AI.Projects.OpenAI.ImageBasedHostedAgentDefinition : seq<Azure.AI.Projects.OpenAI.ProtocolVersionRecord> * string * string * string -> Azure.AI.Projects.OpenAI.ImageBasedHostedAgentDefinition
Public Sub New (containerProtocolVersions As IEnumerable(Of ProtocolVersionRecord), cpu As String, memory As String, image As String)
Parameters
- containerProtocolVersions
- IEnumerable<ProtocolVersionRecord>
The protocols that the agent supports for ingress communication of the containers.
- cpu
- String
The CPU configuration for the hosted agent.
- memory
- String
The memory configuration for the hosted agent.
- image
- String
The image for the hosted agent.
Exceptions
containerProtocolVersions, cpu, memory or image is null.