Class AlertConditionState
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.NewRelic.Plugins
Assembly: Pulumi.NewRelic.dll
Syntax
public sealed class AlertConditionState : ResourceArgs
Constructors
View SourceAlertConditionState()
Declaration
public AlertConditionState()
Properties
View SourceEnabled
Whether or not this condition is enabled.
Declaration
public Input<bool> Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Entities
The plugin component IDs to target.
Declaration
public InputList<int> Entities { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.Int32> |
Metric
The plugin metric to evaluate.
Declaration
public Input<string> Metric { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
MetricDescription
The metric description.
Declaration
public Input<string> MetricDescription { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
The title of the condition. Must be between 1 and 64 characters, inclusive.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PluginGuid
The GUID of the plugin which produces the metric.
Declaration
public Input<string> PluginGuid { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PluginId
The ID of the installed plugin instance which produces the metric.
Declaration
public Input<string> PluginId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PolicyId
The ID of the policy where this condition should be used.
Declaration
public Input<int> PolicyId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
RunbookUrl
Runbook URL to display in notifications.
Declaration
public Input<string> RunbookUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Terms
A list of terms for this condition. See Terms below for details.
Declaration
public InputList<AlertConditionTermGetArgs> Terms { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<AlertConditionTermGetArgs> |
ValueFunction
The value function to apply to the metric data. One of min, max, average, sample_size, total, or percent.
Declaration
public Input<string> ValueFunction { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |