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

namespace Pulumi.Tctest.Cam
{
    public static class UserPolicyAttachments
    {
        public static Task<UserPolicyAttachmentsResult> InvokeAsync(UserPolicyAttachmentsArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<UserPolicyAttachmentsResult>("tctest:Cam/userPolicyAttachments:UserPolicyAttachments", args ?? new UserPolicyAttachmentsArgs(), options.WithDefaults());

        public static Output<UserPolicyAttachmentsResult> Invoke(UserPolicyAttachmentsInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<UserPolicyAttachmentsResult>("tctest:Cam/userPolicyAttachments:UserPolicyAttachments", args ?? new UserPolicyAttachmentsInvokeArgs(), options.WithDefaults());
    }


    public sealed class UserPolicyAttachmentsArgs : Pulumi.InvokeArgs
    {
        [Input("createMode")]
        public int? CreateMode { get; set; }

        [Input("policyId")]
        public string? PolicyId { get; set; }

        [Input("policyType")]
        public string? PolicyType { get; set; }

        [Input("resultOutputFile")]
        public string? ResultOutputFile { get; set; }

        [Input("userId")]
        public string? UserId { get; set; }

        [Input("userName")]
        public string? UserName { get; set; }

        public UserPolicyAttachmentsArgs()
        {
        }
    }

    public sealed class UserPolicyAttachmentsInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("createMode")]
        public Input<int>? CreateMode { get; set; }

        [Input("policyId")]
        public Input<string>? PolicyId { get; set; }

        [Input("policyType")]
        public Input<string>? PolicyType { get; set; }

        [Input("resultOutputFile")]
        public Input<string>? ResultOutputFile { get; set; }

        [Input("userId")]
        public Input<string>? UserId { get; set; }

        [Input("userName")]
        public Input<string>? UserName { get; set; }

        public UserPolicyAttachmentsInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class UserPolicyAttachmentsResult
    {
        public readonly int? CreateMode;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string? PolicyId;
        public readonly string? PolicyType;
        public readonly string? ResultOutputFile;
        public readonly string? UserId;
        public readonly string? UserName;
        public readonly ImmutableArray<Outputs.UserPolicyAttachmentsUserPolicyAttachmentListResult> UserPolicyAttachmentLists;

        [OutputConstructor]
        private UserPolicyAttachmentsResult(
            int? createMode,

            string id,

            string? policyId,

            string? policyType,

            string? resultOutputFile,

            string? userId,

            string? userName,

            ImmutableArray<Outputs.UserPolicyAttachmentsUserPolicyAttachmentListResult> userPolicyAttachmentLists)
        {
            CreateMode = createMode;
            Id = id;
            PolicyId = policyId;
            PolicyType = policyType;
            ResultOutputFile = resultOutputFile;
            UserId = userId;
            UserName = userName;
            UserPolicyAttachmentLists = userPolicyAttachmentLists;
        }
    }
}
