<gh_stars>0// *** 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 GetMdbMongodbClusterUserInputArgs : global::Pulumi.ResourceArgs
    {
        /// <summary>
        /// The name of the MongoDB cluster.
        /// </summary>
        [Input("name")]
        public Input<string>? Name { get; set; }

        [Input("password")]
        private Input<string>? _password;
        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", required: true)]
        private InputList<Inputs.GetMdbMongodbClusterUserPermissionInputArgs>? _permissions;

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

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