Policy Class

Definition

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
Policy
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