koyeb v0.1.7 published on Wednesday, Nov 30, 2022 by Koyeb
koyeb.KoyebService
Explore with Pulumi AI
Example Usage
using System.Collections.Generic;
using Pulumi;
using Koyeb = Pulumi.Koyeb;
return await Deployment.RunAsync(() =>
{
var my_service = new Koyeb.KoyebService("my-service", new()
{
AppName = koyeb_app.My_app.Name,
Definition = new Koyeb.Inputs.KoyebServiceDefinitionArgs
{
Name = "my-service",
InstanceTypes = new Koyeb.Inputs.KoyebServiceDefinitionInstanceTypesArgs
{
Type = "micro",
},
Ports = new[]
{
new Koyeb.Inputs.KoyebServiceDefinitionPortArgs
{
Port = 3000,
Protocol = "http",
},
},
Scalings = new Koyeb.Inputs.KoyebServiceDefinitionScalingsArgs
{
Min = 1,
Max = 1,
},
Envs = new[]
{
new Koyeb.Inputs.KoyebServiceDefinitionEnvArgs
{
Key = "FOO",
Value = "BAR",
},
},
Routes = new[]
{
new Koyeb.Inputs.KoyebServiceDefinitionRouteArgs
{
Path = "/",
Port = 3000,
},
},
Regions = new[]
{
"par",
},
Docker = new Koyeb.Inputs.KoyebServiceDefinitionDockerArgs
{
Image = "koyeb/demo",
},
},
}, new CustomResourceOptions
{
DependsOn = new[]
{
koyeb_app.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.NewKoyebService(ctx, "my-service", &koyeb.KoyebServiceArgs{
AppName: pulumi.Any(koyeb_app.My_app.Name),
Definition: &KoyebServiceDefinitionArgs{
Name: pulumi.String("my-service"),
InstanceTypes: &KoyebServiceDefinitionInstanceTypesArgs{
Type: pulumi.String("micro"),
},
Ports: KoyebServiceDefinitionPortArray{
&KoyebServiceDefinitionPortArgs{
Port: pulumi.Int(3000),
Protocol: pulumi.String("http"),
},
},
Scalings: &KoyebServiceDefinitionScalingsArgs{
Min: pulumi.Int(1),
Max: pulumi.Int(1),
},
Envs: KoyebServiceDefinitionEnvArray{
&KoyebServiceDefinitionEnvArgs{
Key: pulumi.String("FOO"),
Value: pulumi.String("BAR"),
},
},
Routes: KoyebServiceDefinitionRouteArray{
&KoyebServiceDefinitionRouteArgs{
Path: pulumi.String("/"),
Port: pulumi.Int(3000),
},
},
Regions: pulumi.StringArray{
pulumi.String("par"),
},
Docker: &KoyebServiceDefinitionDockerArgs{
Image: pulumi.String("koyeb/demo"),
},
},
}, pulumi.DependsOn([]pulumi.Resource{
koyeb_app.My - app,
}))
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.KoyebService;
import com.pulumi.koyeb.KoyebServiceArgs;
import com.pulumi.koyeb.inputs.KoyebServiceDefinitionArgs;
import com.pulumi.koyeb.inputs.KoyebServiceDefinitionInstanceTypesArgs;
import com.pulumi.koyeb.inputs.KoyebServiceDefinitionScalingsArgs;
import com.pulumi.koyeb.inputs.KoyebServiceDefinitionDockerArgs;
import com.pulumi.resources.CustomResourceOptions;
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_service = new KoyebService("my-service", KoyebServiceArgs.builder()
.appName(koyeb_app.my_app().name())
.definition(KoyebServiceDefinitionArgs.builder()
.name("my-service")
.instanceTypes(KoyebServiceDefinitionInstanceTypesArgs.builder()
.type("micro")
.build())
.ports(KoyebServiceDefinitionPortArgs.builder()
.port(3000)
.protocol("http")
.build())
.scalings(KoyebServiceDefinitionScalingsArgs.builder()
.min(1)
.max(1)
.build())
.envs(KoyebServiceDefinitionEnvArgs.builder()
.key("FOO")
.value("BAR")
.build())
.routes(KoyebServiceDefinitionRouteArgs.builder()
.path("/")
.port(3000)
.build())
.regions("par")
.docker(KoyebServiceDefinitionDockerArgs.builder()
.image("koyeb/demo")
.build())
.build())
.build(), CustomResourceOptions.builder()
.dependsOn(koyeb_app.my-app())
.build());
}
}
import pulumi
import pulumi_koyeb as koyeb
my_service = koyeb.KoyebService("my-service",
app_name=koyeb_app["my_app"]["name"],
definition=koyeb.KoyebServiceDefinitionArgs(
name="my-service",
instance_types=koyeb.KoyebServiceDefinitionInstanceTypesArgs(
type="micro",
),
ports=[koyeb.KoyebServiceDefinitionPortArgs(
port=3000,
protocol="http",
)],
scalings=koyeb.KoyebServiceDefinitionScalingsArgs(
min=1,
max=1,
),
envs=[koyeb.KoyebServiceDefinitionEnvArgs(
key="FOO",
value="BAR",
)],
routes=[koyeb.KoyebServiceDefinitionRouteArgs(
path="/",
port=3000,
)],
regions=["par"],
docker=koyeb.KoyebServiceDefinitionDockerArgs(
image="koyeb/demo",
),
),
opts=pulumi.ResourceOptions(depends_on=[koyeb_app["my-app"]]))
import * as pulumi from "@pulumi/pulumi";
import * as pulumi_koyeb from "@koyeb/pulumi-koyeb";
const my_service = new koyeb.KoyebService("my-service", {
appName: koyeb_app.my_app.name,
definition: {
name: "my-service",
instanceTypes: {
type: "micro",
},
ports: [{
port: 3000,
protocol: "http",
}],
scalings: {
min: 1,
max: 1,
},
envs: [{
key: "FOO",
value: "BAR",
}],
routes: [{
path: "/",
port: 3000,
}],
regions: ["par"],
docker: {
image: "koyeb/demo",
},
},
}, {
dependsOn: [koyeb_app["my-app"]],
});
resources:
my-service:
type: koyeb:KoyebService
properties:
appName: ${koyeb_app.my_app.name}
definition:
name: my-service
instanceTypes:
type: micro
ports:
- port: 3000
protocol: http
scalings:
min: 1
max: 1
envs:
- key: FOO
value: BAR
routes:
- path: /
port: 3000
regions:
- par
docker:
image: koyeb/demo
options:
dependson:
- ${koyeb_app"my-app"[%!s(MISSING)]}
Create KoyebService Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new KoyebService(name: string, args: KoyebServiceArgs, opts?: CustomResourceOptions);
@overload
def KoyebService(resource_name: str,
args: KoyebServiceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def KoyebService(resource_name: str,
opts: Optional[ResourceOptions] = None,
app_name: Optional[str] = None,
definition: Optional[KoyebServiceDefinitionArgs] = None,
messages: Optional[str] = None)
func NewKoyebService(ctx *Context, name string, args KoyebServiceArgs, opts ...ResourceOption) (*KoyebService, error)
public KoyebService(string name, KoyebServiceArgs args, CustomResourceOptions? opts = null)
public KoyebService(String name, KoyebServiceArgs args)
public KoyebService(String name, KoyebServiceArgs args, CustomResourceOptions options)
type: koyeb:KoyebService
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 KoyebServiceArgs
- 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 KoyebServiceArgs
- 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 KoyebServiceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args KoyebServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args KoyebServiceArgs
- 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 koyebServiceResource = new Koyeb.KoyebService("koyebServiceResource", new()
{
AppName = "string",
Definition = new Koyeb.Inputs.KoyebServiceDefinitionArgs
{
InstanceTypes = new Koyeb.Inputs.KoyebServiceDefinitionInstanceTypesArgs
{
Type = "string",
},
Name = "string",
Ports = new[]
{
new Koyeb.Inputs.KoyebServiceDefinitionPortArgs
{
Port = 0,
Protocol = "string",
},
},
Regions = new[]
{
"string",
},
Scalings = new Koyeb.Inputs.KoyebServiceDefinitionScalingsArgs
{
Max = 0,
Min = 0,
},
Docker = new Koyeb.Inputs.KoyebServiceDefinitionDockerArgs
{
Image = "string",
Args = new[]
{
"string",
},
Command = "string",
ImageRegistySecret = "string",
},
Envs = new[]
{
new Koyeb.Inputs.KoyebServiceDefinitionEnvArgs
{
Key = "string",
Secret = "string",
Value = "string",
},
},
Git = new Koyeb.Inputs.KoyebServiceDefinitionGitArgs
{
Branch = "string",
Repository = "string",
BuildCommand = "string",
NoDeployOnPush = false,
RunCommand = "string",
},
Routes = new[]
{
new Koyeb.Inputs.KoyebServiceDefinitionRouteArgs
{
Path = "string",
Port = 0,
},
},
},
Messages = "string",
});
example, err := koyeb.NewKoyebService(ctx, "koyebServiceResource", &koyeb.KoyebServiceArgs{
AppName: pulumi.String("string"),
Definition: &koyeb.KoyebServiceDefinitionArgs{
InstanceTypes: &koyeb.KoyebServiceDefinitionInstanceTypesArgs{
Type: pulumi.String("string"),
},
Name: pulumi.String("string"),
Ports: koyeb.KoyebServiceDefinitionPortArray{
&koyeb.KoyebServiceDefinitionPortArgs{
Port: pulumi.Int(0),
Protocol: pulumi.String("string"),
},
},
Regions: pulumi.StringArray{
pulumi.String("string"),
},
Scalings: &koyeb.KoyebServiceDefinitionScalingsArgs{
Max: pulumi.Int(0),
Min: pulumi.Int(0),
},
Docker: &koyeb.KoyebServiceDefinitionDockerArgs{
Image: pulumi.String("string"),
Args: pulumi.StringArray{
pulumi.String("string"),
},
Command: pulumi.String("string"),
ImageRegistySecret: pulumi.String("string"),
},
Envs: koyeb.KoyebServiceDefinitionEnvArray{
&koyeb.KoyebServiceDefinitionEnvArgs{
Key: pulumi.String("string"),
Secret: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Git: &koyeb.KoyebServiceDefinitionGitArgs{
Branch: pulumi.String("string"),
Repository: pulumi.String("string"),
BuildCommand: pulumi.String("string"),
NoDeployOnPush: pulumi.Bool(false),
RunCommand: pulumi.String("string"),
},
Routes: koyeb.KoyebServiceDefinitionRouteArray{
&koyeb.KoyebServiceDefinitionRouteArgs{
Path: pulumi.String("string"),
Port: pulumi.Int(0),
},
},
},
Messages: pulumi.String("string"),
})
var koyebServiceResource = new KoyebService("koyebServiceResource", KoyebServiceArgs.builder()
.appName("string")
.definition(KoyebServiceDefinitionArgs.builder()
.instanceTypes(KoyebServiceDefinitionInstanceTypesArgs.builder()
.type("string")
.build())
.name("string")
.ports(KoyebServiceDefinitionPortArgs.builder()
.port(0)
.protocol("string")
.build())
.regions("string")
.scalings(KoyebServiceDefinitionScalingsArgs.builder()
.max(0)
.min(0)
.build())
.docker(KoyebServiceDefinitionDockerArgs.builder()
.image("string")
.args("string")
.command("string")
.imageRegistySecret("string")
.build())
.envs(KoyebServiceDefinitionEnvArgs.builder()
.key("string")
.secret("string")
.value("string")
.build())
.git(KoyebServiceDefinitionGitArgs.builder()
.branch("string")
.repository("string")
.buildCommand("string")
.noDeployOnPush(false)
.runCommand("string")
.build())
.routes(KoyebServiceDefinitionRouteArgs.builder()
.path("string")
.port(0)
.build())
.build())
.messages("string")
.build());
koyeb_service_resource = koyeb.KoyebService("koyebServiceResource",
app_name="string",
definition=koyeb.KoyebServiceDefinitionArgs(
instance_types=koyeb.KoyebServiceDefinitionInstanceTypesArgs(
type="string",
),
name="string",
ports=[koyeb.KoyebServiceDefinitionPortArgs(
port=0,
protocol="string",
)],
regions=["string"],
scalings=koyeb.KoyebServiceDefinitionScalingsArgs(
max=0,
min=0,
),
docker=koyeb.KoyebServiceDefinitionDockerArgs(
image="string",
args=["string"],
command="string",
image_registy_secret="string",
),
envs=[koyeb.KoyebServiceDefinitionEnvArgs(
key="string",
secret="string",
value="string",
)],
git=koyeb.KoyebServiceDefinitionGitArgs(
branch="string",
repository="string",
build_command="string",
no_deploy_on_push=False,
run_command="string",
),
routes=[koyeb.KoyebServiceDefinitionRouteArgs(
path="string",
port=0,
)],
),
messages="string")
const koyebServiceResource = new koyeb.KoyebService("koyebServiceResource", {
appName: "string",
definition: {
instanceTypes: {
type: "string",
},
name: "string",
ports: [{
port: 0,
protocol: "string",
}],
regions: ["string"],
scalings: {
max: 0,
min: 0,
},
docker: {
image: "string",
args: ["string"],
command: "string",
imageRegistySecret: "string",
},
envs: [{
key: "string",
secret: "string",
value: "string",
}],
git: {
branch: "string",
repository: "string",
buildCommand: "string",
noDeployOnPush: false,
runCommand: "string",
},
routes: [{
path: "string",
port: 0,
}],
},
messages: "string",
});
type: koyeb:KoyebService
properties:
appName: string
definition:
docker:
args:
- string
command: string
image: string
imageRegistySecret: string
envs:
- key: string
secret: string
value: string
git:
branch: string
buildCommand: string
noDeployOnPush: false
repository: string
runCommand: string
instanceTypes:
type: string
name: string
ports:
- port: 0
protocol: string
regions:
- string
routes:
- path: string
port: 0
scalings:
max: 0
min: 0
messages: string
KoyebService 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 KoyebService resource accepts the following input properties:
- App
Name string - The app name the service is assigned to
- Definition
Koyeb
Service Definition - The service deployment definition
- Messages string
- The status messages of the service
- App
Name string - The app name the service is assigned to
- Definition
Koyeb
Service Definition Args - The service deployment definition
- Messages string
- The status messages of the service
- app
Name String - The app name the service is assigned to
- definition
Koyeb
Service Definition - The service deployment definition
- messages String
- The status messages of the service
- app
Name string - The app name the service is assigned to
- definition
Koyeb
Service Definition - The service deployment definition
- messages string
- The status messages of the service
- app_
name str - The app name the service is assigned to
- definition
Koyeb
Service Definition Args - The service deployment definition
- messages str
- The status messages of the service
- app
Name String - The app name the service is assigned to
- definition Property Map
- The service deployment definition
- messages String
- The status messages of the service
Outputs
All input properties are implicitly available as output properties. Additionally, the KoyebService resource produces the following output properties:
- Active
Deployment string - The service active deployment ID
- App
Id string - The app id the service is assigned to
- Created
At string - The date and time of when the service was created
- Id string
- The provider-assigned unique ID for this managed resource.
- Latest
Deployment string - The service latest deployment ID
- Name string
- The service name
- Organization
Id string - The organization ID owning the service
- Paused
At string - The date and time of when the service was last updated
- Resumed
At string - The date and time of when the service was last updated
- Status string
- The status of the service
- Terminated
At string - The date and time of when the service was last updated
- Updated
At string - The date and time of when the service was last updated
- Version string
- The version of the service
- Active
Deployment string - The service active deployment ID
- App
Id string - The app id the service is assigned to
- Created
At string - The date and time of when the service was created
- Id string
- The provider-assigned unique ID for this managed resource.
- Latest
Deployment string - The service latest deployment ID
- Name string
- The service name
- Organization
Id string - The organization ID owning the service
- Paused
At string - The date and time of when the service was last updated
- Resumed
At string - The date and time of when the service was last updated
- Status string
- The status of the service
- Terminated
At string - The date and time of when the service was last updated
- Updated
At string - The date and time of when the service was last updated
- Version string
- The version of the service
- active
Deployment String - The service active deployment ID
- app
Id String - The app id the service is assigned to
- created
At String - The date and time of when the service was created
- id String
- The provider-assigned unique ID for this managed resource.
- latest
Deployment String - The service latest deployment ID
- name String
- The service name
- organization
Id String - The organization ID owning the service
- paused
At String - The date and time of when the service was last updated
- resumed
At String - The date and time of when the service was last updated
- status String
- The status of the service
- terminated
At String - The date and time of when the service was last updated
- updated
At String - The date and time of when the service was last updated
- version String
- The version of the service
- active
Deployment string - The service active deployment ID
- app
Id string - The app id the service is assigned to
- created
At string - The date and time of when the service was created
- id string
- The provider-assigned unique ID for this managed resource.
- latest
Deployment string - The service latest deployment ID
- name string
- The service name
- organization
Id string - The organization ID owning the service
- paused
At string - The date and time of when the service was last updated
- resumed
At string - The date and time of when the service was last updated
- status string
- The status of the service
- terminated
At string - The date and time of when the service was last updated
- updated
At string - The date and time of when the service was last updated
- version string
- The version of the service
- active_
deployment str - The service active deployment ID
- app_
id str - The app id the service is assigned to
- created_
at str - The date and time of when the service was created
- id str
- The provider-assigned unique ID for this managed resource.
- latest_
deployment str - The service latest deployment ID
- name str
- The service name
- organization_
id str - The organization ID owning the service
- paused_
at str - The date and time of when the service was last updated
- resumed_
at str - The date and time of when the service was last updated
- status str
- The status of the service
- terminated_
at str - The date and time of when the service was last updated
- updated_
at str - The date and time of when the service was last updated
- version str
- The version of the service
- active
Deployment String - The service active deployment ID
- app
Id String - The app id the service is assigned to
- created
At String - The date and time of when the service was created
- id String
- The provider-assigned unique ID for this managed resource.
- latest
Deployment String - The service latest deployment ID
- name String
- The service name
- organization
Id String - The organization ID owning the service
- paused
At String - The date and time of when the service was last updated
- resumed
At String - The date and time of when the service was last updated
- status String
- The status of the service
- terminated
At String - The date and time of when the service was last updated
- updated
At String - The date and time of when the service was last updated
- version String
- The version of the service
Look up Existing KoyebService Resource
Get an existing KoyebService 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?: KoyebServiceState, opts?: CustomResourceOptions): KoyebService
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
active_deployment: Optional[str] = None,
app_id: Optional[str] = None,
app_name: Optional[str] = None,
created_at: Optional[str] = None,
definition: Optional[KoyebServiceDefinitionArgs] = None,
latest_deployment: Optional[str] = None,
messages: Optional[str] = None,
name: Optional[str] = None,
organization_id: Optional[str] = None,
paused_at: Optional[str] = None,
resumed_at: Optional[str] = None,
status: Optional[str] = None,
terminated_at: Optional[str] = None,
updated_at: Optional[str] = None,
version: Optional[str] = None) -> KoyebService
func GetKoyebService(ctx *Context, name string, id IDInput, state *KoyebServiceState, opts ...ResourceOption) (*KoyebService, error)
public static KoyebService Get(string name, Input<string> id, KoyebServiceState? state, CustomResourceOptions? opts = null)
public static KoyebService get(String name, Output<String> id, KoyebServiceState 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.
- Active
Deployment string - The service active deployment ID
- App
Id string - The app id the service is assigned to
- App
Name string - The app name the service is assigned to
- Created
At string - The date and time of when the service was created
- Definition
Koyeb
Service Definition - The service deployment definition
- Latest
Deployment string - The service latest deployment ID
- Messages string
- The status messages of the service
- Name string
- The service name
- Organization
Id string - The organization ID owning the service
- Paused
At string - The date and time of when the service was last updated
- Resumed
At string - The date and time of when the service was last updated
- Status string
- The status of the service
- Terminated
At string - The date and time of when the service was last updated
- Updated
At string - The date and time of when the service was last updated
- Version string
- The version of the service
- Active
Deployment string - The service active deployment ID
- App
Id string - The app id the service is assigned to
- App
Name string - The app name the service is assigned to
- Created
At string - The date and time of when the service was created
- Definition
Koyeb
Service Definition Args - The service deployment definition
- Latest
Deployment string - The service latest deployment ID
- Messages string
- The status messages of the service
- Name string
- The service name
- Organization
Id string - The organization ID owning the service
- Paused
At string - The date and time of when the service was last updated
- Resumed
At string - The date and time of when the service was last updated
- Status string
- The status of the service
- Terminated
At string - The date and time of when the service was last updated
- Updated
At string - The date and time of when the service was last updated
- Version string
- The version of the service
- active
Deployment String - The service active deployment ID
- app
Id String - The app id the service is assigned to
- app
Name String - The app name the service is assigned to
- created
At String - The date and time of when the service was created
- definition
Koyeb
Service Definition - The service deployment definition
- latest
Deployment String - The service latest deployment ID
- messages String
- The status messages of the service
- name String
- The service name
- organization
Id String - The organization ID owning the service
- paused
At String - The date and time of when the service was last updated
- resumed
At String - The date and time of when the service was last updated
- status String
- The status of the service
- terminated
At String - The date and time of when the service was last updated
- updated
At String - The date and time of when the service was last updated
- version String
- The version of the service
- active
Deployment string - The service active deployment ID
- app
Id string - The app id the service is assigned to
- app
Name string - The app name the service is assigned to
- created
At string - The date and time of when the service was created
- definition
Koyeb
Service Definition - The service deployment definition
- latest
Deployment string - The service latest deployment ID
- messages string
- The status messages of the service
- name string
- The service name
- organization
Id string - The organization ID owning the service
- paused
At string - The date and time of when the service was last updated
- resumed
At string - The date and time of when the service was last updated
- status string
- The status of the service
- terminated
At string - The date and time of when the service was last updated
- updated
At string - The date and time of when the service was last updated
- version string
- The version of the service
- active_
deployment str - The service active deployment ID
- app_
id str - The app id the service is assigned to
- app_
name str - The app name the service is assigned to
- created_
at str - The date and time of when the service was created
- definition
Koyeb
Service Definition Args - The service deployment definition
- latest_
deployment str - The service latest deployment ID
- messages str
- The status messages of the service
- name str
- The service name
- organization_
id str - The organization ID owning the service
- paused_
at str - The date and time of when the service was last updated
- resumed_
at str - The date and time of when the service was last updated
- status str
- The status of the service
- terminated_
at str - The date and time of when the service was last updated
- updated_
at str - The date and time of when the service was last updated
- version str
- The version of the service
- active
Deployment String - The service active deployment ID
- app
Id String - The app id the service is assigned to
- app
Name String - The app name the service is assigned to
- created
At String - The date and time of when the service was created
- definition Property Map
- The service deployment definition
- latest
Deployment String - The service latest deployment ID
- messages String
- The status messages of the service
- name String
- The service name
- organization
Id String - The organization ID owning the service
- paused
At String - The date and time of when the service was last updated
- resumed
At String - The date and time of when the service was last updated
- status String
- The status of the service
- terminated
At String - The date and time of when the service was last updated
- updated
At String - The date and time of when the service was last updated
- version String
- The version of the service
Supporting Types
KoyebServiceDefinition, KoyebServiceDefinitionArgs
- Instance
Types KoyebService Definition Instance Types - Name string
- The service name
- Ports
List<Koyeb
Service Definition Port> - Regions List<string>
- The service deployment regions to deploy to
- Scalings
Koyeb
Service Definition Scalings - Docker
Koyeb
Service Definition Docker - Envs
List<Koyeb
Service Definition Env> - Git
Koyeb
Service Definition Git - Routes
List<Koyeb
Service Definition Route>
- Instance
Types KoyebService Definition Instance Types - Name string
- The service name
- Ports
[]Koyeb
Service Definition Port - Regions []string
- The service deployment regions to deploy to
- Scalings
Koyeb
Service Definition Scalings - Docker
Koyeb
Service Definition Docker - Envs
[]Koyeb
Service Definition Env - Git
Koyeb
Service Definition Git - Routes
[]Koyeb
Service Definition Route
- instance
Types KoyebService Definition Instance Types - name String
- The service name
- ports
List<Koyeb
Service Definition Port> - regions List<String>
- The service deployment regions to deploy to
- scalings
Koyeb
Service Definition Scalings - docker
Koyeb
Service Definition Docker - envs
List<Koyeb
Service Definition Env> - git
Koyeb
Service Definition Git - routes
List<Koyeb
Service Definition Route>
- instance
Types KoyebService Definition Instance Types - name string
- The service name
- ports
Koyeb
Service Definition Port[] - regions string[]
- The service deployment regions to deploy to
- scalings
Koyeb
Service Definition Scalings - docker
Koyeb
Service Definition Docker - envs
Koyeb
Service Definition Env[] - git
Koyeb
Service Definition Git - routes
Koyeb
Service Definition Route[]
- instance_
types KoyebService Definition Instance Types - name str
- The service name
- ports
Sequence[Koyeb
Service Definition Port] - regions Sequence[str]
- The service deployment regions to deploy to
- scalings
Koyeb
Service Definition Scalings - docker
Koyeb
Service Definition Docker - envs
Sequence[Koyeb
Service Definition Env] - git
Koyeb
Service Definition Git - routes
Sequence[Koyeb
Service Definition Route]
- instance
Types Property Map - name String
- The service name
- ports List<Property Map>
- regions List<String>
- The service deployment regions to deploy to
- scalings Property Map
- docker Property Map
- envs List<Property Map>
- git Property Map
- routes List<Property Map>
KoyebServiceDefinitionDocker, KoyebServiceDefinitionDockerArgs
- Image string
- Args List<string>
- Command string
- Image
Registy stringSecret
- Image string
- Args []string
- Command string
- Image
Registy stringSecret
- image String
- args List<String>
- command String
- image
Registy StringSecret
- image string
- args string[]
- command string
- image
Registy stringSecret
- image str
- args Sequence[str]
- command str
- image_
registy_ strsecret
- image String
- args List<String>
- command String
- image
Registy StringSecret
KoyebServiceDefinitionEnv, KoyebServiceDefinitionEnvArgs
KoyebServiceDefinitionGit, KoyebServiceDefinitionGitArgs
- Branch string
- Repository string
- Build
Command string - No
Deploy boolOn Push - Run
Command string
- Branch string
- Repository string
- Build
Command string - No
Deploy boolOn Push - Run
Command string
- branch String
- repository String
- build
Command String - no
Deploy BooleanOn Push - run
Command String
- branch string
- repository string
- build
Command string - no
Deploy booleanOn Push - run
Command string
- branch str
- repository str
- build_
command str - no_
deploy_ boolon_ push - run_
command str
- branch String
- repository String
- build
Command String - no
Deploy BooleanOn Push - run
Command String
KoyebServiceDefinitionInstanceTypes, KoyebServiceDefinitionInstanceTypesArgs
- Type string
- Type string
- type String
- type string
- type str
- type String
KoyebServiceDefinitionPort, KoyebServiceDefinitionPortArgs
KoyebServiceDefinitionRoute, KoyebServiceDefinitionRouteArgs
KoyebServiceDefinitionScalings, KoyebServiceDefinitionScalingsArgs
Package Details
- Repository
- koyeb koyeb/pulumi-koyeb
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
koyeb
Terraform Provider.