Skip to content

/AWS1/CL_EC2HOSTOFFERING

Details about the Dedicated Host Reservation offering.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_CURRENCYCODE TYPE /AWS1/EC2CURRENCYCODEVALUES /AWS1/EC2CURRENCYCODEVALUES

The currency of the offering.

IV_DURATION TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The duration of the offering (in seconds).

IV_HOURLYPRICE TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The hourly price of the offering.

IV_INSTANCEFAMILY TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The instance family of the offering.

IV_OFFERINGID TYPE /AWS1/EC2OFFERINGID /AWS1/EC2OFFERINGID

The ID of the offering.

IV_PAYMENTOPTION TYPE /AWS1/EC2PAYMENTOPTION /AWS1/EC2PAYMENTOPTION

The available payment option.

IV_UPFRONTPRICE TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The upfront price of the offering. Does not apply to No Upfront offerings.


Queryable Attributes

CurrencyCode

The currency of the offering.

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 duration of the offering (in seconds).

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

HourlyPrice

The hourly price of the offering.

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 offering.

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 offering.

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 available payment option.

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

UpfrontPrice

The upfront price of the offering. Does not apply to No Upfront offerings.

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

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_HOSTOFFERINGSET

TYPES TT_HOSTOFFERINGSET TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2HOSTOFFERING WITH DEFAULT KEY
.