NrqlAlertCondition

Use this resource to create and manage NRQL alert conditions in New Relic.

NRQL

The nrql block supports the following arguments:

  • query - (Required) The NRQL query to execute for the condition.
  • evaluation_offset - (Optional) Represented in minutes and must be within 1-20 minutes (inclusive). NRQL queries are evaluated in one-minute time windows. The start time depends on this value. It’s recommended to set this to 3 minutes. An offset of less than 3 minutes will trigger violations sooner, but you may see more false positives and negatives due to data latency. With evaluation_offset set to 3 minutes, the NRQL time window applied to your query will be: SINCE 3 minutes ago UNTIL 2 minutes ago.
  • since_value - (Optional) DEPRECATED: Use evaluation_offset instead. The value to be used in the SINCE <X> minutes ago clause for the NRQL query. Must be between 1-20 (inclusive).

Terms

NOTE: The direct use of the term has been deprecated, and users should use critical and warning instead. What follows now applies to the named priority attributes for critical and warning, but for those attributes the priority is not allowed.

NRQL alert conditions support up to two terms. At least one term must have priority set to critical and the second optional term must have priority set to warning.

The term block the following arguments:

  • duration - (Required) In minutes, must be in the range of 1 to 120, inclusive.
  • operator - (Optional) above, below, or equal. Defaults to equal. Note that when using a type of outlier, the only valid option here is above.
  • priority - (Optional) critical or warning. Defaults to critical.
  • threshold - (Required) The value which will trigger a violation. Must be 0 or greater.
  • threshold_duration - (Optional) The duration of time, in seconds, that the threshold must violate for in order to create a violation. Value must be a multiple of 60.
    For baseline NRQL alert conditions, the value must be within 120-3600 seconds (inclusive).
    For static NRQL alert conditions, the value must be within 120-7200 seconds (inclusive).

  • threshold_occurrences - (Optional) The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: all or at_least_once (case insensitive).

  • duration - (Optional) DEPRECATED: Use threshold_duration instead. The duration of time, in minutes, that the threshold must violate for in order to create a violation. Must be within 1-120 (inclusive).

  • time_function - (Optional) DEPRECATED: Use threshold_occurrences instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: all or any.

Create a NrqlAlertCondition Resource

def NrqlAlertCondition(resource_name, opts=None, account_id=None, baseline_direction=None, critical=None, description=None, enabled=None, expected_groups=None, ignore_overlap=None, name=None, nrql=None, open_violation_on_group_overlap=None, policy_id=None, runbook_url=None, terms=None, type=None, value_function=None, violation_time_limit=None, violation_time_limit_seconds=None, warning=None, __props__=None);
name string
The unique name of the resource.
args NrqlAlertConditionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args NrqlAlertConditionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args NrqlAlertConditionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

NrqlAlertCondition Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The NrqlAlertCondition resource accepts the following input properties:

Nrql Pulumi.NewRelic.Inputs.NrqlAlertConditionNrqlArgs

A NRQL query.

PolicyId int

The ID of the policy where this condition should be used.

AccountId int

The New Relic account ID for managing your NRQL alert conditions.

BaselineDirection string

The baseline direction of a baseline NRQL alert condition. Valid values are: ‘LOWER_ONLY’, ‘UPPER_AND_LOWER’, ‘UPPER_ONLY’ (case insensitive).

Critical Pulumi.NewRelic.Inputs.NrqlAlertConditionCriticalArgs

A condition term with priority set to critical.

Description string

The description of the NRQL alert condition.

Enabled bool

Whether or not to enable the alert condition.

ExpectedGroups int

Number of expected groups when using outlier detection.

IgnoreOverlap bool

Whether to look for a convergence of groups when using outlier detection.

Deprecated: use open_violation_on_group_overlap attribute instead, but use the inverse of your boolean - e.g. if ignore_overlap = false, use open_violation_on_group_overlap = true

Name string

The title of the condition.

OpenViolationOnGroupOverlap bool

Whether overlapping groups should produce a violation.

RunbookUrl string

Runbook URL to display in notifications.

Terms List<Pulumi.NewRelic.Inputs.NrqlAlertConditionTermArgs>

A set of terms for this condition. Max 2 terms allowed - at least one 1 critical term and 1 optional warning term.

Deprecated: use critical and warning attributes instead

Type string

The type of NRQL alert condition to create. Valid values are: ‘static’, ‘outlier’, ‘baseline’.

ValueFunction string

Valid values are: ‘single_value’ or ‘sum’

ViolationTimeLimit string

Sets a time limit, in hours, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are ‘ONE_HOUR’, ‘TWO_HOURS’, ‘FOUR_HOURS’, ‘EIGHT_HOURS’, ‘TWELVE_HOURS’, ‘TWENTY_FOUR_HOURS’ (case insensitive).

ViolationTimeLimitSeconds int

Sets a time limit, in seconds, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are 3600, 7200, 14400, 28800, 43200, and 86400.

Deprecated: use violation_time_limit attribute instead

Warning Pulumi.NewRelic.Inputs.NrqlAlertConditionWarningArgs

A condition term with priority set to warning.

Nrql NrqlAlertConditionNrql

A NRQL query.

PolicyId int

The ID of the policy where this condition should be used.

AccountId int

The New Relic account ID for managing your NRQL alert conditions.

BaselineDirection string

The baseline direction of a baseline NRQL alert condition. Valid values are: ‘LOWER_ONLY’, ‘UPPER_AND_LOWER’, ‘UPPER_ONLY’ (case insensitive).

Critical NrqlAlertConditionCritical

A condition term with priority set to critical.

Description string

The description of the NRQL alert condition.

Enabled bool

Whether or not to enable the alert condition.

ExpectedGroups int

Number of expected groups when using outlier detection.

IgnoreOverlap bool

Whether to look for a convergence of groups when using outlier detection.

Deprecated: use open_violation_on_group_overlap attribute instead, but use the inverse of your boolean - e.g. if ignore_overlap = false, use open_violation_on_group_overlap = true

Name string

The title of the condition.

OpenViolationOnGroupOverlap bool

Whether overlapping groups should produce a violation.

RunbookUrl string

Runbook URL to display in notifications.

Terms []NrqlAlertConditionTerm

A set of terms for this condition. Max 2 terms allowed - at least one 1 critical term and 1 optional warning term.

Deprecated: use critical and warning attributes instead

Type string

The type of NRQL alert condition to create. Valid values are: ‘static’, ‘outlier’, ‘baseline’.

ValueFunction string

Valid values are: ‘single_value’ or ‘sum’

ViolationTimeLimit string

Sets a time limit, in hours, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are ‘ONE_HOUR’, ‘TWO_HOURS’, ‘FOUR_HOURS’, ‘EIGHT_HOURS’, ‘TWELVE_HOURS’, ‘TWENTY_FOUR_HOURS’ (case insensitive).

ViolationTimeLimitSeconds int

Sets a time limit, in seconds, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are 3600, 7200, 14400, 28800, 43200, and 86400.

Deprecated: use violation_time_limit attribute instead

Warning NrqlAlertConditionWarning

A condition term with priority set to warning.

nrql NrqlAlertConditionNrql

A NRQL query.

policyId number

The ID of the policy where this condition should be used.

accountId number

The New Relic account ID for managing your NRQL alert conditions.

baselineDirection string

The baseline direction of a baseline NRQL alert condition. Valid values are: ‘LOWER_ONLY’, ‘UPPER_AND_LOWER’, ‘UPPER_ONLY’ (case insensitive).

critical NrqlAlertConditionCritical

A condition term with priority set to critical.

description string

The description of the NRQL alert condition.

enabled boolean

Whether or not to enable the alert condition.

expectedGroups number

Number of expected groups when using outlier detection.

ignoreOverlap boolean

Whether to look for a convergence of groups when using outlier detection.

Deprecated: use open_violation_on_group_overlap attribute instead, but use the inverse of your boolean - e.g. if ignore_overlap = false, use open_violation_on_group_overlap = true

name string

The title of the condition.

openViolationOnGroupOverlap boolean

Whether overlapping groups should produce a violation.

runbookUrl string

Runbook URL to display in notifications.

terms NrqlAlertConditionTerm[]

A set of terms for this condition. Max 2 terms allowed - at least one 1 critical term and 1 optional warning term.

Deprecated: use critical and warning attributes instead

type string

The type of NRQL alert condition to create. Valid values are: ‘static’, ‘outlier’, ‘baseline’.

valueFunction string

Valid values are: ‘single_value’ or ‘sum’

violationTimeLimit string

Sets a time limit, in hours, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are ‘ONE_HOUR’, ‘TWO_HOURS’, ‘FOUR_HOURS’, ‘EIGHT_HOURS’, ‘TWELVE_HOURS’, ‘TWENTY_FOUR_HOURS’ (case insensitive).

violationTimeLimitSeconds number

Sets a time limit, in seconds, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are 3600, 7200, 14400, 28800, 43200, and 86400.

Deprecated: use violation_time_limit attribute instead

warning NrqlAlertConditionWarning

A condition term with priority set to warning.

nrql Dict[NrqlAlertConditionNrql]

A NRQL query.

policy_id float

The ID of the policy where this condition should be used.

account_id float

The New Relic account ID for managing your NRQL alert conditions.

baseline_direction str

The baseline direction of a baseline NRQL alert condition. Valid values are: ‘LOWER_ONLY’, ‘UPPER_AND_LOWER’, ‘UPPER_ONLY’ (case insensitive).

critical Dict[NrqlAlertConditionCritical]

A condition term with priority set to critical.

description str

The description of the NRQL alert condition.

enabled bool

Whether or not to enable the alert condition.

expected_groups float

Number of expected groups when using outlier detection.

ignore_overlap bool

Whether to look for a convergence of groups when using outlier detection.

Deprecated: use open_violation_on_group_overlap attribute instead, but use the inverse of your boolean - e.g. if ignore_overlap = false, use open_violation_on_group_overlap = true

name str

The title of the condition.

open_violation_on_group_overlap bool

Whether overlapping groups should produce a violation.

runbook_url str

Runbook URL to display in notifications.

terms List[NrqlAlertConditionTerm]

A set of terms for this condition. Max 2 terms allowed - at least one 1 critical term and 1 optional warning term.

Deprecated: use critical and warning attributes instead

type str

The type of NRQL alert condition to create. Valid values are: ‘static’, ‘outlier’, ‘baseline’.

value_function str

Valid values are: ‘single_value’ or ‘sum’

violation_time_limit str

Sets a time limit, in hours, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are ‘ONE_HOUR’, ‘TWO_HOURS’, ‘FOUR_HOURS’, ‘EIGHT_HOURS’, ‘TWELVE_HOURS’, ‘TWENTY_FOUR_HOURS’ (case insensitive).

violation_time_limit_seconds float

Sets a time limit, in seconds, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are 3600, 7200, 14400, 28800, 43200, and 86400.

Deprecated: use violation_time_limit attribute instead

warning Dict[NrqlAlertConditionWarning]

A condition term with priority set to warning.

Outputs

All input properties are implicitly available as output properties. Additionally, the NrqlAlertCondition resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing NrqlAlertCondition Resource

Get an existing NrqlAlertCondition resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: NrqlAlertConditionState, opts?: CustomResourceOptions): NrqlAlertCondition
static get(resource_name, id, opts=None, account_id=None, baseline_direction=None, critical=None, description=None, enabled=None, expected_groups=None, ignore_overlap=None, name=None, nrql=None, open_violation_on_group_overlap=None, policy_id=None, runbook_url=None, terms=None, type=None, value_function=None, violation_time_limit=None, violation_time_limit_seconds=None, warning=None, __props__=None);
func GetNrqlAlertCondition(ctx *Context, name string, id IDInput, state *NrqlAlertConditionState, opts ...ResourceOption) (*NrqlAlertCondition, error)
public static NrqlAlertCondition Get(string name, Input<string> id, NrqlAlertConditionState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

AccountId int

The New Relic account ID for managing your NRQL alert conditions.

BaselineDirection string

The baseline direction of a baseline NRQL alert condition. Valid values are: ‘LOWER_ONLY’, ‘UPPER_AND_LOWER’, ‘UPPER_ONLY’ (case insensitive).

Critical Pulumi.NewRelic.Inputs.NrqlAlertConditionCriticalArgs

A condition term with priority set to critical.

Description string

The description of the NRQL alert condition.

Enabled bool

Whether or not to enable the alert condition.

ExpectedGroups int

Number of expected groups when using outlier detection.

IgnoreOverlap bool

Whether to look for a convergence of groups when using outlier detection.

Deprecated: use open_violation_on_group_overlap attribute instead, but use the inverse of your boolean - e.g. if ignore_overlap = false, use open_violation_on_group_overlap = true

Name string

The title of the condition.

Nrql Pulumi.NewRelic.Inputs.NrqlAlertConditionNrqlArgs

A NRQL query.

OpenViolationOnGroupOverlap bool

Whether overlapping groups should produce a violation.

PolicyId int

The ID of the policy where this condition should be used.

RunbookUrl string

Runbook URL to display in notifications.

Terms List<Pulumi.NewRelic.Inputs.NrqlAlertConditionTermArgs>

A set of terms for this condition. Max 2 terms allowed - at least one 1 critical term and 1 optional warning term.

Deprecated: use critical and warning attributes instead

Type string

The type of NRQL alert condition to create. Valid values are: ‘static’, ‘outlier’, ‘baseline’.

ValueFunction string

Valid values are: ‘single_value’ or ‘sum’

ViolationTimeLimit string

Sets a time limit, in hours, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are ‘ONE_HOUR’, ‘TWO_HOURS’, ‘FOUR_HOURS’, ‘EIGHT_HOURS’, ‘TWELVE_HOURS’, ‘TWENTY_FOUR_HOURS’ (case insensitive).

ViolationTimeLimitSeconds int

Sets a time limit, in seconds, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are 3600, 7200, 14400, 28800, 43200, and 86400.

Deprecated: use violation_time_limit attribute instead

Warning Pulumi.NewRelic.Inputs.NrqlAlertConditionWarningArgs

A condition term with priority set to warning.

AccountId int

The New Relic account ID for managing your NRQL alert conditions.

BaselineDirection string

The baseline direction of a baseline NRQL alert condition. Valid values are: ‘LOWER_ONLY’, ‘UPPER_AND_LOWER’, ‘UPPER_ONLY’ (case insensitive).

Critical NrqlAlertConditionCritical

A condition term with priority set to critical.

Description string

The description of the NRQL alert condition.

Enabled bool

Whether or not to enable the alert condition.

ExpectedGroups int

Number of expected groups when using outlier detection.

IgnoreOverlap bool

Whether to look for a convergence of groups when using outlier detection.

Deprecated: use open_violation_on_group_overlap attribute instead, but use the inverse of your boolean - e.g. if ignore_overlap = false, use open_violation_on_group_overlap = true

Name string

The title of the condition.

Nrql NrqlAlertConditionNrql

A NRQL query.

OpenViolationOnGroupOverlap bool

Whether overlapping groups should produce a violation.

PolicyId int

The ID of the policy where this condition should be used.

RunbookUrl string

Runbook URL to display in notifications.

Terms []NrqlAlertConditionTerm

A set of terms for this condition. Max 2 terms allowed - at least one 1 critical term and 1 optional warning term.

Deprecated: use critical and warning attributes instead

Type string

The type of NRQL alert condition to create. Valid values are: ‘static’, ‘outlier’, ‘baseline’.

ValueFunction string

Valid values are: ‘single_value’ or ‘sum’

ViolationTimeLimit string

Sets a time limit, in hours, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are ‘ONE_HOUR’, ‘TWO_HOURS’, ‘FOUR_HOURS’, ‘EIGHT_HOURS’, ‘TWELVE_HOURS’, ‘TWENTY_FOUR_HOURS’ (case insensitive).

ViolationTimeLimitSeconds int

Sets a time limit, in seconds, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are 3600, 7200, 14400, 28800, 43200, and 86400.

Deprecated: use violation_time_limit attribute instead

Warning NrqlAlertConditionWarning

A condition term with priority set to warning.

accountId number

The New Relic account ID for managing your NRQL alert conditions.

baselineDirection string

The baseline direction of a baseline NRQL alert condition. Valid values are: ‘LOWER_ONLY’, ‘UPPER_AND_LOWER’, ‘UPPER_ONLY’ (case insensitive).

critical NrqlAlertConditionCritical

A condition term with priority set to critical.

description string

The description of the NRQL alert condition.

enabled boolean

Whether or not to enable the alert condition.

expectedGroups number

Number of expected groups when using outlier detection.

ignoreOverlap boolean

Whether to look for a convergence of groups when using outlier detection.

Deprecated: use open_violation_on_group_overlap attribute instead, but use the inverse of your boolean - e.g. if ignore_overlap = false, use open_violation_on_group_overlap = true

name string

The title of the condition.

nrql NrqlAlertConditionNrql

A NRQL query.

openViolationOnGroupOverlap boolean

Whether overlapping groups should produce a violation.

policyId number

The ID of the policy where this condition should be used.

runbookUrl string

Runbook URL to display in notifications.

terms NrqlAlertConditionTerm[]

A set of terms for this condition. Max 2 terms allowed - at least one 1 critical term and 1 optional warning term.

Deprecated: use critical and warning attributes instead

type string

The type of NRQL alert condition to create. Valid values are: ‘static’, ‘outlier’, ‘baseline’.

valueFunction string

Valid values are: ‘single_value’ or ‘sum’

violationTimeLimit string

Sets a time limit, in hours, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are ‘ONE_HOUR’, ‘TWO_HOURS’, ‘FOUR_HOURS’, ‘EIGHT_HOURS’, ‘TWELVE_HOURS’, ‘TWENTY_FOUR_HOURS’ (case insensitive).

violationTimeLimitSeconds number

Sets a time limit, in seconds, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are 3600, 7200, 14400, 28800, 43200, and 86400.

Deprecated: use violation_time_limit attribute instead

warning NrqlAlertConditionWarning

A condition term with priority set to warning.

account_id float

The New Relic account ID for managing your NRQL alert conditions.

baseline_direction str

The baseline direction of a baseline NRQL alert condition. Valid values are: ‘LOWER_ONLY’, ‘UPPER_AND_LOWER’, ‘UPPER_ONLY’ (case insensitive).

critical Dict[NrqlAlertConditionCritical]

A condition term with priority set to critical.

description str

The description of the NRQL alert condition.

enabled bool

Whether or not to enable the alert condition.

expected_groups float

Number of expected groups when using outlier detection.

ignore_overlap bool

Whether to look for a convergence of groups when using outlier detection.

Deprecated: use open_violation_on_group_overlap attribute instead, but use the inverse of your boolean - e.g. if ignore_overlap = false, use open_violation_on_group_overlap = true

name str

The title of the condition.

nrql Dict[NrqlAlertConditionNrql]

A NRQL query.

open_violation_on_group_overlap bool

Whether overlapping groups should produce a violation.

policy_id float

The ID of the policy where this condition should be used.

runbook_url str

Runbook URL to display in notifications.

terms List[NrqlAlertConditionTerm]

A set of terms for this condition. Max 2 terms allowed - at least one 1 critical term and 1 optional warning term.

Deprecated: use critical and warning attributes instead

type str

The type of NRQL alert condition to create. Valid values are: ‘static’, ‘outlier’, ‘baseline’.

value_function str

Valid values are: ‘single_value’ or ‘sum’

violation_time_limit str

Sets a time limit, in hours, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are ‘ONE_HOUR’, ‘TWO_HOURS’, ‘FOUR_HOURS’, ‘EIGHT_HOURS’, ‘TWELVE_HOURS’, ‘TWENTY_FOUR_HOURS’ (case insensitive).

violation_time_limit_seconds float

Sets a time limit, in seconds, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are 3600, 7200, 14400, 28800, 43200, and 86400.

Deprecated: use violation_time_limit attribute instead

warning Dict[NrqlAlertConditionWarning]

A condition term with priority set to warning.

Supporting Types

NrqlAlertConditionCritical

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Threshold double
Duration int

Deprecated: use threshold_duration attribute instead

Operator string
ThresholdDuration int
ThresholdOccurrences string
TimeFunction string

Deprecated: use threshold_occurrences attribute instead

Threshold float64
Duration int

Deprecated: use threshold_duration attribute instead

Operator string
ThresholdDuration int
ThresholdOccurrences string
TimeFunction string

Deprecated: use threshold_occurrences attribute instead

threshold number
duration number

Deprecated: use threshold_duration attribute instead

operator string
thresholdDuration number
thresholdOccurrences string
timeFunction string

Deprecated: use threshold_occurrences attribute instead

threshold float
duration float

Deprecated: use threshold_duration attribute instead

operator str
thresholdDuration float
thresholdOccurrences str
timeFunction str

Deprecated: use threshold_occurrences attribute instead

NrqlAlertConditionNrql

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Query string
EvaluationOffset int
SinceValue string

Deprecated: use evaluation_offset attribute instead

Query string
EvaluationOffset int
SinceValue string

Deprecated: use evaluation_offset attribute instead

query string
evaluationOffset number
sinceValue string

Deprecated: use evaluation_offset attribute instead

query str
evaluationOffset float
sinceValue str

Deprecated: use evaluation_offset attribute instead

NrqlAlertConditionTerm

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Threshold double
Duration int

Deprecated: use threshold_duration attribute instead

Operator string
Priority string
ThresholdDuration int
ThresholdOccurrences string
TimeFunction string

Deprecated: use threshold_occurrences attribute instead

Threshold float64
Duration int

Deprecated: use threshold_duration attribute instead

Operator string
Priority string
ThresholdDuration int
ThresholdOccurrences string
TimeFunction string

Deprecated: use threshold_occurrences attribute instead

threshold number
duration number

Deprecated: use threshold_duration attribute instead

operator string
priority string
thresholdDuration number
thresholdOccurrences string
timeFunction string

Deprecated: use threshold_occurrences attribute instead

threshold float
duration float

Deprecated: use threshold_duration attribute instead

operator str
priority str
thresholdDuration float
thresholdOccurrences str
timeFunction str

Deprecated: use threshold_occurrences attribute instead

NrqlAlertConditionWarning

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Threshold double
Duration int

Deprecated: use threshold_duration attribute instead

Operator string
ThresholdDuration int
ThresholdOccurrences string
TimeFunction string

Deprecated: use threshold_occurrences attribute instead

Threshold float64
Duration int

Deprecated: use threshold_duration attribute instead

Operator string
ThresholdDuration int
ThresholdOccurrences string
TimeFunction string

Deprecated: use threshold_occurrences attribute instead

threshold number
duration number

Deprecated: use threshold_duration attribute instead

operator string
thresholdDuration number
thresholdOccurrences string
timeFunction string

Deprecated: use threshold_occurrences attribute instead

threshold float
duration float

Deprecated: use threshold_duration attribute instead

operator str
thresholdDuration float
thresholdOccurrences str
timeFunction str

Deprecated: use threshold_occurrences attribute instead

Package Details

Repository
https://github.com/pulumi/pulumi-newrelic
License
Apache-2.0
Notes
This Pulumi package is based on the newrelic Terraform Provider.