Skip to content
DocsTry Aspire
DocsTry

withCapabilityHost

Method
📦 Aspire.Hosting.Foundry v13.4.0-preview.1.26281.18
interface AzureCognitiveServicesProjectResource {
// ... omitted for brevity
withCapabilityHost(resource: FoundryResource): AzureCognitiveServicesProjectResource;
}

Signature

methodwithCapabilityHostbuilder
Associates a supported resource with a capability host on a Microsoft Foundry project.
withCapabilityHost(resource: FoundryResource): AzureCognitiveServicesProjectResource
resourceFoundryResource
AzureCognitiveServicesProjectResource

Applies to

This method applies to the following types: