<gh_stars>0// *** 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 GetNsxtRouteAdvertisement
    {
        public static Task<GetNsxtRouteAdvertisementResult> InvokeAsync(GetNsxtRouteAdvertisementArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetNsxtRouteAdvertisementResult>("vcd:index/getNsxtRouteAdvertisement:getNsxtRouteAdvertisement", args ?? new GetNsxtRouteAdvertisementArgs(), options.WithDefaults());

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


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

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

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

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

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

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


    [OutputType]
    public sealed class GetNsxtRouteAdvertisementResult
    {
        public readonly string EdgeGatewayId;
        public readonly bool Enabled;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string? Org;
        public readonly ImmutableArray<string> Subnets;

        [OutputConstructor]
        private GetNsxtRouteAdvertisementResult(
            string edgeGatewayId,

            bool enabled,

            string id,

            string? org,

            ImmutableArray<string> subnets)
        {
            EdgeGatewayId = edgeGatewayId;
            Enabled = enabled;
            Id = id;
            Org = org;
            Subnets = subnets;
        }
    }
}
