你当前正在访问 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 server.

Constructor

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

Keyword-Only Parameters

Name Description
retail_price

The price charged for using the VM. Required.

os_type

Operating system type used by the VM. Required. Known values are: "Linux" and "Windows".

vm_tier
str or VMTier

The type of the VM. Required. Known values are: "Standard", "LowPriority", and "Spot".

Variables

Name Description
retail_price

The price charged for using the VM. Required.

os_type

Operating system type used by the VM. Required. Known values are: "Linux" and "Windows".

vm_tier
str or VMTier

The type of the VM. Required. Known values are: "Standard", "LowPriority", and "Spot".