AzureCognitiveServicesProjectResource.WithCapabilityHost

Method
📦 Aspire.Hosting.Foundry v17.0.0-preview.1.26567.5
type AzureCognitiveServicesProjectResource interface {
// ... omitted for brevity
WithCapabilityHost(resource any) AzureCognitiveServicesProjectResource
}

Signature

methodWithCapabilityHostbuilder
Associates a supported resource with a capability host on a Microsoft Foundry project.
WithCapabilityHost(resource any) AzureCognitiveServicesProjectResource
resourceanyThe supported capability host resource.
AzureCognitiveServicesProjectResource

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

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

Defined on

This method is defined on the following type: