// *** WARNING: this file was generated by pulumi-language-dotnet. *** // *** 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 Maxvojtkov.Dokploy { public static class GetProjects { /// /// List every Dokploy project the API token can see. /// public static Task InvokeAsync(InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("dokploy:index/getProjects:getProjects", InvokeArgs.Empty, options.WithDefaults()); /// /// List every Dokploy project the API token can see. /// public static Output Invoke(InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("dokploy:index/getProjects:getProjects", InvokeArgs.Empty, options.WithDefaults()); /// /// List every Dokploy project the API token can see. /// public static Output Invoke(InvokeOutputOptions options) => global::Pulumi.Deployment.Instance.Invoke("dokploy:index/getProjects:getProjects", InvokeArgs.Empty, options.WithDefaults()); } [OutputType] public sealed class GetProjectsResult { /// /// All visible projects. /// public readonly ImmutableArray Projects; [OutputConstructor] private GetProjectsResult(ImmutableArray projects) { Projects = projects; } } }