Dela via


ClusterNotification Class

Definition

Describes the notification channel for cluster events.

public class ClusterNotification
public class ClusterNotification : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceFabric.Models.ClusterNotification>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceFabric.Models.ClusterNotification>
type ClusterNotification = class
type ClusterNotification = class
    interface IJsonModel<ClusterNotification>
    interface IPersistableModel<ClusterNotification>
Public Class ClusterNotification
Public Class ClusterNotification
Implements IJsonModel(Of ClusterNotification), IPersistableModel(Of ClusterNotification)
Inheritance
ClusterNotification
Implements

Constructors

ClusterNotification(Boolean, ClusterNotificationCategory, ClusterNotificationLevel, IEnumerable<ClusterNotificationTarget>)

Initializes a new instance of ClusterNotification.

Properties

IsEnabled

Indicates if the notification is enabled.

NotificationCategory

The category of notification.

NotificationLevel

The level of notification.

NotificationTargets

List of targets that subscribe to the notification.

Explicit Interface Implementations

IJsonModel<ClusterNotification>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ClusterNotification>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ClusterNotification>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ClusterNotification>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ClusterNotification>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to