// *** 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.Nexus
{
    public static class GetNexusSecurityRealms
    {
        public static Task<GetNexusSecurityRealmsResult> InvokeAsync(InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetNexusSecurityRealmsResult>("nexus:index/getNexusSecurityRealms:GetNexusSecurityRealms", InvokeArgs.Empty, options.WithDefaults());
    }


    [OutputType]
    public sealed class GetNexusSecurityRealmsResult
    {
        public readonly ImmutableArray<Outputs.GetNexusSecurityRealmsActiveResult> Actives;
        public readonly ImmutableArray<Outputs.GetNexusSecurityRealmsAvailableResult> Availables;
        public readonly string Id;

        [OutputConstructor]
        private GetNexusSecurityRealmsResult(
            ImmutableArray<Outputs.GetNexusSecurityRealmsActiveResult> actives,

            ImmutableArray<Outputs.GetNexusSecurityRealmsAvailableResult> availables,

            string id)
        {
            Actives = actives;
            Availables = availables;
            Id = id;
        }
    }
}
