Skip to content
Docs Try Aspire

publishAsHostedAgent

Function
📦 Aspire.Hosting.Foundry v13.2.0-preview.1.26170.3
interface ExecutableResource {
// ... omitted for brevity
publishAsHostedAgent(
project?: AzureCognitiveServicesProjectResource,
configure?: callback): ExecutableResource;
}

Signature

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

Applies to

This function is an extension method on the following types: