Product Class
A product.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.billing.models._models_py3.ResourceProduct
Constructor
Product(*, auto_renew: str | _models.AutoRenew | None = None, status: str | _models.ProductStatusType | None = None, billing_frequency: str | _models.BillingFrequency | None = None, **kwargs)
Keyword-Only Parameters
Name | Description |
---|---|
auto_renew
|
Indicates whether auto renewal is turned on or off for a product. Known values are: "Off" and "On". |
status
|
The current status of the product. Known values are: "Active", "Inactive", "PastDue", "Expiring", "Expired", "Disabled", "Cancelled", and "AutoRenew". |
billing_frequency
|
The frequency at which the product will be billed. Known values are: "OneTime", "Monthly", and "UsageBased". |
Variables
Name | Description |
---|---|
id
|
Resource Id. |
name
|
Resource name. |
type
|
Resource type. |
auto_renew
|
Indicates whether auto renewal is turned on or off for a product. Known values are: "Off" and "On". |
display_name
|
The display name of the product. |
purchase_date
|
The date when the product was purchased. |
product_type_id
|
The ID of the type of product. |
product_type
|
The description of the type of product. |
status
|
The current status of the product. Known values are: "Active", "Inactive", "PastDue", "Expiring", "Expired", "Disabled", "Cancelled", and "AutoRenew". |
end_date
|
The date when the product will be renewed or canceled. |
billing_frequency
|
The frequency at which the product will be billed. Known values are: "OneTime", "Monthly", and "UsageBased". |
last_charge
|
The last month charges. |
last_charge_date
|
The date of the last charge. |
quantity
|
The quantity purchased for the product. |
sku_id
|
The sku ID of the product. |
sku_description
|
The sku description of the product. |
tenant_id
|
The id of the tenant in which the product is used. |
availability_id
|
The availability of the product. |
invoice_section_id
|
The ID of the invoice section to which the product is billed. |
invoice_section_display_name
|
The name of the invoice section to which the product is billed. |
billing_profile_id
|
The ID of the billing profile to which the product is billed. |
billing_profile_display_name
|
The name of the billing profile to which the product is billed. |
customer_id
|
The ID of the customer for whom the product was purchased. The field is applicable only for Microsoft Partner Agreement billing account. |
customer_display_name
|
The name of the customer for whom the product was purchased. The field is applicable only for Microsoft Partner Agreement billing account. |
reseller
|
Reseller for this product. |
Azure SDK for Python