koyeb v0.1.7 published on Wednesday, Nov 30, 2022 by Koyeb
koyeb.getApp
Explore with Pulumi AI
Example Usage
using System.Collections.Generic;
using Pulumi;
using Koyeb = Pulumi.Koyeb;
return await Deployment.RunAsync(() =>
{
var my_app = Koyeb.GetApp.Invoke(new()
{
Name = "my-app",
});
});
package main
import (
"github.com/pulumi/pulumi-koyeb/sdk/go/koyeb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := koyeb.GetApp(ctx, &GetAppArgs{
Name: "my-app",
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.koyeb.KoyebFunctions;
import com.pulumi.koyeb.inputs.GetAppArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var my-app = KoyebFunctions.getApp(GetAppArgs.builder()
.name("my-app")
.build());
}
}
import pulumi
import pulumi_koyeb as koyeb
my_app = koyeb.get_app(name="my-app")
import * as pulumi from "@pulumi/pulumi";
import * as koyeb from "@pulumi/koyeb";
const my_app = pulumi.output(koyeb.getApp({
name: "my-app",
}));
variables:
my-app:
Fn::Invoke:
Function: koyeb:getApp
Arguments:
name: my-app
Using getApp
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getApp(args: GetAppArgs, opts?: InvokeOptions): Promise<GetAppResult>
function getAppOutput(args: GetAppOutputArgs, opts?: InvokeOptions): Output<GetAppResult>
def get_app(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAppResult
def get_app_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAppResult]
func GetApp(ctx *Context, args *GetAppArgs, opts ...InvokeOption) (*GetAppResult, error)
func GetAppOutput(ctx *Context, args *GetAppOutputArgs, opts ...InvokeOption) GetAppResultOutput
> Note: This function is named GetApp
in the Go SDK.
public static class GetApp
{
public static Task<GetAppResult> InvokeAsync(GetAppArgs args, InvokeOptions? opts = null)
public static Output<GetAppResult> Invoke(GetAppInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAppResult> getApp(GetAppArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: koyeb:index/getApp:getApp
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The app name
- Name string
- The app name
- name String
- The app name
- name string
- The app name
- name str
- The app name
- name String
- The app name
getApp Result
The following output properties are available:
- Created
At string - The date and time of when the app was created
- Domains
List<Get
App Domain> - The app domains
- Id string
- The app ID
- Name string
- The app name
- Organization
Id string - The organization ID owning the app
- Updated
At string - The date and time of when the app was last updated
- Created
At string - The date and time of when the app was created
- Domains
[]Get
App Domain - The app domains
- Id string
- The app ID
- Name string
- The app name
- Organization
Id string - The organization ID owning the app
- Updated
At string - The date and time of when the app was last updated
- created
At String - The date and time of when the app was created
- domains
List<Get
App Domain> - The app domains
- id String
- The app ID
- name String
- The app name
- organization
Id String - The organization ID owning the app
- updated
At String - The date and time of when the app was last updated
- created
At string - The date and time of when the app was created
- domains
Get
App Domain[] - The app domains
- id string
- The app ID
- name string
- The app name
- organization
Id string - The organization ID owning the app
- updated
At string - The date and time of when the app was last updated
- created_
at str - The date and time of when the app was created
- domains
Sequence[Get
App Domain] - The app domains
- id str
- The app ID
- name str
- The app name
- organization_
id str - The organization ID owning the app
- updated_
at str - The date and time of when the app was last updated
- created
At String - The date and time of when the app was created
- domains List<Property Map>
- The app domains
- id String
- The app ID
- name String
- The app name
- organization
Id String - The organization ID owning the app
- updated
At String - The date and time of when the app was last updated
Supporting Types
GetAppDomain
- Created
At string - The date and time of when the app was created
- Deployment
Group string - Id string
- The app ID
- Intended
Cname string - Messages string
- Name string
- The app name
- Organization
Id string - The organization ID owning the app
- Status string
- Type string
- Updated
At string - The date and time of when the app was last updated
- Verified
At string - Version string
- App
Name string
- Created
At string - The date and time of when the app was created
- Deployment
Group string - Id string
- The app ID
- Intended
Cname string - Messages string
- Name string
- The app name
- Organization
Id string - The organization ID owning the app
- Status string
- Type string
- Updated
At string - The date and time of when the app was last updated
- Verified
At string - Version string
- App
Name string
- created
At String - The date and time of when the app was created
- deployment
Group String - id String
- The app ID
- intended
Cname String - messages String
- name String
- The app name
- organization
Id String - The organization ID owning the app
- status String
- type String
- updated
At String - The date and time of when the app was last updated
- verified
At String - version String
- app
Name String
- created
At string - The date and time of when the app was created
- deployment
Group string - id string
- The app ID
- intended
Cname string - messages string
- name string
- The app name
- organization
Id string - The organization ID owning the app
- status string
- type string
- updated
At string - The date and time of when the app was last updated
- verified
At string - version string
- app
Name string
- created_
at str - The date and time of when the app was created
- deployment_
group str - id str
- The app ID
- intended_
cname str - messages str
- name str
- The app name
- organization_
id str - The organization ID owning the app
- status str
- type str
- updated_
at str - The date and time of when the app was last updated
- verified_
at str - version str
- app_
name str
- created
At String - The date and time of when the app was created
- deployment
Group String - id String
- The app ID
- intended
Cname String - messages String
- name String
- The app name
- organization
Id String - The organization ID owning the app
- status String
- type String
- updated
At String - The date and time of when the app was last updated
- verified
At String - version String
- app
Name String
Package Details
- Repository
- koyeb koyeb/pulumi-koyeb
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
koyeb
Terraform Provider.