// *** 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;
using Pulumi;

namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Pts.Outputs
{

    [OutputType]
    public sealed class ScenarioSlaPolicySlaRule
    {
        /// <summary>
        /// Whether to stop the stress test task.
        /// </summary>
        public readonly bool? AbortFlag;
        /// <summary>
        /// Aggregation method of pressure test index.
        /// </summary>
        public readonly string? Aggregation;
        /// <summary>
        /// Pressure test index condition judgment symbol.
        /// </summary>
        public readonly string? Condition;
        /// <summary>
        /// duraion.
        /// </summary>
        public readonly string? For;
        /// <summary>
        /// tag.
        /// </summary>
        public readonly ImmutableArray<Outputs.ScenarioSlaPolicySlaRuleLabelFilter> LabelFilters;
        /// <summary>
        /// Pressure test index.
        /// </summary>
        public readonly string? Metric;
        /// <summary>
        /// Threshold value.
        /// </summary>
        public readonly double? Value;

        [OutputConstructor]
        private ScenarioSlaPolicySlaRule(
            bool? abortFlag,

            string? aggregation,

            string? condition,

            string? @for,

            ImmutableArray<Outputs.ScenarioSlaPolicySlaRuleLabelFilter> labelFilters,

            string? metric,

            double? value)
        {
            AbortFlag = abortFlag;
            Aggregation = aggregation;
            Condition = condition;
            For = @for;
            LabelFilters = labelFilters;
            Metric = metric;
            Value = value;
        }
    }
}
