BillingProfilePolicyProperties Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. BillingProfilePolicyProperties
- com.
Implements
public final class BillingProfilePolicyProperties
implements JsonSerializable<BillingProfilePolicyProperties>
A policy at billing profile scope.
Constructor Summary
| Constructor | Description |
|---|---|
| BillingProfilePolicyProperties() |
Creates an instance of Billing |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Billing |
enterpriseAgreementPolicies()
Get the enterprise |
|
static
Billing |
fromJson(JsonReader jsonReader)
Reads an instance of Billing |
|
Invoice |
invoiceSectionLabelManagement()
Get the invoice |
|
Marketplace |
marketplacePurchases()
Get the marketplace |
|
List<Policy |
policies()
Get the policies property: List of all policies defined at the billing scope. |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Reservation |
reservationPurchases()
Get the reservation |
|
Savings |
savingsPlanPurchases()
Get the savings |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
View |
viewCharges()
Get the view |
|
Billing |
withEnterpriseAgreementPolicies(BillingProfilePolicyPropertiesEnterpriseAgreementPolicies enterpriseAgreementPolicies)
Set the enterprise |
|
Billing |
withInvoiceSectionLabelManagement(InvoiceSectionLabelManagementPolicy invoiceSectionLabelManagement)
Set the invoice |
|
Billing |
withMarketplacePurchases(MarketplacePurchasesPolicy marketplacePurchases)
Set the marketplace |
|
Billing |
withPolicies(List<PolicySummary> policies)
Set the policies property: List of all policies defined at the billing scope. |
|
Billing |
withReservationPurchases(ReservationPurchasesPolicy reservationPurchases)
Set the reservation |
|
Billing |
withSavingsPlanPurchases(SavingsPlanPurchasesPolicy savingsPlanPurchases)
Set the savings |
|
Billing |
withViewCharges(ViewChargesPolicy viewCharges)
Set the view |
Methods inherited from java.lang.Object
Constructor Details
BillingProfilePolicyProperties
public BillingProfilePolicyProperties()
Creates an instance of BillingProfilePolicyProperties class.
Method Details
enterpriseAgreementPolicies
public BillingProfilePolicyPropertiesEnterpriseAgreementPolicies enterpriseAgreementPolicies()
Get the enterpriseAgreementPolicies property: The policies for Enterprise Agreement enrollments.
Returns:
fromJson
public static BillingProfilePolicyProperties fromJson(JsonReader jsonReader)
Reads an instance of BillingProfilePolicyProperties from the JsonReader.
Parameters:
Returns:
Throws:
invoiceSectionLabelManagement
public InvoiceSectionLabelManagementPolicy invoiceSectionLabelManagement()
Get the invoiceSectionLabelManagement property: The policy that controls invoice section label management at invoice section scope. This is allowed by default.
Returns:
marketplacePurchases
public MarketplacePurchasesPolicy marketplacePurchases()
Get the marketplacePurchases property: The policy that controls whether Azure marketplace purchases are allowed.
Returns:
policies
public List<PolicySummary> policies()
Get the policies property: List of all policies defined at the billing scope.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource during a long-running operation.
Returns:
reservationPurchases
public ReservationPurchasesPolicy reservationPurchases()
Get the reservationPurchases property: The policy that controls whether Azure reservation purchases are allowed.
Returns:
savingsPlanPurchases
public SavingsPlanPurchasesPolicy savingsPlanPurchases()
Get the savingsPlanPurchases property: The policy that controls whether users with Azure savings plan purchase are allowed.
Returns:
toJson
validate
public void validate()
Validates the instance.
viewCharges
public ViewChargesPolicy viewCharges()
Get the viewCharges property: The policy that controls whether the users in customer's organization can view charges at pay-as-you-go prices.
Returns:
withEnterpriseAgreementPolicies
public BillingProfilePolicyProperties withEnterpriseAgreementPolicies(BillingProfilePolicyPropertiesEnterpriseAgreementPolicies enterpriseAgreementPolicies)
Set the enterpriseAgreementPolicies property: The policies for Enterprise Agreement enrollments.
Parameters:
Returns:
withInvoiceSectionLabelManagement
public BillingProfilePolicyProperties withInvoiceSectionLabelManagement(InvoiceSectionLabelManagementPolicy invoiceSectionLabelManagement)
Set the invoiceSectionLabelManagement property: The policy that controls invoice section label management at invoice section scope. This is allowed by default.
Parameters:
Returns:
withMarketplacePurchases
public BillingProfilePolicyProperties withMarketplacePurchases(MarketplacePurchasesPolicy marketplacePurchases)
Set the marketplacePurchases property: The policy that controls whether Azure marketplace purchases are allowed.
Parameters:
Returns:
withPolicies
public BillingProfilePolicyProperties withPolicies(List<PolicySummary> policies)
Set the policies property: List of all policies defined at the billing scope.
Parameters:
Returns:
withReservationPurchases
public BillingProfilePolicyProperties withReservationPurchases(ReservationPurchasesPolicy reservationPurchases)
Set the reservationPurchases property: The policy that controls whether Azure reservation purchases are allowed.
Parameters:
Returns:
withSavingsPlanPurchases
public BillingProfilePolicyProperties withSavingsPlanPurchases(SavingsPlanPurchasesPolicy savingsPlanPurchases)
Set the savingsPlanPurchases property: The policy that controls whether users with Azure savings plan purchase are allowed.
Parameters:
Returns:
withViewCharges
public BillingProfilePolicyProperties withViewCharges(ViewChargesPolicy viewCharges)
Set the viewCharges property: The policy that controls whether the users in customer's organization can view charges at pay-as-you-go prices.
Parameters:
Returns: