AsHostedAgentWithProtocol
Method
func (ResourceWithEndpoints) AsHostedAgentWithProtocol( project AzureCognitiveServicesProjectResource, protocol HostedAgentProtocol, protocolVersion string, options ...*HostedAgentOptions,) ResourceWithEndpointsSignature
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,) ResourceWithEndpointsParameters
projectAzureCognitiveServicesProjectResource The Microsoft Foundry project the hosted agent is deployed into.protocolHostedAgentProtocol The protocol exposed by the hosted agent container.protocolVersion stringThe version of the protocol exposed by the hosted agent container.options...*HostedAgentOptions Optional settings, described under Options.Options
Optional parameters are passed as the existing *HostedAgentOptions struct.
Returns
ResourceWithEndpoints The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types:
type
AzureCosmosDBEmulatorResourcetype
AzureCosmosDBResourcetype
AzureKeyVaultResourcetype
AzureStorageEmulatorResourcetype
AzureStorageResourcetype
CSharpAppResourcetype
ContainerResourcetype
DotnetToolResourcetype
ExecutableResourcetype
FoundryResourcetype
ProjectResource