DesktopSchedule¶
-
class
oci.desktops.models.
DesktopSchedule
(**kwargs)¶ Bases:
object
Provides the schedule information for a desktop.
Methods
__init__
(**kwargs)Initializes a new DesktopSchedule object with values from keyword arguments. Attributes
cron_expression
[Required] Gets the cron_expression of this DesktopSchedule. timezone
[Required] Gets the timezone of this DesktopSchedule. -
__init__
(**kwargs)¶ Initializes a new DesktopSchedule object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - cron_expression (str) – The value to assign to the cron_expression property of this DesktopSchedule.
- timezone (str) – The value to assign to the timezone property of this DesktopSchedule.
-
cron_expression
¶ [Required] Gets the cron_expression of this DesktopSchedule. A cron expression describing the desktop’s schedule.
Returns: The cron_expression of this DesktopSchedule. Return type: str
-
timezone
¶ [Required] Gets the timezone of this DesktopSchedule. The timezone of the desktop’s schedule.
Returns: The timezone of this DesktopSchedule. Return type: str
-