<filename>sdk/dotnet/Clb/TargetGroups.cs// *** 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.Clb
{
    public static class TargetGroups
    {
        public static Task<TargetGroupsResult> InvokeAsync(TargetGroupsArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<TargetGroupsResult>("tctest:Clb/targetGroups:TargetGroups", args ?? new TargetGroupsArgs(), options.WithDefaults());

        public static Output<TargetGroupsResult> Invoke(TargetGroupsInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<TargetGroupsResult>("tctest:Clb/targetGroups:TargetGroups", args ?? new TargetGroupsInvokeArgs(), options.WithDefaults());
    }


    public sealed class TargetGroupsArgs : Pulumi.InvokeArgs
    {
        [Input("resultOutputFile")]
        public string? ResultOutputFile { get; set; }

        [Input("targetGroupId")]
        public string? TargetGroupId { get; set; }

        [Input("targetGroupName")]
        public string? TargetGroupName { get; set; }

        [Input("vpcId")]
        public string? VpcId { get; set; }

        public TargetGroupsArgs()
        {
        }
    }

    public sealed class TargetGroupsInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("resultOutputFile")]
        public Input<string>? ResultOutputFile { get; set; }

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

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

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

        public TargetGroupsInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class TargetGroupsResult
    {
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly ImmutableArray<Outputs.TargetGroupsListResult> Lists;
        public readonly string? ResultOutputFile;
        public readonly string? TargetGroupId;
        public readonly string? TargetGroupName;
        public readonly string? VpcId;

        [OutputConstructor]
        private TargetGroupsResult(
            string id,

            ImmutableArray<Outputs.TargetGroupsListResult> lists,

            string? resultOutputFile,

            string? targetGroupId,

            string? targetGroupName,

            string? vpcId)
        {
            Id = id;
            Lists = lists;
            ResultOutputFile = resultOutputFile;
            TargetGroupId = targetGroupId;
            TargetGroupName = targetGroupName;
            VpcId = vpcId;
        }
    }
}
