CreditSummaryInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. consumption. fluent. models. CreditSummaryInner
- com.
- com.
public final class CreditSummaryInner
extends ProxyResource
A credit summary resource.
Constructor Summary
Constructor | Description |
---|---|
CreditSummaryInner() |
Creates an instance of Credit |
Method Summary
Modifier and Type | Method and Description |
---|---|
Credit |
balanceSummary()
Get the balance |
String |
billingCurrency()
Get the billing |
String |
creditCurrency()
Get the credit |
String |
etag()
Get the etag property: e |
String |
etagPropertiesEtag()
Get the etag property: The e |
Amount |
expiredCredit()
Get the expired |
static
Credit |
fromJson(JsonReader jsonReader)
Reads an instance of Credit |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Amount |
pendingCreditAdjustments()
Get the pending |
Amount |
pendingEligibleCharges()
Get the pending |
Reseller |
reseller()
Get the reseller property: Credit's reseller. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Credit |
withEtag(String etag)
Set the etag property: e |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
CreditSummaryInner
public CreditSummaryInner()
Creates an instance of CreditSummaryInner class.
Method Details
balanceSummary
public CreditBalanceSummary balanceSummary()
Get the balanceSummary property: Summary of balances associated with this credit summary.
Returns:
billingCurrency
public String billingCurrency()
Get the billingCurrency property: The billing currency.
Returns:
creditCurrency
public String creditCurrency()
Get the creditCurrency property: The credit currency.
Returns:
etag
public String etag()
Get the etag property: eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
Returns:
etagPropertiesEtag
public String etagPropertiesEtag()
Get the etag property: The eTag for the resource.
Returns:
expiredCredit
public Amount expiredCredit()
Get the expiredCredit property: Expired credit.
Returns:
fromJson
public static CreditSummaryInner fromJson(JsonReader jsonReader)
Reads an instance of CreditSummaryInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
CreditSummaryInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
CreditSummaryInner.name()Returns:
pendingCreditAdjustments
public Amount pendingCreditAdjustments()
Get the pendingCreditAdjustments property: Pending credit adjustments.
Returns:
pendingEligibleCharges
public Amount pendingEligibleCharges()
Get the pendingEligibleCharges property: Pending eligible charges.
Returns:
reseller
public Reseller reseller()
Get the reseller property: Credit's reseller.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
CreditSummaryInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
CreditSummaryInner.type()Returns:
validate
public void validate()
Validates the instance.
withEtag
public CreditSummaryInner withEtag(String etag)
Set the etag property: eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
Parameters:
Returns:
Applies to
Azure SDK for Java