WorkRequestSummary

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

Bases: object

The summary of a work request.

Attributes:

OPERATION_TYPE_CREATE_SOFTWARE_SOURCE

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_DISABLE_MODULE_STREAMS

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_ENABLE_MODULE_STREAMS

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_GET_WINDOWS_UPDATE_DETAILS

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_IMPORT_CONTENT

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_INSTALL_ALL_WINDOWS_UPDATES

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_INSTALL_BUGFIX_WINDOWS_UPDATES

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_INSTALL_ENHANCEMENT_WINDOWS_UPDATES

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_INSTALL_MODULE_PROFILES

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_INSTALL_OTHER_WINDOWS_UPDATES

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_INSTALL_PACKAGES

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_INSTALL_SECURITY_WINDOWS_UPDATES

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_INSTALL_SNAPS

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_INSTALL_WINDOWS_UPDATES

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_LIFECYCLE_PROMOTION

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_LIST_PACKAGES

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_LIST_SNAPS

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_LIST_WINDOWS_UPDATE

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_MODULE_ACTIONS

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_REBOOT

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_REGISTER_MANAGED_INSTANCE

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_REMOVE_CONTENT

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_REMOVE_MODULE_PROFILES

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_REMOVE_PACKAGES

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_REMOVE_SNAPS

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_SET_MANAGEMENT_STATION_CONFIG

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_SET_SOFTWARE_SOURCES

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_SWITCH_MODULE_STREAM

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_SWITCH_SNAP_CHANNEL

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_SYNC_AGENT_CONFIG

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_SYNC_MANAGEMENT_STATION_MIRROR

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_UNREGISTER_MANAGED_INSTANCE

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_UPDATE

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_UPDATE_ALL_PACKAGES

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_UPDATE_BUGFIX

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_UPDATE_ENHANCEMENT

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_UPDATE_KSPLICE_KERNEL

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_UPDATE_KSPLICE_USERSPACE

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_UPDATE_MANAGEMENT_STATION_SOFTWARE

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_UPDATE_OTHER

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_UPDATE_PACKAGES

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_UPDATE_SECURITY

A constant which can be used with the operation_type property of a WorkRequestSummary.

OPERATION_TYPE_UPDATE_SOFTWARE_SOURCE

A constant which can be used with the operation_type property of a WorkRequestSummary.

STATUS_ACCEPTED

A constant which can be used with the status property of a WorkRequestSummary.

STATUS_CANCELED

A constant which can be used with the status property of a WorkRequestSummary.

STATUS_CANCELING

A constant which can be used with the status property of a WorkRequestSummary.

STATUS_FAILED

A constant which can be used with the status property of a WorkRequestSummary.

STATUS_IN_PROGRESS

A constant which can be used with the status property of a WorkRequestSummary.

STATUS_SKIPPED

A constant which can be used with the status property of a WorkRequestSummary.

STATUS_SUCCEEDED

A constant which can be used with the status property of a WorkRequestSummary.

STATUS_WAITING

A constant which can be used with the status property of a WorkRequestSummary.

children_id

Gets the children_id of this WorkRequestSummary.

compartment_id

[Required] Gets the compartment_id of this WorkRequestSummary.

description

Gets the description of this WorkRequestSummary.

display_name

Gets the display_name of this WorkRequestSummary.

id

[Required] Gets the id of this WorkRequestSummary.

is_managed_by_autonomous_linux

Gets the is_managed_by_autonomous_linux of this WorkRequestSummary.

message

Gets the message of this WorkRequestSummary.

operation_type

[Required] Gets the operation_type of this WorkRequestSummary.

parent_id

Gets the parent_id of this WorkRequestSummary.

percent_complete

Gets the percent_complete of this WorkRequestSummary.

reboot_timeout_in_mins

Gets the reboot_timeout_in_mins of this WorkRequestSummary.

status

[Required] Gets the status of this WorkRequestSummary.

time_created

[Required] Gets the time_created of this WorkRequestSummary.

time_finished

Gets the time_finished of this WorkRequestSummary.

time_scheduled

Gets the time_scheduled of this WorkRequestSummary.

Methods:

__init__(**kwargs)

Initializes a new WorkRequestSummary 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 WorkRequestSummary. 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 WorkRequestSummary. 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 WorkRequestSummary. 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 WorkRequestSummary. 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 WorkRequestSummary. 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 WorkRequestSummary. 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 WorkRequestSummary. 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 WorkRequestSummary. 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 WorkRequestSummary. 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 WorkRequestSummary. 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 WorkRequestSummary. 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 WorkRequestSummary. This constant has a value of “INSTALL_SECURITY_WINDOWS_UPDATES”

OPERATION_TYPE_INSTALL_SNAPS = 'INSTALL_SNAPS'

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

OPERATION_TYPE_INSTALL_WINDOWS_UPDATES = 'INSTALL_WINDOWS_UPDATES'

A constant which can be used with the operation_type property of a WorkRequestSummary. 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 WorkRequestSummary. 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 WorkRequestSummary. This constant has a value of “LIST_PACKAGES”

OPERATION_TYPE_LIST_SNAPS = 'LIST_SNAPS'

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

OPERATION_TYPE_LIST_WINDOWS_UPDATE = 'LIST_WINDOWS_UPDATE'

A constant which can be used with the operation_type property of a WorkRequestSummary. 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 WorkRequestSummary. This constant has a value of “MODULE_ACTIONS”

OPERATION_TYPE_REBOOT = 'REBOOT'

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

OPERATION_TYPE_REGISTER_MANAGED_INSTANCE = 'REGISTER_MANAGED_INSTANCE'

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

OPERATION_TYPE_REMOVE_CONTENT = 'REMOVE_CONTENT'

A constant which can be used with the operation_type property of a WorkRequestSummary. 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 WorkRequestSummary. 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 WorkRequestSummary. This constant has a value of “REMOVE_PACKAGES”

OPERATION_TYPE_REMOVE_SNAPS = 'REMOVE_SNAPS'

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

OPERATION_TYPE_SET_MANAGEMENT_STATION_CONFIG = 'SET_MANAGEMENT_STATION_CONFIG'

A constant which can be used with the operation_type property of a WorkRequestSummary. 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 WorkRequestSummary. 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 WorkRequestSummary. This constant has a value of “SWITCH_MODULE_STREAM”

OPERATION_TYPE_SWITCH_SNAP_CHANNEL = 'SWITCH_SNAP_CHANNEL'

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

OPERATION_TYPE_SYNC_AGENT_CONFIG = 'SYNC_AGENT_CONFIG'

A constant which can be used with the operation_type property of a WorkRequestSummary. 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 WorkRequestSummary. 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 WorkRequestSummary. 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 WorkRequestSummary. 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 WorkRequestSummary. 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 WorkRequestSummary. 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 WorkRequestSummary. 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 WorkRequestSummary. 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 WorkRequestSummary. 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 WorkRequestSummary. 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 WorkRequestSummary. 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 WorkRequestSummary. 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 WorkRequestSummary. 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 WorkRequestSummary. This constant has a value of “UPDATE_SOFTWARE_SOURCE”

STATUS_ACCEPTED = 'ACCEPTED'

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

STATUS_CANCELED = 'CANCELED'

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

STATUS_CANCELING = 'CANCELING'

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

STATUS_FAILED = 'FAILED'

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

STATUS_IN_PROGRESS = 'IN_PROGRESS'

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

STATUS_SKIPPED = 'SKIPPED'

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

STATUS_SUCCEEDED = 'SUCCEEDED'

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

STATUS_WAITING = 'WAITING'

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

__init__(**kwargs)

Initializes a new WorkRequestSummary 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 WorkRequestSummary. 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”, “REBOOT”, “REGISTER_MANAGED_INSTANCE”, “LIST_SNAPS”, “INSTALL_SNAPS”, “REMOVE_SNAPS”, “SWITCH_SNAP_CHANNEL”, ‘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 WorkRequestSummary. Allowed values for this property are: “WAITING”, “ACCEPTED”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELING”, “CANCELED”, “SKIPPED”, ‘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 WorkRequestSummary.

  • description (str) – The value to assign to the description property of this WorkRequestSummary.

  • display_name (str) – The value to assign to the display_name property of this WorkRequestSummary.

  • message (str) – The value to assign to the message property of this WorkRequestSummary.

  • parent_id (str) – The value to assign to the parent_id property of this WorkRequestSummary.

  • children_id (list[str]) – The value to assign to the children_id property of this WorkRequestSummary.

  • compartment_id (str) – The value to assign to the compartment_id property of this WorkRequestSummary.

  • percent_complete (float) – The value to assign to the percent_complete property of this WorkRequestSummary.

  • time_created (datetime) – The value to assign to the time_created property of this WorkRequestSummary.

  • time_scheduled (datetime) – The value to assign to the time_scheduled property of this WorkRequestSummary.

  • is_managed_by_autonomous_linux (bool) – The value to assign to the is_managed_by_autonomous_linux property of this WorkRequestSummary.

  • reboot_timeout_in_mins (int) – The value to assign to the reboot_timeout_in_mins property of this WorkRequestSummary.

  • time_finished (datetime) – The value to assign to the time_finished property of this WorkRequestSummary.

property children_id

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

Returns

The children_id of this WorkRequestSummary.

Return type

list[str]

property compartment_id

[Required] Gets the compartment_id of this WorkRequestSummary. 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 WorkRequestSummary.

Return type

str

property description

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

Returns

The description of this WorkRequestSummary.

Return type

str

property display_name

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

Returns

The display_name of this WorkRequestSummary.

Return type

str

property id

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

Returns

The id of this WorkRequestSummary.

Return type

str

property is_managed_by_autonomous_linux

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

Returns

The is_managed_by_autonomous_linux of this WorkRequestSummary.

Return type

bool

property message

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

Returns

The message of this WorkRequestSummary.

Return type

str

property operation_type

[Required] Gets the operation_type of this WorkRequestSummary. 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”, “REBOOT”, “REGISTER_MANAGED_INSTANCE”, “LIST_SNAPS”, “INSTALL_SNAPS”, “REMOVE_SNAPS”, “SWITCH_SNAP_CHANNEL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The operation_type of this WorkRequestSummary.

Return type

str

property parent_id

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

Returns

The parent_id of this WorkRequestSummary.

Return type

str

property percent_complete

Gets the percent_complete of this WorkRequestSummary. The percentage complete of the operation tracked by this work request.

Returns

The percent_complete of this WorkRequestSummary.

Return type

float

property reboot_timeout_in_mins

Gets the reboot_timeout_in_mins of this WorkRequestSummary. The number of minutes the service waits for the reboot to complete. If the managed instance doesn’t reboot within the timeout, the service marks the reboot job as failed.

Returns

The reboot_timeout_in_mins of this WorkRequestSummary.

Return type

int

property status

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

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

Returns

The status of this WorkRequestSummary.

Return type

str

property time_created

[Required] Gets the time_created of this WorkRequestSummary. The date and time the request was created - as described in RFC 3339, section 14.29.

Returns

The time_created of this WorkRequestSummary.

Return type

datetime

property time_finished

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

Returns

The time_finished of this WorkRequestSummary.

Return type

datetime

property time_scheduled

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

Returns

The time_scheduled of this WorkRequestSummary.

Return type

datetime