JobScheduleDetails

class oci.database_management.models.JobScheduleDetails(**kwargs)

Bases: object

The details of the job schedule.

Attributes

INTERVAL_TYPE_DAILY A constant which can be used with the interval_type property of a JobScheduleDetails.
INTERVAL_TYPE_HOURLY A constant which can be used with the interval_type property of a JobScheduleDetails.
INTERVAL_TYPE_MONTHLY A constant which can be used with the interval_type property of a JobScheduleDetails.
INTERVAL_TYPE_NEVER A constant which can be used with the interval_type property of a JobScheduleDetails.
INTERVAL_TYPE_WEEKLY A constant which can be used with the interval_type property of a JobScheduleDetails.
end_time Gets the end_time of this JobScheduleDetails.
interval_type Gets the interval_type of this JobScheduleDetails.
interval_value Gets the interval_value of this JobScheduleDetails.
start_time Gets the start_time of this JobScheduleDetails.

Methods

__init__(**kwargs) Initializes a new JobScheduleDetails object with values from keyword arguments.
INTERVAL_TYPE_DAILY = 'DAILY'

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

INTERVAL_TYPE_HOURLY = 'HOURLY'

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

INTERVAL_TYPE_MONTHLY = 'MONTHLY'

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

INTERVAL_TYPE_NEVER = 'NEVER'

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

INTERVAL_TYPE_WEEKLY = 'WEEKLY'

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

__init__(**kwargs)

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

Parameters:
  • start_time (str) – The value to assign to the start_time property of this JobScheduleDetails.
  • end_time (str) – The value to assign to the end_time property of this JobScheduleDetails.
  • interval_type (str) – The value to assign to the interval_type property of this JobScheduleDetails. Allowed values for this property are: “DAILY”, “HOURLY”, “WEEKLY”, “MONTHLY”, “NEVER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • interval_value (str) – The value to assign to the interval_value property of this JobScheduleDetails.
end_time

Gets the end_time of this JobScheduleDetails. The end time of the scheduled job in UTC in ISO-8601 format, which is “yyyy-MM-dd’T’hh:mm:ss.sss’Z’”.

Returns:The end_time of this JobScheduleDetails.
Return type:str
interval_type

Gets the interval_type of this JobScheduleDetails. The interval type for a recurring scheduled job. For a non-recurring (one time) job, NEVER must be specified as the interval type.

Allowed values for this property are: “DAILY”, “HOURLY”, “WEEKLY”, “MONTHLY”, “NEVER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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

Gets the interval_value of this JobScheduleDetails. The value for the interval period for a recurring scheduled job.

Returns:The interval_value of this JobScheduleDetails.
Return type:str
start_time

Gets the start_time of this JobScheduleDetails. The start time of the scheduled job in UTC in ISO-8601 format, which is “yyyy-MM-dd’T’hh:mm:ss.sss’Z’”.

Returns:The start_time of this JobScheduleDetails.
Return type:str