/AWS1/CL_EC2HOSTRESERVATION¶
Details about the Dedicated Host Reservation and associated Dedicated Hosts.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
IV_COUNT
TYPE /AWS1/EC2INTEGER
/AWS1/EC2INTEGER
¶
The number of Dedicated Hosts the reservation is associated with.
IV_CURRENCYCODE
TYPE /AWS1/EC2CURRENCYCODEVALUES
/AWS1/EC2CURRENCYCODEVALUES
¶
The currency in which the
upfrontPrice
andhourlyPrice
amounts are specified. At this time, the only supported currency isUSD
.
IV_DURATION
TYPE /AWS1/EC2INTEGER
/AWS1/EC2INTEGER
¶
The length of the reservation's term, specified in seconds. Can be
31536000 (1 year)
|94608000 (3 years)
.
IV_END
TYPE /AWS1/EC2DATETIME
/AWS1/EC2DATETIME
¶
The date and time that the reservation ends.
IT_HOSTIDSET
TYPE /AWS1/CL_EC2RSPHOSTIDSET_W=>TT_RESPONSEHOSTIDSET
TT_RESPONSEHOSTIDSET
¶
The IDs of the Dedicated Hosts associated with the reservation.
IV_HOSTRESERVATIONID
TYPE /AWS1/EC2HOSTRESERVATIONID
/AWS1/EC2HOSTRESERVATIONID
¶
The ID of the reservation that specifies the associated Dedicated Hosts.
IV_HOURLYPRICE
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
The hourly price of the reservation.
IV_INSTANCEFAMILY
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
The instance family of the Dedicated Host Reservation. The instance family on the Dedicated Host must be the same in order for it to benefit from the reservation.
IV_OFFERINGID
TYPE /AWS1/EC2OFFERINGID
/AWS1/EC2OFFERINGID
¶
The ID of the reservation. This remains the same regardless of which Dedicated Hosts are associated with it.
IV_PAYMENTOPTION
TYPE /AWS1/EC2PAYMENTOPTION
/AWS1/EC2PAYMENTOPTION
¶
The payment option selected for this reservation.
IV_START
TYPE /AWS1/EC2DATETIME
/AWS1/EC2DATETIME
¶
The date and time that the reservation started.
IV_STATE
TYPE /AWS1/EC2RESERVATIONSTATE
/AWS1/EC2RESERVATIONSTATE
¶
The state of the reservation.
IV_UPFRONTPRICE
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
The upfront price of the reservation.
IT_TAGS
TYPE /AWS1/CL_EC2TAG=>TT_TAGLIST
TT_TAGLIST
¶
Any tags assigned to the Dedicated Host Reservation.
Queryable Attributes¶
Count¶
The number of Dedicated Hosts the reservation is associated with.
Accessible with the following methods¶
Method | Description |
---|---|
GET_COUNT() |
Getter for COUNT, with configurable default |
ASK_COUNT() |
Getter for COUNT w/ exceptions if field has no value |
HAS_COUNT() |
Determine if COUNT has a value |
CurrencyCode¶
The currency in which the
upfrontPrice
andhourlyPrice
amounts are specified. At this time, the only supported currency isUSD
.
Accessible with the following methods¶
Method | Description |
---|---|
GET_CURRENCYCODE() |
Getter for CURRENCYCODE, with configurable default |
ASK_CURRENCYCODE() |
Getter for CURRENCYCODE w/ exceptions if field has no value |
HAS_CURRENCYCODE() |
Determine if CURRENCYCODE has a value |
Duration¶
The length of the reservation's term, specified in seconds. Can be
31536000 (1 year)
|94608000 (3 years)
.
Accessible with the following methods¶
Method | Description |
---|---|
GET_DURATION() |
Getter for DURATION, with configurable default |
ASK_DURATION() |
Getter for DURATION w/ exceptions if field has no value |
HAS_DURATION() |
Determine if DURATION has a value |
End¶
The date and time that the reservation ends.
Accessible with the following methods¶
Method | Description |
---|---|
GET_END() |
Getter for END, with configurable default |
ASK_END() |
Getter for END w/ exceptions if field has no value |
HAS_END() |
Determine if END has a value |
HostIdSet¶
The IDs of the Dedicated Hosts associated with the reservation.
Accessible with the following methods¶
Method | Description |
---|---|
GET_HOSTIDSET() |
Getter for HOSTIDSET, with configurable default |
ASK_HOSTIDSET() |
Getter for HOSTIDSET w/ exceptions if field has no value |
HAS_HOSTIDSET() |
Determine if HOSTIDSET has a value |
HostReservationId¶
The ID of the reservation that specifies the associated Dedicated Hosts.
Accessible with the following methods¶
Method | Description |
---|---|
GET_HOSTRESERVATIONID() |
Getter for HOSTRESERVATIONID, with configurable default |
ASK_HOSTRESERVATIONID() |
Getter for HOSTRESERVATIONID w/ exceptions if field has no v |
HAS_HOSTRESERVATIONID() |
Determine if HOSTRESERVATIONID has a value |
HourlyPrice¶
The hourly price of the reservation.
Accessible with the following methods¶
Method | Description |
---|---|
GET_HOURLYPRICE() |
Getter for HOURLYPRICE, with configurable default |
ASK_HOURLYPRICE() |
Getter for HOURLYPRICE w/ exceptions if field has no value |
HAS_HOURLYPRICE() |
Determine if HOURLYPRICE has a value |
InstanceFamily¶
The instance family of the Dedicated Host Reservation. The instance family on the Dedicated Host must be the same in order for it to benefit from the reservation.
Accessible with the following methods¶
Method | Description |
---|---|
GET_INSTANCEFAMILY() |
Getter for INSTANCEFAMILY, with configurable default |
ASK_INSTANCEFAMILY() |
Getter for INSTANCEFAMILY w/ exceptions if field has no valu |
HAS_INSTANCEFAMILY() |
Determine if INSTANCEFAMILY has a value |
OfferingId¶
The ID of the reservation. This remains the same regardless of which Dedicated Hosts are associated with it.
Accessible with the following methods¶
Method | Description |
---|---|
GET_OFFERINGID() |
Getter for OFFERINGID, with configurable default |
ASK_OFFERINGID() |
Getter for OFFERINGID w/ exceptions if field has no value |
HAS_OFFERINGID() |
Determine if OFFERINGID has a value |
PaymentOption¶
The payment option selected for this reservation.
Accessible with the following methods¶
Method | Description |
---|---|
GET_PAYMENTOPTION() |
Getter for PAYMENTOPTION, with configurable default |
ASK_PAYMENTOPTION() |
Getter for PAYMENTOPTION w/ exceptions if field has no value |
HAS_PAYMENTOPTION() |
Determine if PAYMENTOPTION has a value |
Start¶
The date and time that the reservation started.
Accessible with the following methods¶
Method | Description |
---|---|
GET_START() |
Getter for START, with configurable default |
ASK_START() |
Getter for START w/ exceptions if field has no value |
HAS_START() |
Determine if START has a value |
State¶
The state of the reservation.
Accessible with the following methods¶
Method | Description |
---|---|
GET_STATE() |
Getter for STATE, with configurable default |
ASK_STATE() |
Getter for STATE w/ exceptions if field has no value |
HAS_STATE() |
Determine if STATE has a value |
UpfrontPrice¶
The upfront price of the reservation.
Accessible with the following methods¶
Method | Description |
---|---|
GET_UPFRONTPRICE() |
Getter for UPFRONTPRICE, with configurable default |
ASK_UPFRONTPRICE() |
Getter for UPFRONTPRICE w/ exceptions if field has no value |
HAS_UPFRONTPRICE() |
Determine if UPFRONTPRICE has a value |
Tags¶
Any tags assigned to the Dedicated Host Reservation.
Accessible with the following methods¶
Method | Description |
---|---|
GET_TAGS() |
Getter for TAGS, with configurable default |
ASK_TAGS() |
Getter for TAGS w/ exceptions if field has no value |
HAS_TAGS() |
Determine if TAGS has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_HOSTRESERVATIONSET
¶
TYPES TT_HOSTRESERVATIONSET TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2HOSTRESERVATION WITH DEFAULT KEY
.