Show / Hide Table of Contents

Class AlertConditionState

Inheritance
System.Object
InputArgs
ResourceArgs
AlertConditionState
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 AlertConditionState : ResourceArgs

Constructors

View Source

AlertConditionState()

Declaration
public AlertConditionState()

Properties

View Source

ConditionScope

application or instance. Choose application for most scenarios. If you are using the JVM plugin in New Relic, the instance setting allows your condition to trigger for specific app instances.

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

Enabled

Whether the condition is enabled or not. Defaults to true.

Declaration
public Input<bool> Enabled { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Entities

The instance IDs associated with this condition.

Declaration
public InputList<int> Entities { get; set; }
Property Value
Type Description
InputList<System.Int32>
View Source

GcMetric

A valid Garbage Collection metric e.g. GC/G1 Young Generation.

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

Metric

The metric field accepts parameters based on the type set. One of these metrics based on type:

  • apm_app_metric
  • apdex
  • error_percentage
  • response_time_background
  • response_time_web
  • throughput_background
  • throughput_web
  • user_defined
  • apm_kt_metric
  • apdex
  • error_count
  • error_percentage
  • response_time
  • throughput
  • browser_metric
  • ajax_response_time
  • ajax_throughput
  • dom_processing
  • end_user_apdex
  • network
  • page_rendering
  • page_view_throughput
  • page_views_with_js_errors
  • request_queuing
  • total_page_load
  • user_defined
  • web_application
  • mobile_metric
  • database
  • images
  • json
  • mobile_crash_rate
  • network_error_percentage
  • network
  • status_error_percentage
  • user_defined
  • view_loading
Declaration
public Input<string> Metric { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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

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

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

Type

The type of condition. One of: apm_app_metric, apm_kt_metric, browser_metric, mobile_metric

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

UserDefinedMetric

A custom metric to be evaluated.

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

UserDefinedValueFunction

One of: average, min, max, total, or sample_size.

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

ViolationCloseTimer

Automatically close instance-based violations, including JVM health metric violations, after the number of hours specified. Must be: 1, 2, 4, 8, 12 or 24.

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