PatchProperties interface

保留區塊的屬性

屬性

appliedScopeProperties

套用範圍類型的特定屬性。 如果不適用,則不需要。 如果 AppliedScopeType 為 ManagementGroup,則需要提供 tenantId 和 managementGroupId

appliedScopeType

套用範圍的類型。

displayName

保留的顯示名稱

instanceFlexibility

開啟此選項會將保留折扣套用至相同 VM 大小群組中的其他 VM。 只指定 VirtualMachines 保留的資源類型。

purchaseProperties

購買保留的要求

renew

將此設定為 true 會自動在到期日期時間購買新的權益。

reviewDateTime

這是需要檢閱 Azure 混合式權益的日期時間。

屬性詳細資料

appliedScopeProperties

套用範圍類型的特定屬性。 如果不適用,則不需要。 如果 AppliedScopeType 為 ManagementGroup,則需要提供 tenantId 和 managementGroupId

appliedScopeProperties?: ReservationAppliedScopeProperties

屬性值

appliedScopeType

套用範圍的類型。

appliedScopeType?: string

屬性值

string

displayName

保留的顯示名稱

displayName?: string

屬性值

string

instanceFlexibility

開啟此選項會將保留折扣套用至相同 VM 大小群組中的其他 VM。 只指定 VirtualMachines 保留的資源類型。

instanceFlexibility?: string

屬性值

string

purchaseProperties

購買保留的要求

purchaseProperties?: ReservationPurchaseRequest

屬性值

renew

將此設定為 true 會自動在到期日期時間購買新的權益。

renew?: boolean

屬性值

boolean

reviewDateTime

這是需要檢閱 Azure 混合式權益的日期時間。

reviewDateTime?: Date

屬性值

Date