// *** 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.Inputs
{

    public sealed class GetMdbKafkaClusterUserInputArgs : global::Pulumi.ResourceArgs
    {
        /// <summary>
        /// The name of the Kafka cluster.
        /// </summary>
        [Input("name", required: true)]
        public Input<string> Name { get; set; } = null!;

        [Input("password", required: true)]
        private Input<string>? _password;

        /// <summary>
        /// (Required) The password of the user.
        /// </summary>
        public Input<string>? Password
        {
            get => _password;
            set
            {
                var emptySecret = Output.CreateSecret(0);
                _password = Output.Tuple<Input<string>?, int>(value, emptySecret).Apply(t => t.Item1);
            }
        }

        [Input("permissions")]
        private InputList<Inputs.GetMdbKafkaClusterUserPermissionInputArgs>? _permissions;

        /// <summary>
        /// (Optional) Set of permissions granted to the user. The structure is documented below.
        /// </summary>
        public InputList<Inputs.GetMdbKafkaClusterUserPermissionInputArgs> Permissions
        {
            get => _permissions ?? (_permissions = new InputList<Inputs.GetMdbKafkaClusterUserPermissionInputArgs>());
            set => _permissions = value;
        }

        public GetMdbKafkaClusterUserInputArgs()
        {
        }
        public static new GetMdbKafkaClusterUserInputArgs Empty => new GetMdbKafkaClusterUserInputArgs();
    }
}
