Skip to content
Docs Try Aspire
Docs Try

publishAsHostedAgent

Method
📦 Aspire.Hosting.Foundry v13.3.0-preview.1.26254.5
interface ContainerResource {
// ... omitted for brevity
publishAsHostedAgent(
project?: AzureCognitiveServicesProjectResource,
configure?: callback): IResourceWithEndpoints;
}

Signature

method publishAsHostedAgent builder
Publishes an executable resource as a hosted agent in Microsoft Foundry.
publishAsHostedAgent(project?: AzureCognitiveServicesProjectResource, configure?: (obj: HostedAgentConfiguration) => Promise<void>): IResourceWithEndpoints
project AzureCognitiveServicesProjectResource optional
configure (obj: HostedAgentConfiguration) => Promise<void> optional
IResourceWithEndpoints

Applies to

This method applies to the following types: