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:
45
sdk/nodejs/getEnvironment.ts
generated
Normal file
45
sdk/nodejs/getEnvironment.ts
generated
Normal file
@@ -0,0 +1,45 @@
|
||||
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as utilities from "./utilities";
|
||||
|
||||
export function getEnvironment(args: GetEnvironmentArgs, opts?: pulumi.InvokeOptions): Promise<GetEnvironmentResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invoke("dokploy:index/getEnvironment:getEnvironment", {
|
||||
"id": args.id,
|
||||
}, opts);
|
||||
}
|
||||
|
||||
/**
|
||||
* A collection of arguments for invoking getEnvironment.
|
||||
*/
|
||||
export interface GetEnvironmentArgs {
|
||||
id: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* A collection of values returned by getEnvironment.
|
||||
*/
|
||||
export interface GetEnvironmentResult {
|
||||
readonly createdAt: string;
|
||||
readonly description: string;
|
||||
readonly env: string;
|
||||
readonly id: string;
|
||||
readonly isDefault: boolean;
|
||||
readonly name: string;
|
||||
readonly projectId: string;
|
||||
}
|
||||
export function getEnvironmentOutput(args: GetEnvironmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEnvironmentResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invokeOutput("dokploy:index/getEnvironment:getEnvironment", {
|
||||
"id": args.id,
|
||||
}, opts);
|
||||
}
|
||||
|
||||
/**
|
||||
* A collection of arguments for invoking getEnvironment.
|
||||
*/
|
||||
export interface GetEnvironmentOutputArgs {
|
||||
id: pulumi.Input<string>;
|
||||
}
|
||||
Reference in New Issue
Block a user