Share via


ImageBasedHostedAgentDefinition Constructor

Definition

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.

Applies to