ClusterNotification Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET