/AWS1/CL_APSCOMPUTECAPACITY¶
Describes the capacity for a fleet.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
IV_DESIREDINSTANCES
TYPE /AWS1/APSINTEGER
/AWS1/APSINTEGER
¶
The desired number of streaming instances.
IV_DESIREDSESSIONS
TYPE /AWS1/APSINTEGER
/AWS1/APSINTEGER
¶
The desired number of user sessions for a multi-session fleet. This is not allowed for single-session fleets.
When you create a fleet, you must set either the DesiredSessions or DesiredInstances attribute, based on the type of fleet you create. You can’t define both attributes or leave both attributes blank.
Queryable Attributes¶
DesiredInstances¶
The desired number of streaming instances.
Accessible with the following methods¶
Method | Description |
---|---|
GET_DESIREDINSTANCES() |
Getter for DESIREDINSTANCES, with configurable default |
ASK_DESIREDINSTANCES() |
Getter for DESIREDINSTANCES w/ exceptions if field has no va |
HAS_DESIREDINSTANCES() |
Determine if DESIREDINSTANCES has a value |
DesiredSessions¶
The desired number of user sessions for a multi-session fleet. This is not allowed for single-session fleets.
When you create a fleet, you must set either the DesiredSessions or DesiredInstances attribute, based on the type of fleet you create. You can’t define both attributes or leave both attributes blank.
Accessible with the following methods¶
Method | Description |
---|---|
GET_DESIREDSESSIONS() |
Getter for DESIREDSESSIONS, with configurable default |
ASK_DESIREDSESSIONS() |
Getter for DESIREDSESSIONS w/ exceptions if field has no val |
HAS_DESIREDSESSIONS() |
Determine if DESIREDSESSIONS has a value |