18 resources and 5 data sources mapped into the dokploy:index module, with SDKs generated for TypeScript, Python, Go and .NET.
48 lines
1.5 KiB
TypeScript
Generated
48 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 getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise<GetApplicationResult> {
|
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
return pulumi.runtime.invoke("dokploy:index/getApplication:getApplication", {
|
|
"id": args.id,
|
|
}, opts);
|
|
}
|
|
|
|
/**
|
|
* A collection of arguments for invoking getApplication.
|
|
*/
|
|
export interface GetApplicationArgs {
|
|
id: string;
|
|
}
|
|
|
|
/**
|
|
* A collection of values returned by getApplication.
|
|
*/
|
|
export interface GetApplicationResult {
|
|
readonly appName: string;
|
|
readonly applicationStatus: string;
|
|
readonly buildType: string;
|
|
readonly createdAt: string;
|
|
readonly description: string;
|
|
readonly environmentId: string;
|
|
readonly id: string;
|
|
readonly name: string;
|
|
readonly sourceType: string;
|
|
}
|
|
export function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetApplicationResult> {
|
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
return pulumi.runtime.invokeOutput("dokploy:index/getApplication:getApplication", {
|
|
"id": args.id,
|
|
}, opts);
|
|
}
|
|
|
|
/**
|
|
* A collection of arguments for invoking getApplication.
|
|
*/
|
|
export interface GetApplicationOutputArgs {
|
|
id: pulumi.Input<string>;
|
|
}
|