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.Resource
Product

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
str

Resource Id.

name
str

Resource name.

type
str

Resource type.

auto_renew

Indicates whether auto renewal is turned on or off for a product. Known values are: "Off" and "On".

display_name
str

The display name of the product.

purchase_date

The date when the product was purchased.

product_type_id
str

The ID of the type of product.

product_type
str

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
str

The sku ID of the product.

sku_description
str

The sku description of the product.

tenant_id
str

The id of the tenant in which the product is used.

availability_id
str

The availability of the product.

invoice_section_id
str

The ID of the invoice section to which the product is billed.

invoice_section_display_name
str

The name of the invoice section to which the product is billed.

billing_profile_id
str

The ID of the billing profile to which the product is billed.

billing_profile_display_name
str

The name of the billing profile to which the product is billed.

customer_id
str

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
str

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.