CreateCccScheduleEvent

class oci.compute_cloud_at_customer.models.CreateCccScheduleEvent(**kwargs)

Bases: object

A period where upgrades may be applied to Compute Cloud@Customer infrastructures associated with the schedule. All upgrade windows may not be used.

Methods

__init__(**kwargs) Initializes a new CreateCccScheduleEvent object with values from keyword arguments.

Attributes

description [Required] Gets the description of this CreateCccScheduleEvent.
schedule_event_duration [Required] Gets the schedule_event_duration of this CreateCccScheduleEvent.
schedule_event_recurrences Gets the schedule_event_recurrences of this CreateCccScheduleEvent.
time_start [Required] Gets the time_start of this CreateCccScheduleEvent.
__init__(**kwargs)

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

Parameters:
  • description (str) – The value to assign to the description property of this CreateCccScheduleEvent.
  • time_start (datetime) – The value to assign to the time_start property of this CreateCccScheduleEvent.
  • schedule_event_duration (str) – The value to assign to the schedule_event_duration property of this CreateCccScheduleEvent.
  • schedule_event_recurrences (str) – The value to assign to the schedule_event_recurrences property of this CreateCccScheduleEvent.
description

[Required] Gets the description of this CreateCccScheduleEvent. A description of the Compute Cloud@Customer upgrade schedule time block.

Returns:The description of this CreateCccScheduleEvent.
Return type:str
schedule_event_duration

[Required] Gets the schedule_event_duration of this CreateCccScheduleEvent. The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.

Returns:The schedule_event_duration of this CreateCccScheduleEvent.
Return type:str
schedule_event_recurrences

Gets the schedule_event_recurrences of this CreateCccScheduleEvent. Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences.

Returns:The schedule_event_recurrences of this CreateCccScheduleEvent.
Return type:str
time_start

[Required] Gets the time_start of this CreateCccScheduleEvent. The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied.

Returns:The time_start of this CreateCccScheduleEvent.
Return type:datetime