18 resources and 5 data sources mapped into the dokploy:index module, with SDKs generated for TypeScript, Python, Go and .NET.
49 lines
1.5 KiB
TypeScript
Generated
49 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 inputs from "./types/input";
|
|
import * as outputs from "./types/output";
|
|
import * as utilities from "./utilities";
|
|
|
|
export function getProject(args: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectResult> {
|
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
return pulumi.runtime.invoke("dokploy:index/getProject:getProject", {
|
|
"id": args.id,
|
|
}, opts);
|
|
}
|
|
|
|
/**
|
|
* A collection of arguments for invoking getProject.
|
|
*/
|
|
export interface GetProjectArgs {
|
|
id: string;
|
|
}
|
|
|
|
/**
|
|
* A collection of values returned by getProject.
|
|
*/
|
|
export interface GetProjectResult {
|
|
readonly createdAt: string;
|
|
readonly defaultEnvironmentId: string;
|
|
readonly description: string;
|
|
readonly env: string;
|
|
readonly environments: outputs.GetProjectEnvironment[];
|
|
readonly id: string;
|
|
readonly name: string;
|
|
readonly organizationId: string;
|
|
}
|
|
export function getProjectOutput(args: GetProjectOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProjectResult> {
|
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
return pulumi.runtime.invokeOutput("dokploy:index/getProject:getProject", {
|
|
"id": args.id,
|
|
}, opts);
|
|
}
|
|
|
|
/**
|
|
* A collection of arguments for invoking getProject.
|
|
*/
|
|
export interface GetProjectOutputArgs {
|
|
id: pulumi.Input<string>;
|
|
}
|