Task

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

Bases: object

The details of the task

Attributes

ASSOCIATION_TYPE_TASK A constant which can be used with the association_type property of a Task.
association_type [Required] Gets the association_type of this Task.
output_variable_mappings Gets the output_variable_mappings of this Task.
step_name [Required] Gets the step_name of this Task.
step_properties Gets the step_properties of this Task.
task_record_details [Required] Gets the task_record_details of this Task.

Methods

__init__(**kwargs) Initializes a new Task object with values from keyword arguments.
ASSOCIATION_TYPE_TASK = 'TASK'

A constant which can be used with the association_type property of a Task. This constant has a value of “TASK”

__init__(**kwargs)

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

Parameters:
  • step_name (str) – The value to assign to the step_name property of this Task.
  • association_type (str) – The value to assign to the association_type property of this Task. Allowed values for this property are: “TASK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • task_record_details (oci.fleet_apps_management.models.AssociatedTaskDetails) – The value to assign to the task_record_details property of this Task.
  • step_properties (oci.fleet_apps_management.models.ComponentProperties) – The value to assign to the step_properties property of this Task.
  • output_variable_mappings (list[oci.fleet_apps_management.models.OutputVariableMapping]) – The value to assign to the output_variable_mappings property of this Task.
association_type

[Required] Gets the association_type of this Task. The association type of the task

Allowed values for this property are: “TASK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The association_type of this Task.
Return type:str
output_variable_mappings

Gets the output_variable_mappings of this Task. Mapping output variables of previous tasks to the input variables of the current task.

Returns:The output_variable_mappings of this Task.
Return type:list[oci.fleet_apps_management.models.OutputVariableMapping]
step_name

[Required] Gets the step_name of this Task. The name of the task step.

Returns:The step_name of this Task.
Return type:str
step_properties

Gets the step_properties of this Task.

Returns:The step_properties of this Task.
Return type:oci.fleet_apps_management.models.ComponentProperties
task_record_details

[Required] Gets the task_record_details of this Task.

Returns:The task_record_details of this Task.
Return type:oci.fleet_apps_management.models.AssociatedTaskDetails