Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddProject

Method
📦 Aspire.Hosting.Foundry v17.0.0-preview.1.26565.2
func (FoundryResource) AddProject(name string) AzureCognitiveServicesProjectResource

Signature

methodAddProjectbuilder
Adds a Microsoft Foundry project resource to the application model. This will also attach the project as a deployment target for agents.
AddProject(name string) AzureCognitiveServicesProjectResource
namestringThe name of the Microsoft Foundry project resource.
AzureCognitiveServicesProjectResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: