UpdateAlarmConfiguration 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
Syntaxpublic UpdateAlarmConfiguration(
CheckId checkId = null,
NotificationPlanId notificationPlanId = null,
string criteria = null,
Nullable<bool> enabled = null,
string label = null,
IDictionary<string, string> metadata = null
)
Public Sub New (
Optional checkId As CheckId = Nothing,
Optional notificationPlanId As NotificationPlanId = Nothing,
Optional criteria As String = Nothing,
Optional enabled As Nullable(Of Boolean) = Nothing,
Optional label As String = Nothing,
Optional metadata As IDictionary(Of String, String) = Nothing
)
public:
UpdateAlarmConfiguration(
CheckId^ checkId = nullptr,
NotificationPlanId^ notificationPlanId = nullptr,
String^ criteria = nullptr,
Nullable<bool> enabled = nullptr,
String^ label = nullptr,
IDictionary<String^, String^>^ metadata = nullptr
)
new :
?checkId : CheckId *
?notificationPlanId : NotificationPlanId *
?criteria : string *
?enabled : Nullable<bool> *
?label : string *
?metadata : IDictionary<string, string>
(* Defaults:
let _checkId = defaultArg checkId null
let _notificationPlanId = defaultArg notificationPlanId null
let _criteria = defaultArg criteria null
let _enabled = defaultArg enabled null
let _label = defaultArg label null
let _metadata = defaultArg metadata null
*)
-> UpdateAlarmConfiguration
Parameters
- checkId (Optional)
- Type: net.openstack.Providers.Rackspace.Objects.Monitoring.CheckId
The ID of the check to alert on. This is obtained from Check.Id. If this value is null, the existing value for the alarm is not changed. - notificationPlanId (Optional)
- Type: net.openstack.Providers.Rackspace.Objects.Monitoring.NotificationPlanId
The ID of the notification plan to execute when the state changes. This is obtained from NotificationPlan.Id. If this value is null, the existing value for the alarm is not changed. - criteria (Optional)
- Type: System.String
The alarm DSL for describing alerting conditions and their output states. If this value is null, the existing value for the alarm is not changed. - enabled (Optional)
- Type: System.Nullable<Boolean>
true to enable processing and alerts on this alarm; otherwise, false. If this value is null, the existing value for the alarm is not changed. - label (Optional)
- Type: System.String
A friendly label for the alarm. If this value is null, the existing value for the alarm is not changed. - metadata (Optional)
- Type: System.Collections.Generic.IDictionary<String, String>
A collection of metadata to associate with the alarm. If this value is null, the existing value for the alarm is not changed.
Exceptions
Version Information.NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also