MaintenanceDetails¶
-
class
oci.opensearch.models.
MaintenanceDetails
(**kwargs)¶ Bases:
object
Details for the maintenance activity.
Attributes
STATE_RESCHEDULED
A constant which can be used with the state property of a MaintenanceDetails. STATE_SCHEDULED
A constant which can be used with the state property of a MaintenanceDetails. STATE_TO_BE_SCHEDULED
A constant which can be used with the state property of a MaintenanceDetails. end_time
Gets the end_time of this MaintenanceDetails. notification_email_ids
Gets the notification_email_ids of this MaintenanceDetails. start_time
Gets the start_time of this MaintenanceDetails. state
[Required] Gets the state of this MaintenanceDetails. Methods
__init__
(**kwargs)Initializes a new MaintenanceDetails object with values from keyword arguments. -
STATE_RESCHEDULED
= 'RESCHEDULED'¶ A constant which can be used with the state property of a MaintenanceDetails. This constant has a value of “RESCHEDULED”
-
STATE_SCHEDULED
= 'SCHEDULED'¶ A constant which can be used with the state property of a MaintenanceDetails. This constant has a value of “SCHEDULED”
-
STATE_TO_BE_SCHEDULED
= 'TO_BE_SCHEDULED'¶ A constant which can be used with the state property of a MaintenanceDetails. This constant has a value of “TO_BE_SCHEDULED”
-
__init__
(**kwargs)¶ Initializes a new MaintenanceDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - state (str) – The value to assign to the state property of this MaintenanceDetails. Allowed values for this property are: “SCHEDULED”, “RESCHEDULED”, “TO_BE_SCHEDULED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- start_time (datetime) – The value to assign to the start_time property of this MaintenanceDetails.
- end_time (datetime) – The value to assign to the end_time property of this MaintenanceDetails.
- notification_email_ids (list[str]) – The value to assign to the notification_email_ids property of this MaintenanceDetails.
-
end_time
¶ Gets the end_time of this MaintenanceDetails. End time of the maintenance activity
Returns: The end_time of this MaintenanceDetails. Return type: datetime
-
notification_email_ids
¶ Gets the notification_email_ids of this MaintenanceDetails. The Email Ids given the by customer to get notified about maintenance activities
Returns: The notification_email_ids of this MaintenanceDetails. Return type: list[str]
-
start_time
¶ Gets the start_time of this MaintenanceDetails. Start time of the maintenance activity
Returns: The start_time of this MaintenanceDetails. Return type: datetime
-
state
¶ [Required] Gets the state of this MaintenanceDetails. State of the maintenance activity
Allowed values for this property are: “SCHEDULED”, “RESCHEDULED”, “TO_BE_SCHEDULED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The state of this MaintenanceDetails. Return type: str
-