Viewing docs for Koyeb v0.1.11
published on Monday, Dec 9, 2024 by Koyeb
published on Monday, Dec 9, 2024 by Koyeb
Viewing docs for Koyeb v0.1.11
published on Monday, Dec 9, 2024 by Koyeb
published on Monday, Dec 9, 2024 by Koyeb
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as koyeb from "@pulumi/koyeb";
const my-service = koyeb.getService({
slug: "my-app/my-service",
});
import pulumi
import pulumi_koyeb as koyeb
my_service = koyeb.get_service(slug="my-app/my-service")
package main
import (
"github.com/koyeb/pulumi-koyeb/sdk/go/koyeb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := koyeb.LookupService(ctx, &koyeb.LookupServiceArgs{
Slug: "my-app/my-service",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Koyeb = Pulumi.Koyeb;
return await Deployment.RunAsync(() =>
{
var my_service = Koyeb.GetService.Invoke(new()
{
Slug = "my-app/my-service",
});
});
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.GetServiceArgs;
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-service = KoyebFunctions.getService(GetServiceArgs.builder()
.slug("my-app/my-service")
.build());
}
}
variables:
my-service:
fn::invoke:
Function: koyeb:getService
Arguments:
slug: my-app/my-service
Using getService
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 getService(args: GetServiceArgs, opts?: InvokeOptions): Promise<GetServiceResult>
function getServiceOutput(args: GetServiceOutputArgs, opts?: InvokeOptions): Output<GetServiceResult>def get_service(messages: Optional[str] = None,
slug: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceResult
def get_service_output(messages: Optional[pulumi.Input[str]] = None,
slug: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServiceResult]func LookupService(ctx *Context, args *LookupServiceArgs, opts ...InvokeOption) (*LookupServiceResult, error)
func LookupServiceOutput(ctx *Context, args *LookupServiceOutputArgs, opts ...InvokeOption) LookupServiceResultOutput> Note: This function is named LookupService in the Go SDK.
public static class GetService
{
public static Task<GetServiceResult> InvokeAsync(GetServiceArgs args, InvokeOptions? opts = null)
public static Output<GetServiceResult> Invoke(GetServiceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
public static Output<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
fn::invoke:
function: koyeb:index/getService:getService
arguments:
# arguments dictionaryThe following arguments are supported:
getService Result
The following output properties are available:
- Active
Deployment string - The service active deployment id
- App
Id string - The app id the service is assigned
- Created
At string - The date and time of when the service was created
- Definitions
List<Get
Service Definition> - The service deployment definition
- Id string
- The id of the service
- Latest
Deployment string - The service latest deployment id
- Messages string
- The status messages of the service
- Name string
- The name of the service
- 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
- Slug string
- The service slug composed of the app and service name, for instance my-app/my-service
- 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
- Created
At string - The date and time of when the service was created
- Definitions
[]Get
Service Definition - The service deployment definition
- Id string
- The id of the service
- Latest
Deployment string - The service latest deployment id
- Messages string
- The status messages of the service
- Name string
- The name of the service
- 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
- Slug string
- The service slug composed of the app and service name, for instance my-app/my-service
- 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
- created
At String - The date and time of when the service was created
- definitions
List<Get
Service Definition> - The service deployment definition
- id String
- The id of the service
- latest
Deployment String - The service latest deployment id
- messages String
- The status messages of the service
- name String
- The name of the service
- 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
- slug String
- The service slug composed of the app and service name, for instance my-app/my-service
- 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
- created
At string - The date and time of when the service was created
- definitions
Get
Service Definition[] - The service deployment definition
- id string
- The id of the service
- latest
Deployment string - The service latest deployment id
- messages string
- The status messages of the service
- name string
- The name of the service
- 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
- slug string
- The service slug composed of the app and service name, for instance my-app/my-service
- 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
- created_
at str - The date and time of when the service was created
- definitions
Sequence[Get
Service Definition] - The service deployment definition
- id str
- The id of the service
- latest_
deployment str - The service latest deployment id
- messages str
- The status messages of the service
- name str
- The name of the service
- 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
- slug str
- The service slug composed of the app and service name, for instance my-app/my-service
- 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
- created
At String - The date and time of when the service was created
- definitions List<Property Map>
- The service deployment definition
- id String
- The id of the service
- latest
Deployment String - The service latest deployment id
- messages String
- The status messages of the service
- name String
- The name of the service
- 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
- slug String
- The service slug composed of the app and service name, for instance my-app/my-service
- 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
GetServiceDefinition
- Instance
Types List<GetService Definition Instance Type> - Name string
- The service name
- Regions List<string>
- The service deployment regions to deploy to
- Scalings
List<Get
Service Definition Scaling> - Docker
Get
Service Definition Docker - Envs
List<Get
Service Definition Env> - Git
Get
Service Definition Git - Health
Checks List<GetService Definition Health Check> - Ports
List<Get
Service Definition Port> - Routes
List<Get
Service Definition Route> - Skip
Cache bool - If set to true, the service will be deployed without using the cache
- Type string
- The service type, either WEB or WORKER (default WEB)
- Volumes
List<Get
Service Definition Volume> - The volumes to attach and mount to the service
- Instance
Types []GetService Definition Instance Type - Name string
- The service name
- Regions []string
- The service deployment regions to deploy to
- Scalings
[]Get
Service Definition Scaling - Docker
Get
Service Definition Docker - Envs
[]Get
Service Definition Env - Git
Get
Service Definition Git - Health
Checks []GetService Definition Health Check - Ports
[]Get
Service Definition Port - Routes
[]Get
Service Definition Route - Skip
Cache bool - If set to true, the service will be deployed without using the cache
- Type string
- The service type, either WEB or WORKER (default WEB)
- Volumes
[]Get
Service Definition Volume - The volumes to attach and mount to the service
- instance
Types List<GetService Definition Instance Type> - name String
- The service name
- regions List<String>
- The service deployment regions to deploy to
- scalings
List<Get
Service Definition Scaling> - docker
Get
Service Definition Docker - envs
List<Get
Service Definition Env> - git
Get
Service Definition Git - health
Checks List<GetService Definition Health Check> - ports
List<Get
Service Definition Port> - routes
List<Get
Service Definition Route> - skip
Cache Boolean - If set to true, the service will be deployed without using the cache
- type String
- The service type, either WEB or WORKER (default WEB)
- volumes
List<Get
Service Definition Volume> - The volumes to attach and mount to the service
- instance
Types GetService Definition Instance Type[] - name string
- The service name
- regions string[]
- The service deployment regions to deploy to
- scalings
Get
Service Definition Scaling[] - docker
Get
Service Definition Docker - envs
Get
Service Definition Env[] - git
Get
Service Definition Git - health
Checks GetService Definition Health Check[] - ports
Get
Service Definition Port[] - routes
Get
Service Definition Route[] - skip
Cache boolean - If set to true, the service will be deployed without using the cache
- type string
- The service type, either WEB or WORKER (default WEB)
- volumes
Get
Service Definition Volume[] - The volumes to attach and mount to the service
- instance_
types Sequence[GetService Definition Instance Type] - name str
- The service name
- regions Sequence[str]
- The service deployment regions to deploy to
- scalings
Sequence[Get
Service Definition Scaling] - docker
Get
Service Definition Docker - envs
Sequence[Get
Service Definition Env] - git
Get
Service Definition Git - health_
checks Sequence[GetService Definition Health Check] - ports
Sequence[Get
Service Definition Port] - routes
Sequence[Get
Service Definition Route] - skip_
cache bool - If set to true, the service will be deployed without using the cache
- type str
- The service type, either WEB or WORKER (default WEB)
- volumes
Sequence[Get
Service Definition Volume] - The volumes to attach and mount to the service
- instance
Types List<Property Map> - name String
- The service name
- regions List<String>
- The service deployment regions to deploy to
- scalings List<Property Map>
- docker Property Map
- envs List<Property Map>
- git Property Map
- health
Checks List<Property Map> - ports List<Property Map>
- routes List<Property Map>
- skip
Cache Boolean - If set to true, the service will be deployed without using the cache
- type String
- The service type, either WEB or WORKER (default WEB)
- volumes List<Property Map>
- The volumes to attach and mount to the service
GetServiceDefinitionDocker
- Image string
- The Docker image to use to support your service
- Args List<string>
- The Docker args to use
- Command string
- The Docker command to use
- Entrypoints List<string>
- The Docker entrypoint to use
- Image
Registry stringSecret - The Koyeb secret containing the container registry credentials
- Privileged bool
- When enabled, the service container will run in privileged mode. This advanced feature is useful to get advanced system privileges.
- Image string
- The Docker image to use to support your service
- Args []string
- The Docker args to use
- Command string
- The Docker command to use
- Entrypoints []string
- The Docker entrypoint to use
- Image
Registry stringSecret - The Koyeb secret containing the container registry credentials
- Privileged bool
- When enabled, the service container will run in privileged mode. This advanced feature is useful to get advanced system privileges.
- image String
- The Docker image to use to support your service
- args List<String>
- The Docker args to use
- command String
- The Docker command to use
- entrypoints List<String>
- The Docker entrypoint to use
- image
Registry StringSecret - The Koyeb secret containing the container registry credentials
- privileged Boolean
- When enabled, the service container will run in privileged mode. This advanced feature is useful to get advanced system privileges.
- image string
- The Docker image to use to support your service
- args string[]
- The Docker args to use
- command string
- The Docker command to use
- entrypoints string[]
- The Docker entrypoint to use
- image
Registry stringSecret - The Koyeb secret containing the container registry credentials
- privileged boolean
- When enabled, the service container will run in privileged mode. This advanced feature is useful to get advanced system privileges.
- image str
- The Docker image to use to support your service
- args Sequence[str]
- The Docker args to use
- command str
- The Docker command to use
- entrypoints Sequence[str]
- The Docker entrypoint to use
- image_
registry_ strsecret - The Koyeb secret containing the container registry credentials
- privileged bool
- When enabled, the service container will run in privileged mode. This advanced feature is useful to get advanced system privileges.
- image String
- The Docker image to use to support your service
- args List<String>
- The Docker args to use
- command String
- The Docker command to use
- entrypoints List<String>
- The Docker entrypoint to use
- image
Registry StringSecret - The Koyeb secret containing the container registry credentials
- privileged Boolean
- When enabled, the service container will run in privileged mode. This advanced feature is useful to get advanced system privileges.
GetServiceDefinitionEnv
GetServiceDefinitionGit
- Branch string
- The GitHub branch to deploy
- Repository string
- The GitHub repository to deploy
- Buildpack
Get
Service Definition Git Buildpack - Dockerfile
Get
Service Definition Git Dockerfile - No
Deploy boolOn Push - If set to true, no Koyeb deployments will be triggered when changes are pushed to the GitHub repository branch
- Workdir string
- The directory where your source code is located. If not set, the work directory defaults to the root of the repository.
- Branch string
- The GitHub branch to deploy
- Repository string
- The GitHub repository to deploy
- Buildpack
Get
Service Definition Git Buildpack - Dockerfile
Get
Service Definition Git Dockerfile - No
Deploy boolOn Push - If set to true, no Koyeb deployments will be triggered when changes are pushed to the GitHub repository branch
- Workdir string
- The directory where your source code is located. If not set, the work directory defaults to the root of the repository.
- branch String
- The GitHub branch to deploy
- repository String
- The GitHub repository to deploy
- buildpack
Get
Service Definition Git Buildpack - dockerfile
Get
Service Definition Git Dockerfile - no
Deploy BooleanOn Push - If set to true, no Koyeb deployments will be triggered when changes are pushed to the GitHub repository branch
- workdir String
- The directory where your source code is located. If not set, the work directory defaults to the root of the repository.
- branch string
- The GitHub branch to deploy
- repository string
- The GitHub repository to deploy
- buildpack
Get
Service Definition Git Buildpack - dockerfile
Get
Service Definition Git Dockerfile - no
Deploy booleanOn Push - If set to true, no Koyeb deployments will be triggered when changes are pushed to the GitHub repository branch
- workdir string
- The directory where your source code is located. If not set, the work directory defaults to the root of the repository.
- branch str
- The GitHub branch to deploy
- repository str
- The GitHub repository to deploy
- buildpack
Get
Service Definition Git Buildpack - dockerfile
Get
Service Definition Git Dockerfile - no_
deploy_ boolon_ push - If set to true, no Koyeb deployments will be triggered when changes are pushed to the GitHub repository branch
- workdir str
- The directory where your source code is located. If not set, the work directory defaults to the root of the repository.
- branch String
- The GitHub branch to deploy
- repository String
- The GitHub repository to deploy
- buildpack Property Map
- dockerfile Property Map
- no
Deploy BooleanOn Push - If set to true, no Koyeb deployments will be triggered when changes are pushed to the GitHub repository branch
- workdir String
- The directory where your source code is located. If not set, the work directory defaults to the root of the repository.
GetServiceDefinitionGitBuildpack
- Build
Command string - The command to build your application during the build phase. If your application does not require a build command, leave this field empty
- Privileged bool
- When enabled, the service container will run in privileged mode. This advanced feature is useful to get advanced system privileges.
- Run
Command string - The command to run your application once the built is completed
- Build
Command string - The command to build your application during the build phase. If your application does not require a build command, leave this field empty
- Privileged bool
- When enabled, the service container will run in privileged mode. This advanced feature is useful to get advanced system privileges.
- Run
Command string - The command to run your application once the built is completed
- build
Command String - The command to build your application during the build phase. If your application does not require a build command, leave this field empty
- privileged Boolean
- When enabled, the service container will run in privileged mode. This advanced feature is useful to get advanced system privileges.
- run
Command String - The command to run your application once the built is completed
- build
Command string - The command to build your application during the build phase. If your application does not require a build command, leave this field empty
- privileged boolean
- When enabled, the service container will run in privileged mode. This advanced feature is useful to get advanced system privileges.
- run
Command string - The command to run your application once the built is completed
- build_
command str - The command to build your application during the build phase. If your application does not require a build command, leave this field empty
- privileged bool
- When enabled, the service container will run in privileged mode. This advanced feature is useful to get advanced system privileges.
- run_
command str - The command to run your application once the built is completed
- build
Command String - The command to build your application during the build phase. If your application does not require a build command, leave this field empty
- privileged Boolean
- When enabled, the service container will run in privileged mode. This advanced feature is useful to get advanced system privileges.
- run
Command String - The command to run your application once the built is completed
GetServiceDefinitionGitDockerfile
- Args List<string>
- The arguments to pass to the Docker command
- Command string
- Override the command to execute on the container
- Dockerfile string
- The location of your Dockerfile relative to the work directory. If not set, the work directory defaults to the root of the repository.
- Entrypoints List<string>
- Override the default entrypoint to execute on the container
- Privileged bool
- When enabled, the service container will run in privileged mode. This advanced feature is useful to get advanced system privileges.
- Target string
- Target build stage: If your Dockerfile contains multi-stage builds, you can choose the target stage to build and deploy by entering its name
- Args []string
- The arguments to pass to the Docker command
- Command string
- Override the command to execute on the container
- Dockerfile string
- The location of your Dockerfile relative to the work directory. If not set, the work directory defaults to the root of the repository.
- Entrypoints []string
- Override the default entrypoint to execute on the container
- Privileged bool
- When enabled, the service container will run in privileged mode. This advanced feature is useful to get advanced system privileges.
- Target string
- Target build stage: If your Dockerfile contains multi-stage builds, you can choose the target stage to build and deploy by entering its name
- args List<String>
- The arguments to pass to the Docker command
- command String
- Override the command to execute on the container
- dockerfile String
- The location of your Dockerfile relative to the work directory. If not set, the work directory defaults to the root of the repository.
- entrypoints List<String>
- Override the default entrypoint to execute on the container
- privileged Boolean
- When enabled, the service container will run in privileged mode. This advanced feature is useful to get advanced system privileges.
- target String
- Target build stage: If your Dockerfile contains multi-stage builds, you can choose the target stage to build and deploy by entering its name
- args string[]
- The arguments to pass to the Docker command
- command string
- Override the command to execute on the container
- dockerfile string
- The location of your Dockerfile relative to the work directory. If not set, the work directory defaults to the root of the repository.
- entrypoints string[]
- Override the default entrypoint to execute on the container
- privileged boolean
- When enabled, the service container will run in privileged mode. This advanced feature is useful to get advanced system privileges.
- target string
- Target build stage: If your Dockerfile contains multi-stage builds, you can choose the target stage to build and deploy by entering its name
- args Sequence[str]
- The arguments to pass to the Docker command
- command str
- Override the command to execute on the container
- dockerfile str
- The location of your Dockerfile relative to the work directory. If not set, the work directory defaults to the root of the repository.
- entrypoints Sequence[str]
- Override the default entrypoint to execute on the container
- privileged bool
- When enabled, the service container will run in privileged mode. This advanced feature is useful to get advanced system privileges.
- target str
- Target build stage: If your Dockerfile contains multi-stage builds, you can choose the target stage to build and deploy by entering its name
- args List<String>
- The arguments to pass to the Docker command
- command String
- Override the command to execute on the container
- dockerfile String
- The location of your Dockerfile relative to the work directory. If not set, the work directory defaults to the root of the repository.
- entrypoints List<String>
- Override the default entrypoint to execute on the container
- privileged Boolean
- When enabled, the service container will run in privileged mode. This advanced feature is useful to get advanced system privileges.
- target String
- Target build stage: If your Dockerfile contains multi-stage builds, you can choose the target stage to build and deploy by entering its name
GetServiceDefinitionHealthCheck
- Grace
Period int - The period in seconds to wait for the instance to become healthy, default is 5s
- Http
Get
Service Definition Health Check Http - Interval int
- The period in seconds between two health checks, default is 60s
- Restart
Limit int - The number of consecutive failures before attempting to restart the service, default is 3
- Tcp
Get
Service Definition Health Check Tcp - Timeout int
- The maximum time to wait in seconds before considering the check as a failure, default is 5s
- Grace
Period int - The period in seconds to wait for the instance to become healthy, default is 5s
- Http
Get
Service Definition Health Check Http - Interval int
- The period in seconds between two health checks, default is 60s
- Restart
Limit int - The number of consecutive failures before attempting to restart the service, default is 3
- Tcp
Get
Service Definition Health Check Tcp - Timeout int
- The maximum time to wait in seconds before considering the check as a failure, default is 5s
- grace
Period Integer - The period in seconds to wait for the instance to become healthy, default is 5s
- http
Get
Service Definition Health Check Http - interval Integer
- The period in seconds between two health checks, default is 60s
- restart
Limit Integer - The number of consecutive failures before attempting to restart the service, default is 3
- tcp
Get
Service Definition Health Check Tcp - timeout Integer
- The maximum time to wait in seconds before considering the check as a failure, default is 5s
- grace
Period number - The period in seconds to wait for the instance to become healthy, default is 5s
- http
Get
Service Definition Health Check Http - interval number
- The period in seconds between two health checks, default is 60s
- restart
Limit number - The number of consecutive failures before attempting to restart the service, default is 3
- tcp
Get
Service Definition Health Check Tcp - timeout number
- The maximum time to wait in seconds before considering the check as a failure, default is 5s
- grace_
period int - The period in seconds to wait for the instance to become healthy, default is 5s
- http
Get
Service Definition Health Check Http - interval int
- The period in seconds between two health checks, default is 60s
- restart_
limit int - The number of consecutive failures before attempting to restart the service, default is 3
- tcp
Get
Service Definition Health Check Tcp - timeout int
- The maximum time to wait in seconds before considering the check as a failure, default is 5s
- grace
Period Number - The period in seconds to wait for the instance to become healthy, default is 5s
- http Property Map
- interval Number
- The period in seconds between two health checks, default is 60s
- restart
Limit Number - The number of consecutive failures before attempting to restart the service, default is 3
- tcp Property Map
- timeout Number
- The maximum time to wait in seconds before considering the check as a failure, default is 5s
GetServiceDefinitionHealthCheckHttp
- Path string
- The path to use to perform the HTTP health check
- Port int
- The port to use to perform the health check
- Headers
List<Get
Service Definition Health Check Http Header> - Method string
- An optional HTTP method to use to perform the health check, default is GET
- Path string
- The path to use to perform the HTTP health check
- Port int
- The port to use to perform the health check
- Headers
[]Get
Service Definition Health Check Http Header - Method string
- An optional HTTP method to use to perform the health check, default is GET
- path String
- The path to use to perform the HTTP health check
- port Integer
- The port to use to perform the health check
- headers
List<Get
Service Definition Health Check Http Header> - method String
- An optional HTTP method to use to perform the health check, default is GET
- path string
- The path to use to perform the HTTP health check
- port number
- The port to use to perform the health check
- headers
Get
Service Definition Health Check Http Header[] - method string
- An optional HTTP method to use to perform the health check, default is GET
- path str
- The path to use to perform the HTTP health check
- port int
- The port to use to perform the health check
- headers
Sequence[Get
Service Definition Health Check Http Header] - method str
- An optional HTTP method to use to perform the health check, default is GET
- path String
- The path to use to perform the HTTP health check
- port Number
- The port to use to perform the health check
- headers List<Property Map>
- method String
- An optional HTTP method to use to perform the health check, default is GET
GetServiceDefinitionHealthCheckHttpHeader
GetServiceDefinitionHealthCheckTcp
- Port int
- The port to use to perform the health check
- Port int
- The port to use to perform the health check
- port Integer
- The port to use to perform the health check
- port number
- The port to use to perform the health check
- port int
- The port to use to perform the health check
- port Number
- The port to use to perform the health check
GetServiceDefinitionInstanceType
GetServiceDefinitionPort
GetServiceDefinitionRoute
GetServiceDefinitionScaling
- Scopes List<string>
- The regions to apply the scaling configuration
- Max int
- The maximum number of instance to use to support your service
- Min int
- The minimal number of instances to use to support your service
- Targets
List<Get
Service Definition Scaling Target>
- Scopes []string
- The regions to apply the scaling configuration
- Max int
- The maximum number of instance to use to support your service
- Min int
- The minimal number of instances to use to support your service
- Targets
[]Get
Service Definition Scaling Target
- scopes List<String>
- The regions to apply the scaling configuration
- max Integer
- The maximum number of instance to use to support your service
- min Integer
- The minimal number of instances to use to support your service
- targets
List<Get
Service Definition Scaling Target>
- scopes string[]
- The regions to apply the scaling configuration
- max number
- The maximum number of instance to use to support your service
- min number
- The minimal number of instances to use to support your service
- targets
Get
Service Definition Scaling Target[]
- scopes Sequence[str]
- The regions to apply the scaling configuration
- max int
- The maximum number of instance to use to support your service
- min int
- The minimal number of instances to use to support your service
- targets
Sequence[Get
Service Definition Scaling Target]
- scopes List<String>
- The regions to apply the scaling configuration
- max Number
- The maximum number of instance to use to support your service
- min Number
- The minimal number of instances to use to support your service
- targets List<Property Map>
GetServiceDefinitionScalingTarget
- Average
Cpus List<GetService Definition Scaling Target Average Cpus> - The CPU usage (expressed as a percentage) across all Instances of your Service within a region
- Average
Mems List<GetService Definition Scaling Target Average Mem> - The memory usage (expressed as a percentage) across all Instances of your Service within a region
- Concurrent
Requests List<GetService Definition Scaling Target Concurrent Request> - The number of concurrent requests across all Instances of your Service within a region
- Request
Response List<GetTimes Service Definition Scaling Target Request Response Time> - The average response time of requests across all Instances of your Service within a region
- Requests
Per List<GetSeconds Service Definition Scaling Target Requests Per Second> - The number of concurrent requests per second across all Instances of your Service within a region
- Average
Cpus []GetService Definition Scaling Target Average Cpus - The CPU usage (expressed as a percentage) across all Instances of your Service within a region
- Average
Mems []GetService Definition Scaling Target Average Mem - The memory usage (expressed as a percentage) across all Instances of your Service within a region
- Concurrent
Requests []GetService Definition Scaling Target Concurrent Request - The number of concurrent requests across all Instances of your Service within a region
- Request
Response []GetTimes Service Definition Scaling Target Request Response Time - The average response time of requests across all Instances of your Service within a region
- Requests
Per []GetSeconds Service Definition Scaling Target Requests Per Second - The number of concurrent requests per second across all Instances of your Service within a region
- average
Cpus List<GetService Definition Scaling Target Average Cpus> - The CPU usage (expressed as a percentage) across all Instances of your Service within a region
- average
Mems List<GetService Definition Scaling Target Average Mem> - The memory usage (expressed as a percentage) across all Instances of your Service within a region
- concurrent
Requests List<GetService Definition Scaling Target Concurrent Request> - The number of concurrent requests across all Instances of your Service within a region
- request
Response List<GetTimes Service Definition Scaling Target Request Response Time> - The average response time of requests across all Instances of your Service within a region
- requests
Per List<GetSeconds Service Definition Scaling Target Requests Per Second> - The number of concurrent requests per second across all Instances of your Service within a region
- average
Cpus GetService Definition Scaling Target Average Cpus[] - The CPU usage (expressed as a percentage) across all Instances of your Service within a region
- average
Mems GetService Definition Scaling Target Average Mem[] - The memory usage (expressed as a percentage) across all Instances of your Service within a region
- concurrent
Requests GetService Definition Scaling Target Concurrent Request[] - The number of concurrent requests across all Instances of your Service within a region
- request
Response GetTimes Service Definition Scaling Target Request Response Time[] - The average response time of requests across all Instances of your Service within a region
- requests
Per GetSeconds Service Definition Scaling Target Requests Per Second[] - The number of concurrent requests per second across all Instances of your Service within a region
- average_
cpus Sequence[GetService Definition Scaling Target Average Cpus] - The CPU usage (expressed as a percentage) across all Instances of your Service within a region
- average_
mems Sequence[GetService Definition Scaling Target Average Mem] - The memory usage (expressed as a percentage) across all Instances of your Service within a region
- concurrent_
requests Sequence[GetService Definition Scaling Target Concurrent Request] - The number of concurrent requests across all Instances of your Service within a region
- request_
response_ Sequence[Gettimes Service Definition Scaling Target Request Response Time] - The average response time of requests across all Instances of your Service within a region
- requests_
per_ Sequence[Getseconds Service Definition Scaling Target Requests Per Second] - The number of concurrent requests per second across all Instances of your Service within a region
- average
Cpus List<Property Map> - The CPU usage (expressed as a percentage) across all Instances of your Service within a region
- average
Mems List<Property Map> - The memory usage (expressed as a percentage) across all Instances of your Service within a region
- concurrent
Requests List<Property Map> - The number of concurrent requests across all Instances of your Service within a region
- request
Response List<Property Map>Times - The average response time of requests across all Instances of your Service within a region
- requests
Per List<Property Map>Seconds - The number of concurrent requests per second across all Instances of your Service within a region
GetServiceDefinitionScalingTargetAverageCpus
- Value int
- The target value of the autoscaling target
- Value int
- The target value of the autoscaling target
- value Integer
- The target value of the autoscaling target
- value number
- The target value of the autoscaling target
- value int
- The target value of the autoscaling target
- value Number
- The target value of the autoscaling target
GetServiceDefinitionScalingTargetAverageMem
- Value int
- The target value of the autoscaling target
- Value int
- The target value of the autoscaling target
- value Integer
- The target value of the autoscaling target
- value number
- The target value of the autoscaling target
- value int
- The target value of the autoscaling target
- value Number
- The target value of the autoscaling target
GetServiceDefinitionScalingTargetConcurrentRequest
- Value int
- The target value of the autoscaling target
- Value int
- The target value of the autoscaling target
- value Integer
- The target value of the autoscaling target
- value number
- The target value of the autoscaling target
- value int
- The target value of the autoscaling target
- value Number
- The target value of the autoscaling target
GetServiceDefinitionScalingTargetRequestResponseTime
- Value int
- The target value of the autoscaling target
- Value int
- The target value of the autoscaling target
- value Integer
- The target value of the autoscaling target
- value number
- The target value of the autoscaling target
- value int
- The target value of the autoscaling target
- value Number
- The target value of the autoscaling target
GetServiceDefinitionScalingTargetRequestsPerSecond
- Value int
- The target value of the autoscaling target
- Value int
- The target value of the autoscaling target
- value Integer
- The target value of the autoscaling target
- value number
- The target value of the autoscaling target
- value int
- The target value of the autoscaling target
- value Number
- The target value of the autoscaling target
GetServiceDefinitionVolume
- Id string
- The volume ID to mount to the service
- Path string
- The path where to mount the volume
- Replica
Index int - Explicitly specify the replica index to mount the volume to
- Scopes List<string>
- The regions to apply the scaling configuration
- Id string
- The volume ID to mount to the service
- Path string
- The path where to mount the volume
- Replica
Index int - Explicitly specify the replica index to mount the volume to
- Scopes []string
- The regions to apply the scaling configuration
- id String
- The volume ID to mount to the service
- path String
- The path where to mount the volume
- replica
Index Integer - Explicitly specify the replica index to mount the volume to
- scopes List<String>
- The regions to apply the scaling configuration
- id string
- The volume ID to mount to the service
- path string
- The path where to mount the volume
- replica
Index number - Explicitly specify the replica index to mount the volume to
- scopes string[]
- The regions to apply the scaling configuration
- id str
- The volume ID to mount to the service
- path str
- The path where to mount the volume
- replica_
index int - Explicitly specify the replica index to mount the volume to
- scopes Sequence[str]
- The regions to apply the scaling configuration
- id String
- The volume ID to mount to the service
- path String
- The path where to mount the volume
- replica
Index Number - Explicitly specify the replica index to mount the volume to
- scopes List<String>
- The regions to apply the scaling configuration
Package Details
- Repository
- koyeb koyeb/pulumi-koyeb
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
koyebTerraform Provider.
Viewing docs for Koyeb v0.1.11
published on Monday, Dec 9, 2024 by Koyeb
published on Monday, Dec 9, 2024 by Koyeb
