18 resources and 5 data sources mapped into the dokploy:index module, with SDKs generated for TypeScript, Python, Go and .NET.
46 lines
1.5 KiB
TypeScript
Generated
46 lines
1.5 KiB
TypeScript
Generated
// *** 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>;
|
|
}
|