Skip to content

/AWS1/CL_EC2RESERVEDINSTANCES

Describes a Reserved Instance.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_CURRENCYCODE TYPE /AWS1/EC2CURRENCYCODEVALUES /AWS1/EC2CURRENCYCODEVALUES

The currency of the Reserved Instance. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD.

IV_INSTANCETENANCY TYPE /AWS1/EC2TENANCY /AWS1/EC2TENANCY

The tenancy of the instance.

IV_OFFERINGCLASS TYPE /AWS1/EC2OFFERINGCLASSTYPE /AWS1/EC2OFFERINGCLASSTYPE

The offering class of the Reserved Instance.

IV_OFFERINGTYPE TYPE /AWS1/EC2OFFERINGTYPEVALUES /AWS1/EC2OFFERINGTYPEVALUES

The Reserved Instance offering type.

IT_RECURRINGCHARGES TYPE /AWS1/CL_EC2RECURRINGCHARGE=>TT_RECURRINGCHARGESLIST TT_RECURRINGCHARGESLIST

The recurring charge tag assigned to the resource.

IV_SCOPE TYPE /AWS1/EC2SCOPE /AWS1/EC2SCOPE

The scope of the Reserved Instance.

IT_TAGS TYPE /AWS1/CL_EC2TAG=>TT_TAGLIST TT_TAGLIST

Any tags assigned to the resource.

IV_RESERVEDINSTANCESID TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The ID of the Reserved Instance.

IV_INSTANCETYPE TYPE /AWS1/EC2INSTANCETYPE /AWS1/EC2INSTANCETYPE

The instance type on which the Reserved Instance can be used.

IV_AVAILABILITYZONE TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The Availability Zone in which the Reserved Instance can be used.

IV_START TYPE /AWS1/EC2DATETIME /AWS1/EC2DATETIME

The date and time the Reserved Instance started.

IV_END TYPE /AWS1/EC2DATETIME /AWS1/EC2DATETIME

The time when the Reserved Instance expires.

IV_DURATION TYPE /AWS1/EC2LONG /AWS1/EC2LONG

The duration of the Reserved Instance, in seconds.

IV_USAGEPRICE TYPE /AWS1/RT_FLOAT_AS_STRING /AWS1/RT_FLOAT_AS_STRING

The usage price of the Reserved Instance, per hour.

IV_FIXEDPRICE TYPE /AWS1/RT_FLOAT_AS_STRING /AWS1/RT_FLOAT_AS_STRING

The purchase price of the Reserved Instance.

IV_INSTANCECOUNT TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The number of reservations purchased.

IV_PRODUCTDESCRIPTION TYPE /AWS1/EC2RIPRODUCTDESCRIPTION /AWS1/EC2RIPRODUCTDESCRIPTION

The Reserved Instance product platform description.

IV_STATE TYPE /AWS1/EC2RESERVEDINSTANCESTATE /AWS1/EC2RESERVEDINSTANCESTATE

The state of the Reserved Instance purchase.


Queryable Attributes

CurrencyCode

The currency of the Reserved Instance. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD.

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

InstanceTenancy

The tenancy of the instance.

Accessible with the following methods

Method Description
GET_INSTANCETENANCY() Getter for INSTANCETENANCY, with configurable default
ASK_INSTANCETENANCY() Getter for INSTANCETENANCY w/ exceptions if field has no val
HAS_INSTANCETENANCY() Determine if INSTANCETENANCY has a value

OfferingClass

The offering class of the Reserved Instance.

Accessible with the following methods

Method Description
GET_OFFERINGCLASS() Getter for OFFERINGCLASS, with configurable default
ASK_OFFERINGCLASS() Getter for OFFERINGCLASS w/ exceptions if field has no value
HAS_OFFERINGCLASS() Determine if OFFERINGCLASS has a value

OfferingType

The Reserved Instance offering type.

Accessible with the following methods

Method Description
GET_OFFERINGTYPE() Getter for OFFERINGTYPE, with configurable default
ASK_OFFERINGTYPE() Getter for OFFERINGTYPE w/ exceptions if field has no value
HAS_OFFERINGTYPE() Determine if OFFERINGTYPE has a value

RecurringCharges

The recurring charge tag assigned to the resource.

Accessible with the following methods

Method Description
GET_RECURRINGCHARGES() Getter for RECURRINGCHARGES, with configurable default
ASK_RECURRINGCHARGES() Getter for RECURRINGCHARGES w/ exceptions if field has no va
HAS_RECURRINGCHARGES() Determine if RECURRINGCHARGES has a value

Scope

The scope of the Reserved Instance.

Accessible with the following methods

Method Description
GET_SCOPE() Getter for SCOPE, with configurable default
ASK_SCOPE() Getter for SCOPE w/ exceptions if field has no value
HAS_SCOPE() Determine if SCOPE has a value

Tags

Any tags assigned to the resource.

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

ReservedInstancesId

The ID of the Reserved Instance.

Accessible with the following methods

Method Description
GET_RESERVEDINSTANCESID() Getter for RESERVEDINSTANCESID, with configurable default
ASK_RESERVEDINSTANCESID() Getter for RESERVEDINSTANCESID w/ exceptions if field has no
HAS_RESERVEDINSTANCESID() Determine if RESERVEDINSTANCESID has a value

InstanceType

The instance type on which the Reserved Instance can be used.

Accessible with the following methods

Method Description
GET_INSTANCETYPE() Getter for INSTANCETYPE, with configurable default
ASK_INSTANCETYPE() Getter for INSTANCETYPE w/ exceptions if field has no value
HAS_INSTANCETYPE() Determine if INSTANCETYPE has a value

AvailabilityZone

The Availability Zone in which the Reserved Instance can be used.

Accessible with the following methods

Method Description
GET_AVAILABILITYZONE() Getter for AVAILABILITYZONE, with configurable default
ASK_AVAILABILITYZONE() Getter for AVAILABILITYZONE w/ exceptions if field has no va
HAS_AVAILABILITYZONE() Determine if AVAILABILITYZONE has a value

Start

The date and time the Reserved Instance 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

End

The time when the Reserved Instance expires.

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

Duration

The duration of the Reserved Instance, 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

UsagePrice

The usage price of the Reserved Instance, per hour.

Accessible with the following methods

Method Description
GET_USAGEPRICE() Getter for USAGEPRICE, with configurable default
ASK_USAGEPRICE() Getter for USAGEPRICE w/ exceptions if field has no value
STR_USAGEPRICE() String format for USAGEPRICE, with configurable default
HAS_USAGEPRICE() Determine if USAGEPRICE has a value

FixedPrice

The purchase price of the Reserved Instance.

Accessible with the following methods

Method Description
GET_FIXEDPRICE() Getter for FIXEDPRICE, with configurable default
ASK_FIXEDPRICE() Getter for FIXEDPRICE w/ exceptions if field has no value
STR_FIXEDPRICE() String format for FIXEDPRICE, with configurable default
HAS_FIXEDPRICE() Determine if FIXEDPRICE has a value

InstanceCount

The number of reservations purchased.

Accessible with the following methods

Method Description
GET_INSTANCECOUNT() Getter for INSTANCECOUNT, with configurable default
ASK_INSTANCECOUNT() Getter for INSTANCECOUNT w/ exceptions if field has no value
HAS_INSTANCECOUNT() Determine if INSTANCECOUNT has a value

ProductDescription

The Reserved Instance product platform description.

Accessible with the following methods

Method Description
GET_PRODUCTDESCRIPTION() Getter for PRODUCTDESCRIPTION, with configurable default
ASK_PRODUCTDESCRIPTION() Getter for PRODUCTDESCRIPTION w/ exceptions if field has no
HAS_PRODUCTDESCRIPTION() Determine if PRODUCTDESCRIPTION has a value

State

The state of the Reserved Instance purchase.

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

Public Local Types In This Class

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

TT_RESERVEDINSTANCESLIST

TYPES TT_RESERVEDINSTANCESLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2RESERVEDINSTANCES WITH DEFAULT KEY
.