Skip to content

/AWS1/CL_EC2CAPBLOCKEXTENSION

Describes a Capacity Block extension. With an extension, you can extend the duration of time for an existing Capacity Block.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_capacityreservationid TYPE /AWS1/EC2CAPACITYRESERVATIONID /AWS1/EC2CAPACITYRESERVATIONID

The reservation ID of the Capacity Block extension.

iv_instancetype TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The instance type of the Capacity Block extension.

iv_instancecount TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The number of instances in the Capacity Block extension.

iv_availabilityzone TYPE /AWS1/EC2AVAILABILITYZONENAME /AWS1/EC2AVAILABILITYZONENAME

The Availability Zone of the Capacity Block extension.

iv_availabilityzoneid TYPE /AWS1/EC2AVAILABILITYZONEID /AWS1/EC2AVAILABILITYZONEID

The Availability Zone ID of the Capacity Block extension.

iv_capblkextensionofferingid TYPE /AWS1/EC2OFFERINGID /AWS1/EC2OFFERINGID

The ID of the Capacity Block extension offering.

iv_capblockextensiondurhours TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The duration of the Capacity Block extension in hours.

iv_capblockextensionstatus TYPE /AWS1/EC2CAPBLOCKEXTENSIONSTAT /AWS1/EC2CAPBLOCKEXTENSIONSTAT

The status of the Capacity Block extension. A Capacity Block extension can have one of the following statuses:

  • payment-pending - The Capacity Block extension payment is processing. If your payment can't be processed within 12 hours, the Capacity Block extension is failed.

  • payment-failed - Payment for the Capacity Block extension request was not successful.

  • payment-succeeded - Payment for the Capacity Block extension request was successful. You receive an invoice that reflects the one-time upfront payment. In the invoice, you can associate the paid amount with the Capacity Block reservation ID.

iv_capblkextensionpurchase00 TYPE /AWS1/EC2MILLISECONDDATETIME /AWS1/EC2MILLISECONDDATETIME

The date when the Capacity Block extension was purchased.

iv_capblockextensionstrtdate TYPE /AWS1/EC2MILLISECONDDATETIME /AWS1/EC2MILLISECONDDATETIME

The start date of the Capacity Block extension.

iv_capblockextensionenddate TYPE /AWS1/EC2MILLISECONDDATETIME /AWS1/EC2MILLISECONDDATETIME

The end date of the Capacity Block extension.

iv_upfrontfee TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The total price to be paid up front.

iv_currencycode TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The currency of the payment for the Capacity Block extension.

iv_zonetype TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The type of zone where the Capacity Block extension is located.


Queryable Attributes

CapacityReservationId

The reservation ID of the Capacity Block extension.

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

InstanceType

The instance type of the Capacity Block extension.

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

InstanceCount

The number of instances in the Capacity Block extension.

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

AvailabilityZone

The Availability Zone of the Capacity Block extension.

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

AvailabilityZoneId

The Availability Zone ID of the Capacity Block extension.

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

CapacityBlockExtensionOfferingId

The ID of the Capacity Block extension offering.

Accessible with the following methods

Method Description
GET_CAPBLKEXTENSIONOFFERIN00() Getter for CAPBLOCKEXTENSIONOFFERINGID, with configurable de
ASK_CAPBLKEXTENSIONOFFERIN00() Getter for CAPBLOCKEXTENSIONOFFERINGID w/ exceptions if fiel
HAS_CAPBLKEXTENSIONOFFERIN00() Determine if CAPBLOCKEXTENSIONOFFERINGID has a value

CapacityBlockExtensionDurationHours

The duration of the Capacity Block extension in hours.

Accessible with the following methods

Method Description
GET_CAPBLKEXTENSIONDURHOURS() Getter for CAPBLOCKEXTENSIONDURHOURS, with configurable defa
ASK_CAPBLKEXTENSIONDURHOURS() Getter for CAPBLOCKEXTENSIONDURHOURS w/ exceptions if field
HAS_CAPBLKEXTENSIONDURHOURS() Determine if CAPBLOCKEXTENSIONDURHOURS has a value

CapacityBlockExtensionStatus

The status of the Capacity Block extension. A Capacity Block extension can have one of the following statuses:

  • payment-pending - The Capacity Block extension payment is processing. If your payment can't be processed within 12 hours, the Capacity Block extension is failed.

  • payment-failed - Payment for the Capacity Block extension request was not successful.

  • payment-succeeded - Payment for the Capacity Block extension request was successful. You receive an invoice that reflects the one-time upfront payment. In the invoice, you can associate the paid amount with the Capacity Block reservation ID.

Accessible with the following methods

Method Description
GET_CAPBLOCKEXTENSIONSTATUS() Getter for CAPACITYBLOCKEXTENSIONSTATUS, with configurable d
ASK_CAPBLOCKEXTENSIONSTATUS() Getter for CAPACITYBLOCKEXTENSIONSTATUS w/ exceptions if fie
HAS_CAPBLOCKEXTENSIONSTATUS() Determine if CAPACITYBLOCKEXTENSIONSTATUS has a value

CapacityBlockExtensionPurchaseDate

The date when the Capacity Block extension was purchased.

Accessible with the following methods

Method Description
GET_CAPBLKEXTENSIONPURCHAS00() Getter for CAPBLKEXTENSIONPURCHASEDATE, with configurable de
ASK_CAPBLKEXTENSIONPURCHAS00() Getter for CAPBLKEXTENSIONPURCHASEDATE w/ exceptions if fiel
HAS_CAPBLKEXTENSIONPURCHAS00() Determine if CAPBLKEXTENSIONPURCHASEDATE has a value

CapacityBlockExtensionStartDate

The start date of the Capacity Block extension.

Accessible with the following methods

Method Description
GET_CAPBLKEXTENSIONSTRTDATE() Getter for CAPBLOCKEXTENSIONSTARTDATE, with configurable def
ASK_CAPBLKEXTENSIONSTRTDATE() Getter for CAPBLOCKEXTENSIONSTARTDATE w/ exceptions if field
HAS_CAPBLKEXTENSIONSTRTDATE() Determine if CAPBLOCKEXTENSIONSTARTDATE has a value

CapacityBlockExtensionEndDate

The end date of the Capacity Block extension.

Accessible with the following methods

Method Description
GET_CAPBLOCKEXTENSIONENDDATE() Getter for CAPBLOCKEXTENSIONENDDATE, with configurable defau
ASK_CAPBLOCKEXTENSIONENDDATE() Getter for CAPBLOCKEXTENSIONENDDATE w/ exceptions if field h
HAS_CAPBLOCKEXTENSIONENDDATE() Determine if CAPBLOCKEXTENSIONENDDATE has a value

UpfrontFee

The total price to be paid up front.

Accessible with the following methods

Method Description
GET_UPFRONTFEE() Getter for UPFRONTFEE, with configurable default
ASK_UPFRONTFEE() Getter for UPFRONTFEE w/ exceptions if field has no value
HAS_UPFRONTFEE() Determine if UPFRONTFEE has a value

CurrencyCode

The currency of the payment for the Capacity Block extension.

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

ZoneType

The type of zone where the Capacity Block extension is located.

Accessible with the following methods

Method Description
GET_ZONETYPE() Getter for ZONETYPE, with configurable default
ASK_ZONETYPE() Getter for ZONETYPE w/ exceptions if field has no value
HAS_ZONETYPE() Determine if ZONETYPE 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_CAPACITYBLOCKEXTENSIONSET

TYPES TT_CAPACITYBLOCKEXTENSIONSET TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2CAPBLOCKEXTENSION WITH DEFAULT KEY
.