Class InfraAlertConditionArgs
Inherited Members
Namespace: Pulumi.NewRelic
Assembly: Pulumi.NewRelic.dll
Syntax
public sealed class InfraAlertConditionArgs : ResourceArgs
Constructors
View SourceInfraAlertConditionArgs()
Declaration
public InfraAlertConditionArgs()
Properties
View SourceComparison
The operator used to evaluate the threshold value. Valid values are above, below, and equal. Supported by the infra_metric and infra_process_running condition types.
Declaration
public Input<string> Comparison { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Critical
Identifies the threshold parameters for opening a critical alert violation. See Thresholds below for details.
Declaration
public Input<InfraAlertConditionCriticalArgs> Critical { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<InfraAlertConditionCriticalArgs> |
Enabled
Whether the condition is turned on or off. Valid values are true and false. Defaults to true.
Declaration
public Input<bool> Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Event
The metric event; for example, SystemSample or StorageSample. Supported by the infra_metric condition type.
Declaration
public Input<string> Event { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
IntegrationProvider
For alerts on integrations, use this instead of event. Supported by the infra_metric condition type.
Declaration
public Input<string> IntegrationProvider { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
The Infrastructure alert condition's name.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PolicyId
The ID of the alert policy where this condition should be used.
Declaration
public Input<int> PolicyId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
ProcessWhere
Any filters applied to processes; for example: commandName = 'java'. Supported by the infra_process_running condition type.
Declaration
public Input<string> ProcessWhere { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RunbookUrl
Runbook URL to display in notifications.
Declaration
public Input<string> RunbookUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Select
The attribute name to identify the metric being targeted; for example, cpuPercent, diskFreePercent, or memoryResidentSizeBytes. The underlying API will automatically populate this value for Infrastructure integrations (for example diskFreePercent), so make sure to explicitly include this value to avoid diff issues. Supported by the infra_metric condition type.
Declaration
public Input<string> Select { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Type
The type of Infrastructure alert condition. Valid values are infra_process_running, infra_metric, and infra_host_not_reporting.
Declaration
public Input<string> Type { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ViolationCloseTimer
Determines how much time will pass before a violation is automatically closed. Setting the time limit to 0 prevents a violation from being force-closed.
Declaration
public Input<int> ViolationCloseTimer { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Warning
Identifies the threshold parameters for opening a warning alert violation. See Thresholds below for details.
Declaration
public Input<InfraAlertConditionWarningArgs> Warning { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<InfraAlertConditionWarningArgs> |
Where
If applicable, this identifies any Infrastructure host filters used; for example: hostname LIKE '%cassandra%'.
Declaration
public Input<string> Where { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |