asHostedAgent
Method
interface ContainerResource { // ... omitted for brevity asHostedAgent( project: AzureCognitiveServicesProjectResource, options?: HostedAgentOptions): IResourceWithEndpoints;}Signature
method
asHostedAgent builderConfigures 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): IResourceWithEndpointsParameters
projectAzureCognitiveServicesProjectResource The Microsoft Foundry project the hosted agent is deployed into.optionsHostedAgentOptions optionalOptional hosted agent deployment options. Options apply in publish mode.Returns
IResourceWithEndpoints Applies to
This method applies to the following types: