ArmBillingModelFactory.BillingProductProperties Method
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.
Initializes a new instance of BillingProductProperties.
public static Azure.ResourceManager.Billing.Models.BillingProductProperties BillingProductProperties (Azure.ResourceManager.Billing.Models.BillingSubscriptionAutoRenewState? autoRenew = default, string availabilityId = default, string billingFrequency = default, Azure.Core.ResourceIdentifier billingProfileId = default, string billingProfileDisplayName = default, Azure.Core.ResourceIdentifier customerId = default, string customerDisplayName = default, string displayName = default, string endDate = default, Azure.Core.ResourceIdentifier invoiceSectionId = default, string invoiceSectionDisplayName = default, Azure.ResourceManager.Billing.Models.BillingAmount lastCharge = default, string lastChargeDate = default, string productType = default, string productTypeId = default, string skuId = default, string skuDescription = default, string purchaseDate = default, long? quantity = default, Azure.ResourceManager.Billing.Models.BillingProductStatus? status = default, Guid? tenantId = default, Azure.ResourceManager.Billing.Models.BillingAmount reseller = default);
static member BillingProductProperties : Nullable<Azure.ResourceManager.Billing.Models.BillingSubscriptionAutoRenewState> * string * string * Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceIdentifier * string * string * string * Azure.Core.ResourceIdentifier * string * Azure.ResourceManager.Billing.Models.BillingAmount * string * string * string * string * string * string * Nullable<int64> * Nullable<Azure.ResourceManager.Billing.Models.BillingProductStatus> * Nullable<Guid> * Azure.ResourceManager.Billing.Models.BillingAmount -> Azure.ResourceManager.Billing.Models.BillingProductProperties
Public Shared Function BillingProductProperties (Optional autoRenew As Nullable(Of BillingSubscriptionAutoRenewState) = Nothing, Optional availabilityId As String = Nothing, Optional billingFrequency As String = Nothing, Optional billingProfileId As ResourceIdentifier = Nothing, Optional billingProfileDisplayName As String = Nothing, Optional customerId As ResourceIdentifier = Nothing, Optional customerDisplayName As String = Nothing, Optional displayName As String = Nothing, Optional endDate As String = Nothing, Optional invoiceSectionId As ResourceIdentifier = Nothing, Optional invoiceSectionDisplayName As String = Nothing, Optional lastCharge As BillingAmount = Nothing, Optional lastChargeDate As String = Nothing, Optional productType As String = Nothing, Optional productTypeId As String = Nothing, Optional skuId As String = Nothing, Optional skuDescription As String = Nothing, Optional purchaseDate As String = Nothing, Optional quantity As Nullable(Of Long) = Nothing, Optional status As Nullable(Of BillingProductStatus) = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional reseller As BillingAmount = Nothing) As BillingProductProperties
Parameters
- autoRenew
- Nullable<BillingSubscriptionAutoRenewState>
Indicates whether auto renewal is turned on or off for a product.
- availabilityId
- String
The availability of the product.
- billingFrequency
- String
The frequency at which the product will be billed.
- billingProfileId
- ResourceIdentifier
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
- ResourceIdentifier
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.
- displayName
- String
The display name of the product.
- endDate
- String
The date when the product will be renewed or canceled.
- invoiceSectionId
- ResourceIdentifier
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.
- lastCharge
- BillingAmount
The last month charges.
- lastChargeDate
- String
The date of the last charge.
- productType
- String
The description of the type of product.
- productTypeId
- String
The ID of the type of product.
- skuId
- String
The sku ID of the product.
- skuDescription
- String
The sku description of the product.
- purchaseDate
- String
The date when the product was purchased.
- status
- Nullable<BillingProductStatus>
The status of the product.
- reseller
- BillingAmount
Reseller for this product. The fields is not available for Microsoft Partner Agreement products.
Returns
A new BillingProductProperties instance for mocking.