Skip to content

/AWS1/CL_EC2CAPACITYRSVTATUS

Describes the availability of capacity for a Capacity Reservation.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_capacityreservationid TYPE /AWS1/EC2CAPACITYRESERVATIONID /AWS1/EC2CAPACITYRESERVATIONID

The ID of the Capacity Reservation.

iv_totalcapacity TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The combined amount of Available and Unavailable capacity in the Capacity Reservation.

iv_totalavailablecapacity TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The remaining capacity. Indicates the amount of resources that can be launched into the Capacity Reservation.

iv_totalunavailablecapacity TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The used capacity. Indicates that the capacity is in use by resources that are running in the Capacity Reservation.


Queryable Attributes

CapacityReservationId

The ID of the Capacity Reservation.

Accessible with the following methods

Method Description
GET_CAPACITYRESERVATIONID() Getter for CAPACITYRESERVATIONID, with configurable default
ASK_CAPACITYRESERVATIONID() Getter for CAPACITYRESERVATIONID w/ exceptions if field has
HAS_CAPACITYRESERVATIONID() Determine if CAPACITYRESERVATIONID has a value

TotalCapacity

The combined amount of Available and Unavailable capacity in the Capacity Reservation.

Accessible with the following methods

Method Description
GET_TOTALCAPACITY() Getter for TOTALCAPACITY, with configurable default
ASK_TOTALCAPACITY() Getter for TOTALCAPACITY w/ exceptions if field has no value
HAS_TOTALCAPACITY() Determine if TOTALCAPACITY has a value

TotalAvailableCapacity

The remaining capacity. Indicates the amount of resources that can be launched into the Capacity Reservation.

Accessible with the following methods

Method Description
GET_TOTALAVAILABLECAPACITY() Getter for TOTALAVAILABLECAPACITY, with configurable default
ASK_TOTALAVAILABLECAPACITY() Getter for TOTALAVAILABLECAPACITY w/ exceptions if field has
HAS_TOTALAVAILABLECAPACITY() Determine if TOTALAVAILABLECAPACITY has a value

TotalUnavailableCapacity

The used capacity. Indicates that the capacity is in use by resources that are running in the Capacity Reservation.

Accessible with the following methods

Method Description
GET_TOTALUNAVAILABLECAPACITY() Getter for TOTALUNAVAILABLECAPACITY, with configurable defau
ASK_TOTALUNAVAILABLECAPACITY() Getter for TOTALUNAVAILABLECAPACITY w/ exceptions if field h
HAS_TOTALUNAVAILABLECAPACITY() Determine if TOTALUNAVAILABLECAPACITY 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_CAPACITYRSVTATUSSET

TYPES TT_CAPACITYRSVTATUSSET TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2CAPACITYRSVTATUS WITH DEFAULT KEY
.