1. Packages
  2. Koyeb
  3. API Docs
  4. KoyebApp
koyeb v0.1.7 published on Wednesday, Nov 30, 2022 by Koyeb

koyeb.KoyebApp

Explore with Pulumi AI

koyeb logo
koyeb v0.1.7 published on Wednesday, Nov 30, 2022 by Koyeb

    Example Usage

    using System.Collections.Generic;
    using Pulumi;
    using Koyeb = Pulumi.Koyeb;
    
    return await Deployment.RunAsync(() => 
    {
        var my_app = new Koyeb.KoyebApp("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.NewKoyebApp(ctx, "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.KoyebApp;
    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) {
            var my_app = new KoyebApp("my-app");
    
        }
    }
    
    import pulumi
    import pulumi_koyeb as koyeb
    
    my_app = koyeb.KoyebApp("my-app")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as koyeb from "@pulumi/koyeb";
    
    const my_app = new koyeb.KoyebApp("my-app", {});
    
    resources:
      my-app:
        type: koyeb:KoyebApp
    

    Create KoyebApp Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new KoyebApp(name: string, args?: KoyebAppArgs, opts?: CustomResourceOptions);
    @overload
    def KoyebApp(resource_name: str,
                 args: Optional[KoyebAppArgs] = None,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def KoyebApp(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 name: Optional[str] = None)
    func NewKoyebApp(ctx *Context, name string, args *KoyebAppArgs, opts ...ResourceOption) (*KoyebApp, error)
    public KoyebApp(string name, KoyebAppArgs? args = null, CustomResourceOptions? opts = null)
    public KoyebApp(String name, KoyebAppArgs args)
    public KoyebApp(String name, KoyebAppArgs args, CustomResourceOptions options)
    
    type: koyeb:KoyebApp
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args KoyebAppArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args KoyebAppArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args KoyebAppArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args KoyebAppArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args KoyebAppArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var koyebAppResource = new Koyeb.KoyebApp("koyebAppResource", new()
    {
        Name = "string",
    });
    
    example, err := koyeb.NewKoyebApp(ctx, "koyebAppResource", &koyeb.KoyebAppArgs{
    	Name: pulumi.String("string"),
    })
    
    var koyebAppResource = new KoyebApp("koyebAppResource", KoyebAppArgs.builder()        
        .name("string")
        .build());
    
    koyeb_app_resource = koyeb.KoyebApp("koyebAppResource", name="string")
    
    const koyebAppResource = new koyeb.KoyebApp("koyebAppResource", {name: "string"});
    
    type: koyeb:KoyebApp
    properties:
        name: string
    

    KoyebApp Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The KoyebApp resource accepts the following input properties:

    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

    Outputs

    All input properties are implicitly available as output properties. Additionally, the KoyebApp resource produces the following output properties:

    CreatedAt string
    The date and time of when the app was created
    Domains List<KoyebAppDomain>
    The app domains
    Id string
    The provider-assigned unique ID for this managed resource.
    OrganizationId string
    The organization ID owning the app
    UpdatedAt string
    The date and time of when the app was last updated
    CreatedAt string
    The date and time of when the app was created
    Domains []KoyebAppDomain
    The app domains
    Id string
    The provider-assigned unique ID for this managed resource.
    OrganizationId string
    The organization ID owning the app
    UpdatedAt string
    The date and time of when the app was last updated
    createdAt String
    The date and time of when the app was created
    domains List<KoyebAppDomain>
    The app domains
    id String
    The provider-assigned unique ID for this managed resource.
    organizationId String
    The organization ID owning the app
    updatedAt String
    The date and time of when the app was last updated
    createdAt string
    The date and time of when the app was created
    domains KoyebAppDomain[]
    The app domains
    id string
    The provider-assigned unique ID for this managed resource.
    organizationId string
    The organization ID owning the app
    updatedAt 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[KoyebAppDomain]
    The app domains
    id str
    The provider-assigned unique ID for this managed resource.
    organization_id str
    The organization ID owning the app
    updated_at str
    The date and time of when the app was last updated
    createdAt String
    The date and time of when the app was created
    domains List<Property Map>
    The app domains
    id String
    The provider-assigned unique ID for this managed resource.
    organizationId String
    The organization ID owning the app
    updatedAt String
    The date and time of when the app was last updated

    Look up Existing KoyebApp Resource

    Get an existing KoyebApp resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: KoyebAppState, opts?: CustomResourceOptions): KoyebApp
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            domains: Optional[Sequence[KoyebAppDomainArgs]] = None,
            name: Optional[str] = None,
            organization_id: Optional[str] = None,
            updated_at: Optional[str] = None) -> KoyebApp
    func GetKoyebApp(ctx *Context, name string, id IDInput, state *KoyebAppState, opts ...ResourceOption) (*KoyebApp, error)
    public static KoyebApp Get(string name, Input<string> id, KoyebAppState? state, CustomResourceOptions? opts = null)
    public static KoyebApp get(String name, Output<String> id, KoyebAppState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreatedAt string
    The date and time of when the app was created
    Domains List<KoyebAppDomain>
    The app domains
    Name string
    The app name
    OrganizationId string
    The organization ID owning the app
    UpdatedAt string
    The date and time of when the app was last updated
    CreatedAt string
    The date and time of when the app was created
    Domains []KoyebAppDomainArgs
    The app domains
    Name string
    The app name
    OrganizationId string
    The organization ID owning the app
    UpdatedAt string
    The date and time of when the app was last updated
    createdAt String
    The date and time of when the app was created
    domains List<KoyebAppDomain>
    The app domains
    name String
    The app name
    organizationId String
    The organization ID owning the app
    updatedAt String
    The date and time of when the app was last updated
    createdAt string
    The date and time of when the app was created
    domains KoyebAppDomain[]
    The app domains
    name string
    The app name
    organizationId string
    The organization ID owning the app
    updatedAt 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[KoyebAppDomainArgs]
    The app domains
    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
    createdAt String
    The date and time of when the app was created
    domains List<Property Map>
    The app domains
    name String
    The app name
    organizationId String
    The organization ID owning the app
    updatedAt String
    The date and time of when the app was last updated

    Supporting Types

    KoyebAppDomain, KoyebAppDomainArgs

    Name string
    The app name
    AppName string
    CreatedAt string
    The date and time of when the app was created
    DeploymentGroup string
    Id string
    The app ID
    IntendedCname string
    Messages string
    OrganizationId string
    The organization ID owning the app
    Status string
    Type string
    UpdatedAt string
    The date and time of when the app was last updated
    VerifiedAt string
    Version string
    Name string
    The app name
    AppName string
    CreatedAt string
    The date and time of when the app was created
    DeploymentGroup string
    Id string
    The app ID
    IntendedCname string
    Messages string
    OrganizationId string
    The organization ID owning the app
    Status string
    Type string
    UpdatedAt string
    The date and time of when the app was last updated
    VerifiedAt string
    Version string
    name String
    The app name
    appName String
    createdAt String
    The date and time of when the app was created
    deploymentGroup String
    id String
    The app ID
    intendedCname String
    messages String
    organizationId String
    The organization ID owning the app
    status String
    type String
    updatedAt String
    The date and time of when the app was last updated
    verifiedAt String
    version String
    name string
    The app name
    appName string
    createdAt string
    The date and time of when the app was created
    deploymentGroup string
    id string
    The app ID
    intendedCname string
    messages string
    organizationId string
    The organization ID owning the app
    status string
    type string
    updatedAt string
    The date and time of when the app was last updated
    verifiedAt string
    version string
    name str
    The app name
    app_name str
    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
    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
    name String
    The app name
    appName String
    createdAt String
    The date and time of when the app was created
    deploymentGroup String
    id String
    The app ID
    intendedCname String
    messages String
    organizationId String
    The organization ID owning the app
    status String
    type String
    updatedAt String
    The date and time of when the app was last updated
    verifiedAt String
    version String

    Package Details

    Repository
    koyeb koyeb/pulumi-koyeb
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the koyeb Terraform Provider.
    koyeb logo
    koyeb v0.1.7 published on Wednesday, Nov 30, 2022 by Koyeb