你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmMachineLearningModelFactory.MachineLearningEstimatedVmPrice 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 MachineLearningEstimatedVmPrice 的新实例。
public static Azure.ResourceManager.MachineLearning.Models.MachineLearningEstimatedVmPrice MachineLearningEstimatedVmPrice (double retailPrice = 0, Azure.ResourceManager.MachineLearning.Models.MachineLearningVmPriceOSType osType = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningVmTier vmTier = default);
static member MachineLearningEstimatedVmPrice : double * Azure.ResourceManager.MachineLearning.Models.MachineLearningVmPriceOSType * Azure.ResourceManager.MachineLearning.Models.MachineLearningVmTier -> Azure.ResourceManager.MachineLearning.Models.MachineLearningEstimatedVmPrice
Public Shared Function MachineLearningEstimatedVmPrice (Optional retailPrice As Double = 0, Optional osType As MachineLearningVmPriceOSType = Nothing, Optional vmTier As MachineLearningVmTier = Nothing) As MachineLearningEstimatedVmPrice
参数
- retailPrice
- Double
使用 VM 所收取的价格。
- osType
- MachineLearningVmPriceOSType
VM 使用的操作系统类型。
- vmTier
- MachineLearningVmTier
VM 的类型。
返回
用于模拟的新 MachineLearningEstimatedVmPrice 实例。