asHostedAgentWithProtocol
Method
interface ContainerResource { // ... omitted for brevity asHostedAgentWithProtocol( project: AzureCognitiveServicesProjectResource, protocol: HostedAgentProtocol, protocolVersion: string, options?: HostedAgentOptions): IResourceWithEndpoints;}Signature
method
asHostedAgentWithProtocol builderConfigures 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
projectAzureCognitiveServicesProjectResource protocolHostedAgentProtocol protocolVersion stringoptionsHostedAgentOptions optionalReturns
IResourceWithEndpoints Applies to
This method applies to the following types: