// *** 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.Tke
{
    public static class ClusterCommonNames
    {
        public static Task<ClusterCommonNamesResult> InvokeAsync(ClusterCommonNamesArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<ClusterCommonNamesResult>("tctest:Tke/clusterCommonNames:ClusterCommonNames", args ?? new ClusterCommonNamesArgs(), options.WithDefaults());

        public static Output<ClusterCommonNamesResult> Invoke(ClusterCommonNamesInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<ClusterCommonNamesResult>("tctest:Tke/clusterCommonNames:ClusterCommonNames", args ?? new ClusterCommonNamesInvokeArgs(), options.WithDefaults());
    }


    public sealed class ClusterCommonNamesArgs : Pulumi.InvokeArgs
    {
        [Input("clusterId")]
        public string? ClusterId { get; set; }

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

        [Input("roleIds")]
        private List<string>? _roleIds;
        public List<string> RoleIds
        {
            get => _roleIds ?? (_roleIds = new List<string>());
            set => _roleIds = value;
        }

        [Input("subaccountUins")]
        private List<string>? _subaccountUins;
        public List<string> SubaccountUins
        {
            get => _subaccountUins ?? (_subaccountUins = new List<string>());
            set => _subaccountUins = value;
        }

        public ClusterCommonNamesArgs()
        {
        }
    }

    public sealed class ClusterCommonNamesInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("clusterId")]
        public Input<string>? ClusterId { get; set; }

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

        [Input("roleIds")]
        private InputList<string>? _roleIds;
        public InputList<string> RoleIds
        {
            get => _roleIds ?? (_roleIds = new InputList<string>());
            set => _roleIds = value;
        }

        [Input("subaccountUins")]
        private InputList<string>? _subaccountUins;
        public InputList<string> SubaccountUins
        {
            get => _subaccountUins ?? (_subaccountUins = new InputList<string>());
            set => _subaccountUins = value;
        }

        public ClusterCommonNamesInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class ClusterCommonNamesResult
    {
        public readonly string? ClusterId;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly ImmutableArray<Outputs.ClusterCommonNamesListResult> Lists;
        public readonly string? ResultOutputFile;
        public readonly ImmutableArray<string> RoleIds;
        public readonly ImmutableArray<string> SubaccountUins;

        [OutputConstructor]
        private ClusterCommonNamesResult(
            string? clusterId,

            string id,

            ImmutableArray<Outputs.ClusterCommonNamesListResult> lists,

            string? resultOutputFile,

            ImmutableArray<string> roleIds,

            ImmutableArray<string> subaccountUins)
        {
            ClusterId = clusterId;
            Id = id;
            Lists = lists;
            ResultOutputFile = resultOutputFile;
            RoleIds = roleIds;
            SubaccountUins = subaccountUins;
        }
    }
}
