Share via


ClusterNotification Constructor

Definition

Initializes a new instance of ClusterNotification.

public ClusterNotification (bool isEnabled, Azure.ResourceManager.ServiceFabric.Models.ClusterNotificationCategory notificationCategory, Azure.ResourceManager.ServiceFabric.Models.ClusterNotificationLevel notificationLevel, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ServiceFabric.Models.ClusterNotificationTarget> notificationTargets);
new Azure.ResourceManager.ServiceFabric.Models.ClusterNotification : bool * Azure.ResourceManager.ServiceFabric.Models.ClusterNotificationCategory * Azure.ResourceManager.ServiceFabric.Models.ClusterNotificationLevel * seq<Azure.ResourceManager.ServiceFabric.Models.ClusterNotificationTarget> -> Azure.ResourceManager.ServiceFabric.Models.ClusterNotification
Public Sub New (isEnabled As Boolean, notificationCategory As ClusterNotificationCategory, notificationLevel As ClusterNotificationLevel, notificationTargets As IEnumerable(Of ClusterNotificationTarget))

Parameters

isEnabled
Boolean

Indicates if the notification is enabled.

notificationCategory
ClusterNotificationCategory

The category of notification.

notificationLevel
ClusterNotificationLevel

The level of notification.

notificationTargets
IEnumerable<ClusterNotificationTarget>

List of targets that subscribe to the notification.

Exceptions

notificationTargets is null.

Applies to