AzureCognitiveServicesProjectResource Constructors
ClassConstructors1 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) { // ... }}Parameters
namestringThe name of the resource.configureInfrastructureAction<AzureResourceInfrastructure>Configures the underlying Azure resource using Azure.Provisioning.parentFoundryResourceThe parent Microsoft Foundry resource.