ReservationTransactionInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. consumption. models. ReservationTransactionResource - com.
azure. resourcemanager. consumption. fluent. models. ReservationTransactionInner
- com.
- com.
- com.
public class ReservationTransactionInner
extends ReservationTransactionResource
Reservation transaction resource.
Constructor Summary
| Constructor | Description |
|---|---|
| ReservationTransactionInner() |
Creates an instance of Reservation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
accountName()
Get the account |
| String |
accountOwnerEmail()
Get the account |
|
Big |
amount()
Get the amount property: The charge of the transaction. |
| String |
armSkuName()
Get the arm |
| String |
billingFrequency()
Get the billing |
| Integer |
billingMonth()
Get the billing |
| String |
costCenter()
Get the cost |
| String |
currency()
Get the currency property: The ISO currency in which the transaction is charged, for example, USD. |
| String |
currentEnrollment()
Get the current |
| String |
departmentName()
Get the department |
| String |
description()
Get the description property: The description of the transaction. |
|
Offset |
eventDate()
Get the event |
| String |
eventType()
Get the event |
|
static
Reservation |
fromJson(JsonReader jsonReader)
Reads an instance of Reservation |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Big |
monetaryCommitment()
Get the monetary |
| String |
name()
Get the name property: The name of the resource. |
|
Big |
overage()
Get the overage property: The overage amount at the enrollment scope. |
| String |
purchasingEnrollment()
Get the purchasing |
| UUID |
purchasingSubscriptionGuid()
Get the purchasing |
| String |
purchasingSubscriptionName()
Get the purchasing |
|
Big |
quantity()
Get the quantity property: The quantity of the transaction. |
| String |
region()
Get the region property: The region of the transaction. |
| String |
reservationOrderId()
Get the reservation |
| String |
reservationOrderName()
Get the reservation |
| List<String> |
tags()
Get the tags property: Resource tags. |
| String |
term()
Get the term property: This is the term of the transaction. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
Methods inherited from ReservationTransactionResource
Methods inherited from java.lang.Object
Constructor Details
ReservationTransactionInner
public ReservationTransactionInner()
Creates an instance of ReservationTransactionInner class.
Method Details
accountName
public String accountName()
Get the accountName property: The name of the account that makes the transaction.
Returns:
accountOwnerEmail
public String accountOwnerEmail()
Get the accountOwnerEmail property: The email of the account owner that makes the transaction.
Returns:
amount
public BigDecimal amount()
Get the amount property: The charge of the transaction.
Returns:
armSkuName
public String armSkuName()
Get the armSkuName property: This is the ARM Sku name. It can be used to join with the serviceType field in additional info in usage records.
Returns:
billingFrequency
public String billingFrequency()
Get the billingFrequency property: The billing frequency, which can be either one-time or recurring.
Returns:
billingMonth
public Integer billingMonth()
Get the billingMonth property: The billing month(yyyyMMdd), on which the event initiated.
Returns:
costCenter
public String costCenter()
Get the costCenter property: The cost center of this department if it is a department and a cost center is provided.
Returns:
currency
public String currency()
Get the currency property: The ISO currency in which the transaction is charged, for example, USD.
Returns:
currentEnrollment
public String currentEnrollment()
Get the currentEnrollment property: The current enrollment.
Returns:
departmentName
public String departmentName()
Get the departmentName property: The department name.
Returns:
description
public String description()
Get the description property: The description of the transaction.
Returns:
eventDate
public OffsetDateTime eventDate()
Get the eventDate property: The date of the transaction.
Returns:
eventType
public String eventType()
Get the eventType property: The type of the transaction (Purchase, Cancel or Refund).
Returns:
fromJson
public static ReservationTransactionInner fromJson(JsonReader jsonReader)
Reads an instance of ReservationTransactionInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ReservationTransactionInner.id()Returns:
monetaryCommitment
public BigDecimal monetaryCommitment()
Get the monetaryCommitment property: The monetary commitment amount at the enrollment scope.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ReservationTransactionInner.name()Returns:
overage
public BigDecimal overage()
Get the overage property: The overage amount at the enrollment scope.
Returns:
purchasingEnrollment
public String purchasingEnrollment()
Get the purchasingEnrollment property: The purchasing enrollment.
Returns:
purchasingSubscriptionGuid
public UUID purchasingSubscriptionGuid()
Get the purchasingSubscriptionGuid property: The subscription guid that makes the transaction.
Returns:
purchasingSubscriptionName
public String purchasingSubscriptionName()
Get the purchasingSubscriptionName property: The subscription name that makes the transaction.
Returns:
quantity
public BigDecimal quantity()
Get the quantity property: The quantity of the transaction.
Returns:
region
public String region()
Get the region property: The region of the transaction.
Returns:
reservationOrderId
public String reservationOrderId()
Get the reservationOrderId property: The reservation order ID is the identifier for a reservation purchase. Each reservation order ID represents a single purchase transaction. A reservation order contains reservations. The reservation order specifies the VM size and region for the reservations.
Returns:
reservationOrderName
public String reservationOrderName()
Get the reservationOrderName property: The name of the reservation order.
Returns:
tags
public List<String> tags()
Get the tags property: Resource tags.
Overrides:
ReservationTransactionInner.tags()Returns:
term
public String term()
Get the term property: This is the term of the transaction.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ReservationTransactionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ReservationTransactionInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
ReservationTransactionInner.validate()