Preferences¶
-
class
oci.fleet_apps_management.models.
Preferences
(**kwargs)¶ Bases:
object
Preferences to send notifications on the fleet activities.
Methods
__init__
(**kwargs)Initializes a new Preferences object with values from keyword arguments. Attributes
on_job_failure
Gets the on_job_failure of this Preferences. on_resource_non_compliance
Gets the on_resource_non_compliance of this Preferences. on_runbook_newer_version
Gets the on_runbook_newer_version of this Preferences. on_task_failure
Gets the on_task_failure of this Preferences. on_task_pause
Gets the on_task_pause of this Preferences. on_task_success
Gets the on_task_success of this Preferences. on_topology_modification
Gets the on_topology_modification of this Preferences. upcoming_schedule
Gets the upcoming_schedule of this Preferences. -
__init__
(**kwargs)¶ Initializes a new Preferences object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - upcoming_schedule (oci.fleet_apps_management.models.UpcomingSchedule) – The value to assign to the upcoming_schedule property of this Preferences.
- on_job_failure (bool) – The value to assign to the on_job_failure property of this Preferences.
- on_topology_modification (bool) – The value to assign to the on_topology_modification property of this Preferences.
- on_task_pause (bool) – The value to assign to the on_task_pause property of this Preferences.
- on_task_failure (bool) – The value to assign to the on_task_failure property of this Preferences.
- on_task_success (bool) – The value to assign to the on_task_success property of this Preferences.
- on_resource_non_compliance (bool) – The value to assign to the on_resource_non_compliance property of this Preferences.
- on_runbook_newer_version (bool) – The value to assign to the on_runbook_newer_version property of this Preferences.
-
on_job_failure
¶ Gets the on_job_failure of this Preferences. Enables or disables notification on Job Failures.
Returns: The on_job_failure of this Preferences. Return type: bool
-
on_resource_non_compliance
¶ Gets the on_resource_non_compliance of this Preferences. Enables or disables notification when fleet resource becomes non compliant.
Returns: The on_resource_non_compliance of this Preferences. Return type: bool
-
on_runbook_newer_version
¶ Gets the on_runbook_newer_version of this Preferences. Enables or disables notification when a newer version of runbook associated with a fleet is available
Returns: The on_runbook_newer_version of this Preferences. Return type: bool
-
on_task_failure
¶ Gets the on_task_failure of this Preferences. Enables or disables notification on task failure.
Returns: The on_task_failure of this Preferences. Return type: bool
-
on_task_pause
¶ Gets the on_task_pause of this Preferences. Enables or disables notification when a task is paused.
Returns: The on_task_pause of this Preferences. Return type: bool
-
on_task_success
¶ Gets the on_task_success of this Preferences. Enables or disables notification on task success.
Returns: The on_task_success of this Preferences. Return type: bool
-
on_topology_modification
¶ Gets the on_topology_modification of this Preferences. Enables or disables notification on Environment Fleet Topology Modification.
Returns: The on_topology_modification of this Preferences. Return type: bool
-
upcoming_schedule
¶ Gets the upcoming_schedule of this Preferences.
Returns: The upcoming_schedule of this Preferences. Return type: oci.fleet_apps_management.models.UpcomingSchedule
-