Show / Hide Table of Contents

Class InfraAlertConditionArgs

Inheritance
System.Object
InputArgs
ResourceArgs
InfraAlertConditionArgs
Inherited Members
ResourceArgs.Empty
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
Assembly: Pulumi.NewRelic.dll
Syntax
public sealed class InfraAlertConditionArgs : ResourceArgs

Constructors

View Source

InfraAlertConditionArgs()

Declaration
public InfraAlertConditionArgs()

Properties

View Source

Comparison

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

Name

The Infrastructure alert condition's name.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

ProcessWhere

Any filters applied to processes; for example: commandName = &apos;java&apos;. Supported by the infra_process_running condition type.

Declaration
public Input<string> ProcessWhere { get; set; }
Property Value
Type Description
Input<System.String>
View Source

RunbookUrl

Runbook URL to display in notifications.

Declaration
public Input<string> RunbookUrl { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

Where

If applicable, this identifies any Infrastructure host filters used; for example: hostname LIKE &apos;%cassandra%&apos;.

Declaration
public Input<string> Where { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.