ScheduledJobSummary

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

Bases: object

Basic information about a Scheduled Job

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a ScheduledJobSummary.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a ScheduledJobSummary.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a ScheduledJobSummary.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a ScheduledJobSummary.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a ScheduledJobSummary.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a ScheduledJobSummary.
OPERATION_TYPE_COMPOUND A constant which can be used with the operation_type property of a ScheduledJobSummary.
OPERATION_TYPE_DISABLEMODULESTREAM A constant which can be used with the operation_type property of a ScheduledJobSummary.
OPERATION_TYPE_ENABLEMODULESTREAM A constant which can be used with the operation_type property of a ScheduledJobSummary.
OPERATION_TYPE_INSTALL A constant which can be used with the operation_type property of a ScheduledJobSummary.
OPERATION_TYPE_INSTALLMODULESTREAMPROFILE A constant which can be used with the operation_type property of a ScheduledJobSummary.
OPERATION_TYPE_REMOVE A constant which can be used with the operation_type property of a ScheduledJobSummary.
OPERATION_TYPE_REMOVEMODULESTREAMPROFILE A constant which can be used with the operation_type property of a ScheduledJobSummary.
OPERATION_TYPE_SWITCHMODULESTREAM A constant which can be used with the operation_type property of a ScheduledJobSummary.
OPERATION_TYPE_UPDATE A constant which can be used with the operation_type property of a ScheduledJobSummary.
OPERATION_TYPE_UPDATEALL A constant which can be used with the operation_type property of a ScheduledJobSummary.
OS_FAMILY_ALL A constant which can be used with the os_family property of a ScheduledJobSummary.
OS_FAMILY_LINUX A constant which can be used with the os_family property of a ScheduledJobSummary.
OS_FAMILY_WINDOWS A constant which can be used with the os_family property of a ScheduledJobSummary.
SCHEDULE_TYPE_ONETIME A constant which can be used with the schedule_type property of a ScheduledJobSummary.
SCHEDULE_TYPE_RECURRING A constant which can be used with the schedule_type property of a ScheduledJobSummary.
compartment_id Gets the compartment_id of this ScheduledJobSummary.
defined_tags Gets the defined_tags of this ScheduledJobSummary.
display_name [Required] Gets the display_name of this ScheduledJobSummary.
freeform_tags Gets the freeform_tags of this ScheduledJobSummary.
id [Required] Gets the id of this ScheduledJobSummary.
is_restricted Gets the is_restricted of this ScheduledJobSummary.
lifecycle_state Gets the lifecycle_state of this ScheduledJobSummary.
managed_instance_groups Gets the managed_instance_groups of this ScheduledJobSummary.
managed_instances Gets the managed_instances of this ScheduledJobSummary.
operation_type Gets the operation_type of this ScheduledJobSummary.
os_family Gets the os_family of this ScheduledJobSummary.
schedule_type Gets the schedule_type of this ScheduledJobSummary.
time_last_execution Gets the time_last_execution of this ScheduledJobSummary.
time_next_execution Gets the time_next_execution of this ScheduledJobSummary.

Methods

__init__(**kwargs) Initializes a new ScheduledJobSummary object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a ScheduledJobSummary. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a ScheduledJobSummary. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a ScheduledJobSummary. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a ScheduledJobSummary. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a ScheduledJobSummary. This constant has a value of “UPDATING”

OPERATION_TYPE_COMPOUND = 'COMPOUND'

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

OPERATION_TYPE_DISABLEMODULESTREAM = 'DISABLEMODULESTREAM'

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

OPERATION_TYPE_ENABLEMODULESTREAM = 'ENABLEMODULESTREAM'

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

OPERATION_TYPE_INSTALL = 'INSTALL'

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

OPERATION_TYPE_INSTALLMODULESTREAMPROFILE = 'INSTALLMODULESTREAMPROFILE'

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

OPERATION_TYPE_REMOVE = 'REMOVE'

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

OPERATION_TYPE_REMOVEMODULESTREAMPROFILE = 'REMOVEMODULESTREAMPROFILE'

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

OPERATION_TYPE_SWITCHMODULESTREAM = 'SWITCHMODULESTREAM'

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

OPERATION_TYPE_UPDATE = 'UPDATE'

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

OPERATION_TYPE_UPDATEALL = 'UPDATEALL'

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

OS_FAMILY_ALL = 'ALL'

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

OS_FAMILY_LINUX = 'LINUX'

A constant which can be used with the os_family property of a ScheduledJobSummary. This constant has a value of “LINUX”

OS_FAMILY_WINDOWS = 'WINDOWS'

A constant which can be used with the os_family property of a ScheduledJobSummary. This constant has a value of “WINDOWS”

SCHEDULE_TYPE_ONETIME = 'ONETIME'

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

SCHEDULE_TYPE_RECURRING = 'RECURRING'

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

__init__(**kwargs)

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

Parameters:
  • id (str) – The value to assign to the id property of this ScheduledJobSummary.
  • display_name (str) – The value to assign to the display_name property of this ScheduledJobSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this ScheduledJobSummary.
  • schedule_type (str) – The value to assign to the schedule_type property of this ScheduledJobSummary. Allowed values for this property are: “ONETIME”, “RECURRING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_next_execution (datetime) – The value to assign to the time_next_execution property of this ScheduledJobSummary.
  • time_last_execution (datetime) – The value to assign to the time_last_execution property of this ScheduledJobSummary.
  • managed_instances (list[oci.os_management.models.Id]) – The value to assign to the managed_instances property of this ScheduledJobSummary.
  • managed_instance_groups (list[oci.os_management.models.Id]) – The value to assign to the managed_instance_groups property of this ScheduledJobSummary.
  • operation_type (str) – The value to assign to the operation_type property of this ScheduledJobSummary. Allowed values for this property are: “INSTALL”, “UPDATE”, “REMOVE”, “UPDATEALL”, “ENABLEMODULESTREAM”, “DISABLEMODULESTREAM”, “SWITCHMODULESTREAM”, “INSTALLMODULESTREAMPROFILE”, “REMOVEMODULESTREAMPROFILE”, “COMPOUND”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ScheduledJobSummary. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ScheduledJobSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ScheduledJobSummary.
  • os_family (str) – The value to assign to the os_family property of this ScheduledJobSummary. Allowed values for this property are: “LINUX”, “WINDOWS”, “ALL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • is_restricted (bool) – The value to assign to the is_restricted property of this ScheduledJobSummary.
compartment_id

Gets the compartment_id of this ScheduledJobSummary. OCID for the Compartment

Returns:The compartment_id of this ScheduledJobSummary.
Return type:str
defined_tags

Gets the defined_tags of this ScheduledJobSummary. 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 ScheduledJobSummary.
Return type:dict(str, dict(str, object))
display_name

[Required] Gets the display_name of this ScheduledJobSummary. Scheduled Job name

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

Gets the freeform_tags of this ScheduledJobSummary. 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 ScheduledJobSummary.
Return type:dict(str, str)
id

[Required] Gets the id of this ScheduledJobSummary. OCID for the Scheduled Job

Returns:The id of this ScheduledJobSummary.
Return type:str
is_restricted

Gets the is_restricted of this ScheduledJobSummary. true, if the schedule job has its update capabilities restricted. (Used to track Autonomous Scheduled Job)

Returns:The is_restricted of this ScheduledJobSummary.
Return type:bool
lifecycle_state

Gets the lifecycle_state of this ScheduledJobSummary. The current state of the Scheduled Job.

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this ScheduledJobSummary.
Return type:str
managed_instance_groups

Gets the managed_instance_groups of this ScheduledJobSummary. the list of managed instance groups this scheduled job operates on (mutually exclusive with managedInstances)

Returns:The managed_instance_groups of this ScheduledJobSummary.
Return type:list[oci.os_management.models.Id]
managed_instances

Gets the managed_instances of this ScheduledJobSummary. the list of managed instances this scheduled job operates on (mutually exclusive with managedInstanceGroups)

Returns:The managed_instances of this ScheduledJobSummary.
Return type:list[oci.os_management.models.Id]
operation_type

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

Allowed values for this property are: “INSTALL”, “UPDATE”, “REMOVE”, “UPDATEALL”, “ENABLEMODULESTREAM”, “DISABLEMODULESTREAM”, “SWITCHMODULESTREAM”, “INSTALLMODULESTREAMPROFILE”, “REMOVEMODULESTREAMPROFILE”, “COMPOUND”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The operation_type of this ScheduledJobSummary.
Return type:str
os_family

Gets the os_family of this ScheduledJobSummary. The Operating System type of the managed instance.

Allowed values for this property are: “LINUX”, “WINDOWS”, “ALL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The os_family of this ScheduledJobSummary.
Return type:str
schedule_type

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

Allowed values for this property are: “ONETIME”, “RECURRING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The schedule_type of this ScheduledJobSummary.
Return type:str
time_last_execution

Gets the time_last_execution of this ScheduledJobSummary. the time/date of the last execution of this Scheduled Job

Returns:The time_last_execution of this ScheduledJobSummary.
Return type:datetime
time_next_execution

Gets the time_next_execution of this ScheduledJobSummary. the time/date of the next scheduled execution of this Scheduled Job

Returns:The time_next_execution of this ScheduledJobSummary.
Return type:datetime