Policy Class
A policy.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.billing.models._models_py3.ResourcePolicy
Constructor
Policy(*, marketplace_purchases: str | _models.MarketplacePurchasesPolicy | None = None, reservation_purchases: str | _models.ReservationPurchasesPolicy | None = None, view_charges: str | _models.ViewChargesPolicy | None = None, **kwargs)
Keyword-Only Parameters
Name | Description |
---|---|
marketplace_purchases
|
The policy that controls whether Azure marketplace purchases are allowed for a billing profile. Known values are: "AllAllowed", "OnlyFreeAllowed", and "NotAllowed". |
reservation_purchases
|
The policy that controls whether Azure reservation purchases are allowed for a billing profile. Known values are: "Allowed" and "NotAllowed". |
view_charges
|
The policy that controls whether users with Azure RBAC access to a subscription can view its charges. Known values are: "Allowed" and "NotAllowed". |
Variables
Name | Description |
---|---|
id
|
Resource Id. |
name
|
Resource name. |
type
|
Resource type. |
marketplace_purchases
|
The policy that controls whether Azure marketplace purchases are allowed for a billing profile. Known values are: "AllAllowed", "OnlyFreeAllowed", and "NotAllowed". |
reservation_purchases
|
The policy that controls whether Azure reservation purchases are allowed for a billing profile. Known values are: "Allowed" and "NotAllowed". |
view_charges
|
The policy that controls whether users with Azure RBAC access to a subscription can view its charges. Known values are: "Allowed" and "NotAllowed". |
Azure SDK for Python