asHostedAgent
Method
interface ContainerResource { // ... omitted for brevity asHostedAgent( project: AzureCognitiveServicesProjectResource, options?: HostedAgentOptions): IResourceWithEndpoints;}Signature
method
asHostedAgent builder Configures the resource to run and publish as a hosted agent in Microsoft Foundry, targeting the specified Foundry project.
asHostedAgent( project: AzureCognitiveServicesProjectResource, options?: HostedAgentOptions): IResourceWithEndpointsParameters
project AzureCognitiveServicesProjectResource options HostedAgentOptions optional Returns
IResourceWithEndpoints Applies to
This method applies to the following types: