你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PurchasePlan 类

用于通过 MarketPlace 建立任何第三方项目的购买上下文。

必须填充所有必需的参数才能发送到 Azure。

继承
azure.mgmt.compute._serialization.Model
PurchasePlan

构造函数

PurchasePlan(*, name: str, publisher: str, product: str, promotion_code: str | None = None, **kwargs)

变量

name
str

计划 ID。 必需。

publisher
str

发布者 ID。 必需。

product
str

指定市场中映像的产品。 此值与 imageReference 元素下的 Offer 相同。 必需。

promotion_code
str

产品/服务促销代码。