Click or drag to resize
UpdateNotificationPlanConfiguration Constructor
This API is preliminary and subject to change.
Initializes a new instance of the UpdateNotificationPlanConfiguration 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 UpdateNotificationPlanConfiguration(
	string label = null,
	IEnumerable<NotificationId> criticalState = null,
	IEnumerable<NotificationId> warningState = null,
	IEnumerable<NotificationId> okState = null,
	IDictionary<string, string> metadata = null
)

Parameters

label (Optional)
Type: SystemString
The label for the notification plan. If this value is , the existing value for the notification plan is not changed.
criticalState (Optional)
Type: System.Collections.GenericIEnumerableNotificationId
The notification list to send to when the state is Critical. If this value is , the existing value for the notification plan is not changed.
warningState (Optional)
Type: System.Collections.GenericIEnumerableNotificationId
The notification list to send to when the state is Warning. If this value is , the existing value for the notification plan is not changed.
okState (Optional)
Type: System.Collections.GenericIEnumerableNotificationId
The notification list to send to when the state is OK. If this value is , the existing value for the notification plan is not changed.
metadata (Optional)
Type: System.Collections.GenericIDictionaryString, String
The metadata to associate with the notification plan. If this value is , the existing value for the notification plan is not changed.
Exceptions
ExceptionCondition
ArgumentException If label is non- but empty.

-or-

If criticalState contains any values.

-or-

If warningState contains any values.

-or-

If okState contains any values.

-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