// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;

namespace Pulumi.Nobl9.Inputs
{

    public sealed class AlertPolicyConditionArgs : global::Pulumi.ResourceArgs
    {
        /// <summary>
        /// Indicates how long a given condition needs to be valid to mark the condition as true.
        /// </summary>
        [Input("lastsFor")]
        public Input<string>? LastsFor { get; set; }

        /// <summary>
        /// One of `timeToBurnBudget` | `burnRate` | `burnedBudget`.
        /// </summary>
        [Input("measurement", required: true)]
        public Input<string> Measurement { get; set; } = null!;

        /// <summary>
        /// For `averageBurnRate`, it indicates how fast the error budget is burning. For `burnedBudget`, it tells how much error budget is already burned.
        /// </summary>
        [Input("value")]
        public Input<double>? Value { get; set; }

        /// <summary>
        /// Used with `timeToBurnBudget`, indicates when the budget would be exhausted. The expected value is a string in time duration string format.
        /// </summary>
        [Input("valueString")]
        public Input<string>? ValueString { get; set; }

        public AlertPolicyConditionArgs()
        {
        }
        public static new AlertPolicyConditionArgs Empty => new AlertPolicyConditionArgs();
    }
}
