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_canceled

Gets the on_job_canceled of this Preferences.

on_job_failure

Gets the on_job_failure of this Preferences.

on_job_schedule_change

Gets the on_job_schedule_change of this Preferences.

on_job_start

Gets the on_job_start of this Preferences.

on_job_success

Gets the on_job_success 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_success (bool) – The value to assign to the on_job_success property of this Preferences.

  • on_job_start (bool) – The value to assign to the on_job_start property of this Preferences.

  • on_job_canceled (bool) – The value to assign to the on_job_canceled property of this Preferences.

  • on_job_schedule_change (bool) – The value to assign to the on_job_schedule_change property of this Preferences.

property on_job_canceled

Gets the on_job_canceled of this Preferences. Enables or disables notification on job canceled.

Returns

The on_job_canceled of this Preferences.

Return type

bool

property 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

property on_job_schedule_change

Gets the on_job_schedule_change of this Preferences. Enables or disables notification on job schedule change.

Returns

The on_job_schedule_change of this Preferences.

Return type

bool

property on_job_start

Gets the on_job_start of this Preferences. Enables or disables notification on job start.

Returns

The on_job_start of this Preferences.

Return type

bool

property on_job_success

Gets the on_job_success of this Preferences. Enables or disables notification on job success.

Returns

The on_job_success of this Preferences.

Return type

bool

property 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

property 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

property 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

property 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

property 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

property 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

property upcoming_schedule

Gets the upcoming_schedule of this Preferences.

Returns

The upcoming_schedule of this Preferences.

Return type

oci.fleet_apps_management.models.UpcomingSchedule