koyeb v0.1.7 published on Wednesday, Nov 30, 2022 by Koyeb
koyeb.KoyebApp
Explore with Pulumi AI
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.
Constructor 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:
- Created
At string - The date and time of when the app was created
- Domains
List<Koyeb
App Domain> - The app domains
- Id string
- The provider-assigned unique ID for this managed resource.
- 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
[]Koyeb
App Domain - The app domains
- Id string
- The provider-assigned unique ID for this managed resource.
- 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<Koyeb
App Domain> - The app domains
- id String
- The provider-assigned unique ID for this managed resource.
- 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
Koyeb
App Domain[] - The app domains
- id string
- The provider-assigned unique ID for this managed resource.
- 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[Koyeb
App Domain] - 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
- created
At 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.
- organization
Id String - The organization ID owning the app
- updated
At 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.
- Created
At string - The date and time of when the app was created
- Domains
List<Koyeb
App Domain> - The app domains
- 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
[]Koyeb
App Domain Args - The app domains
- 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<Koyeb
App Domain> - The app domains
- 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
Koyeb
App Domain[] - The app domains
- 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[Koyeb
App Domain Args] - 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
- created
At String - The date and time of when the app was created
- domains List<Property Map>
- The app domains
- 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
KoyebAppDomain, KoyebAppDomainArgs
- Name string
- The app name
- 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
- 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
- Name string
- The app name
- 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
- 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
- name String
- The app name
- 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
- 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
- name string
- The app name
- 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
- 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
- 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
- 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
- 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
Package Details
- Repository
- koyeb koyeb/pulumi-koyeb
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
koyeb
Terraform Provider.