/AWS1/CL_EC2SPOTPLACEMENTSCORE¶
The Spot placement score for this Region or Availability Zone. The score is calculated
based on the assumption that the capacity-optimized
allocation strategy is
used and that all of the Availability Zones in the Region can be used.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
IV_REGION
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
The Region.
IV_AVAILABILITYZONEID
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
The Availability Zone.
IV_SCORE
TYPE /AWS1/EC2INTEGER
/AWS1/EC2INTEGER
¶
The placement score, on a scale from
1
to10
. A score of10
indicates that your Spot request is highly likely to succeed in this Region or Availability Zone. A score of1
indicates that your Spot request is not likely to succeed.
Queryable Attributes¶
Region¶
The Region.
Accessible with the following methods¶
Method | Description |
---|---|
GET_REGION() |
Getter for REGION, with configurable default |
ASK_REGION() |
Getter for REGION w/ exceptions if field has no value |
HAS_REGION() |
Determine if REGION has a value |
AvailabilityZoneId¶
The Availability Zone.
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 |
Score¶
The placement score, on a scale from
1
to10
. A score of10
indicates that your Spot request is highly likely to succeed in this Region or Availability Zone. A score of1
indicates that your Spot request is not likely to succeed.
Accessible with the following methods¶
Method | Description |
---|---|
GET_SCORE() |
Getter for SCORE, with configurable default |
ASK_SCORE() |
Getter for SCORE w/ exceptions if field has no value |
HAS_SCORE() |
Determine if SCORE 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_SPOTPLACEMENTSCORES
¶
TYPES TT_SPOTPLACEMENTSCORES TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2SPOTPLACEMENTSCORE WITH DEFAULT KEY
.