// *** 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;
using Pulumi;

namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Mongodb.Outputs
{

    [OutputType]
    public sealed class InstanceAccountAuthRole
    {
        /// <summary>
        /// Permission information of the current account. 0: No permission. 1: read-only. 2: Write only. 3: Read and write.
        /// </summary>
        public readonly int Mask;
        /// <summary>
        /// Refers to the name of the database with the current account permissions.*: Indicates all databases. db.name: Indicates the database of a specific name.
        /// </summary>
        public readonly string Namespace;

        [OutputConstructor]
        private InstanceAccountAuthRole(
            int mask,

            string @namespace)
        {
            Mask = mask;
            Namespace = @namespace;
        }
    }
}
