Share via


NetworkInjection Class

Specifies in AI Foundry where virtual network injection occurs to secure scenarios like Agents entirely within the user's private network, eliminating public internet exposure while maintaining control over network configurations and resources.

Constructor

NetworkInjection(*, scenario: str | _models.ScenarioType | None = None, subnet_arm_id: str | None = None, use_microsoft_managed_network: bool | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
scenario

Specifies what features in AI Foundry network injection applies to. Currently only supports 'agent' for agent scenarios. 'none' means no network injection. Known values are: "none" and "agent".

Default value: None
subnet_arm_id
str

Specify the subnet for which your Agent Client is injected into.

Default value: None
use_microsoft_managed_network

Boolean to enable Microsoft Managed Network for subnet delegation.

Default value: None

Variables

Name Description
scenario

Specifies what features in AI Foundry network injection applies to. Currently only supports 'agent' for agent scenarios. 'none' means no network injection. Known values are: "none" and "agent".

subnet_arm_id
str

Specify the subnet for which your Agent Client is injected into.

use_microsoft_managed_network

Boolean to enable Microsoft Managed Network for subnet delegation.