Skip to content
Docs Try Aspire

AzureCognitiveServicesProjectResource Constructors

Class Constructors 1 member
The Microsoft Foundry project resource that can be used for Microsoft Foundry AI agents. This also functions as an Aspire compute environment resource for deployment.
Constructor(string, Action<AzureResourceInfrastructure>, FoundryResource) Section titled Constructor(string, Action<AzureResourceInfrastructure>, FoundryResource)
Creates a new Microsoft Foundry project resource.
public class AzureCognitiveServicesProjectResource
{
public AzureCognitiveServicesProjectResource(
string name,
Action<AzureResourceInfrastructure> configureInfrastructure,
FoundryResource parent)
{
// ...
}
}
name string The name of the resource.
configureInfrastructure Action<AzureResourceInfrastructure> Configures the underlying Azure resource using Azure.Provisioning.
parent FoundryResource The parent Microsoft Foundry resource.