// *** 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.Yandex
{
    public static class GetClientConfig
    {
        /// <summary>
        /// Get attributes used by provider to configure client connection.
        /// </summary>
        public static Task<GetClientConfigResult> InvokeAsync(InvokeOptions? options = null)
            => global::Pulumi.Deployment.Instance.InvokeAsync<GetClientConfigResult>("yandex:index/getClientConfig:getClientConfig", InvokeArgs.Empty, options.WithDefaults());
    }


    [OutputType]
    public sealed class GetClientConfigResult
    {
        /// <summary>
        /// The ID of the cloud that the provider is connecting to.
        /// </summary>
        public readonly string CloudId;
        /// <summary>
        /// The ID of the folder in which we operate.
        /// </summary>
        public readonly string FolderId;
        /// <summary>
        /// A short-lived token that can be used for authentication in a Kubernetes cluster.
        /// </summary>
        public readonly string IamToken;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        /// <summary>
        /// The default availability zone.
        /// </summary>
        public readonly string Zone;

        [OutputConstructor]
        private GetClientConfigResult(
            string cloudId,

            string folderId,

            string iamToken,

            string id,

            string zone)
        {
            CloudId = cloudId;
            FolderId = folderId;
            IamToken = iamToken;
            Id = id;
            Zone = zone;
        }
    }
}
