MaintenanceWindow¶
-
class
oci.fleet_apps_management.models.
MaintenanceWindow
(**kwargs)¶ Bases:
object
Details of Maintenance Window in Fleet Application Management.
Attributes
LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a MaintenanceWindow. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a MaintenanceWindow. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a MaintenanceWindow. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a MaintenanceWindow. LIFECYCLE_STATE_NEEDS_ATTENTION
A constant which can be used with the lifecycle_state property of a MaintenanceWindow. LIFECYCLE_STATE_UPDATING
A constant which can be used with the lifecycle_state property of a MaintenanceWindow. MAINTENANCE_WINDOW_TYPE_OPEN_ENDED
A constant which can be used with the maintenance_window_type property of a MaintenanceWindow. compartment_id
[Required] Gets the compartment_id of this MaintenanceWindow. defined_tags
[Required] Gets the defined_tags of this MaintenanceWindow. description
Gets the description of this MaintenanceWindow. display_name
[Required] Gets the display_name of this MaintenanceWindow. duration
[Required] Gets the duration of this MaintenanceWindow. freeform_tags
[Required] Gets the freeform_tags of this MaintenanceWindow. id
[Required] Gets the id of this MaintenanceWindow. is_outage
[Required] Gets the is_outage of this MaintenanceWindow. is_recurring
[Required] Gets the is_recurring of this MaintenanceWindow. lifecycle_details
Gets the lifecycle_details of this MaintenanceWindow. lifecycle_state
[Required] Gets the lifecycle_state of this MaintenanceWindow. maintenance_window_type
Gets the maintenance_window_type of this MaintenanceWindow. recurrences
Gets the recurrences of this MaintenanceWindow. resource_region
Gets the resource_region of this MaintenanceWindow. system_tags
Gets the system_tags of this MaintenanceWindow. task_initiation_cutoff
[Required] Gets the task_initiation_cutoff of this MaintenanceWindow. time_created
[Required] Gets the time_created of this MaintenanceWindow. time_schedule_start
Gets the time_schedule_start of this MaintenanceWindow. time_updated
Gets the time_updated of this MaintenanceWindow. Methods
__init__
(**kwargs)Initializes a new MaintenanceWindow object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE
= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a MaintenanceWindow. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a MaintenanceWindow. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING
= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a MaintenanceWindow. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a MaintenanceWindow. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_NEEDS_ATTENTION
= 'NEEDS_ATTENTION'¶ A constant which can be used with the lifecycle_state property of a MaintenanceWindow. This constant has a value of “NEEDS_ATTENTION”
-
LIFECYCLE_STATE_UPDATING
= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a MaintenanceWindow. This constant has a value of “UPDATING”
-
MAINTENANCE_WINDOW_TYPE_OPEN_ENDED
= 'OPEN_ENDED'¶ A constant which can be used with the maintenance_window_type property of a MaintenanceWindow. This constant has a value of “OPEN_ENDED”
-
__init__
(**kwargs)¶ Initializes a new MaintenanceWindow object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this MaintenanceWindow.
- compartment_id (str) – The value to assign to the compartment_id property of this MaintenanceWindow.
- resource_region (str) – The value to assign to the resource_region property of this MaintenanceWindow.
- display_name (str) – The value to assign to the display_name property of this MaintenanceWindow.
- description (str) – The value to assign to the description property of this MaintenanceWindow.
- time_created (datetime) – The value to assign to the time_created property of this MaintenanceWindow.
- time_updated (datetime) – The value to assign to the time_updated property of this MaintenanceWindow.
- maintenance_window_type (str) – The value to assign to the maintenance_window_type property of this MaintenanceWindow. Allowed values for this property are: “OPEN_ENDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- is_outage (bool) – The value to assign to the is_outage property of this MaintenanceWindow.
- time_schedule_start (datetime) – The value to assign to the time_schedule_start property of this MaintenanceWindow.
- duration (str) – The value to assign to the duration property of this MaintenanceWindow.
- is_recurring (bool) – The value to assign to the is_recurring property of this MaintenanceWindow.
- recurrences (str) – The value to assign to the recurrences property of this MaintenanceWindow.
- task_initiation_cutoff (int) – The value to assign to the task_initiation_cutoff property of this MaintenanceWindow.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this MaintenanceWindow. Allowed values for this property are: “ACTIVE”, “DELETED”, “FAILED”, “DELETING”, “UPDATING”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this MaintenanceWindow.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this MaintenanceWindow.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this MaintenanceWindow.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this MaintenanceWindow.
-
compartment_id
¶ [Required] Gets the compartment_id of this MaintenanceWindow. Tenancy OCID
Returns: The compartment_id of this MaintenanceWindow. Return type: str
[Required] Gets the defined_tags of this MaintenanceWindow. 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 MaintenanceWindow. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this MaintenanceWindow. A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
Returns: The description of this MaintenanceWindow. Return type: str
-
display_name
¶ [Required] Gets the display_name of this MaintenanceWindow. 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 MaintenanceWindow. Return type: str
-
duration
¶ [Required] Gets the duration of this MaintenanceWindow. Duration of the maintenance window. Specify how long the maintenance window remains open.
Returns: The duration of this MaintenanceWindow. Return type: str
[Required] Gets the freeform_tags of this MaintenanceWindow. 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 MaintenanceWindow. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this MaintenanceWindow. The OCID of the resource.
Returns: The id of this MaintenanceWindow. Return type: str
-
is_outage
¶ [Required] Gets the is_outage of this MaintenanceWindow. 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 MaintenanceWindow. Return type: bool
-
is_recurring
¶ [Required] Gets the is_recurring of this MaintenanceWindow. Is this a recurring maintenance window?
Returns: The is_recurring of this MaintenanceWindow. Return type: bool
-
lifecycle_details
¶ Gets the lifecycle_details of this MaintenanceWindow. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
Returns: The lifecycle_details of this MaintenanceWindow. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this MaintenanceWindow. The current state of the MaintenanceWindow.
Allowed values for this property are: “ACTIVE”, “DELETED”, “FAILED”, “DELETING”, “UPDATING”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this MaintenanceWindow. Return type: str
-
maintenance_window_type
¶ Gets the maintenance_window_type of this MaintenanceWindow. Type of the MaintenanceWindow.
Allowed values for this property are: “OPEN_ENDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The maintenance_window_type of this MaintenanceWindow. Return type: str
-
recurrences
¶ Gets the recurrences of this MaintenanceWindow. Recurrence rule specification if maintenance window recurring. Specify the frequency of running the maintenance window.
Returns: The recurrences of this MaintenanceWindow. Return type: str
-
resource_region
¶ Gets the resource_region of this MaintenanceWindow. Associated region
Returns: The resource_region of this MaintenanceWindow. Return type: str
Gets the system_tags of this MaintenanceWindow. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this MaintenanceWindow. Return type: dict(str, dict(str, object))
-
task_initiation_cutoff
¶ [Required] Gets the task_initiation_cutoff of this MaintenanceWindow. Task initiation cutoff time for the maintenance window.
Returns: The task_initiation_cutoff of this MaintenanceWindow. Return type: int
-
time_created
¶ [Required] Gets the time_created of this MaintenanceWindow. The time this resource was created. An RFC3339 formatted datetime string.
Returns: The time_created of this MaintenanceWindow. Return type: datetime
-
time_schedule_start
¶ Gets the time_schedule_start of this MaintenanceWindow. Specify the date and time of the day that the maintenance window starts.
Returns: The time_schedule_start of this MaintenanceWindow. Return type: datetime
-
time_updated
¶ Gets the time_updated of this MaintenanceWindow. The time this resource was last updated. An RFC3339 formatted datetime string.
Returns: The time_updated of this MaintenanceWindow. Return type: datetime
-