WorkRequest

class oci.os_management_hub.models.WorkRequest(**kwargs)

Bases: object

An object that defines a work request.

Attributes

OPERATION_TYPE_CREATE_SOFTWARE_SOURCE A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_DISABLE_MODULE_STREAMS A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_ENABLE_MODULE_STREAMS A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_GET_WINDOWS_UPDATE_DETAILS A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_IMPORT_CONTENT A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_INSTALL_ALL_WINDOWS_UPDATES A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_INSTALL_BUGFIX_WINDOWS_UPDATES A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_INSTALL_ENHANCEMENT_WINDOWS_UPDATES A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_INSTALL_MODULE_PROFILES A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_INSTALL_OTHER_WINDOWS_UPDATES A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_INSTALL_PACKAGES A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_INSTALL_SECURITY_WINDOWS_UPDATES A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_INSTALL_WINDOWS_UPDATES A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_LIFECYCLE_PROMOTION A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_LIST_PACKAGES A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_LIST_WINDOWS_UPDATE A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_MODULE_ACTIONS A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_REMOVE_CONTENT A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_REMOVE_MODULE_PROFILES A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_REMOVE_PACKAGES A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_SET_MANAGEMENT_STATION_CONFIG A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_SET_SOFTWARE_SOURCES A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_SWITCH_MODULE_STREAM A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_SYNC_AGENT_CONFIG A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_SYNC_MANAGEMENT_STATION_MIRROR A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_UNREGISTER_MANAGED_INSTANCE A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_UPDATE A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_UPDATE_ALL_PACKAGES A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_UPDATE_BUGFIX A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_UPDATE_ENHANCEMENT A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_UPDATE_KSPLICE_KERNEL A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_UPDATE_KSPLICE_USERSPACE A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_UPDATE_MANAGEMENT_STATION_SOFTWARE A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_UPDATE_OTHER A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_UPDATE_PACKAGES A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_UPDATE_SECURITY A constant which can be used with the operation_type property of a WorkRequest.
OPERATION_TYPE_UPDATE_SOFTWARE_SOURCE A constant which can be used with the operation_type property of a WorkRequest.
STATUS_ACCEPTED A constant which can be used with the status property of a WorkRequest.
STATUS_CANCELED A constant which can be used with the status property of a WorkRequest.
STATUS_CANCELING A constant which can be used with the status property of a WorkRequest.
STATUS_FAILED A constant which can be used with the status property of a WorkRequest.
STATUS_IN_PROGRESS A constant which can be used with the status property of a WorkRequest.
STATUS_SUCCEEDED A constant which can be used with the status property of a WorkRequest.
children_id Gets the children_id of this WorkRequest.
compartment_id [Required] Gets the compartment_id of this WorkRequest.
content_checksum Gets the content_checksum of this WorkRequest.
content_location Gets the content_location of this WorkRequest.
description Gets the description of this WorkRequest.
display_name Gets the display_name of this WorkRequest.
event_id Gets the event_id of this WorkRequest.
id [Required] Gets the id of this WorkRequest.
initiator_id Gets the initiator_id of this WorkRequest.
is_managed_by_autonomous_linux Gets the is_managed_by_autonomous_linux of this WorkRequest.
management_station Gets the management_station of this WorkRequest.
message Gets the message of this WorkRequest.
module_specs Gets the module_specs of this WorkRequest.
operation_type [Required] Gets the operation_type of this WorkRequest.
package_names Gets the package_names of this WorkRequest.
parent_id Gets the parent_id of this WorkRequest.
percent_complete [Required] Gets the percent_complete of this WorkRequest.
resources [Required] Gets the resources of this WorkRequest.
retry_intervals Gets the retry_intervals of this WorkRequest.
retry_of_id Gets the retry_of_id of this WorkRequest.
status [Required] Gets the status of this WorkRequest.
time_created [Required] Gets the time_created of this WorkRequest.
time_finished Gets the time_finished of this WorkRequest.
time_scheduled Gets the time_scheduled of this WorkRequest.
time_started Gets the time_started of this WorkRequest.
time_updated Gets the time_updated of this WorkRequest.
windows_update_names Gets the windows_update_names of this WorkRequest.

Methods

__init__(**kwargs) Initializes a new WorkRequest object with values from keyword arguments.
OPERATION_TYPE_CREATE_SOFTWARE_SOURCE = 'CREATE_SOFTWARE_SOURCE'

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

OPERATION_TYPE_DISABLE_MODULE_STREAMS = 'DISABLE_MODULE_STREAMS'

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

OPERATION_TYPE_ENABLE_MODULE_STREAMS = 'ENABLE_MODULE_STREAMS'

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

OPERATION_TYPE_GET_WINDOWS_UPDATE_DETAILS = 'GET_WINDOWS_UPDATE_DETAILS'

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

OPERATION_TYPE_IMPORT_CONTENT = 'IMPORT_CONTENT'

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

OPERATION_TYPE_INSTALL_ALL_WINDOWS_UPDATES = 'INSTALL_ALL_WINDOWS_UPDATES'

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

OPERATION_TYPE_INSTALL_BUGFIX_WINDOWS_UPDATES = 'INSTALL_BUGFIX_WINDOWS_UPDATES'

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

OPERATION_TYPE_INSTALL_ENHANCEMENT_WINDOWS_UPDATES = 'INSTALL_ENHANCEMENT_WINDOWS_UPDATES'

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

OPERATION_TYPE_INSTALL_MODULE_PROFILES = 'INSTALL_MODULE_PROFILES'

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

OPERATION_TYPE_INSTALL_OTHER_WINDOWS_UPDATES = 'INSTALL_OTHER_WINDOWS_UPDATES'

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

OPERATION_TYPE_INSTALL_PACKAGES = 'INSTALL_PACKAGES'

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

OPERATION_TYPE_INSTALL_SECURITY_WINDOWS_UPDATES = 'INSTALL_SECURITY_WINDOWS_UPDATES'

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

OPERATION_TYPE_INSTALL_WINDOWS_UPDATES = 'INSTALL_WINDOWS_UPDATES'

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

OPERATION_TYPE_LIFECYCLE_PROMOTION = 'LIFECYCLE_PROMOTION'

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

OPERATION_TYPE_LIST_PACKAGES = 'LIST_PACKAGES'

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

OPERATION_TYPE_LIST_WINDOWS_UPDATE = 'LIST_WINDOWS_UPDATE'

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

OPERATION_TYPE_MODULE_ACTIONS = 'MODULE_ACTIONS'

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

OPERATION_TYPE_REMOVE_CONTENT = 'REMOVE_CONTENT'

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

OPERATION_TYPE_REMOVE_MODULE_PROFILES = 'REMOVE_MODULE_PROFILES'

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

OPERATION_TYPE_REMOVE_PACKAGES = 'REMOVE_PACKAGES'

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

OPERATION_TYPE_SET_MANAGEMENT_STATION_CONFIG = 'SET_MANAGEMENT_STATION_CONFIG'

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

OPERATION_TYPE_SET_SOFTWARE_SOURCES = 'SET_SOFTWARE_SOURCES'

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

OPERATION_TYPE_SWITCH_MODULE_STREAM = 'SWITCH_MODULE_STREAM'

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

OPERATION_TYPE_SYNC_AGENT_CONFIG = 'SYNC_AGENT_CONFIG'

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

OPERATION_TYPE_SYNC_MANAGEMENT_STATION_MIRROR = 'SYNC_MANAGEMENT_STATION_MIRROR'

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

OPERATION_TYPE_UNREGISTER_MANAGED_INSTANCE = 'UNREGISTER_MANAGED_INSTANCE'

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

OPERATION_TYPE_UPDATE = 'UPDATE'

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

OPERATION_TYPE_UPDATE_ALL_PACKAGES = 'UPDATE_ALL_PACKAGES'

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

OPERATION_TYPE_UPDATE_BUGFIX = 'UPDATE_BUGFIX'

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

OPERATION_TYPE_UPDATE_ENHANCEMENT = 'UPDATE_ENHANCEMENT'

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

OPERATION_TYPE_UPDATE_KSPLICE_KERNEL = 'UPDATE_KSPLICE_KERNEL'

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

OPERATION_TYPE_UPDATE_KSPLICE_USERSPACE = 'UPDATE_KSPLICE_USERSPACE'

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

OPERATION_TYPE_UPDATE_MANAGEMENT_STATION_SOFTWARE = 'UPDATE_MANAGEMENT_STATION_SOFTWARE'

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

OPERATION_TYPE_UPDATE_OTHER = 'UPDATE_OTHER'

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

OPERATION_TYPE_UPDATE_PACKAGES = 'UPDATE_PACKAGES'

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

OPERATION_TYPE_UPDATE_SECURITY = 'UPDATE_SECURITY'

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

OPERATION_TYPE_UPDATE_SOFTWARE_SOURCE = 'UPDATE_SOFTWARE_SOURCE'

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

STATUS_ACCEPTED = 'ACCEPTED'

A constant which can be used with the status property of a WorkRequest. This constant has a value of “ACCEPTED”

STATUS_CANCELED = 'CANCELED'

A constant which can be used with the status property of a WorkRequest. This constant has a value of “CANCELED”

STATUS_CANCELING = 'CANCELING'

A constant which can be used with the status property of a WorkRequest. This constant has a value of “CANCELING”

STATUS_FAILED = 'FAILED'

A constant which can be used with the status property of a WorkRequest. This constant has a value of “FAILED”

STATUS_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the status property of a WorkRequest. This constant has a value of “IN_PROGRESS”

STATUS_SUCCEEDED = 'SUCCEEDED'

A constant which can be used with the status property of a WorkRequest. This constant has a value of “SUCCEEDED”

__init__(**kwargs)

Initializes a new WorkRequest 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 WorkRequest. Allowed values for this property are: “INSTALL_PACKAGES”, “REMOVE_PACKAGES”, “UPDATE_PACKAGES”, “UPDATE_ALL_PACKAGES”, “UPDATE_SECURITY”, “UPDATE_BUGFIX”, “UPDATE_ENHANCEMENT”, “UPDATE_OTHER”, “UPDATE_KSPLICE_KERNEL”, “UPDATE_KSPLICE_USERSPACE”, “ENABLE_MODULE_STREAMS”, “DISABLE_MODULE_STREAMS”, “SWITCH_MODULE_STREAM”, “INSTALL_MODULE_PROFILES”, “REMOVE_MODULE_PROFILES”, “SET_SOFTWARE_SOURCES”, “LIST_PACKAGES”, “SET_MANAGEMENT_STATION_CONFIG”, “SYNC_MANAGEMENT_STATION_MIRROR”, “UPDATE_MANAGEMENT_STATION_SOFTWARE”, “UPDATE”, “MODULE_ACTIONS”, “LIFECYCLE_PROMOTION”, “CREATE_SOFTWARE_SOURCE”, “UPDATE_SOFTWARE_SOURCE”, “IMPORT_CONTENT”, “SYNC_AGENT_CONFIG”, “INSTALL_WINDOWS_UPDATES”, “LIST_WINDOWS_UPDATE”, “GET_WINDOWS_UPDATE_DETAILS”, “INSTALL_ALL_WINDOWS_UPDATES”, “INSTALL_SECURITY_WINDOWS_UPDATES”, “INSTALL_BUGFIX_WINDOWS_UPDATES”, “INSTALL_ENHANCEMENT_WINDOWS_UPDATES”, “INSTALL_OTHER_WINDOWS_UPDATES”, “REMOVE_CONTENT”, “UNREGISTER_MANAGED_INSTANCE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • status (str) – The value to assign to the status property of this WorkRequest. Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELING”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • id (str) – The value to assign to the id property of this WorkRequest.
  • description (str) – The value to assign to the description property of this WorkRequest.
  • display_name (str) – The value to assign to the display_name property of this WorkRequest.
  • message (str) – The value to assign to the message property of this WorkRequest.
  • parent_id (str) – The value to assign to the parent_id property of this WorkRequest.
  • children_id (list[str]) – The value to assign to the children_id property of this WorkRequest.
  • compartment_id (str) – The value to assign to the compartment_id property of this WorkRequest.
  • resources (list[oci.os_management_hub.models.WorkRequestResource]) – The value to assign to the resources property of this WorkRequest.
  • package_names (list[str]) – The value to assign to the package_names property of this WorkRequest.
  • windows_update_names (list[str]) – The value to assign to the windows_update_names property of this WorkRequest.
  • module_specs (list[oci.os_management_hub.models.ModuleSpecDetails]) – The value to assign to the module_specs property of this WorkRequest.
  • percent_complete (float) – The value to assign to the percent_complete property of this WorkRequest.
  • time_created (datetime) – The value to assign to the time_created property of this WorkRequest.
  • time_updated (datetime) – The value to assign to the time_updated property of this WorkRequest.
  • time_started (datetime) – The value to assign to the time_started property of this WorkRequest.
  • time_finished (datetime) – The value to assign to the time_finished property of this WorkRequest.
  • initiator_id (str) – The value to assign to the initiator_id property of this WorkRequest.
  • management_station (oci.os_management_hub.models.WorkRequestManagementStationDetails) – The value to assign to the management_station property of this WorkRequest.
  • time_scheduled (datetime) – The value to assign to the time_scheduled property of this WorkRequest.
  • content_location (str) – The value to assign to the content_location property of this WorkRequest.
  • event_id (str) – The value to assign to the event_id property of this WorkRequest.
  • content_checksum (str) – The value to assign to the content_checksum property of this WorkRequest.
  • retry_of_id (str) – The value to assign to the retry_of_id property of this WorkRequest.
  • retry_intervals (list[int]) – The value to assign to the retry_intervals property of this WorkRequest.
  • is_managed_by_autonomous_linux (bool) – The value to assign to the is_managed_by_autonomous_linux property of this WorkRequest.
children_id

Gets the children_id of this WorkRequest. The list of OCIDs for the child work requests.

Returns:The children_id of this WorkRequest.
Return type:list[str]
compartment_id

[Required] Gets the compartment_id of this WorkRequest. The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource it affects. If the work request affects multiple resources the different compartments, the services selects the compartment of the primary resource.

Returns:The compartment_id of this WorkRequest.
Return type:str
content_checksum

Gets the content_checksum of this WorkRequest. The EventFingerprint associated with the content. This property is required when the work request type is IMPORT_CONTENT or REMOVE_CONTENT.

Returns:The content_checksum of this WorkRequest.
Return type:str
content_location

Gets the content_location of this WorkRequest. The location of the bundle in the filesystem of the resource associated to this work request.

Returns:The content_location of this WorkRequest.
Return type:str
description

Gets the description of this WorkRequest. A short description about the work request.

Returns:The description of this WorkRequest.
Return type:str
display_name

Gets the display_name of this WorkRequest. A short display name for the work request.

Returns:The display_name of this WorkRequest.
Return type:str
event_id

Gets the event_id of this WorkRequest. The event id of the content. This property is required when the work request type is IMPORT_CONTENT or REMOVE_CONTENT.

Returns:The event_id of this WorkRequest.
Return type:str
id

[Required] Gets the id of this WorkRequest. The OCID of the work request.

Returns:The id of this WorkRequest.
Return type:str
initiator_id

Gets the initiator_id of this WorkRequest. The OCID of the resource that initiated the work request.

Returns:The initiator_id of this WorkRequest.
Return type:str
is_managed_by_autonomous_linux

Gets the is_managed_by_autonomous_linux of this WorkRequest. Indicates whether this work request is managed by the Autonomous Linux service.

Returns:The is_managed_by_autonomous_linux of this WorkRequest.
Return type:bool
management_station

Gets the management_station of this WorkRequest.

Returns:The management_station of this WorkRequest.
Return type:oci.os_management_hub.models.WorkRequestManagementStationDetails
message

Gets the message of this WorkRequest. A progress or error message, if there is any.

Returns:The message of this WorkRequest.
Return type:str
module_specs

Gets the module_specs of this WorkRequest. The list of appstream modules being operated on.

Returns:The module_specs of this WorkRequest.
Return type:list[oci.os_management_hub.models.ModuleSpecDetails]
operation_type

[Required] Gets the operation_type of this WorkRequest. Type of the work request.

Allowed values for this property are: “INSTALL_PACKAGES”, “REMOVE_PACKAGES”, “UPDATE_PACKAGES”, “UPDATE_ALL_PACKAGES”, “UPDATE_SECURITY”, “UPDATE_BUGFIX”, “UPDATE_ENHANCEMENT”, “UPDATE_OTHER”, “UPDATE_KSPLICE_KERNEL”, “UPDATE_KSPLICE_USERSPACE”, “ENABLE_MODULE_STREAMS”, “DISABLE_MODULE_STREAMS”, “SWITCH_MODULE_STREAM”, “INSTALL_MODULE_PROFILES”, “REMOVE_MODULE_PROFILES”, “SET_SOFTWARE_SOURCES”, “LIST_PACKAGES”, “SET_MANAGEMENT_STATION_CONFIG”, “SYNC_MANAGEMENT_STATION_MIRROR”, “UPDATE_MANAGEMENT_STATION_SOFTWARE”, “UPDATE”, “MODULE_ACTIONS”, “LIFECYCLE_PROMOTION”, “CREATE_SOFTWARE_SOURCE”, “UPDATE_SOFTWARE_SOURCE”, “IMPORT_CONTENT”, “SYNC_AGENT_CONFIG”, “INSTALL_WINDOWS_UPDATES”, “LIST_WINDOWS_UPDATE”, “GET_WINDOWS_UPDATE_DETAILS”, “INSTALL_ALL_WINDOWS_UPDATES”, “INSTALL_SECURITY_WINDOWS_UPDATES”, “INSTALL_BUGFIX_WINDOWS_UPDATES”, “INSTALL_ENHANCEMENT_WINDOWS_UPDATES”, “INSTALL_OTHER_WINDOWS_UPDATES”, “REMOVE_CONTENT”, “UNREGISTER_MANAGED_INSTANCE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The operation_type of this WorkRequest.
Return type:str
package_names

Gets the package_names of this WorkRequest. A list of package names to be installed, updated, or removed.

Returns:The package_names of this WorkRequest.
Return type:list[str]
parent_id

Gets the parent_id of this WorkRequest. The OCID of the parent work request, if there is any.

Returns:The parent_id of this WorkRequest.
Return type:str
percent_complete

[Required] Gets the percent_complete of this WorkRequest. The percentage complete of the operation tracked by this work request.

Returns:The percent_complete of this WorkRequest.
Return type:float
resources

[Required] Gets the resources of this WorkRequest. The list of OCIDs for the resources affected by the work request.

Returns:The resources of this WorkRequest.
Return type:list[oci.os_management_hub.models.WorkRequestResource]
retry_intervals

Gets the retry_intervals of this WorkRequest. Indicates whether this work request is managed by the Autonomous Linux service.

Returns:The retry_intervals of this WorkRequest.
Return type:list[int]
retry_of_id

Gets the retry_of_id of this WorkRequest. The OCID of the original work request that is being retried.

Returns:The retry_of_id of this WorkRequest.
Return type:str
status

[Required] Gets the status of this WorkRequest. Status of the work request.

Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELING”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The status of this WorkRequest.
Return type:str
time_created

[Required] Gets the time_created of this WorkRequest. The date and time the work request was created (in RFC 3339 format).

Returns:The time_created of this WorkRequest.
Return type:datetime
time_finished

Gets the time_finished of this WorkRequest. The date and time the work request completed (in RFC 3339 format).

Returns:The time_finished of this WorkRequest.
Return type:datetime
time_scheduled

Gets the time_scheduled of this WorkRequest. The scheduled date and time to retry the work request (in RFC 3339 format).

Returns:The time_scheduled of this WorkRequest.
Return type:datetime
time_started

Gets the time_started of this WorkRequest. The date and time the work request started (in RFC 3339 format).

Returns:The time_started of this WorkRequest.
Return type:datetime
time_updated

Gets the time_updated of this WorkRequest. The date and time the work request started (in RFC 3339 format).

Returns:The time_updated of this WorkRequest.
Return type:datetime
windows_update_names

Gets the windows_update_names of this WorkRequest. The UUIDs of the target Windows update (only used when operation type is INSTALL_WINDOWS_UPDATES).

Returns:The windows_update_names of this WorkRequest.
Return type:list[str]