// *** 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.Audit
{
    public static class KeyAlias
    {
        public static Task<KeyAliasResult> InvokeAsync(KeyAliasArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<KeyAliasResult>("tctest:Audit/keyAlias:KeyAlias", args ?? new KeyAliasArgs(), options.WithDefaults());

        public static Output<KeyAliasResult> Invoke(KeyAliasInvokeArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<KeyAliasResult>("tctest:Audit/keyAlias:KeyAlias", args ?? new KeyAliasInvokeArgs(), options.WithDefaults());
    }


    public sealed class KeyAliasArgs : Pulumi.InvokeArgs
    {
        [Input("region", required: true)]
        public string Region { get; set; } = null!;

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

        public KeyAliasArgs()
        {
        }
    }

    public sealed class KeyAliasInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("region", required: true)]
        public Input<string> Region { get; set; } = null!;

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

        public KeyAliasInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class KeyAliasResult
    {
        public readonly ImmutableArray<Outputs.KeyAliasAuditKeyAliasListResult> AuditKeyAliasLists;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string Region;
        public readonly string? ResultOutputFile;

        [OutputConstructor]
        private KeyAliasResult(
            ImmutableArray<Outputs.KeyAliasAuditKeyAliasListResult> auditKeyAliasLists,

            string id,

            string region,

            string? resultOutputFile)
        {
            AuditKeyAliasLists = auditKeyAliasLists;
            Id = id;
            Region = region;
            ResultOutputFile = resultOutputFile;
        }
    }
}
