EstimatedVMPrices 類別

使用 VM 的估計價格資訊。

必須填入所有必要的參數,才能傳送至 Azure。

繼承
EstimatedVMPrices

建構函式

EstimatedVMPrices(*, billing_currency: str | BillingCurrency, unit_of_measure: str | UnitOfMeasure, values: List[EstimatedVMPrice], **kwargs)

參數

billing_currency
strBillingCurrency
必要

必要。 三個字母代碼,指定 VM 價格的貨幣。 範例:美元。 可能的值包括:「USD」。

unit_of_measure
strUnitOfMeasure
必要

必要。 指定 VM 價格的時間測量單位。 範例:OneHour。 可能的值包括:「OneHour」。

values
list[EstimatedVMPrice]
必要

必要。 使用特定 OS 類型、層等 VM 的預估價格清單。