Product Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Product() |
Initializes a new instance of the Product class. |
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) |
Initializes a new instance of the Product class. |
Product()
Initializes a new instance of the Product class.
public Product ();
Public Sub New ()
Applies to
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)
Initializes a new instance of the Product class.
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)
Parameters
- id
- String
Resource Id.
- name
- String
Resource name.
- type
- String
Resource type.
- autoRenew
- String
Indicates whether auto renewal is turned on or off for a product. Possible values include: 'Off', 'On'
- displayName
- String
The display name of the product.
- productTypeId
- String
The ID of the type of product.
- productType
- String
The description of the type of product.
- status
- String
The current status of the product. Possible values include: 'Active', 'Inactive', 'PastDue', 'Expiring', 'Expired', 'Disabled', 'Cancelled', 'AutoRenew'
- billingFrequency
- String
The frequency at which the product will be billed. Possible values include: 'OneTime', 'Monthly', 'UsageBased'
- lastCharge
- Amount
The last month charges.
- skuId
- String
The sku ID of the product.
- skuDescription
- String
The sku description of the product.
- tenantId
- String
The id of the tenant in which the product is used.
- availabilityId
- String
The availability of the product.
- invoiceSectionId
- String
The ID of the invoice section to which the product is billed.
- invoiceSectionDisplayName
- String
The name of the invoice section to which the product is billed.
- billingProfileId
- String
The ID of the billing profile to which the product is billed.
- billingProfileDisplayName
- String
The name of the billing profile to which the product is billed.
- customerId
- String
The ID of the customer for whom the product was purchased. The field is applicable only for Microsoft Partner Agreement billing account.
- customerDisplayName
- String
The name of the customer for whom the product was purchased. The field is applicable only for Microsoft Partner Agreement billing account.
- reseller
- Reseller
Reseller for this product.
Applies to
Azure SDK for .NET