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

Namespace: net.openstack.Providers.Rackspace.Objects.Monitoring
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
public NewAlarmConfiguration(
	CheckId checkId,
	NotificationPlanId notificationPlanId,
	string criteria = null,
	Nullable<bool> enabled = null,
	string label = null,
	IDictionary<string, string> metadata = null
)

Parameters

checkId
Type: net.openstack.Providers.Rackspace.Objects.MonitoringCheckId
The ID of the check to alert on. This is obtained from Check.Id.
notificationPlanId
Type: net.openstack.Providers.Rackspace.Objects.MonitoringNotificationPlanId
The ID of the notification plan to execute when the state changes. This is obtained from NotificationPlan.Id.
criteria (Optional)
Type: SystemString
The alarm DSL for describing alerting conditions and their output states.
enabled (Optional)
Type: SystemNullableBoolean
to enable processing and alerts on this alarm; otherwise, . If this value is , .
label (Optional)
Type: SystemString
A friendly label for the alarm.
metadata (Optional)
Type: System.Collections.GenericIDictionaryString, String
A collection of metadata to associate with the alarm.
Exceptions
ExceptionCondition
ArgumentNullException If checkId is .

-or-

If notificationPlanId is .

ArgumentException If metadata contains any values with 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