<reponame>kitzin/pulumi-vcd// *** 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 GetNsxtAlbVirtualService
    {
        public static Task<GetNsxtAlbVirtualServiceResult> InvokeAsync(GetNsxtAlbVirtualServiceArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetNsxtAlbVirtualServiceResult>("vcd:index/getNsxtAlbVirtualService:getNsxtAlbVirtualService", args ?? new GetNsxtAlbVirtualServiceArgs(), options.WithDefaults());

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


    public sealed class GetNsxtAlbVirtualServiceArgs : 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; }

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

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

    public sealed class GetNsxtAlbVirtualServiceInvokeArgs : 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; }

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

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


    [OutputType]
    public sealed class GetNsxtAlbVirtualServiceResult
    {
        public readonly string ApplicationProfileType;
        public readonly string CaCertificateId;
        public readonly string Description;
        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 Name;
        public readonly string? Org;
        public readonly string PoolId;
        public readonly string ServiceEngineGroupId;
        public readonly ImmutableArray<Outputs.GetNsxtAlbVirtualServiceServicePortResult> ServicePorts;
        public readonly string Vdc;
        public readonly string VirtualIpAddress;

        [OutputConstructor]
        private GetNsxtAlbVirtualServiceResult(
            string applicationProfileType,

            string caCertificateId,

            string description,

            string edgeGatewayId,

            bool enabled,

            string id,

            string name,

            string? org,

            string poolId,

            string serviceEngineGroupId,

            ImmutableArray<Outputs.GetNsxtAlbVirtualServiceServicePortResult> servicePorts,

            string vdc,

            string virtualIpAddress)
        {
            ApplicationProfileType = applicationProfileType;
            CaCertificateId = caCertificateId;
            Description = description;
            EdgeGatewayId = edgeGatewayId;
            Enabled = enabled;
            Id = id;
            Name = name;
            Org = org;
            PoolId = poolId;
            ServiceEngineGroupId = serviceEngineGroupId;
            ServicePorts = servicePorts;
            Vdc = vdc;
            VirtualIpAddress = virtualIpAddress;
        }
    }
}
