ProjectsAgentsModelFactory.ToolboxShellContainerAutoEnvironment 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.
An automatically provisioned container environment for a shell tool stored in a toolbox.
public static Azure.AI.Projects.Agents.ToolboxShellContainerAutoEnvironment ToolboxShellContainerAutoEnvironment(System.Collections.Generic.IEnumerable<string> fileIds = default, OpenAI.ContainerMemoryLimit? memoryLimit = default, System.Collections.Generic.IEnumerable<OpenAI.ContainerSkill> skills = default, Azure.AI.Projects.Agents.ToolboxShellNetworkPolicy networkPolicy = default);
static member ToolboxShellContainerAutoEnvironment : seq<string> * Nullable<OpenAI.ContainerMemoryLimit> * seq<OpenAI.ContainerSkill> * Azure.AI.Projects.Agents.ToolboxShellNetworkPolicy -> Azure.AI.Projects.Agents.ToolboxShellContainerAutoEnvironment
Public Shared Function ToolboxShellContainerAutoEnvironment (Optional fileIds As IEnumerable(Of String) = Nothing, Optional memoryLimit As Nullable(Of ContainerMemoryLimit) = Nothing, Optional skills As IEnumerable(Of ContainerSkill) = Nothing, Optional networkPolicy As ToolboxShellNetworkPolicy = Nothing) As ToolboxShellContainerAutoEnvironment
Parameters
- fileIds
- IEnumerable<String>
An optional list of uploaded files to make available to your code.
- memoryLimit
- Nullable<ContainerMemoryLimit>
- skills
- IEnumerable<ContainerSkill>
An optional list of skills referenced by id or inline data.
- networkPolicy
- ToolboxShellNetworkPolicy
The network access policy for the container. When omitted, the service defaults to disabled outbound network access.
Returns
A new ToolboxShellContainerAutoEnvironment instance for mocking.