AzureHostedAgentResource Methods
Class Methods 3 members
A Microsoft Foundry hosted agent resource.
DeployAsync(PipelineStepContext, AzureCognitiveServicesProjectResource) Section titled DeployAsync(PipelineStepContext, AzureCognitiveServicesProjectResource) Task<AgentVersion> Deploys the specified agent to the given Microsoft Foundry project.
public class AzureHostedAgentResource{ public Task<AgentVersion> DeployAsync( PipelineStepContext context, AzureCognitiveServicesProjectResource project) { // ... }}Parameters
context PipelineStepContext Publishes the hosted agent during the manifest publishing phase.
public class AzureHostedAgentResource{ public Task PublishAsync( ManifestPublishingContext ctx) { // ... }}Parameters
ctx ManifestPublishingContext ToHostedAgentConfigurationAsync(PipelineStepContext) Section titled ToHostedAgentConfigurationAsync(PipelineStepContext) Task<HostedAgentConfiguration> Convert all dynamic values into concrete values for deployment.
public class AzureHostedAgentResource{ public Task<HostedAgentConfiguration> ToHostedAgentConfigurationAsync( PipelineStepContext context) { // ... }}Parameters
context PipelineStepContext