// *** 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.Sqlserver
{
    public static class DBs
    {
        public static Task<DBsResult> InvokeAsync(DBsArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<DBsResult>("tctest:Sqlserver/dBs:DBs", args ?? new DBsArgs(), options.WithDefaults());

        public static Output<DBsResult> Invoke(DBsInvokeArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<DBsResult>("tctest:Sqlserver/dBs:DBs", args ?? new DBsInvokeArgs(), options.WithDefaults());
    }


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

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

        public DBsArgs()
        {
        }
    }

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

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

        public DBsInvokeArgs()
        {
        }
    }


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

        [OutputConstructor]
        private DBsResult(
            ImmutableArray<Outputs.DBsDbListResult> dbLists,

            string id,

            string instanceId,

            string? resultOutputFile)
        {
            DbLists = dbLists;
            Id = id;
            InstanceId = instanceId;
            ResultOutputFile = resultOutputFile;
        }
    }
}
