// *** 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.Dnats
{
    public static class Instances
    {
        public static Task<InstancesResult> InvokeAsync(InstancesArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<InstancesResult>("tctest:Dnats/instances:Instances", args ?? new InstancesArgs(), options.WithDefaults());

        public static Output<InstancesResult> Invoke(InstancesInvokeArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<InstancesResult>("tctest:Dnats/instances:Instances", args ?? new InstancesInvokeArgs(), options.WithDefaults());
    }


    public sealed class InstancesArgs : Pulumi.InvokeArgs
    {
        [Input("description")]
        public string? Description { get; set; }

        [Input("elasticIp")]
        public string? ElasticIp { get; set; }

        [Input("elasticPort")]
        public string? ElasticPort { get; set; }

        [Input("natId")]
        public string? NatId { get; set; }

        [Input("privateIp")]
        public string? PrivateIp { get; set; }

        [Input("privatePort")]
        public string? PrivatePort { get; set; }

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

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

        public InstancesArgs()
        {
        }
    }

    public sealed class InstancesInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("description")]
        public Input<string>? Description { get; set; }

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

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

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

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

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

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

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

        public InstancesInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class InstancesResult
    {
        public readonly string? Description;
        public readonly ImmutableArray<Outputs.InstancesDnatListResult> DnatLists;
        public readonly string? ElasticIp;
        public readonly string? ElasticPort;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string? NatId;
        public readonly string? PrivateIp;
        public readonly string? PrivatePort;
        public readonly string? ResultOutputFile;
        public readonly string? VpcId;

        [OutputConstructor]
        private InstancesResult(
            string? description,

            ImmutableArray<Outputs.InstancesDnatListResult> dnatLists,

            string? elasticIp,

            string? elasticPort,

            string id,

            string? natId,

            string? privateIp,

            string? privatePort,

            string? resultOutputFile,

            string? vpcId)
        {
            Description = description;
            DnatLists = dnatLists;
            ElasticIp = elasticIp;
            ElasticPort = elasticPort;
            Id = id;
            NatId = natId;
            PrivateIp = privateIp;
            PrivatePort = privatePort;
            ResultOutputFile = resultOutputFile;
            VpcId = vpcId;
        }
    }
}
