asHostedAgentWithProtocol
Method
interface ContainerResource { // ... omitted for brevity asHostedAgentWithProtocol( project: AzureCognitiveServicesProjectResource, protocol: HostedAgentProtocol, protocolVersion: string, options?: HostedAgentOptions): IResourceWithEndpoints;}Signature
method
asHostedAgentWithProtocolbuilderConfigures the resource to run and publish as a hosted agent in Microsoft Foundry using an explicit protocol and version.
asHostedAgentWithProtocol( project: AzureCognitiveServicesProjectResource, protocol: HostedAgentProtocol, protocolVersion: string, options?: HostedAgentOptions): IResourceWithEndpointsParameters
projectAzureCognitiveServicesProjectResourceprotocolHostedAgentProtocolprotocolVersionstringoptionsHostedAgentOptionsoptionalReturns
IResourceWithEndpointsApplies to
This method applies to the following types: