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
資源識別碼。
- name
- String
資源名稱。
- type
- String
資源類型。
- autoRenew
- String
指出產品是否開啟或關閉自動更新。 可能的值包括:'Off'、'On'
- displayName
- String
產品的顯示名稱。
- productTypeId
- String
產品類型的識別碼。
- productType
- String
產品類型的描述。
- status
- String
產品的目前狀態。 可能的值包括:'Active'、'Inactive'、'PastDue'、'Expiring'、'Expired'、'Disabled'、'Canceled'、'AutoRenew'
- billingFrequency
- String
產品將計費的頻率。 可能的值包括:'OneTime'、'Monthly'、'UsageBased'
- lastCharge
- Amount
上個月的費用。
- skuId
- String
產品的 SKU 識別碼。
- skuDescription
- String
產品的 SKU 描述。
- tenantId
- String
使用產品之租使用者的識別碼。
- availabilityId
- String
產品的可用性。
- invoiceSectionId
- String
產品的發票區段識別碼。
- invoiceSectionDisplayName
- String
計費產品的發票區段名稱。
- billingProfileId
- String
計費產品的帳單設定檔識別碼。
- billingProfileDisplayName
- String
計費產品的帳單設定檔名稱。
- customerId
- String
購買產品之客戶的識別碼。 欄位僅適用于Microsoft 合作夥伴合約計費帳戶。
- customerDisplayName
- String
購買產品的客戶名稱。 欄位僅適用于Microsoft 合作夥伴合約計費帳戶。
- reseller
- Reseller
此產品的轉銷商。