UpdateScheduledJobDetails

class oci.os_management.models.UpdateScheduledJobDetails(**kwargs)

Bases: object

Information for updating a Scheduled Job

Attributes

INTERVAL_TYPE_DAY A constant which can be used with the interval_type property of a UpdateScheduledJobDetails.
INTERVAL_TYPE_HOUR A constant which can be used with the interval_type property of a UpdateScheduledJobDetails.
INTERVAL_TYPE_MONTH A constant which can be used with the interval_type property of a UpdateScheduledJobDetails.
INTERVAL_TYPE_WEEK A constant which can be used with the interval_type property of a UpdateScheduledJobDetails.
OPERATION_TYPE_INSTALL A constant which can be used with the operation_type property of a UpdateScheduledJobDetails.
OPERATION_TYPE_REMOVE A constant which can be used with the operation_type property of a UpdateScheduledJobDetails.
OPERATION_TYPE_UPDATE A constant which can be used with the operation_type property of a UpdateScheduledJobDetails.
OPERATION_TYPE_UPDATEALL A constant which can be used with the operation_type property of a UpdateScheduledJobDetails.
SCHEDULE_TYPE_ONETIME A constant which can be used with the schedule_type property of a UpdateScheduledJobDetails.
SCHEDULE_TYPE_RECURRING A constant which can be used with the schedule_type property of a UpdateScheduledJobDetails.
UPDATE_TYPE_ALL A constant which can be used with the update_type property of a UpdateScheduledJobDetails.
UPDATE_TYPE_BUGFIX A constant which can be used with the update_type property of a UpdateScheduledJobDetails.
UPDATE_TYPE_ENHANCEMENT A constant which can be used with the update_type property of a UpdateScheduledJobDetails.
UPDATE_TYPE_KSPLICE A constant which can be used with the update_type property of a UpdateScheduledJobDetails.
UPDATE_TYPE_OTHER A constant which can be used with the update_type property of a UpdateScheduledJobDetails.
UPDATE_TYPE_SECURITY A constant which can be used with the update_type property of a UpdateScheduledJobDetails.
defined_tags Gets the defined_tags of this UpdateScheduledJobDetails.
description Gets the description of this UpdateScheduledJobDetails.
display_name Gets the display_name of this UpdateScheduledJobDetails.
freeform_tags Gets the freeform_tags of this UpdateScheduledJobDetails.
interval_type Gets the interval_type of this UpdateScheduledJobDetails.
interval_value Gets the interval_value of this UpdateScheduledJobDetails.
operation_type Gets the operation_type of this UpdateScheduledJobDetails.
package_names Gets the package_names of this UpdateScheduledJobDetails.
schedule_type Gets the schedule_type of this UpdateScheduledJobDetails.
time_next_execution Gets the time_next_execution of this UpdateScheduledJobDetails.
update_names Gets the update_names of this UpdateScheduledJobDetails.
update_type Gets the update_type of this UpdateScheduledJobDetails.

Methods

__init__(**kwargs) Initializes a new UpdateScheduledJobDetails object with values from keyword arguments.
INTERVAL_TYPE_DAY = 'DAY'

A constant which can be used with the interval_type property of a UpdateScheduledJobDetails. This constant has a value of “DAY”

INTERVAL_TYPE_HOUR = 'HOUR'

A constant which can be used with the interval_type property of a UpdateScheduledJobDetails. This constant has a value of “HOUR”

INTERVAL_TYPE_MONTH = 'MONTH'

A constant which can be used with the interval_type property of a UpdateScheduledJobDetails. This constant has a value of “MONTH”

INTERVAL_TYPE_WEEK = 'WEEK'

A constant which can be used with the interval_type property of a UpdateScheduledJobDetails. This constant has a value of “WEEK”

OPERATION_TYPE_INSTALL = 'INSTALL'

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

OPERATION_TYPE_REMOVE = 'REMOVE'

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

OPERATION_TYPE_UPDATE = 'UPDATE'

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

OPERATION_TYPE_UPDATEALL = 'UPDATEALL'

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

SCHEDULE_TYPE_ONETIME = 'ONETIME'

A constant which can be used with the schedule_type property of a UpdateScheduledJobDetails. This constant has a value of “ONETIME”

SCHEDULE_TYPE_RECURRING = 'RECURRING'

A constant which can be used with the schedule_type property of a UpdateScheduledJobDetails. This constant has a value of “RECURRING”

UPDATE_TYPE_ALL = 'ALL'

A constant which can be used with the update_type property of a UpdateScheduledJobDetails. This constant has a value of “ALL”

UPDATE_TYPE_BUGFIX = 'BUGFIX'

A constant which can be used with the update_type property of a UpdateScheduledJobDetails. This constant has a value of “BUGFIX”

UPDATE_TYPE_ENHANCEMENT = 'ENHANCEMENT'

A constant which can be used with the update_type property of a UpdateScheduledJobDetails. This constant has a value of “ENHANCEMENT”

UPDATE_TYPE_KSPLICE = 'KSPLICE'

A constant which can be used with the update_type property of a UpdateScheduledJobDetails. This constant has a value of “KSPLICE”

UPDATE_TYPE_OTHER = 'OTHER'

A constant which can be used with the update_type property of a UpdateScheduledJobDetails. This constant has a value of “OTHER”

UPDATE_TYPE_SECURITY = 'SECURITY'

A constant which can be used with the update_type property of a UpdateScheduledJobDetails. This constant has a value of “SECURITY”

__init__(**kwargs)

Initializes a new UpdateScheduledJobDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) – The value to assign to the display_name property of this UpdateScheduledJobDetails.
  • description (str) – The value to assign to the description property of this UpdateScheduledJobDetails.
  • schedule_type (str) – The value to assign to the schedule_type property of this UpdateScheduledJobDetails. Allowed values for this property are: “ONETIME”, “RECURRING”
  • time_next_execution (datetime) – The value to assign to the time_next_execution property of this UpdateScheduledJobDetails.
  • interval_type (str) – The value to assign to the interval_type property of this UpdateScheduledJobDetails. Allowed values for this property are: “HOUR”, “DAY”, “WEEK”, “MONTH”
  • interval_value (str) – The value to assign to the interval_value property of this UpdateScheduledJobDetails.
  • operation_type (str) – The value to assign to the operation_type property of this UpdateScheduledJobDetails. Allowed values for this property are: “INSTALL”, “UPDATE”, “REMOVE”, “UPDATEALL”
  • update_type (str) – The value to assign to the update_type property of this UpdateScheduledJobDetails. Allowed values for this property are: “SECURITY”, “BUGFIX”, “ENHANCEMENT”, “OTHER”, “KSPLICE”, “ALL”
  • package_names (list[oci.os_management.models.PackageName]) – The value to assign to the package_names property of this UpdateScheduledJobDetails.
  • update_names (list[str]) – The value to assign to the update_names property of this UpdateScheduledJobDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateScheduledJobDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateScheduledJobDetails.
defined_tags

Gets the defined_tags of this UpdateScheduledJobDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this UpdateScheduledJobDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this UpdateScheduledJobDetails. Details describing the Scheduled Job.

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

Gets the display_name of this UpdateScheduledJobDetails. Scheduled Job name

Returns:The display_name of this UpdateScheduledJobDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this UpdateScheduledJobDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this UpdateScheduledJobDetails.
Return type:dict(str, str)
interval_type

Gets the interval_type of this UpdateScheduledJobDetails. the interval period for a recurring Scheduled Job (only if schedule type is RECURRING)

Allowed values for this property are: “HOUR”, “DAY”, “WEEK”, “MONTH”

Returns:The interval_type of this UpdateScheduledJobDetails.
Return type:str
interval_value

Gets the interval_value of this UpdateScheduledJobDetails. the value for the interval period for a recurring Scheduled Job (only if schedule type is RECURRING)

Returns:The interval_value of this UpdateScheduledJobDetails.
Return type:str
operation_type

Gets the operation_type of this UpdateScheduledJobDetails. the type of operation this Scheduled Job performs

Allowed values for this property are: “INSTALL”, “UPDATE”, “REMOVE”, “UPDATEALL”

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

Gets the package_names of this UpdateScheduledJobDetails. the id of the package (only if operation type is INSTALL/UPDATE/REMOVE)

Returns:The package_names of this UpdateScheduledJobDetails.
Return type:list[oci.os_management.models.PackageName]
schedule_type

Gets the schedule_type of this UpdateScheduledJobDetails. the type of scheduling this Scheduled Job follows

Allowed values for this property are: “ONETIME”, “RECURRING”

Returns:The schedule_type of this UpdateScheduledJobDetails.
Return type:str
time_next_execution

Gets the time_next_execution of this UpdateScheduledJobDetails. the desired time for the next execution of this Scheduled Job

Returns:The time_next_execution of this UpdateScheduledJobDetails.
Return type:datetime
update_names

Gets the update_names of this UpdateScheduledJobDetails. The unique names of the Windows Updates (only if operation type is INSTALL). This is only applicable when the osFamily is for Windows managed instances.

Returns:The update_names of this UpdateScheduledJobDetails.
Return type:list[str]
update_type

Gets the update_type of this UpdateScheduledJobDetails. Type of the update (only if operation type is UPDATEALL)

Allowed values for this property are: “SECURITY”, “BUGFIX”, “ENHANCEMENT”, “OTHER”, “KSPLICE”, “ALL”

Returns:The update_type of this UpdateScheduledJobDetails.
Return type:str