Class ReservationTransactionInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.consumption.models.ReservationTransactionResource
-
- com.azure.resourcemanager.consumption.fluent.models.ReservationTransactionInner
-
- Direct Known Subclasses:
LegacyReservationTransaction
public class ReservationTransactionInner extends ReservationTransactionResource
Reservation transaction resource.
-
-
Constructor Summary
Constructors Constructor Description ReservationTransactionInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
accountName()
Get the accountName property: The name of the account that makes the transaction.String
accountOwnerEmail()
Get the accountOwnerEmail property: The email of the account owner that makes the transaction.BigDecimal
amount()
Get the amount property: The charge of the transaction.String
armSkuName()
Get the armSkuName property: This is the ARM Sku name.String
billingFrequency()
Get the billingFrequency property: The billing frequency, which can be either one-time or recurring.Integer
billingMonth()
Get the billingMonth property: The billing month(yyyyMMdd), on which the event initiated.String
costCenter()
Get the costCenter property: The cost center of this department if it is a department and a cost center is provided.String
currency()
Get the currency property: The ISO currency in which the transaction is charged, for example, USD.String
currentEnrollment()
Get the currentEnrollment property: The current enrollment.String
departmentName()
Get the departmentName property: The department name.String
description()
Get the description property: The description of the transaction.OffsetDateTime
eventDate()
Get the eventDate property: The date of the transaction.String
eventType()
Get the eventType property: The type of the transaction (Purchase, Cancel, etc.).BigDecimal
monetaryCommitment()
Get the monetaryCommitment property: The monetary commitment amount at the enrollment scope.BigDecimal
overage()
Get the overage property: The overage amount at the enrollment scope.String
purchasingEnrollment()
Get the purchasingEnrollment property: The purchasing enrollment.UUID
purchasingSubscriptionGuid()
Get the purchasingSubscriptionGuid property: The subscription guid that makes the transaction.String
purchasingSubscriptionName()
Get the purchasingSubscriptionName property: The subscription name that makes the transaction.BigDecimal
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 reservationOrderId property: The reservation order ID is the identifier for a reservation purchase.String
reservationOrderName()
Get the reservationOrderName property: The name of the reservation order.String
term()
Get the term property: This is the term of the transaction.void
validate()
Validates the instance.-
Methods inherited from class com.azure.resourcemanager.consumption.models.ReservationTransactionResource
tags
-
-
-
-
Method Detail
-
eventDate
public OffsetDateTime eventDate()
Get the eventDate property: The date of the transaction.- Returns:
- the eventDate value.
-
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:
- the reservationOrderId value.
-
description
public String description()
Get the description property: The description of the transaction.- Returns:
- the description value.
-
eventType
public String eventType()
Get the eventType property: The type of the transaction (Purchase, Cancel, etc.).- Returns:
- the eventType value.
-
quantity
public BigDecimal quantity()
Get the quantity property: The quantity of the transaction.- Returns:
- the quantity value.
-
amount
public BigDecimal amount()
Get the amount property: The charge of the transaction.- Returns:
- the amount value.
-
currency
public String currency()
Get the currency property: The ISO currency in which the transaction is charged, for example, USD.- Returns:
- the currency value.
-
reservationOrderName
public String reservationOrderName()
Get the reservationOrderName property: The name of the reservation order.- Returns:
- the reservationOrderName value.
-
purchasingEnrollment
public String purchasingEnrollment()
Get the purchasingEnrollment property: The purchasing enrollment.- Returns:
- the purchasingEnrollment value.
-
purchasingSubscriptionGuid
public UUID purchasingSubscriptionGuid()
Get the purchasingSubscriptionGuid property: The subscription guid that makes the transaction.- Returns:
- the purchasingSubscriptionGuid value.
-
purchasingSubscriptionName
public String purchasingSubscriptionName()
Get the purchasingSubscriptionName property: The subscription name that makes the transaction.- Returns:
- the purchasingSubscriptionName value.
-
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:
- the armSkuName value.
-
term
public String term()
Get the term property: This is the term of the transaction.- Returns:
- the term value.
-
region
public String region()
Get the region property: The region of the transaction.- Returns:
- the region value.
-
accountName
public String accountName()
Get the accountName property: The name of the account that makes the transaction.- Returns:
- the accountName value.
-
accountOwnerEmail
public String accountOwnerEmail()
Get the accountOwnerEmail property: The email of the account owner that makes the transaction.- Returns:
- the accountOwnerEmail value.
-
departmentName
public String departmentName()
Get the departmentName property: The department name.- Returns:
- the departmentName value.
-
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:
- the costCenter value.
-
currentEnrollment
public String currentEnrollment()
Get the currentEnrollment property: The current enrollment.- Returns:
- the currentEnrollment value.
-
billingFrequency
public String billingFrequency()
Get the billingFrequency property: The billing frequency, which can be either one-time or recurring.- Returns:
- the billingFrequency value.
-
billingMonth
public Integer billingMonth()
Get the billingMonth property: The billing month(yyyyMMdd), on which the event initiated.- Returns:
- the billingMonth value.
-
monetaryCommitment
public BigDecimal monetaryCommitment()
Get the monetaryCommitment property: The monetary commitment amount at the enrollment scope.- Returns:
- the monetaryCommitment value.
-
overage
public BigDecimal overage()
Get the overage property: The overage amount at the enrollment scope.- Returns:
- the overage value.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classReservationTransactionResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-