NotificationPreferences

class oci.fleet_apps_management.models.NotificationPreferences(**kwargs)

Bases: object

Notification information to get notified when the fleet status changes.

Methods

__init__(**kwargs) Initializes a new NotificationPreferences object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this NotificationPreferences.
preferences Gets the preferences of this NotificationPreferences.
topic_id [Required] Gets the topic_id of this NotificationPreferences.
__init__(**kwargs)

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

Parameters:
  • topic_id (str) – The value to assign to the topic_id property of this NotificationPreferences.
  • compartment_id (str) – The value to assign to the compartment_id property of this NotificationPreferences.
  • preferences (oci.fleet_apps_management.models.Preferences) – The value to assign to the preferences property of this NotificationPreferences.
compartment_id

[Required] Gets the compartment_id of this NotificationPreferences. Compartment ID the topic belongs to.

Returns:The compartment_id of this NotificationPreferences.
Return type:str
preferences

Gets the preferences of this NotificationPreferences.

Returns:The preferences of this NotificationPreferences.
Return type:oci.fleet_apps_management.models.Preferences
topic_id

[Required] Gets the topic_id of this NotificationPreferences. Topic Id where the notifications will be directed. A topic is a communication channel for sending messages on chosen events to subscriptions.

Returns:The topic_id of this NotificationPreferences.
Return type:str