Share via


AzureAIFoundryResource Constructor

Definition

Represents an Azure AI Foundry resource.

public AzureAIFoundryResource(string name, Action<Aspire.Hosting.Azure.AzureResourceInfrastructure> configureInfrastructure);
new Aspire.Hosting.Azure.AzureAIFoundryResource : string * Action<Aspire.Hosting.Azure.AzureResourceInfrastructure> -> Aspire.Hosting.Azure.AzureAIFoundryResource
Public Sub New (name As String, configureInfrastructure As Action(Of AzureResourceInfrastructure))

Parameters

name
String

The name of the resource.

configureInfrastructure
Action<AzureResourceInfrastructure>

Configures the underlying Azure resource using Azure.Provisioning.

Applies to