UpdateNotificationConfiguration 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 UpdateNotificationConfiguration(
string label = null,
NotificationTypeId notificationTypeId = null,
NotificationDetails details = null,
IDictionary<string, string> metadata = null
)
Public Sub New (
Optional label As String = Nothing,
Optional notificationTypeId As NotificationTypeId = Nothing,
Optional details As NotificationDetails = Nothing,
Optional metadata As IDictionary(Of String, String) = Nothing
)
public:
UpdateNotificationConfiguration(
String^ label = nullptr,
NotificationTypeId^ notificationTypeId = nullptr,
NotificationDetails^ details = nullptr,
IDictionary<String^, String^>^ metadata = nullptr
)
new :
?label : string *
?notificationTypeId : NotificationTypeId *
?details : NotificationDetails *
?metadata : IDictionary<string, string>
(* Defaults:
let _label = defaultArg label null
let _notificationTypeId = defaultArg notificationTypeId null
let _details = defaultArg details null
let _metadata = defaultArg metadata null
*)
-> UpdateNotificationConfiguration
Parameters
- label (Optional)
- Type: SystemString
The friendly name of the notification. If this value is , the existing value for the notification is not changed. - notificationTypeId (Optional)
- Type: net.openstack.Providers.Rackspace.Objects.MonitoringNotificationTypeId
The notification type ID. This is obtained from NotificationType.Id, or from the predefined values in NotificationTypeId. If this value is , the existing value for the notification is not changed. - details (Optional)
- Type: net.openstack.Providers.Rackspace.Objects.MonitoringNotificationDetails
A NotificationDetails object containing the detailed configuration properties for the specified notification type. If this value is , the existing value for the notification is not changed. - metadata (Optional)
- Type: System.Collections.GenericIDictionaryString, String
A collection of metadata to associate with the notification. If this value is , the existing value for the notification is not changed.
Exceptions Exception | Condition |
---|
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