// *** 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 GetVcenter
    {
        public static Task<GetVcenterResult> InvokeAsync(GetVcenterArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetVcenterResult>("vcd:index/getVcenter:getVcenter", args ?? new GetVcenterArgs(), options.WithDefaults());

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


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

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

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

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


    [OutputType]
    public sealed class GetVcenterResult
    {
        public readonly string ConnectionStatus;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly bool IsEnabled;
        public readonly string Name;
        public readonly string Status;
        public readonly string VcenterHost;
        public readonly string VcenterVersion;

        [OutputConstructor]
        private GetVcenterResult(
            string connectionStatus,

            string id,

            bool isEnabled,

            string name,

            string status,

            string vcenterHost,

            string vcenterVersion)
        {
            ConnectionStatus = connectionStatus;
            Id = id;
            IsEnabled = isEnabled;
            Name = name;
            Status = status;
            VcenterHost = vcenterHost;
            VcenterVersion = vcenterVersion;
        }
    }
}
