Click or drag to resize
NewNotificationConfiguration Constructor
This API is preliminary and subject to change.
Initializes a new instance of the NewNotificationConfiguration class with the specified properties.

Namespace: net.openstack.Providers.Rackspace.Objects.Monitoring
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
public NewNotificationConfiguration(
	string label,
	NotificationTypeId notificationTypeId,
	NotificationDetails details,
	IDictionary<string, string> metadata = null
)

Parameters

label
Type: SystemString
The friendly name of the notification.
notificationTypeId
Type: net.openstack.Providers.Rackspace.Objects.MonitoringNotificationTypeId
The notification type ID. This is obtained from NotificationType.Id, or from the predefined values in NotificationTypeId.
details
Type: net.openstack.Providers.Rackspace.Objects.MonitoringNotificationDetails
A NotificationDetails object containing the detailed configuration properties for the specified notification type.
metadata (Optional)
Type: System.Collections.GenericIDictionaryString, String
A collection of metadata to associate with the notification. If the value is , no custom metadata is associated with the notification.
Exceptions
ExceptionCondition
ArgumentNullException If label is .

-or-

If details is .

ArgumentException If label is empty.

-or-

If details is non- and notificationTypeId is .

-or-

If details does not support notifications of type notificationTypeId.

-or-

If metadata contains any empty keys.

Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also