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

PurchasePlan 构造函数

定义

重载

PurchasePlan()

初始化 PurchasePlan 类的新实例。

PurchasePlan(String, String, String, String)

初始化 PurchasePlan 类的新实例。

PurchasePlan()

初始化 PurchasePlan 类的新实例。

public PurchasePlan ();
Public Sub New ()

适用于

PurchasePlan(String, String, String, String)

初始化 PurchasePlan 类的新实例。

public PurchasePlan (string publisher, string name, string product, string promotionCode = default);
new Microsoft.Azure.Management.Compute.Models.PurchasePlan : string * string * string * string -> Microsoft.Azure.Management.Compute.Models.PurchasePlan
Public Sub New (publisher As String, name As String, product As String, Optional promotionCode As String = Nothing)

参数

publisher
String

发布者 ID。

name
String

计划 ID。

product
String

指定市场中映像的乘积。 此值与 imageReference 元素下的 Offer 值相同。

promotionCode
String

产品/服务促销代码。

适用于