Share via


AIFoundryNetworkInjection Class

Definition

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.

public class AIFoundryNetworkInjection : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CognitiveServices.Models.AIFoundryNetworkInjection>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CognitiveServices.Models.AIFoundryNetworkInjection>
type AIFoundryNetworkInjection = class
    interface IJsonModel<AIFoundryNetworkInjection>
    interface IPersistableModel<AIFoundryNetworkInjection>
Public Class AIFoundryNetworkInjection
Implements IJsonModel(Of AIFoundryNetworkInjection), IPersistableModel(Of AIFoundryNetworkInjection)
Inheritance
AIFoundryNetworkInjection
Implements

Constructors

AIFoundryNetworkInjection()

Initializes a new instance of AIFoundryNetworkInjection.

Properties

Scenario

Specifies what features in AI Foundry network injection applies to. Currently only supports 'agent' for agent scenarios. 'none' means no network injection.

SubnetArmId

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

UseMicrosoftManagedNetwork

Boolean to enable Microsoft Managed Network for subnet delegation.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AIFoundryNetworkInjection>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AIFoundryNetworkInjection>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AIFoundryNetworkInjection>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AIFoundryNetworkInjection>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AIFoundryNetworkInjection>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to