// *** 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.Cloud
{
    public static class TCRVPCAttachments
    {
        public static Task<TCRVPCAttachmentsResult> InvokeAsync(TCRVPCAttachmentsArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<TCRVPCAttachmentsResult>("tctest:Cloud/tCRVPCAttachments:TCRVPCAttachments", args ?? new TCRVPCAttachmentsArgs(), options.WithDefaults());

        public static Output<TCRVPCAttachmentsResult> Invoke(TCRVPCAttachmentsInvokeArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<TCRVPCAttachmentsResult>("tctest:Cloud/tCRVPCAttachments:TCRVPCAttachments", args ?? new TCRVPCAttachmentsInvokeArgs(), options.WithDefaults());
    }


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

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

        [Input("subnetId")]
        public string? SubnetId { get; set; }

        [Input("vpcId")]
        public string? VpcId { get; set; }

        public TCRVPCAttachmentsArgs()
        {
        }
    }

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

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

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

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

        public TCRVPCAttachmentsInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class TCRVPCAttachmentsResult
    {
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string InstanceId;
        public readonly string? ResultOutputFile;
        public readonly string? SubnetId;
        public readonly ImmutableArray<Outputs.TCRVPCAttachmentsVpcAttachmentListResult> VpcAttachmentLists;
        public readonly string? VpcId;

        [OutputConstructor]
        private TCRVPCAttachmentsResult(
            string id,

            string instanceId,

            string? resultOutputFile,

            string? subnetId,

            ImmutableArray<Outputs.TCRVPCAttachmentsVpcAttachmentListResult> vpcAttachmentLists,

            string? vpcId)
        {
            Id = id;
            InstanceId = instanceId;
            ResultOutputFile = resultOutputFile;
            SubnetId = subnetId;
            VpcAttachmentLists = vpcAttachmentLists;
            VpcId = vpcId;
        }
    }
}
