NotificationPreference

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

Bases: object

Notification information to get notified when the fleet status changes.

Methods:

__init__(**kwargs)

Initializes a new NotificationPreference object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this NotificationPreference.

preferences

Gets the preferences of this NotificationPreference.

topic_id

[Required] Gets the topic_id of this NotificationPreference.

__init__(**kwargs)

Initializes a new NotificationPreference 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 NotificationPreference.

  • compartment_id (str) – The value to assign to the compartment_id property of this NotificationPreference.

  • preferences (oci.fleet_apps_management.models.Preferences) – The value to assign to the preferences property of this NotificationPreference.

property compartment_id

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

Returns

The compartment_id of this NotificationPreference.

Return type

str

property preferences

Gets the preferences of this NotificationPreference.

Returns

The preferences of this NotificationPreference.

Return type

oci.fleet_apps_management.models.Preferences

property topic_id

[Required] Gets the topic_id of this NotificationPreference. 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 NotificationPreference.

Return type

str