<reponame>pierskarsenbarg/pulumi-nutanix// *** 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 GetFoundationCentralApiKeys
    {
        public static Task<GetFoundationCentralApiKeysResult> InvokeAsync(GetFoundationCentralApiKeysArgs args, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetFoundationCentralApiKeysResult>("nutanix:index/getFoundationCentralApiKeys:getFoundationCentralApiKeys", args ?? new GetFoundationCentralApiKeysArgs(), options.WithDefaults());

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


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

        public GetFoundationCentralApiKeysArgs()
        {
        }
    }

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

        public GetFoundationCentralApiKeysInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class GetFoundationCentralApiKeysResult
    {
        public readonly string Alias;
        public readonly string ApiKey;
        public readonly string CreatedTimestamp;
        public readonly string CurrentTime;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly string KeyUuid;

        [OutputConstructor]
        private GetFoundationCentralApiKeysResult(
            string alias,

            string apiKey,

            string createdTimestamp,

            string currentTime,

            string id,

            string keyUuid)
        {
            Alias = alias;
            ApiKey = apiKey;
            CreatedTimestamp = createdTimestamp;
            CurrentTime = currentTime;
            Id = id;
            KeyUuid = keyUuid;
        }
    }
}
