ScheduledJobOperation

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

Bases: object

Defines an operation that is performed by a scheduled job.

Attributes

OPERATION_TYPE_ATTACH_SOFTWARE_SOURCES A constant which can be used with the operation_type property of a ScheduledJobOperation.
OPERATION_TYPE_DETACH_SOFTWARE_SOURCES A constant which can be used with the operation_type property of a ScheduledJobOperation.
OPERATION_TYPE_INSTALL_ALL_WINDOWS_UPDATES A constant which can be used with the operation_type property of a ScheduledJobOperation.
OPERATION_TYPE_INSTALL_BUGFIX_WINDOWS_UPDATES A constant which can be used with the operation_type property of a ScheduledJobOperation.
OPERATION_TYPE_INSTALL_ENHANCEMENT_WINDOWS_UPDATES A constant which can be used with the operation_type property of a ScheduledJobOperation.
OPERATION_TYPE_INSTALL_OTHER_WINDOWS_UPDATES A constant which can be used with the operation_type property of a ScheduledJobOperation.
OPERATION_TYPE_INSTALL_PACKAGES A constant which can be used with the operation_type property of a ScheduledJobOperation.
OPERATION_TYPE_INSTALL_SECURITY_WINDOWS_UPDATES A constant which can be used with the operation_type property of a ScheduledJobOperation.
OPERATION_TYPE_INSTALL_WINDOWS_UPDATES A constant which can be used with the operation_type property of a ScheduledJobOperation.
OPERATION_TYPE_MANAGE_MODULE_STREAMS A constant which can be used with the operation_type property of a ScheduledJobOperation.
OPERATION_TYPE_PROMOTE_LIFECYCLE A constant which can be used with the operation_type property of a ScheduledJobOperation.
OPERATION_TYPE_REMOVE_PACKAGES A constant which can be used with the operation_type property of a ScheduledJobOperation.
OPERATION_TYPE_SWITCH_MODULE_STREAM A constant which can be used with the operation_type property of a ScheduledJobOperation.
OPERATION_TYPE_SYNC_MANAGEMENT_STATION_MIRROR A constant which can be used with the operation_type property of a ScheduledJobOperation.
OPERATION_TYPE_UPDATE_ALL A constant which can be used with the operation_type property of a ScheduledJobOperation.
OPERATION_TYPE_UPDATE_BUGFIX A constant which can be used with the operation_type property of a ScheduledJobOperation.
OPERATION_TYPE_UPDATE_ENHANCEMENT A constant which can be used with the operation_type property of a ScheduledJobOperation.
OPERATION_TYPE_UPDATE_KSPLICE_KERNEL A constant which can be used with the operation_type property of a ScheduledJobOperation.
OPERATION_TYPE_UPDATE_KSPLICE_USERSPACE A constant which can be used with the operation_type property of a ScheduledJobOperation.
OPERATION_TYPE_UPDATE_OTHER A constant which can be used with the operation_type property of a ScheduledJobOperation.
OPERATION_TYPE_UPDATE_PACKAGES A constant which can be used with the operation_type property of a ScheduledJobOperation.
OPERATION_TYPE_UPDATE_SECURITY A constant which can be used with the operation_type property of a ScheduledJobOperation.
manage_module_streams_details Gets the manage_module_streams_details of this ScheduledJobOperation.
operation_type [Required] Gets the operation_type of this ScheduledJobOperation.
package_names Gets the package_names of this ScheduledJobOperation.
software_source_ids Gets the software_source_ids of this ScheduledJobOperation.
switch_module_streams_details Gets the switch_module_streams_details of this ScheduledJobOperation.
windows_update_names Gets the windows_update_names of this ScheduledJobOperation.

Methods

__init__(**kwargs) Initializes a new ScheduledJobOperation object with values from keyword arguments.
OPERATION_TYPE_ATTACH_SOFTWARE_SOURCES = 'ATTACH_SOFTWARE_SOURCES'

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

OPERATION_TYPE_DETACH_SOFTWARE_SOURCES = 'DETACH_SOFTWARE_SOURCES'

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

OPERATION_TYPE_INSTALL_ALL_WINDOWS_UPDATES = 'INSTALL_ALL_WINDOWS_UPDATES'

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

OPERATION_TYPE_INSTALL_OTHER_WINDOWS_UPDATES = 'INSTALL_OTHER_WINDOWS_UPDATES'

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

OPERATION_TYPE_MANAGE_MODULE_STREAMS = 'MANAGE_MODULE_STREAMS'

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

OPERATION_TYPE_PROMOTE_LIFECYCLE = 'PROMOTE_LIFECYCLE'

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

OPERATION_TYPE_REMOVE_PACKAGES = 'REMOVE_PACKAGES'

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

OPERATION_TYPE_SWITCH_MODULE_STREAM = 'SWITCH_MODULE_STREAM'

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

OPERATION_TYPE_SYNC_MANAGEMENT_STATION_MIRROR = 'SYNC_MANAGEMENT_STATION_MIRROR'

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

OPERATION_TYPE_UPDATE_ALL = 'UPDATE_ALL'

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

OPERATION_TYPE_UPDATE_BUGFIX = 'UPDATE_BUGFIX'

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

OPERATION_TYPE_UPDATE_OTHER = 'UPDATE_OTHER'

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

__init__(**kwargs)

Initializes a new ScheduledJobOperation 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 ScheduledJobOperation. Allowed values for this property are: “INSTALL_PACKAGES”, “UPDATE_PACKAGES”, “REMOVE_PACKAGES”, “UPDATE_ALL”, “UPDATE_SECURITY”, “UPDATE_BUGFIX”, “UPDATE_ENHANCEMENT”, “UPDATE_OTHER”, “UPDATE_KSPLICE_USERSPACE”, “UPDATE_KSPLICE_KERNEL”, “MANAGE_MODULE_STREAMS”, “SWITCH_MODULE_STREAM”, “ATTACH_SOFTWARE_SOURCES”, “DETACH_SOFTWARE_SOURCES”, “SYNC_MANAGEMENT_STATION_MIRROR”, “PROMOTE_LIFECYCLE”, “INSTALL_WINDOWS_UPDATES”, “INSTALL_ALL_WINDOWS_UPDATES”, “INSTALL_SECURITY_WINDOWS_UPDATES”, “INSTALL_BUGFIX_WINDOWS_UPDATES”, “INSTALL_ENHANCEMENT_WINDOWS_UPDATES”, “INSTALL_OTHER_WINDOWS_UPDATES”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • package_names (list[str]) – The value to assign to the package_names property of this ScheduledJobOperation.
  • windows_update_names (list[str]) – The value to assign to the windows_update_names property of this ScheduledJobOperation.
  • manage_module_streams_details (oci.os_management_hub.models.ManageModuleStreamsInScheduledJobDetails) – The value to assign to the manage_module_streams_details property of this ScheduledJobOperation.
  • switch_module_streams_details (oci.os_management_hub.models.ModuleStreamDetails) – The value to assign to the switch_module_streams_details property of this ScheduledJobOperation.
  • software_source_ids (list[str]) – The value to assign to the software_source_ids property of this ScheduledJobOperation.
manage_module_streams_details

Gets the manage_module_streams_details of this ScheduledJobOperation.

Returns:The manage_module_streams_details of this ScheduledJobOperation.
Return type:oci.os_management_hub.models.ManageModuleStreamsInScheduledJobDetails
operation_type

[Required] Gets the operation_type of this ScheduledJobOperation. The type of operation this scheduled job performs.

Allowed values for this property are: “INSTALL_PACKAGES”, “UPDATE_PACKAGES”, “REMOVE_PACKAGES”, “UPDATE_ALL”, “UPDATE_SECURITY”, “UPDATE_BUGFIX”, “UPDATE_ENHANCEMENT”, “UPDATE_OTHER”, “UPDATE_KSPLICE_USERSPACE”, “UPDATE_KSPLICE_KERNEL”, “MANAGE_MODULE_STREAMS”, “SWITCH_MODULE_STREAM”, “ATTACH_SOFTWARE_SOURCES”, “DETACH_SOFTWARE_SOURCES”, “SYNC_MANAGEMENT_STATION_MIRROR”, “PROMOTE_LIFECYCLE”, “INSTALL_WINDOWS_UPDATES”, “INSTALL_ALL_WINDOWS_UPDATES”, “INSTALL_SECURITY_WINDOWS_UPDATES”, “INSTALL_BUGFIX_WINDOWS_UPDATES”, “INSTALL_ENHANCEMENT_WINDOWS_UPDATES”, “INSTALL_OTHER_WINDOWS_UPDATES”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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

Gets the package_names of this ScheduledJobOperation. The names of the target packages. This parameter only applies when the scheduled job is for installing, updating, or removing packages.

Returns:The package_names of this ScheduledJobOperation.
Return type:list[str]
software_source_ids

Gets the software_source_ids of this ScheduledJobOperation. The software source OCIDs. This parameter only applies when the scheduled job is for attaching or detaching software sources.

Returns:The software_source_ids of this ScheduledJobOperation.
Return type:list[str]
switch_module_streams_details

Gets the switch_module_streams_details of this ScheduledJobOperation.

Returns:The switch_module_streams_details of this ScheduledJobOperation.
Return type:oci.os_management_hub.models.ModuleStreamDetails
windows_update_names

Gets the windows_update_names of this ScheduledJobOperation. Unique identifier for the Windows update. This parameter only applies if the scheduled job is for installing Windows updates. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. For example: ‘6981d463-cd91-4a26-b7c4-ea4ded9183ed’.

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