ProjectsAgentDefinition.CreateHostedAgentDefinition Method
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.
Creates a hosted agent definition with the specified container configuration.
public static Azure.AI.Projects.Agents.HostedAgentDefinition CreateHostedAgentDefinition(System.Collections.Generic.IEnumerable<Azure.AI.Projects.Agents.ProtocolVersionRecord> containerProtocolVersions, string cpuConfiguration, string memoryConfiguration);
static member CreateHostedAgentDefinition : seq<Azure.AI.Projects.Agents.ProtocolVersionRecord> * string * string -> Azure.AI.Projects.Agents.HostedAgentDefinition
Public Shared Function CreateHostedAgentDefinition (containerProtocolVersions As IEnumerable(Of ProtocolVersionRecord), cpuConfiguration As String, memoryConfiguration As String) As HostedAgentDefinition
Parameters
- containerProtocolVersions
- IEnumerable<ProtocolVersionRecord>
Protocol versions supported by the hosted container.
- cpuConfiguration
- String
The CPU configuration string for the hosted container.
- memoryConfiguration
- String
The memory configuration string for the hosted container.