共用方式為


PurchaseRequest interface

屬性

appliedScopeProperties

套用範圍類型的特定屬性。 如果不適用,則不需要。

appliedScopeType

套用範圍的類型。

billingPlan

表示 ISO 8601 格式的計費方案。 僅適用於每月計費方案。

billingScopeId

購買權益的費用訂用帳戶

commitment

對權益的承諾。

displayName

儲存計劃的易記名稱

effectiveDateTime

儲蓄計劃的 DateTime 開始提供權益。 注意:這個屬性不會串行化。 它只能由伺服器填入。

renew

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

sku

要針對此資源套用的 SKU

term

以 ISO 8601 格式表示權益字詞。

屬性詳細資料

appliedScopeProperties

套用範圍類型的特定屬性。 如果不適用,則不需要。

appliedScopeProperties?: AppliedScopeProperties

屬性值

appliedScopeType

套用範圍的類型。

appliedScopeType?: string

屬性值

string

billingPlan

表示 ISO 8601 格式的計費方案。 僅適用於每月計費方案。

billingPlan?: string

屬性值

string

billingScopeId

購買權益的費用訂用帳戶

billingScopeId?: string

屬性值

string

commitment

對權益的承諾。

commitment?: Commitment

屬性值

displayName

儲存計劃的易記名稱

displayName?: string

屬性值

string

effectiveDateTime

儲蓄計劃的 DateTime 開始提供權益。 注意:這個屬性不會串行化。 它只能由伺服器填入。

effectiveDateTime?: Date

屬性值

Date

renew

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

renew?: boolean

屬性值

boolean

sku

要針對此資源套用的 SKU

sku?: Sku

屬性值

Sku

term

以 ISO 8601 格式表示權益字詞。

term?: string

屬性值

string