<filename>sdk/dotnet/Sqlserver/AccountDBAttachments.cs// *** 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 AccountDBAttachments
    {
        public static Task<AccountDBAttachmentsResult> InvokeAsync(AccountDBAttachmentsArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<AccountDBAttachmentsResult>("tctest:Sqlserver/accountDBAttachments:AccountDBAttachments", args ?? new AccountDBAttachmentsArgs(), options.WithDefaults());

        public static Output<AccountDBAttachmentsResult> Invoke(AccountDBAttachmentsInvokeArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<AccountDBAttachmentsResult>("tctest:Sqlserver/accountDBAttachments:AccountDBAttachments", args ?? new AccountDBAttachmentsInvokeArgs(), options.WithDefaults());
    }


    public sealed class AccountDBAttachmentsArgs : Pulumi.InvokeArgs
    {
        [Input("accountName")]
        public string? AccountName { get; set; }

        [Input("dbName")]
        public string? DbName { get; set; }

        [Input("instanceId", required: true)]
        public string InstanceId { get; set; } = null!;

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

        public AccountDBAttachmentsArgs()
        {
        }
    }

    public sealed class AccountDBAttachmentsInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("accountName")]
        public Input<string>? AccountName { get; set; }

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

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

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

        public AccountDBAttachmentsInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class AccountDBAttachmentsResult
    {
        public readonly string? AccountName;
        public readonly string? DbName;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string InstanceId;
        public readonly ImmutableArray<Outputs.AccountDBAttachmentsListResult> Lists;
        public readonly string? ResultOutputFile;

        [OutputConstructor]
        private AccountDBAttachmentsResult(
            string? accountName,

            string? dbName,

            string id,

            string instanceId,

            ImmutableArray<Outputs.AccountDBAttachmentsListResult> lists,

            string? resultOutputFile)
        {
            AccountName = accountName;
            DbName = dbName;
            Id = id;
            InstanceId = instanceId;
            Lists = lists;
            ResultOutputFile = resultOutputFile;
        }
    }
}
