// *** 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.Ha
{
    public static class VipEipAttachments
    {
        public static Task<VipEipAttachmentsResult> InvokeAsync(VipEipAttachmentsArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<VipEipAttachmentsResult>("tctest:Ha/vipEipAttachments:VipEipAttachments", args ?? new VipEipAttachmentsArgs(), options.WithDefaults());

        public static Output<VipEipAttachmentsResult> Invoke(VipEipAttachmentsInvokeArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<VipEipAttachmentsResult>("tctest:Ha/vipEipAttachments:VipEipAttachments", args ?? new VipEipAttachmentsInvokeArgs(), options.WithDefaults());
    }


    public sealed class VipEipAttachmentsArgs : Pulumi.InvokeArgs
    {
        [Input("addressIp")]
        public string? AddressIp { get; set; }

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

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

        public VipEipAttachmentsArgs()
        {
        }
    }

    public sealed class VipEipAttachmentsInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("addressIp")]
        public Input<string>? AddressIp { get; set; }

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

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

        public VipEipAttachmentsInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class VipEipAttachmentsResult
    {
        public readonly string? AddressIp;
        public readonly ImmutableArray<Outputs.VipEipAttachmentsHaVipEipAttachmentListResult> HaVipEipAttachmentLists;
        public readonly string HavipId;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string? ResultOutputFile;

        [OutputConstructor]
        private VipEipAttachmentsResult(
            string? addressIp,

            ImmutableArray<Outputs.VipEipAttachmentsHaVipEipAttachmentListResult> haVipEipAttachmentLists,

            string havipId,

            string id,

            string? resultOutputFile)
        {
            AddressIp = addressIp;
            HaVipEipAttachmentLists = haVipEipAttachmentLists;
            HavipId = havipId;
            Id = id;
            ResultOutputFile = resultOutputFile;
        }
    }
}
