UpdateNotificationPlanConfiguration Constructor |
This API is preliminary and subject to change.
Namespace: net.openstack.Providers.Rackspace.Objects.MonitoringAssembly: 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
)
Public Sub New (
Optional label As String = Nothing,
Optional criticalState As IEnumerable(Of NotificationId) = Nothing,
Optional warningState As IEnumerable(Of NotificationId) = Nothing,
Optional okState As IEnumerable(Of NotificationId) = Nothing,
Optional metadata As IDictionary(Of String, String) = Nothing
)
public:
UpdateNotificationPlanConfiguration(
String^ label = nullptr,
IEnumerable<NotificationId^>^ criticalState = nullptr,
IEnumerable<NotificationId^>^ warningState = nullptr,
IEnumerable<NotificationId^>^ okState = nullptr,
IDictionary<String^, String^>^ metadata = nullptr
)
new :
?label : string *
?criticalState : IEnumerable<NotificationId> *
?warningState : IEnumerable<NotificationId> *
?okState : IEnumerable<NotificationId> *
?metadata : IDictionary<string, string>
(* Defaults:
let _label = defaultArg label null
let _criticalState = defaultArg criticalState null
let _warningState = defaultArg warningState null
let _okState = defaultArg okState null
let _metadata = defaultArg metadata null
*)
-> UpdateNotificationPlanConfiguration
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 Exception | Condition |
---|
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