<filename>sdk/dotnet/GetNsxtFirewall.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 GetNsxtFirewall
    {
        public static Task<GetNsxtFirewallResult> InvokeAsync(GetNsxtFirewallArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetNsxtFirewallResult>("vcd:index/getNsxtFirewall:getNsxtFirewall", args ?? new GetNsxtFirewallArgs(), options.WithDefaults());

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


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

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

        [Input("vdc")]
        public string? Vdc { get; set; }

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

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

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

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

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


    [OutputType]
    public sealed class GetNsxtFirewallResult
    {
        public readonly string EdgeGatewayId;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string? Org;
        public readonly ImmutableArray<Outputs.GetNsxtFirewallRuleResult> Rules;
        public readonly string? Vdc;

        [OutputConstructor]
        private GetNsxtFirewallResult(
            string edgeGatewayId,

            string id,

            string? org,

            ImmutableArray<Outputs.GetNsxtFirewallRuleResult> rules,

            string? vdc)
        {
            EdgeGatewayId = edgeGatewayId;
            Id = id;
            Org = org;
            Rules = rules;
            Vdc = vdc;
        }
    }
}
