Interface ReservationTransaction
-
public interface ReservationTransaction
An immutable client-side representation of ReservationTransaction.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
accountName()
Gets the accountName property: The name of the account that makes the transaction.String
accountOwnerEmail()
Gets the accountOwnerEmail property: The email of the account owner that makes the transaction.BigDecimal
amount()
Gets the amount property: The charge of the transaction.String
armSkuName()
Gets the armSkuName property: This is the ARM Sku name.String
billingFrequency()
Gets the billingFrequency property: The billing frequency, which can be either one-time or recurring.Integer
billingMonth()
Gets the billingMonth property: The billing month(yyyyMMdd), on which the event initiated.String
costCenter()
Gets the costCenter property: The cost center of this department if it is a department and a cost center is provided.String
currency()
Gets the currency property: The ISO currency in which the transaction is charged, for example, USD.String
currentEnrollment()
Gets the currentEnrollment property: The current enrollment.String
departmentName()
Gets the departmentName property: The department name.String
description()
Gets the description property: The description of the transaction.OffsetDateTime
eventDate()
Gets the eventDate property: The date of the transaction.String
eventType()
Gets the eventType property: The type of the transaction (Purchase, Cancel, etc.).String
id()
Gets the id property: Fully qualified resource Id for the resource.ReservationTransactionInner
innerModel()
Gets the inner com.azure.resourcemanager.consumption.fluent.models.ReservationTransactionInner object.BigDecimal
monetaryCommitment()
Gets the monetaryCommitment property: The monetary commitment amount at the enrollment scope.String
name()
Gets the name property: The name of the resource.BigDecimal
overage()
Gets the overage property: The overage amount at the enrollment scope.String
purchasingEnrollment()
Gets the purchasingEnrollment property: The purchasing enrollment.UUID
purchasingSubscriptionGuid()
Gets the purchasingSubscriptionGuid property: The subscription guid that makes the transaction.String
purchasingSubscriptionName()
Gets the purchasingSubscriptionName property: The subscription name that makes the transaction.BigDecimal
quantity()
Gets the quantity property: The quantity of the transaction.String
region()
Gets the region property: The region of the transaction.String
reservationOrderId()
Gets the reservationOrderId property: The reservation order ID is the identifier for a reservation purchase.String
reservationOrderName()
Gets the reservationOrderName property: The name of the reservation order.List<String>
tags()
Gets the tags property: Resource tags.String
term()
Gets the term property: This is the term of the transaction.String
type()
Gets the type property: The type of the resource.
-
-
-
Method Detail
-
id
String id()
Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()
Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()
Gets the type property: The type of the resource.- Returns:
- the type value.
-
eventDate
OffsetDateTime eventDate()
Gets the eventDate property: The date of the transaction.- Returns:
- the eventDate value.
-
reservationOrderId
String reservationOrderId()
Gets 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
String description()
Gets the description property: The description of the transaction.- Returns:
- the description value.
-
eventType
String eventType()
Gets the eventType property: The type of the transaction (Purchase, Cancel, etc.).- Returns:
- the eventType value.
-
quantity
BigDecimal quantity()
Gets the quantity property: The quantity of the transaction.- Returns:
- the quantity value.
-
amount
BigDecimal amount()
Gets the amount property: The charge of the transaction.- Returns:
- the amount value.
-
currency
String currency()
Gets the currency property: The ISO currency in which the transaction is charged, for example, USD.- Returns:
- the currency value.
-
reservationOrderName
String reservationOrderName()
Gets the reservationOrderName property: The name of the reservation order.- Returns:
- the reservationOrderName value.
-
purchasingEnrollment
String purchasingEnrollment()
Gets the purchasingEnrollment property: The purchasing enrollment.- Returns:
- the purchasingEnrollment value.
-
purchasingSubscriptionGuid
UUID purchasingSubscriptionGuid()
Gets the purchasingSubscriptionGuid property: The subscription guid that makes the transaction.- Returns:
- the purchasingSubscriptionGuid value.
-
purchasingSubscriptionName
String purchasingSubscriptionName()
Gets the purchasingSubscriptionName property: The subscription name that makes the transaction.- Returns:
- the purchasingSubscriptionName value.
-
armSkuName
String armSkuName()
Gets 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
String term()
Gets the term property: This is the term of the transaction.- Returns:
- the term value.
-
region
String region()
Gets the region property: The region of the transaction.- Returns:
- the region value.
-
accountName
String accountName()
Gets the accountName property: The name of the account that makes the transaction.- Returns:
- the accountName value.
-
accountOwnerEmail
String accountOwnerEmail()
Gets the accountOwnerEmail property: The email of the account owner that makes the transaction.- Returns:
- the accountOwnerEmail value.
-
departmentName
String departmentName()
Gets the departmentName property: The department name.- Returns:
- the departmentName value.
-
costCenter
String costCenter()
Gets 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
String currentEnrollment()
Gets the currentEnrollment property: The current enrollment.- Returns:
- the currentEnrollment value.
-
billingFrequency
String billingFrequency()
Gets the billingFrequency property: The billing frequency, which can be either one-time or recurring.- Returns:
- the billingFrequency value.
-
billingMonth
Integer billingMonth()
Gets the billingMonth property: The billing month(yyyyMMdd), on which the event initiated.- Returns:
- the billingMonth value.
-
monetaryCommitment
BigDecimal monetaryCommitment()
Gets the monetaryCommitment property: The monetary commitment amount at the enrollment scope.- Returns:
- the monetaryCommitment value.
-
overage
BigDecimal overage()
Gets the overage property: The overage amount at the enrollment scope.- Returns:
- the overage value.
-
innerModel
ReservationTransactionInner innerModel()
Gets the inner com.azure.resourcemanager.consumption.fluent.models.ReservationTransactionInner object.- Returns:
- the inner object.
-
-