Skip to content

/AWS1/CL_EC2SCHDINSTAVAILABI00

Describes a schedule that is available for your Scheduled Instances.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_availabilityzone TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The Availability Zone.

iv_availableinstancecount TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The number of available instances.

iv_firstslotstarttime TYPE /AWS1/EC2DATETIME /AWS1/EC2DATETIME

The time period for the first schedule to start.

iv_hourlyprice TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The hourly price for a single instance.

iv_instancetype TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The instance type. You can specify one of the C3, C4, M4, or R3 instance types.

iv_maxtermdurationindays TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The maximum term. The only possible value is 365 days.

iv_mintermdurationindays TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The minimum term. The only possible value is 365 days.

iv_networkplatform TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The network platform.

iv_platform TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The platform (Linux/UNIX or Windows).

iv_purchasetoken TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The purchase token. This token expires in two hours.

io_recurrence TYPE REF TO /AWS1/CL_EC2SCHDINSTRECURRENCE /AWS1/CL_EC2SCHDINSTRECURRENCE

The schedule recurrence.

iv_slotdurationinhours TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The number of hours in the schedule.

iv_totalschddinstancehours TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The total number of hours for a single instance for the entire term.


Queryable Attributes

AvailabilityZone

The Availability Zone.

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

AvailableInstanceCount

The number of available instances.

Accessible with the following methods

Method Description
GET_AVAILABLEINSTANCECOUNT() Getter for AVAILABLEINSTANCECOUNT, with configurable default
ASK_AVAILABLEINSTANCECOUNT() Getter for AVAILABLEINSTANCECOUNT w/ exceptions if field has
HAS_AVAILABLEINSTANCECOUNT() Determine if AVAILABLEINSTANCECOUNT has a value

FirstSlotStartTime

The time period for the first schedule to start.

Accessible with the following methods

Method Description
GET_FIRSTSLOTSTARTTIME() Getter for FIRSTSLOTSTARTTIME, with configurable default
ASK_FIRSTSLOTSTARTTIME() Getter for FIRSTSLOTSTARTTIME w/ exceptions if field has no
HAS_FIRSTSLOTSTARTTIME() Determine if FIRSTSLOTSTARTTIME has a value

HourlyPrice

The hourly price for a single instance.

Accessible with the following methods

Method Description
GET_HOURLYPRICE() Getter for HOURLYPRICE, with configurable default
ASK_HOURLYPRICE() Getter for HOURLYPRICE w/ exceptions if field has no value
HAS_HOURLYPRICE() Determine if HOURLYPRICE has a value

InstanceType

The instance type. You can specify one of the C3, C4, M4, or R3 instance types.

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

MaxTermDurationInDays

The maximum term. The only possible value is 365 days.

Accessible with the following methods

Method Description
GET_MAXTERMDURATIONINDAYS() Getter for MAXTERMDURATIONINDAYS, with configurable default
ASK_MAXTERMDURATIONINDAYS() Getter for MAXTERMDURATIONINDAYS w/ exceptions if field has
HAS_MAXTERMDURATIONINDAYS() Determine if MAXTERMDURATIONINDAYS has a value

MinTermDurationInDays

The minimum term. The only possible value is 365 days.

Accessible with the following methods

Method Description
GET_MINTERMDURATIONINDAYS() Getter for MINTERMDURATIONINDAYS, with configurable default
ASK_MINTERMDURATIONINDAYS() Getter for MINTERMDURATIONINDAYS w/ exceptions if field has
HAS_MINTERMDURATIONINDAYS() Determine if MINTERMDURATIONINDAYS has a value

NetworkPlatform

The network platform.

Accessible with the following methods

Method Description
GET_NETWORKPLATFORM() Getter for NETWORKPLATFORM, with configurable default
ASK_NETWORKPLATFORM() Getter for NETWORKPLATFORM w/ exceptions if field has no val
HAS_NETWORKPLATFORM() Determine if NETWORKPLATFORM has a value

Platform

The platform (Linux/UNIX or Windows).

Accessible with the following methods

Method Description
GET_PLATFORM() Getter for PLATFORM, with configurable default
ASK_PLATFORM() Getter for PLATFORM w/ exceptions if field has no value
HAS_PLATFORM() Determine if PLATFORM has a value

PurchaseToken

The purchase token. This token expires in two hours.

Accessible with the following methods

Method Description
GET_PURCHASETOKEN() Getter for PURCHASETOKEN, with configurable default
ASK_PURCHASETOKEN() Getter for PURCHASETOKEN w/ exceptions if field has no value
HAS_PURCHASETOKEN() Determine if PURCHASETOKEN has a value

Recurrence

The schedule recurrence.

Accessible with the following methods

Method Description
GET_RECURRENCE() Getter for RECURRENCE

SlotDurationInHours

The number of hours in the schedule.

Accessible with the following methods

Method Description
GET_SLOTDURATIONINHOURS() Getter for SLOTDURATIONINHOURS, with configurable default
ASK_SLOTDURATIONINHOURS() Getter for SLOTDURATIONINHOURS w/ exceptions if field has no
HAS_SLOTDURATIONINHOURS() Determine if SLOTDURATIONINHOURS has a value

TotalScheduledInstanceHours

The total number of hours for a single instance for the entire term.

Accessible with the following methods

Method Description
GET_TOTALSCHDDINSTANCEHOURS() Getter for TOTALSCHEDULEDINSTANCEHOURS, with configurable de
ASK_TOTALSCHDDINSTANCEHOURS() Getter for TOTALSCHEDULEDINSTANCEHOURS w/ exceptions if fiel
HAS_TOTALSCHDDINSTANCEHOURS() Determine if TOTALSCHEDULEDINSTANCEHOURS 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_SCHDDINSTAVAILABILITYSET

TYPES TT_SCHDDINSTAVAILABILITYSET TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2SCHDINSTAVAILABI00 WITH DEFAULT KEY
.