// *** 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 GetServers
{
///
/// List the remote servers registered with Dokploy. Use a server's `Id` as the `ServerId` of an application, stack, or database to deploy it away from the Dokploy host.
///
public static Task InvokeAsync(InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("dokploy:index/getServers:getServers", InvokeArgs.Empty, options.WithDefaults());
///
/// List the remote servers registered with Dokploy. Use a server's `Id` as the `ServerId` of an application, stack, or database to deploy it away from the Dokploy host.
///
public static Output Invoke(InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke("dokploy:index/getServers:getServers", InvokeArgs.Empty, options.WithDefaults());
///
/// List the remote servers registered with Dokploy. Use a server's `Id` as the `ServerId` of an application, stack, or database to deploy it away from the Dokploy host.
///
public static Output Invoke(InvokeOutputOptions options)
=> global::Pulumi.Deployment.Instance.Invoke("dokploy:index/getServers:getServers", InvokeArgs.Empty, options.WithDefaults());
}
[OutputType]
public sealed class GetServersResult
{
///
/// All registered servers.
///
public readonly ImmutableArray Servers;
[OutputConstructor]
private GetServersResult(ImmutableArray servers)
{
Servers = servers;
}
}
}