<reponame>Kagashino/pulumi-tctest// *** 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 Policies
    {
        public static Task<PoliciesResult> InvokeAsync(PoliciesArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<PoliciesResult>("tctest:Cam/policies:Policies", args ?? new PoliciesArgs(), options.WithDefaults());

        public static Output<PoliciesResult> Invoke(PoliciesInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<PoliciesResult>("tctest:Cam/policies:Policies", args ?? new PoliciesInvokeArgs(), options.WithDefaults());
    }


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

        [Input("description")]
        public string? Description { get; set; }

        [Input("name")]
        public string? Name { get; set; }

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

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

        [Input("type")]
        public int? Type { get; set; }

        public PoliciesArgs()
        {
        }
    }

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

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

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

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

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

        [Input("type")]
        public Input<int>? Type { get; set; }

        public PoliciesInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class PoliciesResult
    {
        public readonly int? CreateMode;
        public readonly string? Description;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string? Name;
        public readonly string? PolicyId;
        public readonly ImmutableArray<Outputs.PoliciesPolicyListResult> PolicyLists;
        public readonly string? ResultOutputFile;
        public readonly int? Type;

        [OutputConstructor]
        private PoliciesResult(
            int? createMode,

            string? description,

            string id,

            string? name,

            string? policyId,

            ImmutableArray<Outputs.PoliciesPolicyListResult> policyLists,

            string? resultOutputFile,

            int? type)
        {
            CreateMode = createMode;
            Description = description;
            Id = id;
            Name = name;
            PolicyId = policyId;
            PolicyLists = policyLists;
            ResultOutputFile = resultOutputFile;
            Type = type;
        }
    }
}
