// *** 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.Cam
{
    public static class GroupMemberships
    {
        public static Task<GroupMembershipsResult> InvokeAsync(GroupMembershipsArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GroupMembershipsResult>("tctest:Cam/groupMemberships:GroupMemberships", args ?? new GroupMembershipsArgs(), options.WithDefaults());

        public static Output<GroupMembershipsResult> Invoke(GroupMembershipsInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<GroupMembershipsResult>("tctest:Cam/groupMemberships:GroupMemberships", args ?? new GroupMembershipsInvokeArgs(), options.WithDefaults());
    }


    public sealed class GroupMembershipsArgs : Pulumi.InvokeArgs
    {
        [Input("groupId")]
        public string? GroupId { get; set; }

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

        public GroupMembershipsArgs()
        {
        }
    }

    public sealed class GroupMembershipsInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("groupId")]
        public Input<string>? GroupId { get; set; }

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

        public GroupMembershipsInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class GroupMembershipsResult
    {
        public readonly string? GroupId;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly ImmutableArray<Outputs.GroupMembershipsMembershipListResult> MembershipLists;
        public readonly string? ResultOutputFile;

        [OutputConstructor]
        private GroupMembershipsResult(
            string? groupId,

            string id,

            ImmutableArray<Outputs.GroupMembershipsMembershipListResult> membershipLists,

            string? resultOutputFile)
        {
            GroupId = groupId;
            Id = id;
            MembershipLists = membershipLists;
            ResultOutputFile = resultOutputFile;
        }
    }
}
