TargetProgressSummary

class oci.fleet_software_update.models.TargetProgressSummary(**kwargs)

Bases: object

Progress details of the executing job for a Database target.

Attributes

OPERATION_TYPE_APPLY A constant which can be used with the operation_type property of a TargetProgressSummary.
OPERATION_TYPE_PRECHECK A constant which can be used with the operation_type property of a TargetProgressSummary.
OPERATION_TYPE_ROLLBACK A constant which can be used with the operation_type property of a TargetProgressSummary.
OPERATION_TYPE_STAGE A constant which can be used with the operation_type property of a TargetProgressSummary.
operation_type Gets the operation_type of this TargetProgressSummary.
progress_of_operation Gets the progress_of_operation of this TargetProgressSummary.

Methods

__init__(**kwargs) Initializes a new TargetProgressSummary object with values from keyword arguments.
OPERATION_TYPE_APPLY = 'APPLY'

A constant which can be used with the operation_type property of a TargetProgressSummary. This constant has a value of “APPLY”

OPERATION_TYPE_PRECHECK = 'PRECHECK'

A constant which can be used with the operation_type property of a TargetProgressSummary. This constant has a value of “PRECHECK”

OPERATION_TYPE_ROLLBACK = 'ROLLBACK'

A constant which can be used with the operation_type property of a TargetProgressSummary. This constant has a value of “ROLLBACK”

OPERATION_TYPE_STAGE = 'STAGE'

A constant which can be used with the operation_type property of a TargetProgressSummary. This constant has a value of “STAGE”

__init__(**kwargs)

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

Parameters:
  • operation_type (str) – The value to assign to the operation_type property of this TargetProgressSummary. Allowed values for this property are: “STAGE”, “PRECHECK”, “APPLY”, “ROLLBACK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • progress_of_operation (int) – The value to assign to the progress_of_operation property of this TargetProgressSummary.
operation_type

Gets the operation_type of this TargetProgressSummary. Type of operations being executed.

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

Returns:The operation_type of this TargetProgressSummary.
Return type:str
progress_of_operation

Gets the progress_of_operation of this TargetProgressSummary. Percentage of progress of the operation in execution.

Returns:The progress_of_operation of this TargetProgressSummary.
Return type:int