// *** 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 CosRegions
    {
        public static Task<CosRegionsResult> InvokeAsync(CosRegionsArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<CosRegionsResult>("tctest:Audit/cosRegions:CosRegions", args ?? new CosRegionsArgs(), options.WithDefaults());

        public static Output<CosRegionsResult> Invoke(CosRegionsInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<CosRegionsResult>("tctest:Audit/cosRegions:CosRegions", args ?? new CosRegionsInvokeArgs(), options.WithDefaults());
    }


    public sealed class CosRegionsArgs : Pulumi.InvokeArgs
    {
        [Input("resultOutputFile")]
        public string? ResultOutputFile { get; set; }

        public CosRegionsArgs()
        {
        }
    }

    public sealed class CosRegionsInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("resultOutputFile")]
        public Input<string>? ResultOutputFile { get; set; }

        public CosRegionsInvokeArgs()
        {
        }
    }


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

        [OutputConstructor]
        private CosRegionsResult(
            ImmutableArray<Outputs.CosRegionsAuditCosRegionListResult> auditCosRegionLists,

            string id,

            string? resultOutputFile)
        {
            AuditCosRegionLists = auditCosRegionLists;
            Id = id;
            ResultOutputFile = resultOutputFile;
        }
    }
}
