UpdateMaintenanceWindowDetails¶
- class oci.fleet_apps_management.models.UpdateMaintenanceWindowDetails(**kwargs)¶
Bases:
objectMaintenance Window information to be updated.
Methods:
__init__(**kwargs)Initializes a new UpdateMaintenanceWindowDetails object with values from keyword arguments.
Attributes:
Gets the defined_tags of this UpdateMaintenanceWindowDetails.
Gets the description of this UpdateMaintenanceWindowDetails.
Gets the display_name of this UpdateMaintenanceWindowDetails.
Gets the duration of this UpdateMaintenanceWindowDetails.
Gets the freeform_tags of this UpdateMaintenanceWindowDetails.
Gets the is_outage of this UpdateMaintenanceWindowDetails.
Gets the is_recurring of this UpdateMaintenanceWindowDetails.
Gets the recurrences of this UpdateMaintenanceWindowDetails.
Gets the time_schedule_start of this UpdateMaintenanceWindowDetails.
- __init__(**kwargs)¶
Initializes a new UpdateMaintenanceWindowDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
display_name (str) – The value to assign to the display_name property of this UpdateMaintenanceWindowDetails.
description (str) – The value to assign to the description property of this UpdateMaintenanceWindowDetails.
is_outage (bool) – The value to assign to the is_outage property of this UpdateMaintenanceWindowDetails.
time_schedule_start (datetime) – The value to assign to the time_schedule_start property of this UpdateMaintenanceWindowDetails.
duration (str) – The value to assign to the duration property of this UpdateMaintenanceWindowDetails.
is_recurring (bool) – The value to assign to the is_recurring property of this UpdateMaintenanceWindowDetails.
recurrences (str) – The value to assign to the recurrences property of this UpdateMaintenanceWindowDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateMaintenanceWindowDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateMaintenanceWindowDetails.
- property defined_tags¶
Gets the defined_tags of this UpdateMaintenanceWindowDetails. 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 UpdateMaintenanceWindowDetails.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this UpdateMaintenanceWindowDetails. A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- Returns
The description of this UpdateMaintenanceWindowDetails.
- Return type
str
- property display_name¶
Gets the display_name of this UpdateMaintenanceWindowDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Example: My new resource
- Returns
The display_name of this UpdateMaintenanceWindowDetails.
- Return type
str
- property duration¶
Gets the duration of this UpdateMaintenanceWindowDetails. Duration of the maintenance window. Specify how long the maintenance window remains open.
- Returns
The duration of this UpdateMaintenanceWindowDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this UpdateMaintenanceWindowDetails. 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 UpdateMaintenanceWindowDetails.
- Return type
dict(str, str)
- property is_outage¶
Gets the is_outage of this UpdateMaintenanceWindowDetails. Does the maintenenace window cause outage? An outage indicates whether a maintenance window can consider operations that require downtime. It means a period when the application is not accessible.
- Returns
The is_outage of this UpdateMaintenanceWindowDetails.
- Return type
bool
- property is_recurring¶
Gets the is_recurring of this UpdateMaintenanceWindowDetails. Is this a recurring maintenance window?
- Returns
The is_recurring of this UpdateMaintenanceWindowDetails.
- Return type
bool
- property recurrences¶
Gets the recurrences of this UpdateMaintenanceWindowDetails. Recurrence rule specification if maintenance window recurring. Specify the frequency of running the maintenance window.
- Returns
The recurrences of this UpdateMaintenanceWindowDetails.
- Return type
str
- property time_schedule_start¶
Gets the time_schedule_start of this UpdateMaintenanceWindowDetails. Specify the date and time of the day that the maintenance window starts.
- Returns
The time_schedule_start of this UpdateMaintenanceWindowDetails.
- Return type
datetime