asHostedAgent

Method
📦 Aspire.Hosting.Foundry v17.0.0-preview.1.26567.5
interface ContainerResource {
// ... omitted for brevity
asHostedAgent(
project: AzureCognitiveServicesProjectResource,
options?: HostedAgentOptions): IResourceWithEndpoints;
}

Signature

methodasHostedAgentbuilder
Configures the resource to run and publish as a hosted agent in Microsoft Foundry using the Responses protocol version 2.0.0.
asHostedAgent(
project: AzureCognitiveServicesProjectResource,
options?: HostedAgentOptions): IResourceWithEndpoints
projectAzureCognitiveServicesProjectResourceThe Microsoft Foundry project the hosted agent is deployed into.
optionsHostedAgentOptionsoptionalOptional hosted agent deployment options. Options apply in publish mode.
IResourceWithEndpoints

Applies to

This method applies to the following types: