ProjectsAgentsModelFactory.AgentOptimizationCostEstimate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Estimated monetary cost. Present only when at least one contributing model has pricing data.
public static Azure.AI.Projects.Agents.AgentOptimizationCostEstimate AgentOptimizationCostEstimate(string currency = default, Azure.AI.Projects.Agents.AgentOptimizationEstimateBand total = default, Azure.AI.Projects.Agents.AgentOptimizationStageEstimate byStage = default, System.Collections.Generic.IEnumerable<Azure.AI.Projects.Agents.AgentOptimizationStage> unpricedStages = default);
static member AgentOptimizationCostEstimate : string * Azure.AI.Projects.Agents.AgentOptimizationEstimateBand * Azure.AI.Projects.Agents.AgentOptimizationStageEstimate * seq<Azure.AI.Projects.Agents.AgentOptimizationStage> -> Azure.AI.Projects.Agents.AgentOptimizationCostEstimate
Public Shared Function AgentOptimizationCostEstimate (Optional currency As String = Nothing, Optional total As AgentOptimizationEstimateBand = Nothing, Optional byStage As AgentOptimizationStageEstimate = Nothing, Optional unpricedStages As IEnumerable(Of AgentOptimizationStage) = Nothing) As AgentOptimizationCostEstimate
Parameters
- currency
- String
ISO 4217 currency code for all monetary values in this estimate.
Total estimated cost across all priced stages.
- byStage
- AgentOptimizationStageEstimate
Estimated cost grouped by optimization stage.
- unpricedStages
- IEnumerable<AgentOptimizationStage>
Stages excluded from the total because pricing was unavailable.
Returns
A new AgentOptimizationCostEstimate instance for mocking.