// *** 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;
using Pulumi;

namespace PiersKarsenbarg.Nutanix
{
    public static class GetServiceGroup
    {
        public static Task<GetServiceGroupResult> InvokeAsync(GetServiceGroupArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetServiceGroupResult>("nutanix:index/getServiceGroup:getServiceGroup", args ?? new GetServiceGroupArgs(), options.WithDefaults());

        public static Output<GetServiceGroupResult> Invoke(GetServiceGroupInvokeArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.Invoke<GetServiceGroupResult>("nutanix:index/getServiceGroup:getServiceGroup", args ?? new GetServiceGroupInvokeArgs(), options.WithDefaults());
    }


    public sealed class GetServiceGroupArgs : Pulumi.InvokeArgs
    {
        [Input("uuid", required: true)]
        public string Uuid { get; set; } = null!;

        public GetServiceGroupArgs()
        {
        }
    }

    public sealed class GetServiceGroupInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("uuid", required: true)]
        public Input<string> Uuid { get; set; } = null!;

        public GetServiceGroupInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class GetServiceGroupResult
    {
        public readonly string Description;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly bool IsSystemDefined;
        public readonly string Name;
        public readonly ImmutableArray<Outputs.GetServiceGroupServiceListResult> ServiceLists;
        public readonly string Uuid;

        [OutputConstructor]
        private GetServiceGroupResult(
            string description,

            string id,

            bool isSystemDefined,

            string name,

            ImmutableArray<Outputs.GetServiceGroupServiceListResult> serviceLists,

            string uuid)
        {
            Description = description;
            Id = id;
            IsSystemDefined = isSystemDefined;
            Name = name;
            ServiceLists = serviceLists;
            Uuid = uuid;
        }
    }
}
