Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddCapabilityHost

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

Signature

methodAddCapabilityHostbuilder
Adds a capability host to the Microsoft Foundry project.
AddCapabilityHost(name string) AzureCognitiveServicesProjectResource
namestringThe name of the capability host.
AzureCognitiveServicesProjectResource

A reference to the project builder for chaining capability host configuration.

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

Applies to

This method applies to the following types: