// *** 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.Tctest.Monitor
{
    public static class PolicyGroups
    {
        public static Task<PolicyGroupsResult> InvokeAsync(PolicyGroupsArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<PolicyGroupsResult>("tctest:Monitor/policyGroups:PolicyGroups", args ?? new PolicyGroupsArgs(), options.WithDefaults());

        public static Output<PolicyGroupsResult> Invoke(PolicyGroupsInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<PolicyGroupsResult>("tctest:Monitor/policyGroups:PolicyGroups", args ?? new PolicyGroupsInvokeArgs(), options.WithDefaults());
    }


    public sealed class PolicyGroupsArgs : Pulumi.InvokeArgs
    {
        [Input("name")]
        public string? Name { get; set; }

        [Input("policyViewNames")]
        private List<string>? _policyViewNames;
        public List<string> PolicyViewNames
        {
            get => _policyViewNames ?? (_policyViewNames = new List<string>());
            set => _policyViewNames = value;
        }

        [Input("resultOutputFile")]
        public string? ResultOutputFile { get; set; }

        public PolicyGroupsArgs()
        {
        }
    }

    public sealed class PolicyGroupsInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("name")]
        public Input<string>? Name { get; set; }

        [Input("policyViewNames")]
        private InputList<string>? _policyViewNames;
        public InputList<string> PolicyViewNames
        {
            get => _policyViewNames ?? (_policyViewNames = new InputList<string>());
            set => _policyViewNames = value;
        }

        [Input("resultOutputFile")]
        public Input<string>? ResultOutputFile { get; set; }

        public PolicyGroupsInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class PolicyGroupsResult
    {
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly ImmutableArray<Outputs.PolicyGroupsListResult> Lists;
        public readonly string? Name;
        public readonly ImmutableArray<string> PolicyViewNames;
        public readonly string? ResultOutputFile;

        [OutputConstructor]
        private PolicyGroupsResult(
            string id,

            ImmutableArray<Outputs.PolicyGroupsListResult> lists,

            string? name,

            ImmutableArray<string> policyViewNames,

            string? resultOutputFile)
        {
            Id = id;
            Lists = lists;
            Name = name;
            PolicyViewNames = policyViewNames;
            ResultOutputFile = resultOutputFile;
        }
    }
}
