通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EstimatedVMPrice Class

The estimated price info for using a VM of a particular OS type, tier, etc.

All required parameters must be populated in order to send to Azure.

Constructor

EstimatedVMPrice(*, retail_price: float, os_type: str | VMPriceOSType, vm_tier: str | VMTier, **kwargs)

Parameters

Name Description
retail_price
Required

Required. The price charged for using the VM.

os_type
Required

Required. Operating system type used by the VM. Possible values include: "Linux", "Windows".

vm_tier
Required
str or VMTier

Required. The type of the VM. Possible values include: "Standard", "LowPriority", "Spot".

Keyword-Only Parameters

Name Description
retail_price
Required
os_type
Required
vm_tier
Required