<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.As
{
    public static class ScalingGroups
    {
        public static Task<ScalingGroupsResult> InvokeAsync(ScalingGroupsArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<ScalingGroupsResult>("tctest:As/scalingGroups:ScalingGroups", args ?? new ScalingGroupsArgs(), options.WithDefaults());

        public static Output<ScalingGroupsResult> Invoke(ScalingGroupsInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<ScalingGroupsResult>("tctest:As/scalingGroups:ScalingGroups", args ?? new ScalingGroupsInvokeArgs(), options.WithDefaults());
    }


    public sealed class ScalingGroupsArgs : Pulumi.InvokeArgs
    {
        [Input("configurationId")]
        public string? ConfigurationId { get; set; }

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

        [Input("scalingGroupId")]
        public string? ScalingGroupId { get; set; }

        [Input("scalingGroupName")]
        public string? ScalingGroupName { 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 ScalingGroupsArgs()
        {
        }
    }

    public sealed class ScalingGroupsInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("configurationId")]
        public Input<string>? ConfigurationId { get; set; }

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

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

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

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

        public ScalingGroupsInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class ScalingGroupsResult
    {
        public readonly string? ConfigurationId;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string? ResultOutputFile;
        public readonly string? ScalingGroupId;
        public readonly ImmutableArray<Outputs.ScalingGroupsScalingGroupListResult> ScalingGroupLists;
        public readonly string? ScalingGroupName;
        public readonly ImmutableDictionary<string, object>? Tags;

        [OutputConstructor]
        private ScalingGroupsResult(
            string? configurationId,

            string id,

            string? resultOutputFile,

            string? scalingGroupId,

            ImmutableArray<Outputs.ScalingGroupsScalingGroupListResult> scalingGroupLists,

            string? scalingGroupName,

            ImmutableDictionary<string, object>? tags)
        {
            ConfigurationId = configurationId;
            Id = id;
            ResultOutputFile = resultOutputFile;
            ScalingGroupId = scalingGroupId;
            ScalingGroupLists = scalingGroupLists;
            ScalingGroupName = scalingGroupName;
            Tags = tags;
        }
    }
}
