Skip to content

/AWS1/CL_EC2CAPRESVTOPOLOGY

Information about the Capacity Reservation topology.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_capacityreservationid TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The ID of the Capacity Reservation.

iv_capacityblockid TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The ID of the Capacity Block. This parameter is only supported for UltraServer instances and identifies instances within the UltraServer domain.

iv_state TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The current state of the Capacity Reservation. For the list of possible states, see DescribeCapacityReservations.

iv_instancetype TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The instance type.

iv_groupname TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The name of the placement group that the Capacity Reservation is in.

it_networknodes TYPE /AWS1/CL_EC2NETWORKNODESET_W=>TT_NETWORKNODESET TT_NETWORKNODESET

The network nodes. The nodes are hashed based on your account. Capacity Reservations from different accounts running under the same server will return a different hashed list of strings.

The value is null or empty if:

  • The instance type is not supported.

  • The Capacity Reservation is in a state other than active or pending.

iv_availabilityzoneid TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The ID of the Availability Zone or Local Zone that the Capacity Reservation is in.

iv_availabilityzone TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The name of the Availability Zone or Local Zone that the Capacity Reservation is in.


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

CapacityBlockId

The ID of the Capacity Block. This parameter is only supported for UltraServer instances and identifies instances within the UltraServer domain.

Accessible with the following methods

Method Description
GET_CAPACITYBLOCKID() Getter for CAPACITYBLOCKID, with configurable default
ASK_CAPACITYBLOCKID() Getter for CAPACITYBLOCKID w/ exceptions if field has no val
HAS_CAPACITYBLOCKID() Determine if CAPACITYBLOCKID has a value

State

The current state of the Capacity Reservation. For the list of possible states, see DescribeCapacityReservations.

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

InstanceType

The instance type.

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

GroupName

The name of the placement group that the Capacity Reservation is in.

Accessible with the following methods

Method Description
GET_GROUPNAME() Getter for GROUPNAME, with configurable default
ASK_GROUPNAME() Getter for GROUPNAME w/ exceptions if field has no value
HAS_GROUPNAME() Determine if GROUPNAME has a value

NetworkNodes

The network nodes. The nodes are hashed based on your account. Capacity Reservations from different accounts running under the same server will return a different hashed list of strings.

The value is null or empty if:

  • The instance type is not supported.

  • The Capacity Reservation is in a state other than active or pending.

Accessible with the following methods

Method Description
GET_NETWORKNODES() Getter for NETWORKNODES, with configurable default
ASK_NETWORKNODES() Getter for NETWORKNODES w/ exceptions if field has no value
HAS_NETWORKNODES() Determine if NETWORKNODES has a value

AvailabilityZoneId

The ID of the Availability Zone or Local Zone that the Capacity Reservation is in.

Accessible with the following methods

Method Description
GET_AVAILABILITYZONEID() Getter for AVAILABILITYZONEID, with configurable default
ASK_AVAILABILITYZONEID() Getter for AVAILABILITYZONEID w/ exceptions if field has no
HAS_AVAILABILITYZONEID() Determine if AVAILABILITYZONEID has a value

AvailabilityZone

The name of the Availability Zone or Local Zone that the Capacity Reservation is in.

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

Public Local Types In This Class

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

TT_CAPACITYRESVTOPOLOGYSET

TYPES TT_CAPACITYRESVTOPOLOGYSET TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2CAPRESVTOPOLOGY WITH DEFAULT KEY
.