次の方法で共有


HostedAgentDefinition Constructors

Definition

Overloads

HostedAgentDefinition(String, String)

Source:
HostedAgentDefinition.cs

Initializes a new instance of HostedAgentDefinition.

public HostedAgentDefinition(string cpu, string memory);
new Azure.AI.Projects.Agents.HostedAgentDefinition : string * string -> Azure.AI.Projects.Agents.HostedAgentDefinition
Public Sub New (cpu As String, memory As String)

Parameters

cpu
String

The CPU configuration for the hosted agent.

memory
String

The memory configuration for the hosted agent.

Exceptions

cpu or memory is null.

Applies to

HostedAgentDefinition(IEnumerable<ProtocolVersionRecord>, String, String)

Source:
HostedAgentDefinition.cs
Source:
HostedAgentDefinition.cs

Initializes a new instance of HostedAgentDefinition.

public HostedAgentDefinition(System.Collections.Generic.IEnumerable<Azure.AI.Projects.Agents.ProtocolVersionRecord> versions, string cpu, string memory);
new Azure.AI.Projects.Agents.HostedAgentDefinition : seq<Azure.AI.Projects.Agents.ProtocolVersionRecord> * string * string -> Azure.AI.Projects.Agents.HostedAgentDefinition
Public Sub New (versions As IEnumerable(Of ProtocolVersionRecord), cpu As String, memory As String)

Parameters

versions
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.

Exceptions

cpu or memory is null.

Applies to