MaintenanceNotificationDetails

class oci.opensearch.models.MaintenanceNotificationDetails(**kwargs)

Bases: object

Notification details for the maintenance activity.

Attributes

MAINTENANCE_NOTIFICATION_TYPE_RESCHEDULED_MAINTENANCE A constant which can be used with the maintenance_notification_type property of a MaintenanceNotificationDetails.
MAINTENANCE_NOTIFICATION_TYPE_SCHEDULED_MAINTENANCE_COMPLETED A constant which can be used with the maintenance_notification_type property of a MaintenanceNotificationDetails.
MAINTENANCE_NOTIFICATION_TYPE_SCHEDULED_MAINTENANCE_REMINDER A constant which can be used with the maintenance_notification_type property of a MaintenanceNotificationDetails.
MAINTENANCE_NOTIFICATION_TYPE_SCHEDULED_MAINTENANCE_WITHOUT_RELEASE_NOTES A constant which can be used with the maintenance_notification_type property of a MaintenanceNotificationDetails.
MAINTENANCE_NOTIFICATION_TYPE_SCHEDULED_MAINTENANCE_WITH_RELEASE_NOTES A constant which can be used with the maintenance_notification_type property of a MaintenanceNotificationDetails.
cluster_ids Gets the cluster_ids of this MaintenanceNotificationDetails.
end_time Gets the end_time of this MaintenanceNotificationDetails.
jira_ticket [Required] Gets the jira_ticket of this MaintenanceNotificationDetails.
maintenance_notification_type [Required] Gets the maintenance_notification_type of this MaintenanceNotificationDetails.
start_time Gets the start_time of this MaintenanceNotificationDetails.
tenant_ids Gets the tenant_ids of this MaintenanceNotificationDetails.

Methods

__init__(**kwargs) Initializes a new MaintenanceNotificationDetails object with values from keyword arguments.
MAINTENANCE_NOTIFICATION_TYPE_RESCHEDULED_MAINTENANCE = 'RESCHEDULED_MAINTENANCE'

A constant which can be used with the maintenance_notification_type property of a MaintenanceNotificationDetails. This constant has a value of “RESCHEDULED_MAINTENANCE”

MAINTENANCE_NOTIFICATION_TYPE_SCHEDULED_MAINTENANCE_COMPLETED = 'SCHEDULED_MAINTENANCE_COMPLETED'

A constant which can be used with the maintenance_notification_type property of a MaintenanceNotificationDetails. This constant has a value of “SCHEDULED_MAINTENANCE_COMPLETED”

MAINTENANCE_NOTIFICATION_TYPE_SCHEDULED_MAINTENANCE_REMINDER = 'SCHEDULED_MAINTENANCE_REMINDER'

A constant which can be used with the maintenance_notification_type property of a MaintenanceNotificationDetails. This constant has a value of “SCHEDULED_MAINTENANCE_REMINDER”

MAINTENANCE_NOTIFICATION_TYPE_SCHEDULED_MAINTENANCE_WITHOUT_RELEASE_NOTES = 'SCHEDULED_MAINTENANCE_WITHOUT_RELEASE_NOTES'

A constant which can be used with the maintenance_notification_type property of a MaintenanceNotificationDetails. This constant has a value of “SCHEDULED_MAINTENANCE_WITHOUT_RELEASE_NOTES”

MAINTENANCE_NOTIFICATION_TYPE_SCHEDULED_MAINTENANCE_WITH_RELEASE_NOTES = 'SCHEDULED_MAINTENANCE_WITH_RELEASE_NOTES'

A constant which can be used with the maintenance_notification_type property of a MaintenanceNotificationDetails. This constant has a value of “SCHEDULED_MAINTENANCE_WITH_RELEASE_NOTES”

__init__(**kwargs)

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

Parameters:
  • jira_ticket (str) – The value to assign to the jira_ticket property of this MaintenanceNotificationDetails.
  • maintenance_notification_type (str) – The value to assign to the maintenance_notification_type property of this MaintenanceNotificationDetails. Allowed values for this property are: “SCHEDULED_MAINTENANCE_WITH_RELEASE_NOTES”, “SCHEDULED_MAINTENANCE_WITHOUT_RELEASE_NOTES”, “RESCHEDULED_MAINTENANCE”, “SCHEDULED_MAINTENANCE_REMINDER”, “SCHEDULED_MAINTENANCE_COMPLETED”
  • tenant_ids (list[str]) – The value to assign to the tenant_ids property of this MaintenanceNotificationDetails.
  • cluster_ids (list[str]) – The value to assign to the cluster_ids property of this MaintenanceNotificationDetails.
  • start_time (str) – The value to assign to the start_time property of this MaintenanceNotificationDetails.
  • end_time (str) – The value to assign to the end_time property of this MaintenanceNotificationDetails.
cluster_ids

Gets the cluster_ids of this MaintenanceNotificationDetails. List of OpenSearch clusterIds where we need to send the maintenance notifications

Returns:The cluster_ids of this MaintenanceNotificationDetails.
Return type:list[str]
end_time

Gets the end_time of this MaintenanceNotificationDetails. Start time for the notification activity in UTC like “2023-20-04 04:00:00.000Z”

Returns:The end_time of this MaintenanceNotificationDetails.
Return type:str
jira_ticket

[Required] Gets the jira_ticket of this MaintenanceNotificationDetails. Jira tickets for on-call engineer to send customer notification

Returns:The jira_ticket of this MaintenanceNotificationDetails.
Return type:str
maintenance_notification_type

[Required] Gets the maintenance_notification_type of this MaintenanceNotificationDetails. Maintenance Notification type

Allowed values for this property are: “SCHEDULED_MAINTENANCE_WITH_RELEASE_NOTES”, “SCHEDULED_MAINTENANCE_WITHOUT_RELEASE_NOTES”, “RESCHEDULED_MAINTENANCE”, “SCHEDULED_MAINTENANCE_REMINDER”, “SCHEDULED_MAINTENANCE_COMPLETED”

Returns:The maintenance_notification_type of this MaintenanceNotificationDetails.
Return type:str
start_time

Gets the start_time of this MaintenanceNotificationDetails. Start time for the notification activity in UTC like “2023-20-04 04:00:00.000Z”

Returns:The start_time of this MaintenanceNotificationDetails.
Return type:str
tenant_ids

Gets the tenant_ids of this MaintenanceNotificationDetails. List of tenantIds where we need to send the maintenance notifications

Returns:The tenant_ids of this MaintenanceNotificationDetails.
Return type:list[str]