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:
47
sdk/nodejs/getApplication.ts
generated
Normal file
47
sdk/nodejs/getApplication.ts
generated
Normal file
@@ -0,0 +1,47 @@
|
||||
// *** 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>;
|
||||
}
|
||||
Reference in New Issue
Block a user