18 resources and 5 data sources mapped into the dokploy:index module, with SDKs generated for TypeScript, Python, Go and .NET.
94 lines
3.0 KiB
C#
Generated
94 lines
3.0 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
|
|
{
|
|
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());
|
|
|
|
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());
|
|
|
|
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
|
|
{
|
|
[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
|
|
{
|
|
[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
|
|
{
|
|
public readonly string AppName;
|
|
public readonly string ApplicationStatus;
|
|
public readonly string BuildType;
|
|
public readonly string CreatedAt;
|
|
public readonly string Description;
|
|
public readonly string EnvironmentId;
|
|
public readonly string Id;
|
|
public readonly string Name;
|
|
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;
|
|
}
|
|
}
|
|
}
|