BalanceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. consumption. fluent. models. BalanceInner
- com.
- com.
public final class BalanceInner
extends ProxyResource
A balance resource.
Constructor Summary
Constructor | Description |
---|---|
BalanceInner() |
Creates an instance of Balance |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Balance |
adjustmentDetails()
Get the adjustment |
Big |
adjustments()
Get the adjustments property: Total adjustment amount. |
Big |
azureMarketplaceServiceCharges()
Get the azure |
Big |
beginningBalance()
Get the beginning |
Billing |
billingFrequency()
Get the billing |
Big |
chargesBilledSeparately()
Get the charges |
String |
currency()
Get the currency property: The ISO currency in which the meter is charged, for example, USD. |
Big |
endingBalance()
Get the ending |
String |
etag()
Get the etag property: The etag for the resource. |
static
Balance |
fromJson(JsonReader jsonReader)
Reads an instance of Balance |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Big |
newPurchases()
Get the new |
List<Balance |
newPurchasesDetails()
Get the new |
Boolean |
priceHidden()
Get the price |
Big |
serviceOverage()
Get the service |
Map<String,String> |
tags()
Get the tags property: Resource tags. |
Json |
toJson(JsonWriter jsonWriter) |
Big |
totalOverage()
Get the total |
Big |
totalUsage()
Get the total |
String |
type()
Get the type property: The type of the resource. |
Big |
utilized()
Get the utilized property: Total Commitment usage. |
void |
validate()
Validates the instance. |
Balance |
withBillingFrequency(BillingFrequency billingFrequency)
Set the billing |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
BalanceInner
public BalanceInner()
Creates an instance of BalanceInner class.
Method Details
adjustmentDetails
public List
Get the adjustmentDetails property: List of Adjustments (Promo credit, SIE credit etc.).
Returns:
adjustments
public BigDecimal adjustments()
Get the adjustments property: Total adjustment amount.
Returns:
azureMarketplaceServiceCharges
public BigDecimal azureMarketplaceServiceCharges()
Get the azureMarketplaceServiceCharges property: Total charges for Azure Marketplace.
Returns:
beginningBalance
public BigDecimal beginningBalance()
Get the beginningBalance property: The beginning balance for the billing period.
Returns:
billingFrequency
public BillingFrequency billingFrequency()
Get the billingFrequency property: The billing frequency.
Returns:
chargesBilledSeparately
public BigDecimal chargesBilledSeparately()
Get the chargesBilledSeparately property: Charges Billed separately.
Returns:
currency
public String currency()
Get the currency property: The ISO currency in which the meter is charged, for example, USD.
Returns:
endingBalance
public BigDecimal endingBalance()
Get the endingBalance property: The ending balance for the billing period (for open periods this will be updated daily).
Returns:
etag
public String etag()
Get the etag property: The etag for the resource.
Returns:
fromJson
public static BalanceInner fromJson(JsonReader jsonReader)
Reads an instance of BalanceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
BalanceInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
BalanceInner.name()Returns:
newPurchases
public BigDecimal newPurchases()
Get the newPurchases property: Total new purchase amount.
Returns:
newPurchasesDetails
public List
Get the newPurchasesDetails property: List of new purchases.
Returns:
priceHidden
public Boolean priceHidden()
Get the priceHidden property: Price is hidden or not.
Returns:
serviceOverage
public BigDecimal serviceOverage()
Get the serviceOverage property: Overage for Azure services.
Returns:
tags
public Map
Get the tags property: Resource tags.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
BalanceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
totalOverage
public BigDecimal totalOverage()
Get the totalOverage property: serviceOverage + chargesBilledSeparately.
Returns:
totalUsage
public BigDecimal totalUsage()
Get the totalUsage property: Azure service commitment + total Overage.
Returns:
type
public String type()
Get the type property: The type of the resource.
Overrides:
BalanceInner.type()Returns:
utilized
public BigDecimal utilized()
Get the utilized property: Total Commitment usage.
Returns:
validate
public void validate()
Validates the instance.
withBillingFrequency
public BalanceInner withBillingFrequency(BillingFrequency billingFrequency)
Set the billingFrequency property: The billing frequency.
Parameters:
Returns:
Applies to
Azure SDK for Java