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

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


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

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

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

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

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

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


    [OutputType]
    public sealed class GetVmGroupResult
    {
        public readonly string ClusterMoref;
        public readonly string ClusterName;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string Name;
        public readonly string NamedVmGroupId;
        public readonly string ProviderVdcId;
        public readonly string VcenterId;

        [OutputConstructor]
        private GetVmGroupResult(
            string clusterMoref,

            string clusterName,

            string id,

            string name,

            string namedVmGroupId,

            string providerVdcId,

            string vcenterId)
        {
            ClusterMoref = clusterMoref;
            ClusterName = clusterName;
            Id = id;
            Name = name;
            NamedVmGroupId = namedVmGroupId;
            ProviderVdcId = providerVdcId;
            VcenterId = vcenterId;
        }
    }
}
