Six new resources from terraform-provider-dokploy v0.2.0 -- Network, DnsProvider, VaultProvider, Schedule, VolumeBackup and Libsql -- plus the new properties on Domain (`enabled`), Compose (`serviceNetworks`, `createEnvFile`, `icon`) and Application. Verified with `pulumi up` against a live v0.30.2 instance: create, preview-clean, and destroy. The upstream provider also now refuses a volume Mount with no `volumeName`, which Dokploy would otherwise turn into an anonymous Docker volume recreated on every deploy. That surfaces here at preview time, before anything exists. Two things made that fix nearly invisible to Pulumi users, so this commit fixes the second one: the bridge resolves the upstream `docs/` through the Go module cache, where a locally `replace`d dependency never lands, so tfgen was emitting every resource with no description at all. UpstreamRepoPath now points at the checkout and all 445 inputs carry documentation -- with names rendered per language, so Python readers see `volume_name` where TypeScript readers see `volumeName`.
136 lines
4.2 KiB
C#
Generated
136 lines
4.2 KiB
C#
Generated
// *** 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 GetApplication
|
|
{
|
|
/// <summary>
|
|
/// Look up an existing application by ID.
|
|
/// </summary>
|
|
public static Task<GetApplicationResult> InvokeAsync(GetApplicationArgs args, InvokeOptions? options = null)
|
|
=> global::Pulumi.Deployment.Instance.InvokeAsync<GetApplicationResult>("dokploy:index/getApplication:getApplication", args ?? new GetApplicationArgs(), options.WithDefaults());
|
|
|
|
/// <summary>
|
|
/// Look up an existing application by ID.
|
|
/// </summary>
|
|
public static Output<GetApplicationResult> Invoke(GetApplicationInvokeArgs args, InvokeOptions? options = null)
|
|
=> global::Pulumi.Deployment.Instance.Invoke<GetApplicationResult>("dokploy:index/getApplication:getApplication", args ?? new GetApplicationInvokeArgs(), options.WithDefaults());
|
|
|
|
/// <summary>
|
|
/// Look up an existing application by ID.
|
|
/// </summary>
|
|
public static Output<GetApplicationResult> Invoke(GetApplicationInvokeArgs args, InvokeOutputOptions options)
|
|
=> global::Pulumi.Deployment.Instance.Invoke<GetApplicationResult>("dokploy:index/getApplication:getApplication", args ?? new GetApplicationInvokeArgs(), options.WithDefaults());
|
|
}
|
|
|
|
|
|
public sealed class GetApplicationArgs : global::Pulumi.InvokeArgs
|
|
{
|
|
/// <summary>
|
|
/// Application identifier.
|
|
/// </summary>
|
|
[Input("id", required: true)]
|
|
public string Id { get; set; } = null!;
|
|
|
|
public GetApplicationArgs()
|
|
{
|
|
}
|
|
public static new GetApplicationArgs Empty => new GetApplicationArgs();
|
|
}
|
|
|
|
public sealed class GetApplicationInvokeArgs : global::Pulumi.InvokeArgs
|
|
{
|
|
/// <summary>
|
|
/// Application identifier.
|
|
/// </summary>
|
|
[Input("id", required: true)]
|
|
public Input<string> Id { get; set; } = null!;
|
|
|
|
public GetApplicationInvokeArgs()
|
|
{
|
|
}
|
|
public static new GetApplicationInvokeArgs Empty => new GetApplicationInvokeArgs();
|
|
}
|
|
|
|
|
|
[OutputType]
|
|
public sealed class GetApplicationResult
|
|
{
|
|
/// <summary>
|
|
/// Docker service name.
|
|
/// </summary>
|
|
public readonly string AppName;
|
|
/// <summary>
|
|
/// Current status.
|
|
/// </summary>
|
|
public readonly string ApplicationStatus;
|
|
/// <summary>
|
|
/// Build strategy.
|
|
/// </summary>
|
|
public readonly string BuildType;
|
|
/// <summary>
|
|
/// Creation timestamp.
|
|
/// </summary>
|
|
public readonly string CreatedAt;
|
|
/// <summary>
|
|
/// Application description.
|
|
/// </summary>
|
|
public readonly string Description;
|
|
/// <summary>
|
|
/// Owning environment.
|
|
/// </summary>
|
|
public readonly string EnvironmentId;
|
|
/// <summary>
|
|
/// Application identifier.
|
|
/// </summary>
|
|
public readonly string Id;
|
|
/// <summary>
|
|
/// Application name.
|
|
/// </summary>
|
|
public readonly string Name;
|
|
/// <summary>
|
|
/// Source of the code or image.
|
|
/// </summary>
|
|
public readonly string SourceType;
|
|
|
|
[OutputConstructor]
|
|
private GetApplicationResult(
|
|
string appName,
|
|
|
|
string applicationStatus,
|
|
|
|
string buildType,
|
|
|
|
string createdAt,
|
|
|
|
string description,
|
|
|
|
string environmentId,
|
|
|
|
string id,
|
|
|
|
string name,
|
|
|
|
string sourceType)
|
|
{
|
|
AppName = appName;
|
|
ApplicationStatus = applicationStatus;
|
|
BuildType = buildType;
|
|
CreatedAt = createdAt;
|
|
Description = description;
|
|
EnvironmentId = environmentId;
|
|
Id = id;
|
|
Name = name;
|
|
SourceType = sourceType;
|
|
}
|
|
}
|
|
}
|