private GetScheduledQueryRuleResult(
            ImmutableArray <Outputs.ActionResponse> actions,

            Outputs.ScheduledQueryRuleCriteriaResponse criteria,

            string?description,

            bool enabled,

            string evaluationFrequency,

            string location,

            string?muteActionsDuration,

            string name,

            ImmutableArray <string> scopes,

            double severity,

            ImmutableDictionary <string, string>?tags,

            ImmutableArray <string> targetResourceTypes,

            string type,

            string windowSize)
        {
            Actions             = actions;
            Criteria            = criteria;
            Description         = description;
            Enabled             = enabled;
            EvaluationFrequency = evaluationFrequency;
            Location            = location;
            MuteActionsDuration = muteActionsDuration;
            Name                = name;
            Scopes              = scopes;
            Severity            = severity;
            Tags                = tags;
            TargetResourceTypes = targetResourceTypes;
            Type                = type;
            WindowSize          = windowSize;
        }
Example #2
0
        private GetScheduledQueryRuleResult(
            ImmutableArray <Outputs.ActionResponse> actions,

            string createdWithApiVersion,

            Outputs.ScheduledQueryRuleCriteriaResponse criteria,

            string?description,

            string?displayName,

            bool enabled,

            string etag,

            string evaluationFrequency,

            string id,

            bool isLegacyLogAnalyticsRule,

            string kind,

            string location,

            string?muteActionsDuration,

            string name,

            string?overrideQueryTimeRange,

            ImmutableArray <string> scopes,

            double severity,

            ImmutableDictionary <string, string>?tags,

            ImmutableArray <string> targetResourceTypes,

            string type,

            string windowSize)
        {
            Actions = actions;
            CreatedWithApiVersion = createdWithApiVersion;
            Criteria            = criteria;
            Description         = description;
            DisplayName         = displayName;
            Enabled             = enabled;
            Etag                = etag;
            EvaluationFrequency = evaluationFrequency;
            Id = id;
            IsLegacyLogAnalyticsRule = isLegacyLogAnalyticsRule;
            Kind                   = kind;
            Location               = location;
            MuteActionsDuration    = muteActionsDuration;
            Name                   = name;
            OverrideQueryTimeRange = overrideQueryTimeRange;
            Scopes                 = scopes;
            Severity               = severity;
            Tags                   = tags;
            TargetResourceTypes    = targetResourceTypes;
            Type                   = type;
            WindowSize             = windowSize;
        }