Policy Class
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.
A policy.
[Microsoft.Rest.Serialization.JsonTransformation]
public class Policy : Microsoft.Azure.Management.Billing.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Policy = class
inherit Resource
Public Class Policy
Inherits Resource
- Inheritance
- Attributes
Constructors
Policy() |
Initializes a new instance of the Policy class. |
Policy(String, String, String, String, String, String) |
Initializes a new instance of the Policy class. |
Properties
Id |
Gets resource Id. (Inherited from Resource) |
MarketplacePurchases |
Gets or sets the policy that controls whether Azure marketplace purchases are allowed for a billing profile. Possible values include: 'AllAllowed', 'OnlyFreeAllowed', 'NotAllowed' |
Name |
Gets resource name. (Inherited from Resource) |
ReservationPurchases |
Gets or sets the policy that controls whether Azure reservation purchases are allowed for a billing profile. Possible values include: 'Allowed', 'NotAllowed' |
Type |
Gets resource type. (Inherited from Resource) |
ViewCharges |
Gets or sets the policy that controls whether users with Azure RBAC access to a subscription can view its charges. Possible values include: 'Allowed', 'NotAllowed' |
Applies to
Azure SDK for .NET