Bridge terraform-provider-dokploy into a Pulumi provider
18 resources and 5 data sources mapped into the dokploy:index module, with SDKs generated for TypeScript, Python, Go and .NET.
This commit is contained in:
85
sdk/dotnet/GetEnvironment.cs
generated
Normal file
85
sdk/dotnet/GetEnvironment.cs
generated
Normal file
@@ -0,0 +1,85 @@
|
||||
// *** 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 GetEnvironment
|
||||
{
|
||||
public static Task<GetEnvironmentResult> InvokeAsync(GetEnvironmentArgs args, InvokeOptions? options = null)
|
||||
=> global::Pulumi.Deployment.Instance.InvokeAsync<GetEnvironmentResult>("dokploy:index/getEnvironment:getEnvironment", args ?? new GetEnvironmentArgs(), options.WithDefaults());
|
||||
|
||||
public static Output<GetEnvironmentResult> Invoke(GetEnvironmentInvokeArgs args, InvokeOptions? options = null)
|
||||
=> global::Pulumi.Deployment.Instance.Invoke<GetEnvironmentResult>("dokploy:index/getEnvironment:getEnvironment", args ?? new GetEnvironmentInvokeArgs(), options.WithDefaults());
|
||||
|
||||
public static Output<GetEnvironmentResult> Invoke(GetEnvironmentInvokeArgs args, InvokeOutputOptions options)
|
||||
=> global::Pulumi.Deployment.Instance.Invoke<GetEnvironmentResult>("dokploy:index/getEnvironment:getEnvironment", args ?? new GetEnvironmentInvokeArgs(), options.WithDefaults());
|
||||
}
|
||||
|
||||
|
||||
public sealed class GetEnvironmentArgs : global::Pulumi.InvokeArgs
|
||||
{
|
||||
[Input("id", required: true)]
|
||||
public string Id { get; set; } = null!;
|
||||
|
||||
public GetEnvironmentArgs()
|
||||
{
|
||||
}
|
||||
public static new GetEnvironmentArgs Empty => new GetEnvironmentArgs();
|
||||
}
|
||||
|
||||
public sealed class GetEnvironmentInvokeArgs : global::Pulumi.InvokeArgs
|
||||
{
|
||||
[Input("id", required: true)]
|
||||
public Input<string> Id { get; set; } = null!;
|
||||
|
||||
public GetEnvironmentInvokeArgs()
|
||||
{
|
||||
}
|
||||
public static new GetEnvironmentInvokeArgs Empty => new GetEnvironmentInvokeArgs();
|
||||
}
|
||||
|
||||
|
||||
[OutputType]
|
||||
public sealed class GetEnvironmentResult
|
||||
{
|
||||
public readonly string CreatedAt;
|
||||
public readonly string Description;
|
||||
public readonly string Env;
|
||||
public readonly string Id;
|
||||
public readonly bool IsDefault;
|
||||
public readonly string Name;
|
||||
public readonly string ProjectId;
|
||||
|
||||
[OutputConstructor]
|
||||
private GetEnvironmentResult(
|
||||
string createdAt,
|
||||
|
||||
string description,
|
||||
|
||||
string env,
|
||||
|
||||
string id,
|
||||
|
||||
bool isDefault,
|
||||
|
||||
string name,
|
||||
|
||||
string projectId)
|
||||
{
|
||||
CreatedAt = createdAt;
|
||||
Description = description;
|
||||
Env = env;
|
||||
Id = id;
|
||||
IsDefault = isDefault;
|
||||
Name = name;
|
||||
ProjectId = projectId;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user