// *** 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"; /** * Look up an existing application by ID. */ export function getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise { 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 { /** * Application identifier. */ id: string; } /** * A collection of values returned by getApplication. */ export interface GetApplicationResult { /** * Docker service name. */ readonly appName: string; /** * Current status. */ readonly applicationStatus: string; /** * Build strategy. */ readonly buildType: string; /** * Creation timestamp. */ readonly createdAt: string; /** * Application description. */ readonly description: string; /** * Owning environment. */ readonly environmentId: string; /** * Application identifier. */ readonly id: string; /** * Application name. */ readonly name: string; /** * Source of the code or image. */ readonly sourceType: string; } /** * Look up an existing application by ID. */ export function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { 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 { /** * Application identifier. */ id: pulumi.Input; }