models.update_app_instance_state_parameters module¶
-
class
models.update_app_instance_state_parameters.
UpdateAppInstanceStateParameters
(state=None)[source]¶ Bases:
object
Implementation of the ‘UpdateAppInstanceStateParameters’ model.
Specifies update app instance state parameters.
- Attributes:
- state (StateUpdateAppInstanceStateParametersEnum):
Specifies the desired app instance state type. Specifies operational status of an app instance. kInitializing - The app instance has been launched or resumed, but is not fully running yet. kRunning - The app instance is running. Check health_status for the actual health. kPausing - The app instance is being paused. kPaused - The app instance has been paused. kTerminating - The app instance is being terminated. kTerminated - The app instance has been terminated. kFailed - The app instance has failed due to an unrecoverable error.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.