ScheduledJobOperation¶
- class oci.os_management_hub.models.ScheduledJobOperation(**kwargs)¶
Bases:
objectDefines an operation that is performed by a scheduled job.
Attributes:
A constant which can be used with the operation_type property of a ScheduledJobOperation.
A constant which can be used with the operation_type property of a ScheduledJobOperation.
A constant which can be used with the operation_type property of a ScheduledJobOperation.
A constant which can be used with the operation_type property of a ScheduledJobOperation.
A constant which can be used with the operation_type property of a ScheduledJobOperation.
A constant which can be used with the operation_type property of a ScheduledJobOperation.
A constant which can be used with the operation_type property of a ScheduledJobOperation.
A constant which can be used with the operation_type property of a ScheduledJobOperation.
A constant which can be used with the operation_type property of a ScheduledJobOperation.
A constant which can be used with the operation_type property of a ScheduledJobOperation.
A constant which can be used with the operation_type property of a ScheduledJobOperation.
A constant which can be used with the operation_type property of a ScheduledJobOperation.
A constant which can be used with the operation_type property of a ScheduledJobOperation.
A constant which can be used with the operation_type property of a ScheduledJobOperation.
A constant which can be used with the operation_type property of a ScheduledJobOperation.
A constant which can be used with the operation_type property of a ScheduledJobOperation.
A constant which can be used with the operation_type property of a ScheduledJobOperation.
A constant which can be used with the operation_type property of a ScheduledJobOperation.
A constant which can be used with the operation_type property of a ScheduledJobOperation.
A constant which can be used with the operation_type property of a ScheduledJobOperation.
A constant which can be used with the operation_type property of a ScheduledJobOperation.
A constant which can be used with the operation_type property of a ScheduledJobOperation.
A constant which can be used with the operation_type property of a ScheduledJobOperation.
A constant which can be used with the operation_type property of a ScheduledJobOperation.
A constant which can be used with the operation_type property of a ScheduledJobOperation.
A constant which can be used with the operation_type property of a ScheduledJobOperation.
A constant which can be used with the operation_type property of a ScheduledJobOperation.
Gets the install_snap_details of this ScheduledJobOperation.
Gets the manage_module_streams_details of this ScheduledJobOperation.
[Required] Gets the operation_type of this ScheduledJobOperation.
Gets the package_names of this ScheduledJobOperation.
Gets the reboot_timeout_in_mins of this ScheduledJobOperation.
Gets the remove_snap_details of this ScheduledJobOperation.
Gets the software_source_ids of this ScheduledJobOperation.
Gets the switch_module_streams_details of this ScheduledJobOperation.
Gets the switch_snap_channel_details of this ScheduledJobOperation.
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_SNAPS = 'INSTALL_SNAPS'¶
A constant which can be used with the operation_type property of a ScheduledJobOperation. 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 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_REBOOT = 'REBOOT'¶
A constant which can be used with the operation_type property of a ScheduledJobOperation. This constant has a value of “REBOOT”
- 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_REMOVE_SNAPS = 'REMOVE_SNAPS'¶
A constant which can be used with the operation_type property of a ScheduledJobOperation. This constant has a value of “REMOVE_SNAPS”
- OPERATION_TYPE_RERUN_WORK_REQUEST = 'RERUN_WORK_REQUEST'¶
A constant which can be used with the operation_type property of a ScheduledJobOperation. This constant has a value of “RERUN_WORK_REQUEST”
- 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_SWITCH_SNAP_CHANNEL = 'SWITCH_SNAP_CHANNEL'¶
A constant which can be used with the operation_type property of a ScheduledJobOperation. This constant has a value of “SWITCH_SNAP_CHANNEL”
- 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”, “REBOOT”, “RERUN_WORK_REQUEST”, “INSTALL_SNAPS”, “REMOVE_SNAPS”, “SWITCH_SNAP_CHANNEL”, ‘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.
reboot_timeout_in_mins (int) – The value to assign to the reboot_timeout_in_mins property of this ScheduledJobOperation.
install_snap_details (oci.os_management_hub.models.InstallSnapDetails) – The value to assign to the install_snap_details property of this ScheduledJobOperation.
remove_snap_details (oci.os_management_hub.models.RemoveSnapDetails) – The value to assign to the remove_snap_details property of this ScheduledJobOperation.
switch_snap_channel_details (oci.os_management_hub.models.SwitchSnapChannelDetails) – The value to assign to the switch_snap_channel_details property of this ScheduledJobOperation.
- property install_snap_details¶
Gets the install_snap_details of this ScheduledJobOperation.
- Returns
The install_snap_details of this ScheduledJobOperation.
- Return type
- property 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
- property 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”, “REBOOT”, “RERUN_WORK_REQUEST”, “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 ScheduledJobOperation.
- Return type
str
- property 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]
- property reboot_timeout_in_mins¶
Gets the reboot_timeout_in_mins of this ScheduledJobOperation. The number of minutes the service waits for the reboot to complete. If the instance doesn’t reboot within the timeout, the service marks the reboot job as failed.
- Returns
The reboot_timeout_in_mins of this ScheduledJobOperation.
- Return type
int
- property remove_snap_details¶
Gets the remove_snap_details of this ScheduledJobOperation.
- Returns
The remove_snap_details of this ScheduledJobOperation.
- Return type
- property 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]
- property switch_module_streams_details¶
Gets the switch_module_streams_details of this ScheduledJobOperation.
- Returns
The switch_module_streams_details of this ScheduledJobOperation.
- Return type
- property switch_snap_channel_details¶
Gets the switch_snap_channel_details of this ScheduledJobOperation.
- Returns
The switch_snap_channel_details of this ScheduledJobOperation.
- Return type
- property 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]