SharedScopeBenefitRecommendationProperties interface
當範圍為 「共用」時,權益建議的屬性。
- Extends
屬性
scope | 多型歧視性,指定這個物件可以是的不同類型 |
繼承的屬性
all |
包含建議詳細數據的所有權益建議清單。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
arm |
ARM SKU 名稱。 SavingsPlan 的 'Compute_Savings_Plan'。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
commitment |
建議承諾用量的粒紋。 支援的值:'Hourly' |
cost |
目前沒有權益的成本,對應於回首期間內的「totalHours」。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
currency |
成本與節省金額的 ISO 4217 貨幣代碼識別碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
first |
用來回頭查看建議的第一個使用日期。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
last |
用來回頭查看建議的最後一個使用日期。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
look |
評估用於計算建議的使用量天數。 |
recommendation |
建議的詳細數據。 |
term | 權益的期限。 例如,P1Y 或 P3Y。 |
total |
費用涵蓋的總時數。 其等於屬性 『properties/usage/charges』 中的記錄數目。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
usage | firstConsumptionDate 與 lastConsumptionDate 之間的隨選費用,用於計算權益建議。 |
屬性詳細資料
scope
多型歧視性,指定這個物件可以是的不同類型
scope: "Shared"
屬性值
"Shared"
繼承的屬性詳細資料
allRecommendationDetails
包含建議詳細數據的所有權益建議清單。 注意:這個屬性不會串行化。 它只能由伺服器填入。
allRecommendationDetails?: AllSavingsList
屬性值
armSkuName
ARM SKU 名稱。 SavingsPlan 的 'Compute_Savings_Plan'。 注意:這個屬性不會串行化。 它只能由伺服器填入。
armSkuName?: string
屬性值
string
commitmentGranularity
建議承諾用量的粒紋。 支援的值:'Hourly'
commitmentGranularity?: string
屬性值
string
costWithoutBenefit
目前沒有權益的成本,對應於回首期間內的「totalHours」。 注意:這個屬性不會串行化。 它只能由伺服器填入。
costWithoutBenefit?: number
屬性值
number
currencyCode
成本與節省金額的 ISO 4217 貨幣代碼識別碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。
currencyCode?: string
屬性值
string
firstConsumptionDate
用來回頭查看建議的第一個使用日期。 注意:這個屬性不會串行化。 它只能由伺服器填入。
firstConsumptionDate?: Date
屬性值
Date
lastConsumptionDate
用來回頭查看建議的最後一個使用日期。 注意:這個屬性不會串行化。 它只能由伺服器填入。
lastConsumptionDate?: Date
屬性值
Date
lookBackPeriod
評估用於計算建議的使用量天數。
lookBackPeriod?: string
屬性值
string
recommendationDetails
建議的詳細數據。
recommendationDetails?: AllSavingsBenefitDetails
屬性值
term
totalHours
費用涵蓋的總時數。 其等於屬性 『properties/usage/charges』 中的記錄數目。 注意:這個屬性不會串行化。 它只能由伺服器填入。
totalHours?: number
屬性值
number
usage
firstConsumptionDate 與 lastConsumptionDate 之間的隨選費用,用於計算權益建議。
usage?: RecommendationUsageDetails