CreateMaintenanceWindowDetails¶
-
class
oci.fleet_apps_management.models.
CreateMaintenanceWindowDetails
(**kwargs)¶ Bases:
object
The information about new MaintenanceWindow.
Attributes
MAINTENANCE_WINDOW_TYPE_OPEN_ENDED
A constant which can be used with the maintenance_window_type property of a CreateMaintenanceWindowDetails. compartment_id
[Required] Gets the compartment_id of this CreateMaintenanceWindowDetails. defined_tags
Gets the defined_tags of this CreateMaintenanceWindowDetails. description
Gets the description of this CreateMaintenanceWindowDetails. display_name
Gets the display_name of this CreateMaintenanceWindowDetails. duration
[Required] Gets the duration of this CreateMaintenanceWindowDetails. freeform_tags
Gets the freeform_tags of this CreateMaintenanceWindowDetails. is_outage
Gets the is_outage of this CreateMaintenanceWindowDetails. is_recurring
Gets the is_recurring of this CreateMaintenanceWindowDetails. maintenance_window_type
Gets the maintenance_window_type of this CreateMaintenanceWindowDetails. recurrences
Gets the recurrences of this CreateMaintenanceWindowDetails. task_initiation_cutoff
Gets the task_initiation_cutoff of this CreateMaintenanceWindowDetails. time_schedule_start
Gets the time_schedule_start of this CreateMaintenanceWindowDetails. Methods
__init__
(**kwargs)Initializes a new CreateMaintenanceWindowDetails object with values from keyword arguments. -
MAINTENANCE_WINDOW_TYPE_OPEN_ENDED
= 'OPEN_ENDED'¶ A constant which can be used with the maintenance_window_type property of a CreateMaintenanceWindowDetails. This constant has a value of “OPEN_ENDED”
-
__init__
(**kwargs)¶ Initializes a new CreateMaintenanceWindowDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - compartment_id (str) – The value to assign to the compartment_id property of this CreateMaintenanceWindowDetails.
- display_name (str) – The value to assign to the display_name property of this CreateMaintenanceWindowDetails.
- description (str) – The value to assign to the description property of this CreateMaintenanceWindowDetails.
- is_outage (bool) – The value to assign to the is_outage property of this CreateMaintenanceWindowDetails.
- maintenance_window_type (str) – The value to assign to the maintenance_window_type property of this CreateMaintenanceWindowDetails. Allowed values for this property are: “OPEN_ENDED”
- time_schedule_start (datetime) – The value to assign to the time_schedule_start property of this CreateMaintenanceWindowDetails.
- duration (str) – The value to assign to the duration property of this CreateMaintenanceWindowDetails.
- is_recurring (bool) – The value to assign to the is_recurring property of this CreateMaintenanceWindowDetails.
- recurrences (str) – The value to assign to the recurrences property of this CreateMaintenanceWindowDetails.
- task_initiation_cutoff (int) – The value to assign to the task_initiation_cutoff property of this CreateMaintenanceWindowDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateMaintenanceWindowDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateMaintenanceWindowDetails.
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateMaintenanceWindowDetails. Tenancy OCID
Returns: The compartment_id of this CreateMaintenanceWindowDetails. Return type: str
Gets the defined_tags of this CreateMaintenanceWindowDetails. 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 CreateMaintenanceWindowDetails. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this CreateMaintenanceWindowDetails. A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
Returns: The description of this CreateMaintenanceWindowDetails. Return type: str
-
display_name
¶ Gets the display_name of this CreateMaintenanceWindowDetails. 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 CreateMaintenanceWindowDetails. Return type: str
-
duration
¶ [Required] Gets the duration of this CreateMaintenanceWindowDetails. Duration if schedule type is Custom
Returns: The duration of this CreateMaintenanceWindowDetails. Return type: str
Gets the freeform_tags of this CreateMaintenanceWindowDetails. 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 CreateMaintenanceWindowDetails. Return type: dict(str, str)
-
is_outage
¶ Gets the is_outage of this CreateMaintenanceWindowDetails. Does the maintenenace window cause outage?
Returns: The is_outage of this CreateMaintenanceWindowDetails. Return type: bool
-
is_recurring
¶ Gets the is_recurring of this CreateMaintenanceWindowDetails. Is this is a recurring maintenance window
Returns: The is_recurring of this CreateMaintenanceWindowDetails. Return type: bool
-
maintenance_window_type
¶ Gets the maintenance_window_type of this CreateMaintenanceWindowDetails. Type of maintenenace window
Allowed values for this property are: “OPEN_ENDED”
Returns: The maintenance_window_type of this CreateMaintenanceWindowDetails. Return type: str
-
recurrences
¶ Gets the recurrences of this CreateMaintenanceWindowDetails. Recurrence rule specification if recurring
Returns: The recurrences of this CreateMaintenanceWindowDetails. Return type: str
-
task_initiation_cutoff
¶ Gets the task_initiation_cutoff of this CreateMaintenanceWindowDetails. Task initiation cutoff
Returns: The task_initiation_cutoff of this CreateMaintenanceWindowDetails. Return type: int
-
time_schedule_start
¶ Gets the time_schedule_start of this CreateMaintenanceWindowDetails. Start time of schedule
Returns: The time_schedule_start of this CreateMaintenanceWindowDetails. Return type: datetime
-