// *** 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.Ram.Outputs
{

    [OutputType]
    public sealed class GetPoliciesPolicyResult
    {
        /// <summary>
        /// Attachment count of the policy.
        /// </summary>
        public readonly int AttachmentCount;
        /// <summary>
        /// Creation date of the policy.
        /// </summary>
        public readonly string CreateDate;
        /// <summary>
        /// Default version of the policy.
        /// </summary>
        public readonly string DefaultVersion;
        /// <summary>
        /// Description of the policy.
        /// </summary>
        public readonly string Description;
        /// <summary>
        /// Policy document of the policy.
        /// </summary>
        public readonly string Document;
        public readonly string Id;
        /// <summary>
        /// Name of the policy.
        /// </summary>
        public readonly string Name;
        /// <summary>
        /// Policy document of the policy.
        /// </summary>
        public readonly string PolicyDocument;
        /// <summary>
        /// Name of the policy.
        /// </summary>
        public readonly string PolicyName;
        /// <summary>
        /// Filter results by a specific policy type. Valid values are `Custom` and `System`.
        /// </summary>
        public readonly string Type;
        /// <summary>
        /// Update date of the policy.
        /// </summary>
        public readonly string UpdateDate;
        /// <summary>
        /// Filter results by a specific user name. Returned policies are attached to the specified user.
        /// </summary>
        public readonly string UserName;
        /// <summary>
        /// The ID of default policy.
        /// </summary>
        public readonly string VersionId;

        [OutputConstructor]
        private GetPoliciesPolicyResult(
            int attachmentCount,

            string createDate,

            string defaultVersion,

            string description,

            string document,

            string id,

            string name,

            string policyDocument,

            string policyName,

            string type,

            string updateDate,

            string userName,

            string versionId)
        {
            AttachmentCount = attachmentCount;
            CreateDate = createDate;
            DefaultVersion = defaultVersion;
            Description = description;
            Document = document;
            Id = id;
            Name = name;
            PolicyDocument = policyDocument;
            PolicyName = policyName;
            Type = type;
            UpdateDate = updateDate;
            UserName = userName;
            VersionId = versionId;
        }
    }
}
