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 optionsHostedAgentOptions optionalReturns
IResourceWithEndpoints Applies to
This method applies to the following types: