<filename>sdk/dotnet/Eks/ClusterCredential.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.Eks
{
    public static class ClusterCredential
    {
        public static Task<ClusterCredentialResult> InvokeAsync(ClusterCredentialArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<ClusterCredentialResult>("tctest:Eks/clusterCredential:ClusterCredential", args ?? new ClusterCredentialArgs(), options.WithDefaults());

        public static Output<ClusterCredentialResult> Invoke(ClusterCredentialInvokeArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<ClusterCredentialResult>("tctest:Eks/clusterCredential:ClusterCredential", args ?? new ClusterCredentialInvokeArgs(), options.WithDefaults());
    }


    public sealed class ClusterCredentialArgs : Pulumi.InvokeArgs
    {
        [Input("clusterId", required: true)]
        public string ClusterId { get; set; } = null!;

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

        public ClusterCredentialArgs()
        {
        }
    }

    public sealed class ClusterCredentialInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("clusterId", required: true)]
        public Input<string> ClusterId { get; set; } = null!;

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

        public ClusterCredentialInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class ClusterCredentialResult
    {
        public readonly ImmutableArray<Outputs.ClusterCredentialAddressResult> Addresses;
        public readonly string ClusterId;
        public readonly ImmutableDictionary<string, object> Credential;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly ImmutableArray<Outputs.ClusterCredentialInternalLbResult> InternalLbs;
        public readonly string KubeConfig;
        public readonly bool ProxyLb;
        public readonly ImmutableArray<Outputs.ClusterCredentialPublicLbResult> PublicLbs;
        public readonly string? ResultOutputFile;

        [OutputConstructor]
        private ClusterCredentialResult(
            ImmutableArray<Outputs.ClusterCredentialAddressResult> addresses,

            string clusterId,

            ImmutableDictionary<string, object> credential,

            string id,

            ImmutableArray<Outputs.ClusterCredentialInternalLbResult> internalLbs,

            string kubeConfig,

            bool proxyLb,

            ImmutableArray<Outputs.ClusterCredentialPublicLbResult> publicLbs,

            string? resultOutputFile)
        {
            Addresses = addresses;
            ClusterId = clusterId;
            Credential = credential;
            Id = id;
            InternalLbs = internalLbs;
            KubeConfig = kubeConfig;
            ProxyLb = proxyLb;
            PublicLbs = publicLbs;
            ResultOutputFile = resultOutputFile;
        }
    }
}
