Watch Aspire live streamsDocsTry Aspire

addCapabilityHost

Method
📦 Aspire.Hosting.Foundry v13.6.0-preview.1.26478.8
interface AzureCognitiveServicesProjectResource {
// ... omitted for brevity
addCapabilityHost(name: string): AzureCognitiveServicesProjectResource;
}

Signature

methodaddCapabilityHostbuilder
Adds a capability host to the Microsoft Foundry project.
addCapabilityHost(name: string): AzureCognitiveServicesProjectResource
namestring
AzureCognitiveServicesProjectResource

Applies to

This method applies to the following types: