// *** 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 GetFoundationCentralListApiKeys
    {
        public static Task<GetFoundationCentralListApiKeysResult> InvokeAsync(GetFoundationCentralListApiKeysArgs? args = null, InvokeOptions? options = null)
            => Pulumi.Deployment.Instance.InvokeAsync<GetFoundationCentralListApiKeysResult>("nutanix:index/getFoundationCentralListApiKeys:getFoundationCentralListApiKeys", args ?? new GetFoundationCentralListApiKeysArgs(), options.WithDefaults());

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


    public sealed class GetFoundationCentralListApiKeysArgs : Pulumi.InvokeArgs
    {
        [Input("length")]
        public int? Length { get; set; }

        [Input("metadata")]
        public Inputs.GetFoundationCentralListApiKeysMetadataArgs? Metadata { get; set; }

        [Input("offset")]
        public int? Offset { get; set; }

        public GetFoundationCentralListApiKeysArgs()
        {
        }
    }

    public sealed class GetFoundationCentralListApiKeysInvokeArgs : Pulumi.InvokeArgs
    {
        [Input("length")]
        public Input<int>? Length { get; set; }

        [Input("metadata")]
        public Input<Inputs.GetFoundationCentralListApiKeysMetadataInputArgs>? Metadata { get; set; }

        [Input("offset")]
        public Input<int>? Offset { get; set; }

        public GetFoundationCentralListApiKeysInvokeArgs()
        {
        }
    }


    [OutputType]
    public sealed class GetFoundationCentralListApiKeysResult
    {
        public readonly ImmutableArray<Outputs.GetFoundationCentralListApiKeysApiKeyResult> ApiKeys;
        /// <summary>
        /// The provider-assigned unique ID for this managed resource.
        /// </summary>
        public readonly string Id;
        public readonly int? Length;
        public readonly Outputs.GetFoundationCentralListApiKeysMetadataResult? Metadata;
        public readonly int? Offset;

        [OutputConstructor]
        private GetFoundationCentralListApiKeysResult(
            ImmutableArray<Outputs.GetFoundationCentralListApiKeysApiKeyResult> apiKeys,

            string id,

            int? length,

            Outputs.GetFoundationCentralListApiKeysMetadataResult? metadata,

            int? offset)
        {
            ApiKeys = apiKeys;
            Id = id;
            Length = length;
            Metadata = metadata;
            Offset = offset;
        }
    }
}
