/AWS1/CL_LSASTOPINSTONIDLEREQ¶
Describes a request to create or edit the StopInstanceOnIdle add-on.
This add-on only applies to Lightsail for Research resources.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_threshold TYPE /AWS1/LSASTRING /AWS1/LSASTRING¶
The value to compare with the duration.
iv_duration TYPE /AWS1/LSASTRING /AWS1/LSASTRING¶
The amount of idle time in minutes after which your virtual computer will automatically stop.
Queryable Attributes¶
threshold¶
The value to compare with the duration.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_THRESHOLD() |
Getter for THRESHOLD, with configurable default |
ASK_THRESHOLD() |
Getter for THRESHOLD w/ exceptions if field has no value |
HAS_THRESHOLD() |
Determine if THRESHOLD has a value |
duration¶
The amount of idle time in minutes after which your virtual computer will automatically stop.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DURATION() |
Getter for DURATION, with configurable default |
ASK_DURATION() |
Getter for DURATION w/ exceptions if field has no value |
HAS_DURATION() |
Determine if DURATION has a value |