<reponame>Kagashino/pulumi-tctest// *** 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.Security
{
    public static class Groups
    {
        public static Task<GroupsResult> InvokeAsync(GroupsArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GroupsResult>("tctest:Security/groups:Groups", args ?? new GroupsArgs(), options.WithDefaults());

        public static Output<GroupsResult> Invoke(GroupsInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<GroupsResult>("tctest:Security/groups:Groups", args ?? new GroupsInvokeArgs(), options.WithDefaults());
    }


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

        [Input("projectId")]
        public int? ProjectId { get; set; }

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

        [Input("securityGroupId")]
        public string? SecurityGroupId { get; set; }

        [Input("tags")]
        private Dictionary<string, object>? _tags;
        public Dictionary<string, object> Tags
        {
            get => _tags ?? (_tags = new Dictionary<string, object>());
            set => _tags = value;
        }

        public GroupsArgs()
        {
        }
    }

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

        [Input("projectId")]
        public Input<int>? ProjectId { get; set; }

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

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

        [Input("tags")]
        private InputMap<object>? _tags;
        public InputMap<object> Tags
        {
            get => _tags ?? (_tags = new InputMap<object>());
            set => _tags = value;
        }

        public GroupsInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class GroupsResult
    {
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string? Name;
        public readonly int? ProjectId;
        public readonly string? ResultOutputFile;
        public readonly string? SecurityGroupId;
        public readonly ImmutableArray<Outputs.GroupsSecurityGroupResult> SecurityGroups;
        public readonly ImmutableDictionary<string, object>? Tags;

        [OutputConstructor]
        private GroupsResult(
            string id,

            string? name,

            int? projectId,

            string? resultOutputFile,

            string? securityGroupId,

            ImmutableArray<Outputs.GroupsSecurityGroupResult> securityGroups,

            ImmutableDictionary<string, object>? tags)
        {
            Id = id;
            Name = name;
            ProjectId = projectId;
            ResultOutputFile = resultOutputFile;
            SecurityGroupId = securityGroupId;
            SecurityGroups = securityGroups;
            Tags = tags;
        }
    }
}
