18 resources and 5 data sources mapped into the dokploy:index module, with SDKs generated for TypeScript, Python, Go and .NET.
90 lines
2.9 KiB
C#
Generated
90 lines
2.9 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 GetProject
|
|
{
|
|
public static Task<GetProjectResult> InvokeAsync(GetProjectArgs args, InvokeOptions? options = null)
|
|
=> global::Pulumi.Deployment.Instance.InvokeAsync<GetProjectResult>("dokploy:index/getProject:getProject", args ?? new GetProjectArgs(), options.WithDefaults());
|
|
|
|
public static Output<GetProjectResult> Invoke(GetProjectInvokeArgs args, InvokeOptions? options = null)
|
|
=> global::Pulumi.Deployment.Instance.Invoke<GetProjectResult>("dokploy:index/getProject:getProject", args ?? new GetProjectInvokeArgs(), options.WithDefaults());
|
|
|
|
public static Output<GetProjectResult> Invoke(GetProjectInvokeArgs args, InvokeOutputOptions options)
|
|
=> global::Pulumi.Deployment.Instance.Invoke<GetProjectResult>("dokploy:index/getProject:getProject", args ?? new GetProjectInvokeArgs(), options.WithDefaults());
|
|
}
|
|
|
|
|
|
public sealed class GetProjectArgs : global::Pulumi.InvokeArgs
|
|
{
|
|
[Input("id", required: true)]
|
|
public string Id { get; set; } = null!;
|
|
|
|
public GetProjectArgs()
|
|
{
|
|
}
|
|
public static new GetProjectArgs Empty => new GetProjectArgs();
|
|
}
|
|
|
|
public sealed class GetProjectInvokeArgs : global::Pulumi.InvokeArgs
|
|
{
|
|
[Input("id", required: true)]
|
|
public Input<string> Id { get; set; } = null!;
|
|
|
|
public GetProjectInvokeArgs()
|
|
{
|
|
}
|
|
public static new GetProjectInvokeArgs Empty => new GetProjectInvokeArgs();
|
|
}
|
|
|
|
|
|
[OutputType]
|
|
public sealed class GetProjectResult
|
|
{
|
|
public readonly string CreatedAt;
|
|
public readonly string DefaultEnvironmentId;
|
|
public readonly string Description;
|
|
public readonly string Env;
|
|
public readonly ImmutableArray<Outputs.GetProjectEnvironmentResult> Environments;
|
|
public readonly string Id;
|
|
public readonly string Name;
|
|
public readonly string OrganizationId;
|
|
|
|
[OutputConstructor]
|
|
private GetProjectResult(
|
|
string createdAt,
|
|
|
|
string defaultEnvironmentId,
|
|
|
|
string description,
|
|
|
|
string env,
|
|
|
|
ImmutableArray<Outputs.GetProjectEnvironmentResult> environments,
|
|
|
|
string id,
|
|
|
|
string name,
|
|
|
|
string organizationId)
|
|
{
|
|
CreatedAt = createdAt;
|
|
DefaultEnvironmentId = defaultEnvironmentId;
|
|
Description = description;
|
|
Env = env;
|
|
Environments = environments;
|
|
Id = id;
|
|
Name = name;
|
|
OrganizationId = organizationId;
|
|
}
|
|
}
|
|
}
|