/AWS1/CL_EC2INTIBLECAPALLOC¶
Represents the allocation of capacity from a source reservation to an interruptible reservation, tracking current and target instance counts for allocation management.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_instancecount TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER¶
The current number of instances allocated to the interruptible reservation.
iv_targetinstancecount TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER¶
After your modify request, the requested number of instances allocated to interruptible reservation.
iv_status TYPE /AWS1/EC2INTIBLECAPRSVALCTATUS /AWS1/EC2INTIBLECAPRSVALCTATUS¶
The current status of the allocation (updating during reclamation, active when complete).
iv_interrptiblecapresvid TYPE /AWS1/EC2STRING /AWS1/EC2STRING¶
The ID of the interruptible Capacity Reservation created from the allocation.
iv_interruptiontype TYPE /AWS1/EC2INTERRUPTIONTYPE /AWS1/EC2INTERRUPTIONTYPE¶
The type of interruption policy applied to the interruptible reservation.
iv_zerosizepreference TYPE /AWS1/EC2ZEROSIZEPREFERENCE /AWS1/EC2ZEROSIZEPREFERENCE¶
Specifies how Amazon EC2 handles the interruptible Capacity Reservation when you reduce its allocation to zero instances. A value of
retainkeeps the interruptible Capacity Reservation active at zero capacity so that you can allocate instances to it again later. A value ofdefaultcancels the interruptible Capacity Reservation and returns the capacity to your source Capacity Reservation.
Queryable Attributes¶
InstanceCount¶
The current number of instances allocated to the interruptible reservation.
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 |
TargetInstanceCount¶
After your modify request, the requested number of instances allocated to interruptible reservation.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TARGETINSTANCECOUNT() |
Getter for TARGETINSTANCECOUNT, with configurable default |
ASK_TARGETINSTANCECOUNT() |
Getter for TARGETINSTANCECOUNT w/ exceptions if field has no |
HAS_TARGETINSTANCECOUNT() |
Determine if TARGETINSTANCECOUNT has a value |
Status¶
The current status of the allocation (updating during reclamation, active when complete).
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STATUS() |
Getter for STATUS, with configurable default |
ASK_STATUS() |
Getter for STATUS w/ exceptions if field has no value |
HAS_STATUS() |
Determine if STATUS has a value |
InterruptibleCapacityReservationId¶
The ID of the interruptible Capacity Reservation created from the allocation.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INTERRPTIBLECAPRESVID() |
Getter for INTERRUPTIBLECAPACITYRESVID, with configurable de |
ASK_INTERRPTIBLECAPRESVID() |
Getter for INTERRUPTIBLECAPACITYRESVID w/ exceptions if fiel |
HAS_INTERRPTIBLECAPRESVID() |
Determine if INTERRUPTIBLECAPACITYRESVID has a value |
InterruptionType¶
The type of interruption policy applied to the interruptible reservation.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INTERRUPTIONTYPE() |
Getter for INTERRUPTIONTYPE, with configurable default |
ASK_INTERRUPTIONTYPE() |
Getter for INTERRUPTIONTYPE w/ exceptions if field has no va |
HAS_INTERRUPTIONTYPE() |
Determine if INTERRUPTIONTYPE has a value |
ZeroSizePreference¶
Specifies how Amazon EC2 handles the interruptible Capacity Reservation when you reduce its allocation to zero instances. A value of
retainkeeps the interruptible Capacity Reservation active at zero capacity so that you can allocate instances to it again later. A value ofdefaultcancels the interruptible Capacity Reservation and returns the capacity to your source Capacity Reservation.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ZEROSIZEPREFERENCE() |
Getter for ZEROSIZEPREFERENCE, with configurable default |
ASK_ZEROSIZEPREFERENCE() |
Getter for ZEROSIZEPREFERENCE w/ exceptions if field has no |
HAS_ZEROSIZEPREFERENCE() |
Determine if ZEROSIZEPREFERENCE has a value |