<filename>sdk/dotnet/Outputs/GetMdbSqlserverClusterUserPermissionResult.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.Yandex.Outputs
{

    [OutputType]
    public sealed class GetMdbSqlserverClusterUserPermissionResult
    {
        /// <summary>
        /// The name of the database that the permission grants access to.
        /// </summary>
        public readonly string DatabaseName;
        /// <summary>
        /// List user's roles in the database.
        /// Allowed roles: `OWNER`, `SECURITYADMIN`, `ACCESSADMIN`, `BACKUPOPERATOR`, `DDLADMIN`, `DATAWRITER`, `DATAREADER`, `DENYDATAWRITER`, `DENYDATAREADER`.
        /// </summary>
        public readonly ImmutableArray<string> Roles;

        [OutputConstructor]
        private GetMdbSqlserverClusterUserPermissionResult(
            string databaseName,

            ImmutableArray<string> roles)
        {
            DatabaseName = databaseName;
            Roles = roles;
        }
    }
}
