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

namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Mariadb.Outputs
{

    [OutputType]
    public sealed class GetAccountsListResult
    {
        /// <summary>
        /// creation time.
        /// </summary>
        public readonly string CreateTime;
        /// <summary>
        /// This field is meaningful for read-only accounts, indicating that the standby machine with the active-standby delay less than this value is selected.
        /// </summary>
        public readonly int DelayThresh;
        /// <summary>
        /// User remarks.
        /// </summary>
        public readonly string Description;
        /// <summary>
        /// The host from which the user can log in (corresponding to the host field of MySQL users, UserName + Host uniquely identifies a user, in the form of IP, and the IP segment ends with %; supports filling in %; if it is empty, it defaults to %).
        /// </summary>
        public readonly string Host;
        /// <summary>
        /// Read-only flag, `0`: No, `1`: The SQL request of this account is preferentially executed on the standby machine, and the host machine is selected for execution when the standby machine is unavailable, `2`: The standby machine is preferentially selected for execution, and the operation fails when the standby machine is unavailable.
        /// </summary>
        public readonly int ReadOnly;
        /// <summary>
        /// For read-only accounts, set whether the policy is to fix the standby machine, `0`: The standby machine is not fixed, that is, the standby machine does not meet the conditions and will not disconnect from the client, and the Proxy selects other available standby machines, `1`: The standby machine does not meet the conditions Disconnect, make sure one connection secures the standby.
        /// </summary>
        public readonly int SlaveConst;
        /// <summary>
        /// Update time.
        /// </summary>
        public readonly string UpdateTime;
        /// <summary>
        /// username.
        /// </summary>
        public readonly string UserName;

        [OutputConstructor]
        private GetAccountsListResult(
            string createTime,

            int delayThresh,

            string description,

            string host,

            int readOnly,

            int slaveConst,

            string updateTime,

            string userName)
        {
            CreateTime = createTime;
            DelayThresh = delayThresh;
            Description = description;
            Host = host;
            ReadOnly = readOnly;
            SlaveConst = slaveConst;
            UpdateTime = updateTime;
            UserName = userName;
        }
    }
}
