你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Product 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Product()
初始化 Product 类的新实例。
public Product ();
Public Sub New ()
适用于
Product(String, String, String, String, String, Nullable<DateTime>, String, String, String, Nullable<DateTime>, String, Amount, Nullable<DateTime>, Nullable<Double>, String, String, String, String, String, String, String, String, String, String, Reseller)
初始化 Product 类的新实例。
public Product (string id = default, string name = default, string type = default, string autoRenew = default, string displayName = default, DateTime? purchaseDate = default, string productTypeId = default, string productType = default, string status = default, DateTime? endDate = default, string billingFrequency = default, Microsoft.Azure.Management.Billing.Models.Amount lastCharge = default, DateTime? lastChargeDate = default, double? quantity = default, string skuId = default, string skuDescription = default, string tenantId = default, string availabilityId = default, string invoiceSectionId = default, string invoiceSectionDisplayName = default, string billingProfileId = default, string billingProfileDisplayName = default, string customerId = default, string customerDisplayName = default, Microsoft.Azure.Management.Billing.Models.Reseller reseller = default);
new Microsoft.Azure.Management.Billing.Models.Product : string * string * string * string * string * Nullable<DateTime> * string * string * string * Nullable<DateTime> * string * Microsoft.Azure.Management.Billing.Models.Amount * Nullable<DateTime> * Nullable<double> * string * string * string * string * string * string * string * string * string * string * Microsoft.Azure.Management.Billing.Models.Reseller -> Microsoft.Azure.Management.Billing.Models.Product
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional autoRenew As String = Nothing, Optional displayName As String = Nothing, Optional purchaseDate As Nullable(Of DateTime) = Nothing, Optional productTypeId As String = Nothing, Optional productType As String = Nothing, Optional status As String = Nothing, Optional endDate As Nullable(Of DateTime) = Nothing, Optional billingFrequency As String = Nothing, Optional lastCharge As Amount = Nothing, Optional lastChargeDate As Nullable(Of DateTime) = Nothing, Optional quantity As Nullable(Of Double) = Nothing, Optional skuId As String = Nothing, Optional skuDescription As String = Nothing, Optional tenantId As String = Nothing, Optional availabilityId As String = Nothing, Optional invoiceSectionId As String = Nothing, Optional invoiceSectionDisplayName As String = Nothing, Optional billingProfileId As String = Nothing, Optional billingProfileDisplayName As String = Nothing, Optional customerId As String = Nothing, Optional customerDisplayName As String = Nothing, Optional reseller As Reseller = Nothing)
参数
- id
- String
资源 ID。
- name
- String
资源名称。
- type
- String
资源类型。
- autoRenew
- String
指示是打开还是关闭产品的自动续订。 可能的值包括:“Off”、“On”
- displayName
- String
产品的显示名称。
- productTypeId
- String
产品类型的 ID。
- productType
- String
产品类型的说明。
- status
- String
产品的当前状态。 可能的值包括:“Active”、“Inactive”、“PastDue”、“Expiring”、“Expired”、“Disabled”、“Cancelled”、“AutoRenew”
- billingFrequency
- String
产品计费的频率。 可能的值包括:“OneTime”、“Monthly”、“UsageBased”
- lastCharge
- Amount
上个月的费用。
- skuId
- String
产品的 SKU ID。
- skuDescription
- String
产品的 SKU 说明。
- tenantId
- String
在其中使用产品的租户的 ID。
- availabilityId
- String
产品的可用性。
- invoiceSectionId
- String
向产品计费的发票科目的 ID。
- invoiceSectionDisplayName
- String
向产品计费的发票科目的名称。
- billingProfileId
- String
向产品计费的计费对象信息的 ID。
- billingProfileDisplayName
- String
向产品计费的计费对象信息的名称。
- customerId
- String
为其购买产品的客户的 ID。 字段仅适用于Microsoft 合作伙伴协议计费帐户。
- customerDisplayName
- String
为其购买产品的客户的名称。 字段仅适用于Microsoft 合作伙伴协议计费帐户。
- reseller
- Reseller
此产品的经销商。