models_v2.patch_operation_status module¶
-
class
models_v2.patch_operation_status.
PatchOperationStatus
(in_progress=None, operation=None, percentage=None, time_remaining_seconds=None, time_taken_seconds=None, services_progress=None, operation_message=None)[source]¶ Bases:
object
Implementation of the ‘Patch Operation Status.’ model.
Specifies the status of the current or the last patch operation.
- Attributes:
in_progress (bool): Specifies whether a operation is in progress now. operation (string): Specifies the patch operation. It is either apply
or revert patch operation.
- percentage (long|int): Specifies the percentage of completion of the
current patch operation in progress or the last patch operation completed.
- time_remaining_seconds (long|int): Specifies the time remaining to
complete the patch operation.
- time_taken_seconds (long|int): Specifies the time taken so far to
complete the patch operation.
- services_progress (list of PatchOperationServiceUnitProgress):
Specifies the details of patch operation services at each patch level.
- operation_message (string): Specifies a message about the patch
operation.
-
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.