<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 GetLbAppRule
    {
        public static Task<GetLbAppRuleResult> InvokeAsync(GetLbAppRuleArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetLbAppRuleResult>("vcd:index/getLbAppRule:getLbAppRule", args ?? new GetLbAppRuleArgs(), options.WithDefaults());

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


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

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

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

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

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

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

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

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

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

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


    [OutputType]
    public sealed class GetLbAppRuleResult
    {
        public readonly string EdgeGateway;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string Name;
        public readonly string? Org;
        public readonly string Script;
        public readonly string? Vdc;

        [OutputConstructor]
        private GetLbAppRuleResult(
            string edgeGateway,

            string id,

            string name,

            string? org,

            string script,

            string? vdc)
        {
            EdgeGateway = edgeGateway;
            Id = id;
            Name = name;
            Org = org;
            Script = script;
            Vdc = vdc;
        }
    }
}
