<filename>sdk/dotnet/CS/Outputs/GetKubernetesPermissionPermissionResult.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.CS.Outputs
{

    [OutputType]
    public sealed class GetKubernetesPermissionPermissionResult
    {
        /// <summary>
        /// ndicates whether the permissions are granted to the cluster owner. Valid values `0`, `1`.
        /// * `is_ram_role` -Indicates whether the permissions are granted to the RAM role. Valid values `0`,`1`.
        /// </summary>
        public readonly bool? IsOwner;
        public readonly bool? IsRamRole;
        /// <summary>
        /// The permission settings to manage ACK clusters.
        /// </summary>
        public readonly string ResourceId;
        /// <summary>
        /// The authorization type. Valid values `cluster`, `namespace` and `console`.
        /// </summary>
        public readonly string ResourceType;
        /// <summary>
        /// The name of the predefined role. If a custom role is assigned, the value is the name of the assigined custom role.
        /// </summary>
        public readonly string RoleName;
        /// <summary>
        /// The predefined role. Valid values `admin`,`ops`,`dev`,`restricted` and `custom`.
        /// </summary>
        public readonly string? RoleType;

        [OutputConstructor]
        private GetKubernetesPermissionPermissionResult(
            bool? isOwner,

            bool? isRamRole,

            string resourceId,

            string resourceType,

            string roleName,

            string? roleType)
        {
            IsOwner = isOwner;
            IsRamRole = isRamRole;
            ResourceId = resourceId;
            ResourceType = resourceType;
            RoleName = roleName;
            RoleType = roleType;
        }
    }
}
