<filename>sdk/dotnet/GetNsxtEdgegatewayBgpIpPrefixList.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.Vcd
{
    public static class GetNsxtEdgegatewayBgpIpPrefixList
    {
        public static Task<GetNsxtEdgegatewayBgpIpPrefixListResult> InvokeAsync(GetNsxtEdgegatewayBgpIpPrefixListArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetNsxtEdgegatewayBgpIpPrefixListResult>("vcd:index/getNsxtEdgegatewayBgpIpPrefixList:getNsxtEdgegatewayBgpIpPrefixList", args ?? new GetNsxtEdgegatewayBgpIpPrefixListArgs(), options.WithDefaults());

        public static Output<GetNsxtEdgegatewayBgpIpPrefixListResult> Invoke(GetNsxtEdgegatewayBgpIpPrefixListInvokeArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<GetNsxtEdgegatewayBgpIpPrefixListResult>("vcd:index/getNsxtEdgegatewayBgpIpPrefixList:getNsxtEdgegatewayBgpIpPrefixList", args ?? new GetNsxtEdgegatewayBgpIpPrefixListInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetNsxtEdgegatewayBgpIpPrefixListArgs : global::Pulumi.InvokeArgs
    {
        [Input("edgeGatewayId", required: true)]
        public string EdgeGatewayId { get; set; } = null!;

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

        [Input("org")]
        public string? Org { get; set; }

        public GetNsxtEdgegatewayBgpIpPrefixListArgs()
        {
        }
        public static new GetNsxtEdgegatewayBgpIpPrefixListArgs Empty => new GetNsxtEdgegatewayBgpIpPrefixListArgs();
    }

    public sealed class GetNsxtEdgegatewayBgpIpPrefixListInvokeArgs : global::Pulumi.InvokeArgs
    {
        [Input("edgeGatewayId", required: true)]
        public Input<string> EdgeGatewayId { get; set; } = null!;

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

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

        public GetNsxtEdgegatewayBgpIpPrefixListInvokeArgs()
        {
        }
        public static new GetNsxtEdgegatewayBgpIpPrefixListInvokeArgs Empty => new GetNsxtEdgegatewayBgpIpPrefixListInvokeArgs();
    }


    [OutputType]
    public sealed class GetNsxtEdgegatewayBgpIpPrefixListResult
    {
        public readonly string Description;
        public readonly string EdgeGatewayId;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly ImmutableArray<Outputs.GetNsxtEdgegatewayBgpIpPrefixListIpPrefixResult> IpPrefixes;
        public readonly string Name;
        public readonly string? Org;

        [OutputConstructor]
        private GetNsxtEdgegatewayBgpIpPrefixListResult(
            string description,

            string edgeGatewayId,

            string id,

            ImmutableArray<Outputs.GetNsxtEdgegatewayBgpIpPrefixListIpPrefixResult> ipPrefixes,

            string name,

            string? org)
        {
            Description = description;
            EdgeGatewayId = edgeGatewayId;
            Id = id;
            IpPrefixes = ipPrefixes;
            Name = name;
            Org = org;
        }
    }
}
