<filename>sdk/dotnet/PolarDB/Outputs/GetAccountsAccountResult.cs// *** 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.AliCloud.PolarDB.Outputs
{

    [OutputType]
    public sealed class GetAccountsAccountResult
    {
        /// <summary>
        /// Account description.
        /// </summary>
        public readonly string AccountDescription;
        /// <summary>
        /// Account lock state, Valid values are `Lock`, `UnLock`.
        /// </summary>
        public readonly string AccountLockState;
        /// <summary>
        /// Account name.
        /// </summary>
        public readonly string AccountName;
        /// <summary>
        /// Cluster address type.`Cluster`: the default address of the Cluster.`Primary`: Primary address.`Custom`: Custom cluster addresses.
        /// </summary>
        public readonly string AccountStatus;
        /// <summary>
        /// Account type, Valid values are `Normal`, `Super`.
        /// </summary>
        public readonly string AccountType;
        /// <summary>
        /// A list of database privilege. Each element contains the following attributes.
        /// </summary>
        public readonly ImmutableArray<Outputs.GetAccountsAccountDatabasePrivilegeResult> DatabasePrivileges;

        [OutputConstructor]
        private GetAccountsAccountResult(
            string accountDescription,

            string accountLockState,

            string accountName,

            string accountStatus,

            string accountType,

            ImmutableArray<Outputs.GetAccountsAccountDatabasePrivilegeResult> databasePrivileges)
        {
            AccountDescription = accountDescription;
            AccountLockState = accountLockState;
            AccountName = accountName;
            AccountStatus = accountStatus;
            AccountType = accountType;
            DatabasePrivileges = databasePrivileges;
        }
    }
}
