Outcome

class oci.fleet_apps_management.models.Outcome(**kwargs)

Bases: object

Execution Outcome.

Methods

__init__(**kwargs) Initializes a new Outcome object with values from keyword arguments.

Attributes

error Gets the error of this Outcome.
exit_code Gets the exit_code of this Outcome.
output [Required] Gets the output of this Outcome.
__init__(**kwargs)

Initializes a new Outcome object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • output (str) – The value to assign to the output property of this Outcome.
  • error (str) – The value to assign to the error property of this Outcome.
  • exit_code (str) – The value to assign to the exit_code property of this Outcome.
error

Gets the error of this Outcome. Errors if any, associated with the execution.

Returns:The error of this Outcome.
Return type:str
exit_code

Gets the exit_code of this Outcome. Exit Code.

Returns:The exit_code of this Outcome.
Return type:str
output

[Required] Gets the output of this Outcome. A shortened version of Execution output.

Returns:The output of this Outcome.
Return type:str