CronExecutionSchedule

class oci.autoscaling.models.CronExecutionSchedule(**kwargs)

Bases: oci.autoscaling.models.execution_schedule.ExecutionSchedule

Specifies the execution schedule of CRON type.

Attributes

TIMEZONE_UTC str(object=’‘) -> str
expression [Required] Gets the expression of this CronExecutionSchedule.
timezone [Required] Gets the timezone of this ExecutionSchedule.
type [Required] Gets the type of this ExecutionSchedule.

Methods

__init__(**kwargs) Initializes a new CronExecutionSchedule object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
TIMEZONE_UTC = 'UTC'
__init__(**kwargs)

Initializes a new CronExecutionSchedule object with values from keyword arguments. The default value of the type attribute of this class is cron and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • type (str) – The value to assign to the type property of this CronExecutionSchedule.
  • timezone (str) – The value to assign to the timezone property of this CronExecutionSchedule. Allowed values for this property are: “UTC”
  • expression (str) – The value to assign to the expression property of this CronExecutionSchedule.
expression

[Required] Gets the expression of this CronExecutionSchedule. The value representing the execution schedule, as defined by cron format.

Returns:The expression of this CronExecutionSchedule.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

timezone

[Required] Gets the timezone of this ExecutionSchedule. Specifies the time zone the schedule is in.

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

Returns:The timezone of this ExecutionSchedule.
Return type:str
type

[Required] Gets the type of this ExecutionSchedule. The type of ExecutionSchedule.

Returns:The type of this ExecutionSchedule.
Return type:str