ArmAIInfraOptimizationModelFactory.RecommendVmSkuCost 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.
The deployment cost for one virtual machine size option.
public static Azure.ResourceManager.AIInfraOptimization.Models.RecommendVmSkuCost RecommendVmSkuCost(string currencyCode = default, double vmHourly = 0, double deploymentHourly = 0, Azure.ResourceManager.AIInfraOptimization.Models.RecommendVmSkuCostSource source = default, DateTimeOffset? priceObservedOn = default, Azure.ResourceManager.AIInfraOptimization.Models.RecommendVmSkuStageError error = default);
static member RecommendVmSkuCost : string * double * double * Azure.ResourceManager.AIInfraOptimization.Models.RecommendVmSkuCostSource * Nullable<DateTimeOffset> * Azure.ResourceManager.AIInfraOptimization.Models.RecommendVmSkuStageError -> Azure.ResourceManager.AIInfraOptimization.Models.RecommendVmSkuCost
Public Shared Function RecommendVmSkuCost (Optional currencyCode As String = Nothing, Optional vmHourly As Double = 0, Optional deploymentHourly As Double = 0, Optional source As RecommendVmSkuCostSource = Nothing, Optional priceObservedOn As Nullable(Of DateTimeOffset) = Nothing, Optional error As RecommendVmSkuStageError = Nothing) As RecommendVmSkuCost
Parameters
- currencyCode
- String
The ISO 4217 currency code all amounts in this object are expressed in.
- vmHourly
- Double
The price per hour for a single virtual machine, in the stated currency.
- deploymentHourly
- Double
The price per hour for the whole deployment, in the stated currency.
- source
- RecommendVmSkuCostSource
The source the price was resolved from.
- priceObservedOn
- Nullable<DateTimeOffset>
The date and time the price was observed.
- error
- RecommendVmSkuStageError
The error that prevented subscription-scoped pricing from being resolved, if any.
Returns
A new RecommendVmSkuCost instance for mocking.