qovery.Job
Explore with Pulumi AI
# qovery.Job (Resource)
Provides a Qovery job resource. This can be used to create and manage Qovery job registry.
Example
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.qovery.Job;
import com.pulumi.qovery.JobArgs;
import com.pulumi.qovery.inputs.JobEnvironmentVariableArgs;
import com.pulumi.qovery.inputs.JobEnvironmentVariableAliasArgs;
import com.pulumi.qovery.inputs.JobEnvironmentVariableOverrideArgs;
import com.pulumi.qovery.inputs.JobSecretArgs;
import com.pulumi.qovery.inputs.JobSecretAliasArgs;
import com.pulumi.qovery.inputs.JobSecretOverrideArgs;
import com.pulumi.qovery.inputs.JobScheduleArgs;
import com.pulumi.qovery.inputs.JobScheduleCronjobArgs;
import com.pulumi.qovery.inputs.JobScheduleCronjobCommandArgs;
import com.pulumi.qovery.inputs.JobSourceArgs;
import com.pulumi.qovery.inputs.JobSourceImageArgs;
import com.pulumi.qovery.inputs.JobHealthchecksArgs;
import com.pulumi.qovery.inputs.JobDeploymentRestrictionArgs;
import static com.pulumi.codegen.internal.Serialization.*;
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 myJob = new Job("myJob", JobArgs.builder()
.environmentId(qovery_environment.my_environment().id())
.autoPreview("true")
.cpu(500)
.memory(512)
.maxDurationSeconds(23)
.maxNbRestart(1)
.port(5432)
.environmentVariables(JobEnvironmentVariableArgs.builder()
.key("MY_TERRAFORM_CONTAINER_VARIABLE")
.value("MY_TERRAFORM_CONTAINER_VARIABLE_VALUE")
.build())
.environmentVariableAliases(JobEnvironmentVariableAliasArgs.builder()
.key("ENV_VAR_KEY_ALIAS")
.value("ENV_VAR_KEY")
.build())
.environmentVariableOverrides(JobEnvironmentVariableOverrideArgs.builder()
.key("SOME_PROJECT_VARIABLE")
.value("OVERRIDDEN_VALUE")
.build())
.secrets(JobSecretArgs.builder()
.key("MY_TERRAFORM_CONTAINER_SECRET")
.value("MY_TERRAFORM_CONTAINER_SECRET_VALUE")
.build())
.secretAliases(JobSecretAliasArgs.builder()
.key("SECRET_KEY_ALIAS")
.value("SECRET_KEY")
.build())
.secretOverrides(JobSecretOverrideArgs.builder()
.key("SOME_PROJECT_SECRET")
.value("OVERRIDDEN_VALUE")
.build())
.schedule(JobScheduleArgs.builder()
.on_start()
.on_stop()
.on_delete()
.cronjob(JobScheduleCronjobArgs.builder()
.schedule("*/2 * * * *")
.command(JobScheduleCronjobCommandArgs.builder()
.entrypoint("")
.arguments(
"echo",
"'DONE'")
.build())
.build())
.build())
.source(JobSourceArgs.builder()
.image(JobSourceImageArgs.builder()
.registryId(qovery_container_registry.my_container_registry().id())
.name("debian")
.tag("stable")
.build())
.build())
.healthchecks(JobHealthchecksArgs.builder()
.readiness_probe(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.liveness_probe(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.deploymentRestrictions(JobDeploymentRestrictionArgs.builder()
.mode("MATCH")
.type("PATH")
.value("path/or/file")
.build())
.advancedSettingsJson(serializeJson(
jsonObject(
jsonProperty("deployment.termination_grace_period_seconds", 120),
jsonProperty("build.timeout_max_sec", 120)
)))
.build(), CustomResourceOptions.builder()
.dependsOn(qovery_environment.my_environment())
.build());
}
}
resources:
myJob:
type: qovery:Job
properties:
# Required
environmentId: ${qovery_environment.my_environment.id}
# Optional
autoPreview: 'true'
cpu: 500
memory: 512
maxDurationSeconds: 23
maxNbRestart: 1
port: 5432
environmentVariables:
- key: MY_TERRAFORM_CONTAINER_VARIABLE
value: MY_TERRAFORM_CONTAINER_VARIABLE_VALUE
environmentVariableAliases:
- key: ENV_VAR_KEY_ALIAS
value: ENV_VAR_KEY
environmentVariableOverrides:
- key: SOME_PROJECT_VARIABLE
value: OVERRIDDEN_VALUE
secrets:
- key: MY_TERRAFORM_CONTAINER_SECRET
value: MY_TERRAFORM_CONTAINER_SECRET_VALUE
secretAliases:
- key: SECRET_KEY_ALIAS
value: SECRET_KEY
secretOverrides:
- key: SOME_PROJECT_SECRET
value: OVERRIDDEN_VALUE
schedule:
on_start: {}
on_stop: {}
on_delete: {}
cronjob:
schedule: '*/2 * * * *'
command:
entrypoint:
arguments:
- echo
- '''DONE'''
source:
image:
registryId: ${qovery_container_registry.my_container_registry.id}
name: debian
tag: stable
healthchecks:
readiness_probe:
type:
http:
port: 8000
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 10
successThreshold: 1
failureThreshold: 3
liveness_probe:
type:
http:
port: 8000
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 10
successThreshold: 1
failureThreshold: 3
deploymentRestrictions:
- mode: MATCH
type: PATH
value: path/or/file
advancedSettingsJson:
fn::toJSON:
deployment.termination_grace_period_seconds: 120
build.timeout_max_sec: 120
options:
dependson:
- ${qovery_environment.my_environment}
You can find complete examples within these repositories:
- Deploy a cron job
- Deploy a lifecycle job
Create Job Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Job(name: string, args: JobArgs, opts?: CustomResourceOptions);
@overload
def Job(resource_name: str,
args: JobArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Job(resource_name: str,
opts: Optional[ResourceOptions] = None,
environment_id: Optional[str] = None,
schedule: Optional[JobScheduleArgs] = None,
healthchecks: Optional[JobHealthchecksArgs] = None,
icon_uri: Optional[str] = None,
max_duration_seconds: Optional[int] = None,
deployment_restrictions: Optional[Sequence[JobDeploymentRestrictionArgs]] = None,
deployment_stage_id: Optional[str] = None,
auto_preview: Optional[bool] = None,
environment_variable_aliases: Optional[Sequence[JobEnvironmentVariableAliasArgs]] = None,
environment_variable_overrides: Optional[Sequence[JobEnvironmentVariableOverrideArgs]] = None,
environment_variables: Optional[Sequence[JobEnvironmentVariableArgs]] = None,
auto_deploy: Optional[bool] = None,
advanced_settings_json: Optional[str] = None,
labels_group_ids: Optional[Sequence[str]] = None,
cpu: Optional[int] = None,
max_nb_restart: Optional[int] = None,
memory: Optional[int] = None,
name: Optional[str] = None,
port: Optional[int] = None,
annotations_group_ids: Optional[Sequence[str]] = None,
secret_aliases: Optional[Sequence[JobSecretAliasArgs]] = None,
secret_overrides: Optional[Sequence[JobSecretOverrideArgs]] = None,
secrets: Optional[Sequence[JobSecretArgs]] = None,
source: Optional[JobSourceArgs] = None)
func NewJob(ctx *Context, name string, args JobArgs, opts ...ResourceOption) (*Job, error)
public Job(string name, JobArgs args, CustomResourceOptions? opts = null)
type: qovery:Job
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 JobArgs
- 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 JobArgs
- 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 JobArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args JobArgs
- 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 jobResource = new Qovery.Job("jobResource", new()
{
EnvironmentId = "string",
Schedule = new Qovery.Inputs.JobScheduleArgs
{
Cronjob = new Qovery.Inputs.JobScheduleCronjobArgs
{
Command = new Qovery.Inputs.JobScheduleCronjobCommandArgs
{
Arguments = new[]
{
"string",
},
Entrypoint = "string",
},
Schedule = "string",
},
LifecycleType = "string",
OnDelete = new Qovery.Inputs.JobScheduleOnDeleteArgs
{
Arguments = new[]
{
"string",
},
Entrypoint = "string",
},
OnStart = new Qovery.Inputs.JobScheduleOnStartArgs
{
Arguments = new[]
{
"string",
},
Entrypoint = "string",
},
OnStop = new Qovery.Inputs.JobScheduleOnStopArgs
{
Arguments = new[]
{
"string",
},
Entrypoint = "string",
},
},
Healthchecks = new Qovery.Inputs.JobHealthchecksArgs
{
LivenessProbe = new Qovery.Inputs.JobHealthchecksLivenessProbeArgs
{
FailureThreshold = 0,
InitialDelaySeconds = 0,
PeriodSeconds = 0,
SuccessThreshold = 0,
TimeoutSeconds = 0,
Type = new Qovery.Inputs.JobHealthchecksLivenessProbeTypeArgs
{
Exec = new Qovery.Inputs.JobHealthchecksLivenessProbeTypeExecArgs
{
Commands = new[]
{
"string",
},
},
Grpc = new Qovery.Inputs.JobHealthchecksLivenessProbeTypeGrpcArgs
{
Port = 0,
Service = "string",
},
Http = new Qovery.Inputs.JobHealthchecksLivenessProbeTypeHttpArgs
{
Port = 0,
Scheme = "string",
Path = "string",
},
Tcp = new Qovery.Inputs.JobHealthchecksLivenessProbeTypeTcpArgs
{
Port = 0,
Host = "string",
},
},
},
ReadinessProbe = new Qovery.Inputs.JobHealthchecksReadinessProbeArgs
{
FailureThreshold = 0,
InitialDelaySeconds = 0,
PeriodSeconds = 0,
SuccessThreshold = 0,
TimeoutSeconds = 0,
Type = new Qovery.Inputs.JobHealthchecksReadinessProbeTypeArgs
{
Exec = new Qovery.Inputs.JobHealthchecksReadinessProbeTypeExecArgs
{
Commands = new[]
{
"string",
},
},
Grpc = new Qovery.Inputs.JobHealthchecksReadinessProbeTypeGrpcArgs
{
Port = 0,
Service = "string",
},
Http = new Qovery.Inputs.JobHealthchecksReadinessProbeTypeHttpArgs
{
Port = 0,
Scheme = "string",
Path = "string",
},
Tcp = new Qovery.Inputs.JobHealthchecksReadinessProbeTypeTcpArgs
{
Port = 0,
Host = "string",
},
},
},
},
IconUri = "string",
MaxDurationSeconds = 0,
DeploymentRestrictions = new[]
{
new Qovery.Inputs.JobDeploymentRestrictionArgs
{
Mode = "string",
Type = "string",
Value = "string",
Id = "string",
},
},
DeploymentStageId = "string",
AutoPreview = false,
EnvironmentVariableAliases = new[]
{
new Qovery.Inputs.JobEnvironmentVariableAliasArgs
{
Key = "string",
Value = "string",
Description = "string",
Id = "string",
},
},
EnvironmentVariableOverrides = new[]
{
new Qovery.Inputs.JobEnvironmentVariableOverrideArgs
{
Key = "string",
Value = "string",
Description = "string",
Id = "string",
},
},
EnvironmentVariables = new[]
{
new Qovery.Inputs.JobEnvironmentVariableArgs
{
Key = "string",
Value = "string",
Description = "string",
Id = "string",
},
},
AutoDeploy = false,
AdvancedSettingsJson = "string",
LabelsGroupIds = new[]
{
"string",
},
Cpu = 0,
MaxNbRestart = 0,
Memory = 0,
Name = "string",
Port = 0,
AnnotationsGroupIds = new[]
{
"string",
},
SecretAliases = new[]
{
new Qovery.Inputs.JobSecretAliasArgs
{
Key = "string",
Value = "string",
Description = "string",
Id = "string",
},
},
SecretOverrides = new[]
{
new Qovery.Inputs.JobSecretOverrideArgs
{
Key = "string",
Value = "string",
Description = "string",
Id = "string",
},
},
Secrets = new[]
{
new Qovery.Inputs.JobSecretArgs
{
Key = "string",
Value = "string",
Description = "string",
Id = "string",
},
},
Source = new Qovery.Inputs.JobSourceArgs
{
Docker = new Qovery.Inputs.JobSourceDockerArgs
{
GitRepository = new Qovery.Inputs.JobSourceDockerGitRepositoryArgs
{
Branch = "string",
Url = "string",
GitTokenId = "string",
RootPath = "string",
},
DockerfilePath = "string",
DockerfileRaw = "string",
},
Image = new Qovery.Inputs.JobSourceImageArgs
{
Name = "string",
RegistryId = "string",
Tag = "string",
},
},
});
example, err := qovery.NewJob(ctx, "jobResource", &qovery.JobArgs{
EnvironmentId: pulumi.String("string"),
Schedule: &qovery.JobScheduleArgs{
Cronjob: &qovery.JobScheduleCronjobArgs{
Command: &qovery.JobScheduleCronjobCommandArgs{
Arguments: pulumi.StringArray{
pulumi.String("string"),
},
Entrypoint: pulumi.String("string"),
},
Schedule: pulumi.String("string"),
},
LifecycleType: pulumi.String("string"),
OnDelete: &qovery.JobScheduleOnDeleteArgs{
Arguments: pulumi.StringArray{
pulumi.String("string"),
},
Entrypoint: pulumi.String("string"),
},
OnStart: &qovery.JobScheduleOnStartArgs{
Arguments: pulumi.StringArray{
pulumi.String("string"),
},
Entrypoint: pulumi.String("string"),
},
OnStop: &qovery.JobScheduleOnStopArgs{
Arguments: pulumi.StringArray{
pulumi.String("string"),
},
Entrypoint: pulumi.String("string"),
},
},
Healthchecks: &qovery.JobHealthchecksArgs{
LivenessProbe: &qovery.JobHealthchecksLivenessProbeArgs{
FailureThreshold: pulumi.Int(0),
InitialDelaySeconds: pulumi.Int(0),
PeriodSeconds: pulumi.Int(0),
SuccessThreshold: pulumi.Int(0),
TimeoutSeconds: pulumi.Int(0),
Type: &qovery.JobHealthchecksLivenessProbeTypeArgs{
Exec: &qovery.JobHealthchecksLivenessProbeTypeExecArgs{
Commands: pulumi.StringArray{
pulumi.String("string"),
},
},
Grpc: &qovery.JobHealthchecksLivenessProbeTypeGrpcArgs{
Port: pulumi.Int(0),
Service: pulumi.String("string"),
},
Http: &qovery.JobHealthchecksLivenessProbeTypeHttpArgs{
Port: pulumi.Int(0),
Scheme: pulumi.String("string"),
Path: pulumi.String("string"),
},
Tcp: &qovery.JobHealthchecksLivenessProbeTypeTcpArgs{
Port: pulumi.Int(0),
Host: pulumi.String("string"),
},
},
},
ReadinessProbe: &qovery.JobHealthchecksReadinessProbeArgs{
FailureThreshold: pulumi.Int(0),
InitialDelaySeconds: pulumi.Int(0),
PeriodSeconds: pulumi.Int(0),
SuccessThreshold: pulumi.Int(0),
TimeoutSeconds: pulumi.Int(0),
Type: &qovery.JobHealthchecksReadinessProbeTypeArgs{
Exec: &qovery.JobHealthchecksReadinessProbeTypeExecArgs{
Commands: pulumi.StringArray{
pulumi.String("string"),
},
},
Grpc: &qovery.JobHealthchecksReadinessProbeTypeGrpcArgs{
Port: pulumi.Int(0),
Service: pulumi.String("string"),
},
Http: &qovery.JobHealthchecksReadinessProbeTypeHttpArgs{
Port: pulumi.Int(0),
Scheme: pulumi.String("string"),
Path: pulumi.String("string"),
},
Tcp: &qovery.JobHealthchecksReadinessProbeTypeTcpArgs{
Port: pulumi.Int(0),
Host: pulumi.String("string"),
},
},
},
},
IconUri: pulumi.String("string"),
MaxDurationSeconds: pulumi.Int(0),
DeploymentRestrictions: qovery.JobDeploymentRestrictionArray{
&qovery.JobDeploymentRestrictionArgs{
Mode: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
Id: pulumi.String("string"),
},
},
DeploymentStageId: pulumi.String("string"),
AutoPreview: pulumi.Bool(false),
EnvironmentVariableAliases: qovery.JobEnvironmentVariableAliasArray{
&qovery.JobEnvironmentVariableAliasArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
Description: pulumi.String("string"),
Id: pulumi.String("string"),
},
},
EnvironmentVariableOverrides: qovery.JobEnvironmentVariableOverrideArray{
&qovery.JobEnvironmentVariableOverrideArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
Description: pulumi.String("string"),
Id: pulumi.String("string"),
},
},
EnvironmentVariables: qovery.JobEnvironmentVariableArray{
&qovery.JobEnvironmentVariableArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
Description: pulumi.String("string"),
Id: pulumi.String("string"),
},
},
AutoDeploy: pulumi.Bool(false),
AdvancedSettingsJson: pulumi.String("string"),
LabelsGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
Cpu: pulumi.Int(0),
MaxNbRestart: pulumi.Int(0),
Memory: pulumi.Int(0),
Name: pulumi.String("string"),
Port: pulumi.Int(0),
AnnotationsGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
SecretAliases: qovery.JobSecretAliasArray{
&qovery.JobSecretAliasArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
Description: pulumi.String("string"),
Id: pulumi.String("string"),
},
},
SecretOverrides: qovery.JobSecretOverrideArray{
&qovery.JobSecretOverrideArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
Description: pulumi.String("string"),
Id: pulumi.String("string"),
},
},
Secrets: qovery.JobSecretArray{
&qovery.JobSecretArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
Description: pulumi.String("string"),
Id: pulumi.String("string"),
},
},
Source: &qovery.JobSourceArgs{
Docker: &qovery.JobSourceDockerArgs{
GitRepository: &qovery.JobSourceDockerGitRepositoryArgs{
Branch: pulumi.String("string"),
Url: pulumi.String("string"),
GitTokenId: pulumi.String("string"),
RootPath: pulumi.String("string"),
},
DockerfilePath: pulumi.String("string"),
DockerfileRaw: pulumi.String("string"),
},
Image: &qovery.JobSourceImageArgs{
Name: pulumi.String("string"),
RegistryId: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
})
var jobResource = new Job("jobResource", JobArgs.builder()
.environmentId("string")
.schedule(JobScheduleArgs.builder()
.cronjob(JobScheduleCronjobArgs.builder()
.command(JobScheduleCronjobCommandArgs.builder()
.arguments("string")
.entrypoint("string")
.build())
.schedule("string")
.build())
.lifecycleType("string")
.onDelete(JobScheduleOnDeleteArgs.builder()
.arguments("string")
.entrypoint("string")
.build())
.onStart(JobScheduleOnStartArgs.builder()
.arguments("string")
.entrypoint("string")
.build())
.onStop(JobScheduleOnStopArgs.builder()
.arguments("string")
.entrypoint("string")
.build())
.build())
.healthchecks(JobHealthchecksArgs.builder()
.livenessProbe(JobHealthchecksLivenessProbeArgs.builder()
.failureThreshold(0)
.initialDelaySeconds(0)
.periodSeconds(0)
.successThreshold(0)
.timeoutSeconds(0)
.type(JobHealthchecksLivenessProbeTypeArgs.builder()
.exec(JobHealthchecksLivenessProbeTypeExecArgs.builder()
.commands("string")
.build())
.grpc(JobHealthchecksLivenessProbeTypeGrpcArgs.builder()
.port(0)
.service("string")
.build())
.http(JobHealthchecksLivenessProbeTypeHttpArgs.builder()
.port(0)
.scheme("string")
.path("string")
.build())
.tcp(JobHealthchecksLivenessProbeTypeTcpArgs.builder()
.port(0)
.host("string")
.build())
.build())
.build())
.readinessProbe(JobHealthchecksReadinessProbeArgs.builder()
.failureThreshold(0)
.initialDelaySeconds(0)
.periodSeconds(0)
.successThreshold(0)
.timeoutSeconds(0)
.type(JobHealthchecksReadinessProbeTypeArgs.builder()
.exec(JobHealthchecksReadinessProbeTypeExecArgs.builder()
.commands("string")
.build())
.grpc(JobHealthchecksReadinessProbeTypeGrpcArgs.builder()
.port(0)
.service("string")
.build())
.http(JobHealthchecksReadinessProbeTypeHttpArgs.builder()
.port(0)
.scheme("string")
.path("string")
.build())
.tcp(JobHealthchecksReadinessProbeTypeTcpArgs.builder()
.port(0)
.host("string")
.build())
.build())
.build())
.build())
.iconUri("string")
.maxDurationSeconds(0)
.deploymentRestrictions(JobDeploymentRestrictionArgs.builder()
.mode("string")
.type("string")
.value("string")
.id("string")
.build())
.deploymentStageId("string")
.autoPreview(false)
.environmentVariableAliases(JobEnvironmentVariableAliasArgs.builder()
.key("string")
.value("string")
.description("string")
.id("string")
.build())
.environmentVariableOverrides(JobEnvironmentVariableOverrideArgs.builder()
.key("string")
.value("string")
.description("string")
.id("string")
.build())
.environmentVariables(JobEnvironmentVariableArgs.builder()
.key("string")
.value("string")
.description("string")
.id("string")
.build())
.autoDeploy(false)
.advancedSettingsJson("string")
.labelsGroupIds("string")
.cpu(0)
.maxNbRestart(0)
.memory(0)
.name("string")
.port(0)
.annotationsGroupIds("string")
.secretAliases(JobSecretAliasArgs.builder()
.key("string")
.value("string")
.description("string")
.id("string")
.build())
.secretOverrides(JobSecretOverrideArgs.builder()
.key("string")
.value("string")
.description("string")
.id("string")
.build())
.secrets(JobSecretArgs.builder()
.key("string")
.value("string")
.description("string")
.id("string")
.build())
.source(JobSourceArgs.builder()
.docker(JobSourceDockerArgs.builder()
.gitRepository(JobSourceDockerGitRepositoryArgs.builder()
.branch("string")
.url("string")
.gitTokenId("string")
.rootPath("string")
.build())
.dockerfilePath("string")
.dockerfileRaw("string")
.build())
.image(JobSourceImageArgs.builder()
.name("string")
.registryId("string")
.tag("string")
.build())
.build())
.build());
job_resource = qovery.Job("jobResource",
environment_id="string",
schedule={
"cronjob": {
"command": {
"arguments": ["string"],
"entrypoint": "string",
},
"schedule": "string",
},
"lifecycle_type": "string",
"on_delete": {
"arguments": ["string"],
"entrypoint": "string",
},
"on_start": {
"arguments": ["string"],
"entrypoint": "string",
},
"on_stop": {
"arguments": ["string"],
"entrypoint": "string",
},
},
healthchecks={
"liveness_probe": {
"failure_threshold": 0,
"initial_delay_seconds": 0,
"period_seconds": 0,
"success_threshold": 0,
"timeout_seconds": 0,
"type": {
"exec_": {
"commands": ["string"],
},
"grpc": {
"port": 0,
"service": "string",
},
"http": {
"port": 0,
"scheme": "string",
"path": "string",
},
"tcp": {
"port": 0,
"host": "string",
},
},
},
"readiness_probe": {
"failure_threshold": 0,
"initial_delay_seconds": 0,
"period_seconds": 0,
"success_threshold": 0,
"timeout_seconds": 0,
"type": {
"exec_": {
"commands": ["string"],
},
"grpc": {
"port": 0,
"service": "string",
},
"http": {
"port": 0,
"scheme": "string",
"path": "string",
},
"tcp": {
"port": 0,
"host": "string",
},
},
},
},
icon_uri="string",
max_duration_seconds=0,
deployment_restrictions=[{
"mode": "string",
"type": "string",
"value": "string",
"id": "string",
}],
deployment_stage_id="string",
auto_preview=False,
environment_variable_aliases=[{
"key": "string",
"value": "string",
"description": "string",
"id": "string",
}],
environment_variable_overrides=[{
"key": "string",
"value": "string",
"description": "string",
"id": "string",
}],
environment_variables=[{
"key": "string",
"value": "string",
"description": "string",
"id": "string",
}],
auto_deploy=False,
advanced_settings_json="string",
labels_group_ids=["string"],
cpu=0,
max_nb_restart=0,
memory=0,
name="string",
port=0,
annotations_group_ids=["string"],
secret_aliases=[{
"key": "string",
"value": "string",
"description": "string",
"id": "string",
}],
secret_overrides=[{
"key": "string",
"value": "string",
"description": "string",
"id": "string",
}],
secrets=[{
"key": "string",
"value": "string",
"description": "string",
"id": "string",
}],
source={
"docker": {
"git_repository": {
"branch": "string",
"url": "string",
"git_token_id": "string",
"root_path": "string",
},
"dockerfile_path": "string",
"dockerfile_raw": "string",
},
"image": {
"name": "string",
"registry_id": "string",
"tag": "string",
},
})
const jobResource = new qovery.Job("jobResource", {
environmentId: "string",
schedule: {
cronjob: {
command: {
arguments: ["string"],
entrypoint: "string",
},
schedule: "string",
},
lifecycleType: "string",
onDelete: {
arguments: ["string"],
entrypoint: "string",
},
onStart: {
arguments: ["string"],
entrypoint: "string",
},
onStop: {
arguments: ["string"],
entrypoint: "string",
},
},
healthchecks: {
livenessProbe: {
failureThreshold: 0,
initialDelaySeconds: 0,
periodSeconds: 0,
successThreshold: 0,
timeoutSeconds: 0,
type: {
exec: {
commands: ["string"],
},
grpc: {
port: 0,
service: "string",
},
http: {
port: 0,
scheme: "string",
path: "string",
},
tcp: {
port: 0,
host: "string",
},
},
},
readinessProbe: {
failureThreshold: 0,
initialDelaySeconds: 0,
periodSeconds: 0,
successThreshold: 0,
timeoutSeconds: 0,
type: {
exec: {
commands: ["string"],
},
grpc: {
port: 0,
service: "string",
},
http: {
port: 0,
scheme: "string",
path: "string",
},
tcp: {
port: 0,
host: "string",
},
},
},
},
iconUri: "string",
maxDurationSeconds: 0,
deploymentRestrictions: [{
mode: "string",
type: "string",
value: "string",
id: "string",
}],
deploymentStageId: "string",
autoPreview: false,
environmentVariableAliases: [{
key: "string",
value: "string",
description: "string",
id: "string",
}],
environmentVariableOverrides: [{
key: "string",
value: "string",
description: "string",
id: "string",
}],
environmentVariables: [{
key: "string",
value: "string",
description: "string",
id: "string",
}],
autoDeploy: false,
advancedSettingsJson: "string",
labelsGroupIds: ["string"],
cpu: 0,
maxNbRestart: 0,
memory: 0,
name: "string",
port: 0,
annotationsGroupIds: ["string"],
secretAliases: [{
key: "string",
value: "string",
description: "string",
id: "string",
}],
secretOverrides: [{
key: "string",
value: "string",
description: "string",
id: "string",
}],
secrets: [{
key: "string",
value: "string",
description: "string",
id: "string",
}],
source: {
docker: {
gitRepository: {
branch: "string",
url: "string",
gitTokenId: "string",
rootPath: "string",
},
dockerfilePath: "string",
dockerfileRaw: "string",
},
image: {
name: "string",
registryId: "string",
tag: "string",
},
},
});
type: qovery:Job
properties:
advancedSettingsJson: string
annotationsGroupIds:
- string
autoDeploy: false
autoPreview: false
cpu: 0
deploymentRestrictions:
- id: string
mode: string
type: string
value: string
deploymentStageId: string
environmentId: string
environmentVariableAliases:
- description: string
id: string
key: string
value: string
environmentVariableOverrides:
- description: string
id: string
key: string
value: string
environmentVariables:
- description: string
id: string
key: string
value: string
healthchecks:
livenessProbe:
failureThreshold: 0
initialDelaySeconds: 0
periodSeconds: 0
successThreshold: 0
timeoutSeconds: 0
type:
exec:
commands:
- string
grpc:
port: 0
service: string
http:
path: string
port: 0
scheme: string
tcp:
host: string
port: 0
readinessProbe:
failureThreshold: 0
initialDelaySeconds: 0
periodSeconds: 0
successThreshold: 0
timeoutSeconds: 0
type:
exec:
commands:
- string
grpc:
port: 0
service: string
http:
path: string
port: 0
scheme: string
tcp:
host: string
port: 0
iconUri: string
labelsGroupIds:
- string
maxDurationSeconds: 0
maxNbRestart: 0
memory: 0
name: string
port: 0
schedule:
cronjob:
command:
arguments:
- string
entrypoint: string
schedule: string
lifecycleType: string
onDelete:
arguments:
- string
entrypoint: string
onStart:
arguments:
- string
entrypoint: string
onStop:
arguments:
- string
entrypoint: string
secretAliases:
- description: string
id: string
key: string
value: string
secretOverrides:
- description: string
id: string
key: string
value: string
secrets:
- description: string
id: string
key: string
value: string
source:
docker:
dockerfilePath: string
dockerfileRaw: string
gitRepository:
branch: string
gitTokenId: string
rootPath: string
url: string
image:
name: string
registryId: string
tag: string
Job Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Job resource accepts the following input properties:
- Environment
Id string - Id of the environment.
- Healthchecks
ediri.
Qovery. Inputs. Job Healthchecks - Configuration for the healthchecks that are going to be executed against your service
- Schedule
ediri.
Qovery. Inputs. Job Schedule - Job's schedule.
- Advanced
Settings stringJson - Advanced settings.
- Annotations
Group List<string>Ids - List of annotations group ids
- Auto
Deploy bool - Specify if the job will be automatically updated after receiving a new image tag.
- Auto
Preview bool - Specify if the environment preview option is activated or not for this job.
- Cpu int
- CPU of the job in millicores (m) [1000m = 1 CPU]. - Must be:
>= 10
. - Default:500
. - Deployment
Restrictions List<ediri.Qovery. Inputs. Job Deployment Restriction> - List of deployment restrictions
- Deployment
Stage stringId - Id of the deployment stage.
- Environment
Variable List<ediri.Aliases Qovery. Inputs. Job Environment Variable Alias> - List of environment variable aliases linked to this job.
- Environment
Variable List<ediri.Overrides Qovery. Inputs. Job Environment Variable Override> - List of environment variable overrides linked to this job.
- Environment
Variables List<ediri.Qovery. Inputs. Job Environment Variable> - List of environment variables linked to this job.
- Icon
Uri string - Icon URI representing the job.
- Labels
Group List<string>Ids - List of labels group ids
- Max
Duration intSeconds - Job's max duration in seconds. - Must be:
>= 0
. - Default:300
. - Max
Nb intRestart - Job's max number of restarts. - Must be:
>= 0
. - Default:0
. - Memory int
- RAM of the job in MB [1024MB = 1GB]. - Must be:
>= 1
. - Default:512
. - Name string
- Name of the job.
- Port int
- Job's probes port. - Must be:
>= 1
and<= 65535
. - Secret
Aliases List<ediri.Qovery. Inputs. Job Secret Alias> - List of secret aliases linked to this job.
- Secret
Overrides List<ediri.Qovery. Inputs. Job Secret Override> - List of secret overrides linked to this job.
- Secrets
List<ediri.
Qovery. Inputs. Job Secret> - List of secrets linked to this job.
- Source
ediri.
Qovery. Inputs. Job Source - Job's source.
- Environment
Id string - Id of the environment.
- Healthchecks
Job
Healthchecks Args - Configuration for the healthchecks that are going to be executed against your service
- Schedule
Job
Schedule Args - Job's schedule.
- Advanced
Settings stringJson - Advanced settings.
- Annotations
Group []stringIds - List of annotations group ids
- Auto
Deploy bool - Specify if the job will be automatically updated after receiving a new image tag.
- Auto
Preview bool - Specify if the environment preview option is activated or not for this job.
- Cpu int
- CPU of the job in millicores (m) [1000m = 1 CPU]. - Must be:
>= 10
. - Default:500
. - Deployment
Restrictions []JobDeployment Restriction Args - List of deployment restrictions
- Deployment
Stage stringId - Id of the deployment stage.
- Environment
Variable []JobAliases Environment Variable Alias Args - List of environment variable aliases linked to this job.
- Environment
Variable []JobOverrides Environment Variable Override Args - List of environment variable overrides linked to this job.
- Environment
Variables []JobEnvironment Variable Args - List of environment variables linked to this job.
- Icon
Uri string - Icon URI representing the job.
- Labels
Group []stringIds - List of labels group ids
- Max
Duration intSeconds - Job's max duration in seconds. - Must be:
>= 0
. - Default:300
. - Max
Nb intRestart - Job's max number of restarts. - Must be:
>= 0
. - Default:0
. - Memory int
- RAM of the job in MB [1024MB = 1GB]. - Must be:
>= 1
. - Default:512
. - Name string
- Name of the job.
- Port int
- Job's probes port. - Must be:
>= 1
and<= 65535
. - Secret
Aliases []JobSecret Alias Args - List of secret aliases linked to this job.
- Secret
Overrides []JobSecret Override Args - List of secret overrides linked to this job.
- Secrets
[]Job
Secret Args - List of secrets linked to this job.
- Source
Job
Source Args - Job's source.
- environment
Id String - Id of the environment.
- healthchecks
Job
Healthchecks - Configuration for the healthchecks that are going to be executed against your service
- schedule
Job
Schedule - Job's schedule.
- advanced
Settings StringJson - Advanced settings.
- annotations
Group List<String>Ids - List of annotations group ids
- auto
Deploy Boolean - Specify if the job will be automatically updated after receiving a new image tag.
- auto
Preview Boolean - Specify if the environment preview option is activated or not for this job.
- cpu Integer
- CPU of the job in millicores (m) [1000m = 1 CPU]. - Must be:
>= 10
. - Default:500
. - deployment
Restrictions List<JobDeployment Restriction> - List of deployment restrictions
- deployment
Stage StringId - Id of the deployment stage.
- environment
Variable List<JobAliases Environment Variable Alias> - List of environment variable aliases linked to this job.
- environment
Variable List<JobOverrides Environment Variable Override> - List of environment variable overrides linked to this job.
- environment
Variables List<JobEnvironment Variable> - List of environment variables linked to this job.
- icon
Uri String - Icon URI representing the job.
- labels
Group List<String>Ids - List of labels group ids
- max
Duration IntegerSeconds - Job's max duration in seconds. - Must be:
>= 0
. - Default:300
. - max
Nb IntegerRestart - Job's max number of restarts. - Must be:
>= 0
. - Default:0
. - memory Integer
- RAM of the job in MB [1024MB = 1GB]. - Must be:
>= 1
. - Default:512
. - name String
- Name of the job.
- port Integer
- Job's probes port. - Must be:
>= 1
and<= 65535
. - secret
Aliases List<JobSecret Alias> - List of secret aliases linked to this job.
- secret
Overrides List<JobSecret Override> - List of secret overrides linked to this job.
- secrets
List<Job
Secret> - List of secrets linked to this job.
- source
Job
Source - Job's source.
- environment
Id string - Id of the environment.
- healthchecks
Job
Healthchecks - Configuration for the healthchecks that are going to be executed against your service
- schedule
Job
Schedule - Job's schedule.
- advanced
Settings stringJson - Advanced settings.
- annotations
Group string[]Ids - List of annotations group ids
- auto
Deploy boolean - Specify if the job will be automatically updated after receiving a new image tag.
- auto
Preview boolean - Specify if the environment preview option is activated or not for this job.
- cpu number
- CPU of the job in millicores (m) [1000m = 1 CPU]. - Must be:
>= 10
. - Default:500
. - deployment
Restrictions JobDeployment Restriction[] - List of deployment restrictions
- deployment
Stage stringId - Id of the deployment stage.
- environment
Variable JobAliases Environment Variable Alias[] - List of environment variable aliases linked to this job.
- environment
Variable JobOverrides Environment Variable Override[] - List of environment variable overrides linked to this job.
- environment
Variables JobEnvironment Variable[] - List of environment variables linked to this job.
- icon
Uri string - Icon URI representing the job.
- labels
Group string[]Ids - List of labels group ids
- max
Duration numberSeconds - Job's max duration in seconds. - Must be:
>= 0
. - Default:300
. - max
Nb numberRestart - Job's max number of restarts. - Must be:
>= 0
. - Default:0
. - memory number
- RAM of the job in MB [1024MB = 1GB]. - Must be:
>= 1
. - Default:512
. - name string
- Name of the job.
- port number
- Job's probes port. - Must be:
>= 1
and<= 65535
. - secret
Aliases JobSecret Alias[] - List of secret aliases linked to this job.
- secret
Overrides JobSecret Override[] - List of secret overrides linked to this job.
- secrets
Job
Secret[] - List of secrets linked to this job.
- source
Job
Source - Job's source.
- environment_
id str - Id of the environment.
- healthchecks
Job
Healthchecks Args - Configuration for the healthchecks that are going to be executed against your service
- schedule
Job
Schedule Args - Job's schedule.
- advanced_
settings_ strjson - Advanced settings.
- annotations_
group_ Sequence[str]ids - List of annotations group ids
- auto_
deploy bool - Specify if the job will be automatically updated after receiving a new image tag.
- auto_
preview bool - Specify if the environment preview option is activated or not for this job.
- cpu int
- CPU of the job in millicores (m) [1000m = 1 CPU]. - Must be:
>= 10
. - Default:500
. - deployment_
restrictions Sequence[JobDeployment Restriction Args] - List of deployment restrictions
- deployment_
stage_ strid - Id of the deployment stage.
- environment_
variable_ Sequence[Jobaliases Environment Variable Alias Args] - List of environment variable aliases linked to this job.
- environment_
variable_ Sequence[Joboverrides Environment Variable Override Args] - List of environment variable overrides linked to this job.
- environment_
variables Sequence[JobEnvironment Variable Args] - List of environment variables linked to this job.
- icon_
uri str - Icon URI representing the job.
- labels_
group_ Sequence[str]ids - List of labels group ids
- max_
duration_ intseconds - Job's max duration in seconds. - Must be:
>= 0
. - Default:300
. - max_
nb_ intrestart - Job's max number of restarts. - Must be:
>= 0
. - Default:0
. - memory int
- RAM of the job in MB [1024MB = 1GB]. - Must be:
>= 1
. - Default:512
. - name str
- Name of the job.
- port int
- Job's probes port. - Must be:
>= 1
and<= 65535
. - secret_
aliases Sequence[JobSecret Alias Args] - List of secret aliases linked to this job.
- secret_
overrides Sequence[JobSecret Override Args] - List of secret overrides linked to this job.
- secrets
Sequence[Job
Secret Args] - List of secrets linked to this job.
- source
Job
Source Args - Job's source.
- environment
Id String - Id of the environment.
- healthchecks Property Map
- Configuration for the healthchecks that are going to be executed against your service
- schedule Property Map
- Job's schedule.
- advanced
Settings StringJson - Advanced settings.
- annotations
Group List<String>Ids - List of annotations group ids
- auto
Deploy Boolean - Specify if the job will be automatically updated after receiving a new image tag.
- auto
Preview Boolean - Specify if the environment preview option is activated or not for this job.
- cpu Number
- CPU of the job in millicores (m) [1000m = 1 CPU]. - Must be:
>= 10
. - Default:500
. - deployment
Restrictions List<Property Map> - List of deployment restrictions
- deployment
Stage StringId - Id of the deployment stage.
- environment
Variable List<Property Map>Aliases - List of environment variable aliases linked to this job.
- environment
Variable List<Property Map>Overrides - List of environment variable overrides linked to this job.
- environment
Variables List<Property Map> - List of environment variables linked to this job.
- icon
Uri String - Icon URI representing the job.
- labels
Group List<String>Ids - List of labels group ids
- max
Duration NumberSeconds - Job's max duration in seconds. - Must be:
>= 0
. - Default:300
. - max
Nb NumberRestart - Job's max number of restarts. - Must be:
>= 0
. - Default:0
. - memory Number
- RAM of the job in MB [1024MB = 1GB]. - Must be:
>= 1
. - Default:512
. - name String
- Name of the job.
- port Number
- Job's probes port. - Must be:
>= 1
and<= 65535
. - secret
Aliases List<Property Map> - List of secret aliases linked to this job.
- secret
Overrides List<Property Map> - List of secret overrides linked to this job.
- secrets List<Property Map>
- List of secrets linked to this job.
- source Property Map
- Job's source.
Outputs
All input properties are implicitly available as output properties. Additionally, the Job resource produces the following output properties:
- Built
In List<ediri.Environment Variables Qovery. Outputs. Job Built In Environment Variable> - List of built-in environment variables linked to this job.
- External
Host string - The job external FQDN host [NOTE: only if your job is using a publicly accessible port].
- Id string
- The provider-assigned unique ID for this managed resource.
- Internal
Host string - The job internal host.
- Built
In []JobEnvironment Variables Built In Environment Variable - List of built-in environment variables linked to this job.
- External
Host string - The job external FQDN host [NOTE: only if your job is using a publicly accessible port].
- Id string
- The provider-assigned unique ID for this managed resource.
- Internal
Host string - The job internal host.
- built
In List<JobEnvironment Variables Built In Environment Variable> - List of built-in environment variables linked to this job.
- external
Host String - The job external FQDN host [NOTE: only if your job is using a publicly accessible port].
- id String
- The provider-assigned unique ID for this managed resource.
- internal
Host String - The job internal host.
- built
In JobEnvironment Variables Built In Environment Variable[] - List of built-in environment variables linked to this job.
- external
Host string - The job external FQDN host [NOTE: only if your job is using a publicly accessible port].
- id string
- The provider-assigned unique ID for this managed resource.
- internal
Host string - The job internal host.
- built_
in_ Sequence[Jobenvironment_ variables Built In Environment Variable] - List of built-in environment variables linked to this job.
- external_
host str - The job external FQDN host [NOTE: only if your job is using a publicly accessible port].
- id str
- The provider-assigned unique ID for this managed resource.
- internal_
host str - The job internal host.
- built
In List<Property Map>Environment Variables - List of built-in environment variables linked to this job.
- external
Host String - The job external FQDN host [NOTE: only if your job is using a publicly accessible port].
- id String
- The provider-assigned unique ID for this managed resource.
- internal
Host String - The job internal host.
Look up Existing Job Resource
Get an existing Job 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?: JobState, opts?: CustomResourceOptions): Job
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
advanced_settings_json: Optional[str] = None,
annotations_group_ids: Optional[Sequence[str]] = None,
auto_deploy: Optional[bool] = None,
auto_preview: Optional[bool] = None,
built_in_environment_variables: Optional[Sequence[JobBuiltInEnvironmentVariableArgs]] = None,
cpu: Optional[int] = None,
deployment_restrictions: Optional[Sequence[JobDeploymentRestrictionArgs]] = None,
deployment_stage_id: Optional[str] = None,
environment_id: Optional[str] = None,
environment_variable_aliases: Optional[Sequence[JobEnvironmentVariableAliasArgs]] = None,
environment_variable_overrides: Optional[Sequence[JobEnvironmentVariableOverrideArgs]] = None,
environment_variables: Optional[Sequence[JobEnvironmentVariableArgs]] = None,
external_host: Optional[str] = None,
healthchecks: Optional[JobHealthchecksArgs] = None,
icon_uri: Optional[str] = None,
internal_host: Optional[str] = None,
labels_group_ids: Optional[Sequence[str]] = None,
max_duration_seconds: Optional[int] = None,
max_nb_restart: Optional[int] = None,
memory: Optional[int] = None,
name: Optional[str] = None,
port: Optional[int] = None,
schedule: Optional[JobScheduleArgs] = None,
secret_aliases: Optional[Sequence[JobSecretAliasArgs]] = None,
secret_overrides: Optional[Sequence[JobSecretOverrideArgs]] = None,
secrets: Optional[Sequence[JobSecretArgs]] = None,
source: Optional[JobSourceArgs] = None) -> Job
func GetJob(ctx *Context, name string, id IDInput, state *JobState, opts ...ResourceOption) (*Job, error)
public static Job Get(string name, Input<string> id, JobState? state, CustomResourceOptions? opts = null)
public static Job get(String name, Output<String> id, JobState 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.
- Advanced
Settings stringJson - Advanced settings.
- Annotations
Group List<string>Ids - List of annotations group ids
- Auto
Deploy bool - Specify if the job will be automatically updated after receiving a new image tag.
- Auto
Preview bool - Specify if the environment preview option is activated or not for this job.
- Built
In List<ediri.Environment Variables Qovery. Inputs. Job Built In Environment Variable> - List of built-in environment variables linked to this job.
- Cpu int
- CPU of the job in millicores (m) [1000m = 1 CPU]. - Must be:
>= 10
. - Default:500
. - Deployment
Restrictions List<ediri.Qovery. Inputs. Job Deployment Restriction> - List of deployment restrictions
- Deployment
Stage stringId - Id of the deployment stage.
- Environment
Id string - Id of the environment.
- Environment
Variable List<ediri.Aliases Qovery. Inputs. Job Environment Variable Alias> - List of environment variable aliases linked to this job.
- Environment
Variable List<ediri.Overrides Qovery. Inputs. Job Environment Variable Override> - List of environment variable overrides linked to this job.
- Environment
Variables List<ediri.Qovery. Inputs. Job Environment Variable> - List of environment variables linked to this job.
- External
Host string - The job external FQDN host [NOTE: only if your job is using a publicly accessible port].
- Healthchecks
ediri.
Qovery. Inputs. Job Healthchecks - Configuration for the healthchecks that are going to be executed against your service
- Icon
Uri string - Icon URI representing the job.
- Internal
Host string - The job internal host.
- Labels
Group List<string>Ids - List of labels group ids
- Max
Duration intSeconds - Job's max duration in seconds. - Must be:
>= 0
. - Default:300
. - Max
Nb intRestart - Job's max number of restarts. - Must be:
>= 0
. - Default:0
. - Memory int
- RAM of the job in MB [1024MB = 1GB]. - Must be:
>= 1
. - Default:512
. - Name string
- Name of the job.
- Port int
- Job's probes port. - Must be:
>= 1
and<= 65535
. - Schedule
ediri.
Qovery. Inputs. Job Schedule - Job's schedule.
- Secret
Aliases List<ediri.Qovery. Inputs. Job Secret Alias> - List of secret aliases linked to this job.
- Secret
Overrides List<ediri.Qovery. Inputs. Job Secret Override> - List of secret overrides linked to this job.
- Secrets
List<ediri.
Qovery. Inputs. Job Secret> - List of secrets linked to this job.
- Source
ediri.
Qovery. Inputs. Job Source - Job's source.
- Advanced
Settings stringJson - Advanced settings.
- Annotations
Group []stringIds - List of annotations group ids
- Auto
Deploy bool - Specify if the job will be automatically updated after receiving a new image tag.
- Auto
Preview bool - Specify if the environment preview option is activated or not for this job.
- Built
In []JobEnvironment Variables Built In Environment Variable Args - List of built-in environment variables linked to this job.
- Cpu int
- CPU of the job in millicores (m) [1000m = 1 CPU]. - Must be:
>= 10
. - Default:500
. - Deployment
Restrictions []JobDeployment Restriction Args - List of deployment restrictions
- Deployment
Stage stringId - Id of the deployment stage.
- Environment
Id string - Id of the environment.
- Environment
Variable []JobAliases Environment Variable Alias Args - List of environment variable aliases linked to this job.
- Environment
Variable []JobOverrides Environment Variable Override Args - List of environment variable overrides linked to this job.
- Environment
Variables []JobEnvironment Variable Args - List of environment variables linked to this job.
- External
Host string - The job external FQDN host [NOTE: only if your job is using a publicly accessible port].
- Healthchecks
Job
Healthchecks Args - Configuration for the healthchecks that are going to be executed against your service
- Icon
Uri string - Icon URI representing the job.
- Internal
Host string - The job internal host.
- Labels
Group []stringIds - List of labels group ids
- Max
Duration intSeconds - Job's max duration in seconds. - Must be:
>= 0
. - Default:300
. - Max
Nb intRestart - Job's max number of restarts. - Must be:
>= 0
. - Default:0
. - Memory int
- RAM of the job in MB [1024MB = 1GB]. - Must be:
>= 1
. - Default:512
. - Name string
- Name of the job.
- Port int
- Job's probes port. - Must be:
>= 1
and<= 65535
. - Schedule
Job
Schedule Args - Job's schedule.
- Secret
Aliases []JobSecret Alias Args - List of secret aliases linked to this job.
- Secret
Overrides []JobSecret Override Args - List of secret overrides linked to this job.
- Secrets
[]Job
Secret Args - List of secrets linked to this job.
- Source
Job
Source Args - Job's source.
- advanced
Settings StringJson - Advanced settings.
- annotations
Group List<String>Ids - List of annotations group ids
- auto
Deploy Boolean - Specify if the job will be automatically updated after receiving a new image tag.
- auto
Preview Boolean - Specify if the environment preview option is activated or not for this job.
- built
In List<JobEnvironment Variables Built In Environment Variable> - List of built-in environment variables linked to this job.
- cpu Integer
- CPU of the job in millicores (m) [1000m = 1 CPU]. - Must be:
>= 10
. - Default:500
. - deployment
Restrictions List<JobDeployment Restriction> - List of deployment restrictions
- deployment
Stage StringId - Id of the deployment stage.
- environment
Id String - Id of the environment.
- environment
Variable List<JobAliases Environment Variable Alias> - List of environment variable aliases linked to this job.
- environment
Variable List<JobOverrides Environment Variable Override> - List of environment variable overrides linked to this job.
- environment
Variables List<JobEnvironment Variable> - List of environment variables linked to this job.
- external
Host String - The job external FQDN host [NOTE: only if your job is using a publicly accessible port].
- healthchecks
Job
Healthchecks - Configuration for the healthchecks that are going to be executed against your service
- icon
Uri String - Icon URI representing the job.
- internal
Host String - The job internal host.
- labels
Group List<String>Ids - List of labels group ids
- max
Duration IntegerSeconds - Job's max duration in seconds. - Must be:
>= 0
. - Default:300
. - max
Nb IntegerRestart - Job's max number of restarts. - Must be:
>= 0
. - Default:0
. - memory Integer
- RAM of the job in MB [1024MB = 1GB]. - Must be:
>= 1
. - Default:512
. - name String
- Name of the job.
- port Integer
- Job's probes port. - Must be:
>= 1
and<= 65535
. - schedule
Job
Schedule - Job's schedule.
- secret
Aliases List<JobSecret Alias> - List of secret aliases linked to this job.
- secret
Overrides List<JobSecret Override> - List of secret overrides linked to this job.
- secrets
List<Job
Secret> - List of secrets linked to this job.
- source
Job
Source - Job's source.
- advanced
Settings stringJson - Advanced settings.
- annotations
Group string[]Ids - List of annotations group ids
- auto
Deploy boolean - Specify if the job will be automatically updated after receiving a new image tag.
- auto
Preview boolean - Specify if the environment preview option is activated or not for this job.
- built
In JobEnvironment Variables Built In Environment Variable[] - List of built-in environment variables linked to this job.
- cpu number
- CPU of the job in millicores (m) [1000m = 1 CPU]. - Must be:
>= 10
. - Default:500
. - deployment
Restrictions JobDeployment Restriction[] - List of deployment restrictions
- deployment
Stage stringId - Id of the deployment stage.
- environment
Id string - Id of the environment.
- environment
Variable JobAliases Environment Variable Alias[] - List of environment variable aliases linked to this job.
- environment
Variable JobOverrides Environment Variable Override[] - List of environment variable overrides linked to this job.
- environment
Variables JobEnvironment Variable[] - List of environment variables linked to this job.
- external
Host string - The job external FQDN host [NOTE: only if your job is using a publicly accessible port].
- healthchecks
Job
Healthchecks - Configuration for the healthchecks that are going to be executed against your service
- icon
Uri string - Icon URI representing the job.
- internal
Host string - The job internal host.
- labels
Group string[]Ids - List of labels group ids
- max
Duration numberSeconds - Job's max duration in seconds. - Must be:
>= 0
. - Default:300
. - max
Nb numberRestart - Job's max number of restarts. - Must be:
>= 0
. - Default:0
. - memory number
- RAM of the job in MB [1024MB = 1GB]. - Must be:
>= 1
. - Default:512
. - name string
- Name of the job.
- port number
- Job's probes port. - Must be:
>= 1
and<= 65535
. - schedule
Job
Schedule - Job's schedule.
- secret
Aliases JobSecret Alias[] - List of secret aliases linked to this job.
- secret
Overrides JobSecret Override[] - List of secret overrides linked to this job.
- secrets
Job
Secret[] - List of secrets linked to this job.
- source
Job
Source - Job's source.
- advanced_
settings_ strjson - Advanced settings.
- annotations_
group_ Sequence[str]ids - List of annotations group ids
- auto_
deploy bool - Specify if the job will be automatically updated after receiving a new image tag.
- auto_
preview bool - Specify if the environment preview option is activated or not for this job.
- built_
in_ Sequence[Jobenvironment_ variables Built In Environment Variable Args] - List of built-in environment variables linked to this job.
- cpu int
- CPU of the job in millicores (m) [1000m = 1 CPU]. - Must be:
>= 10
. - Default:500
. - deployment_
restrictions Sequence[JobDeployment Restriction Args] - List of deployment restrictions
- deployment_
stage_ strid - Id of the deployment stage.
- environment_
id str - Id of the environment.
- environment_
variable_ Sequence[Jobaliases Environment Variable Alias Args] - List of environment variable aliases linked to this job.
- environment_
variable_ Sequence[Joboverrides Environment Variable Override Args] - List of environment variable overrides linked to this job.
- environment_
variables Sequence[JobEnvironment Variable Args] - List of environment variables linked to this job.
- external_
host str - The job external FQDN host [NOTE: only if your job is using a publicly accessible port].
- healthchecks
Job
Healthchecks Args - Configuration for the healthchecks that are going to be executed against your service
- icon_
uri str - Icon URI representing the job.
- internal_
host str - The job internal host.
- labels_
group_ Sequence[str]ids - List of labels group ids
- max_
duration_ intseconds - Job's max duration in seconds. - Must be:
>= 0
. - Default:300
. - max_
nb_ intrestart - Job's max number of restarts. - Must be:
>= 0
. - Default:0
. - memory int
- RAM of the job in MB [1024MB = 1GB]. - Must be:
>= 1
. - Default:512
. - name str
- Name of the job.
- port int
- Job's probes port. - Must be:
>= 1
and<= 65535
. - schedule
Job
Schedule Args - Job's schedule.
- secret_
aliases Sequence[JobSecret Alias Args] - List of secret aliases linked to this job.
- secret_
overrides Sequence[JobSecret Override Args] - List of secret overrides linked to this job.
- secrets
Sequence[Job
Secret Args] - List of secrets linked to this job.
- source
Job
Source Args - Job's source.
- advanced
Settings StringJson - Advanced settings.
- annotations
Group List<String>Ids - List of annotations group ids
- auto
Deploy Boolean - Specify if the job will be automatically updated after receiving a new image tag.
- auto
Preview Boolean - Specify if the environment preview option is activated or not for this job.
- built
In List<Property Map>Environment Variables - List of built-in environment variables linked to this job.
- cpu Number
- CPU of the job in millicores (m) [1000m = 1 CPU]. - Must be:
>= 10
. - Default:500
. - deployment
Restrictions List<Property Map> - List of deployment restrictions
- deployment
Stage StringId - Id of the deployment stage.
- environment
Id String - Id of the environment.
- environment
Variable List<Property Map>Aliases - List of environment variable aliases linked to this job.
- environment
Variable List<Property Map>Overrides - List of environment variable overrides linked to this job.
- environment
Variables List<Property Map> - List of environment variables linked to this job.
- external
Host String - The job external FQDN host [NOTE: only if your job is using a publicly accessible port].
- healthchecks Property Map
- Configuration for the healthchecks that are going to be executed against your service
- icon
Uri String - Icon URI representing the job.
- internal
Host String - The job internal host.
- labels
Group List<String>Ids - List of labels group ids
- max
Duration NumberSeconds - Job's max duration in seconds. - Must be:
>= 0
. - Default:300
. - max
Nb NumberRestart - Job's max number of restarts. - Must be:
>= 0
. - Default:0
. - memory Number
- RAM of the job in MB [1024MB = 1GB]. - Must be:
>= 1
. - Default:512
. - name String
- Name of the job.
- port Number
- Job's probes port. - Must be:
>= 1
and<= 65535
. - schedule Property Map
- Job's schedule.
- secret
Aliases List<Property Map> - List of secret aliases linked to this job.
- secret
Overrides List<Property Map> - List of secret overrides linked to this job.
- secrets List<Property Map>
- List of secrets linked to this job.
- source Property Map
- Job's source.
Supporting Types
JobBuiltInEnvironmentVariable, JobBuiltInEnvironmentVariableArgs
- Description string
- Description of the environment variable.
- Id string
- Id of the environment variable.
- Key string
- Key of the environment variable.
- Value string
- Value of the environment variable.
- Description string
- Description of the environment variable.
- Id string
- Id of the environment variable.
- Key string
- Key of the environment variable.
- Value string
- Value of the environment variable.
- description String
- Description of the environment variable.
- id String
- Id of the environment variable.
- key String
- Key of the environment variable.
- value String
- Value of the environment variable.
- description string
- Description of the environment variable.
- id string
- Id of the environment variable.
- key string
- Key of the environment variable.
- value string
- Value of the environment variable.
- description str
- Description of the environment variable.
- id str
- Id of the environment variable.
- key str
- Key of the environment variable.
- value str
- Value of the environment variable.
- description String
- Description of the environment variable.
- id String
- Id of the environment variable.
- key String
- Key of the environment variable.
- value String
- Value of the environment variable.
JobDeploymentRestriction, JobDeploymentRestrictionArgs
JobEnvironmentVariable, JobEnvironmentVariableArgs
- Key string
- Key of the environment variable.
- Value string
- Value of the environment variable.
- Description string
- Description of the environment variable.
- Id string
- Id of the environment variable.
- Key string
- Key of the environment variable.
- Value string
- Value of the environment variable.
- Description string
- Description of the environment variable.
- Id string
- Id of the environment variable.
- key String
- Key of the environment variable.
- value String
- Value of the environment variable.
- description String
- Description of the environment variable.
- id String
- Id of the environment variable.
- key string
- Key of the environment variable.
- value string
- Value of the environment variable.
- description string
- Description of the environment variable.
- id string
- Id of the environment variable.
- key str
- Key of the environment variable.
- value str
- Value of the environment variable.
- description str
- Description of the environment variable.
- id str
- Id of the environment variable.
- key String
- Key of the environment variable.
- value String
- Value of the environment variable.
- description String
- Description of the environment variable.
- id String
- Id of the environment variable.
JobEnvironmentVariableAlias, JobEnvironmentVariableAliasArgs
- Key string
- Name of the environment variable alias.
- Value string
- Name of the variable to alias.
- Description string
- Description of the environment variable alias.
- Id string
- Id of the environment variable alias.
- Key string
- Name of the environment variable alias.
- Value string
- Name of the variable to alias.
- Description string
- Description of the environment variable alias.
- Id string
- Id of the environment variable alias.
- key String
- Name of the environment variable alias.
- value String
- Name of the variable to alias.
- description String
- Description of the environment variable alias.
- id String
- Id of the environment variable alias.
- key string
- Name of the environment variable alias.
- value string
- Name of the variable to alias.
- description string
- Description of the environment variable alias.
- id string
- Id of the environment variable alias.
- key str
- Name of the environment variable alias.
- value str
- Name of the variable to alias.
- description str
- Description of the environment variable alias.
- id str
- Id of the environment variable alias.
- key String
- Name of the environment variable alias.
- value String
- Name of the variable to alias.
- description String
- Description of the environment variable alias.
- id String
- Id of the environment variable alias.
JobEnvironmentVariableOverride, JobEnvironmentVariableOverrideArgs
- Key string
- Name of the environment variable override.
- Value string
- Value of the environment variable override.
- Description string
- Description of the environment variable override.
- Id string
- Id of the environment variable override.
- Key string
- Name of the environment variable override.
- Value string
- Value of the environment variable override.
- Description string
- Description of the environment variable override.
- Id string
- Id of the environment variable override.
- key String
- Name of the environment variable override.
- value String
- Value of the environment variable override.
- description String
- Description of the environment variable override.
- id String
- Id of the environment variable override.
- key string
- Name of the environment variable override.
- value string
- Value of the environment variable override.
- description string
- Description of the environment variable override.
- id string
- Id of the environment variable override.
- key str
- Name of the environment variable override.
- value str
- Value of the environment variable override.
- description str
- Description of the environment variable override.
- id str
- Id of the environment variable override.
- key String
- Name of the environment variable override.
- value String
- Value of the environment variable override.
- description String
- Description of the environment variable override.
- id String
- Id of the environment variable override.
JobHealthchecks, JobHealthchecksArgs
- Liveness
Probe ediri.Qovery. Inputs. Job Healthchecks Liveness Probe - Configuration for the liveness probe, in order to know when your service is working correctly. Failing the probe means your service being killed/ask to be restarted.
- Readiness
Probe ediri.Qovery. Inputs. Job Healthchecks Readiness Probe - Configuration for the readiness probe, in order to know when your service is ready to receive traffic. Failing the probe means your service will stop receiving traffic.
- Liveness
Probe JobHealthchecks Liveness Probe - Configuration for the liveness probe, in order to know when your service is working correctly. Failing the probe means your service being killed/ask to be restarted.
- Readiness
Probe JobHealthchecks Readiness Probe - Configuration for the readiness probe, in order to know when your service is ready to receive traffic. Failing the probe means your service will stop receiving traffic.
- liveness
Probe JobHealthchecks Liveness Probe - Configuration for the liveness probe, in order to know when your service is working correctly. Failing the probe means your service being killed/ask to be restarted.
- readiness
Probe JobHealthchecks Readiness Probe - Configuration for the readiness probe, in order to know when your service is ready to receive traffic. Failing the probe means your service will stop receiving traffic.
- liveness
Probe JobHealthchecks Liveness Probe - Configuration for the liveness probe, in order to know when your service is working correctly. Failing the probe means your service being killed/ask to be restarted.
- readiness
Probe JobHealthchecks Readiness Probe - Configuration for the readiness probe, in order to know when your service is ready to receive traffic. Failing the probe means your service will stop receiving traffic.
- liveness_
probe JobHealthchecks Liveness Probe - Configuration for the liveness probe, in order to know when your service is working correctly. Failing the probe means your service being killed/ask to be restarted.
- readiness_
probe JobHealthchecks Readiness Probe - Configuration for the readiness probe, in order to know when your service is ready to receive traffic. Failing the probe means your service will stop receiving traffic.
- liveness
Probe Property Map - Configuration for the liveness probe, in order to know when your service is working correctly. Failing the probe means your service being killed/ask to be restarted.
- readiness
Probe Property Map - Configuration for the readiness probe, in order to know when your service is ready to receive traffic. Failing the probe means your service will stop receiving traffic.
JobHealthchecksLivenessProbe, JobHealthchecksLivenessProbeArgs
- Failure
Threshold int - Number of time the an ok probe should fail before declaring it as failed
- Initial
Delay intSeconds - Number of seconds to wait before the first execution of the probe to be trigerred
- Period
Seconds int - Number of seconds before each execution of the probe
- Success
Threshold int - Number of time the probe should success before declaring a failed probe as ok again
- Timeout
Seconds int - Number of seconds within which the check need to respond before declaring it as a failure
- Type
ediri.
Qovery. Inputs. Job Healthchecks Liveness Probe Type - Kind of check to run for this probe. There can only be one configured at a time
- Failure
Threshold int - Number of time the an ok probe should fail before declaring it as failed
- Initial
Delay intSeconds - Number of seconds to wait before the first execution of the probe to be trigerred
- Period
Seconds int - Number of seconds before each execution of the probe
- Success
Threshold int - Number of time the probe should success before declaring a failed probe as ok again
- Timeout
Seconds int - Number of seconds within which the check need to respond before declaring it as a failure
- Type
Job
Healthchecks Liveness Probe Type - Kind of check to run for this probe. There can only be one configured at a time
- failure
Threshold Integer - Number of time the an ok probe should fail before declaring it as failed
- initial
Delay IntegerSeconds - Number of seconds to wait before the first execution of the probe to be trigerred
- period
Seconds Integer - Number of seconds before each execution of the probe
- success
Threshold Integer - Number of time the probe should success before declaring a failed probe as ok again
- timeout
Seconds Integer - Number of seconds within which the check need to respond before declaring it as a failure
- type
Job
Healthchecks Liveness Probe Type - Kind of check to run for this probe. There can only be one configured at a time
- failure
Threshold number - Number of time the an ok probe should fail before declaring it as failed
- initial
Delay numberSeconds - Number of seconds to wait before the first execution of the probe to be trigerred
- period
Seconds number - Number of seconds before each execution of the probe
- success
Threshold number - Number of time the probe should success before declaring a failed probe as ok again
- timeout
Seconds number - Number of seconds within which the check need to respond before declaring it as a failure
- type
Job
Healthchecks Liveness Probe Type - Kind of check to run for this probe. There can only be one configured at a time
- failure_
threshold int - Number of time the an ok probe should fail before declaring it as failed
- initial_
delay_ intseconds - Number of seconds to wait before the first execution of the probe to be trigerred
- period_
seconds int - Number of seconds before each execution of the probe
- success_
threshold int - Number of time the probe should success before declaring a failed probe as ok again
- timeout_
seconds int - Number of seconds within which the check need to respond before declaring it as a failure
- type
Job
Healthchecks Liveness Probe Type - Kind of check to run for this probe. There can only be one configured at a time
- failure
Threshold Number - Number of time the an ok probe should fail before declaring it as failed
- initial
Delay NumberSeconds - Number of seconds to wait before the first execution of the probe to be trigerred
- period
Seconds Number - Number of seconds before each execution of the probe
- success
Threshold Number - Number of time the probe should success before declaring a failed probe as ok again
- timeout
Seconds Number - Number of seconds within which the check need to respond before declaring it as a failure
- type Property Map
- Kind of check to run for this probe. There can only be one configured at a time
JobHealthchecksLivenessProbeType, JobHealthchecksLivenessProbeTypeArgs
- Exec
ediri.
Qovery. Inputs. Job Healthchecks Liveness Probe Type Exec - Check that the given command return an exit 0. Binary should be present in the image
- Grpc
ediri.
Qovery. Inputs. Job Healthchecks Liveness Probe Type Grpc - Check that the given port respond to GRPC call
- Http
ediri.
Qovery. Inputs. Job Healthchecks Liveness Probe Type Http - Check that the given port respond to HTTP call (should return a 2xx response code)
- Tcp
ediri.
Qovery. Inputs. Job Healthchecks Liveness Probe Type Tcp - Check that the given port accepting connection
- Exec
Job
Healthchecks Liveness Probe Type Exec - Check that the given command return an exit 0. Binary should be present in the image
- Grpc
Job
Healthchecks Liveness Probe Type Grpc - Check that the given port respond to GRPC call
- Http
Job
Healthchecks Liveness Probe Type Http - Check that the given port respond to HTTP call (should return a 2xx response code)
- Tcp
Job
Healthchecks Liveness Probe Type Tcp - Check that the given port accepting connection
- exec
Job
Healthchecks Liveness Probe Type Exec - Check that the given command return an exit 0. Binary should be present in the image
- grpc
Job
Healthchecks Liveness Probe Type Grpc - Check that the given port respond to GRPC call
- http
Job
Healthchecks Liveness Probe Type Http - Check that the given port respond to HTTP call (should return a 2xx response code)
- tcp
Job
Healthchecks Liveness Probe Type Tcp - Check that the given port accepting connection
- exec
Job
Healthchecks Liveness Probe Type Exec - Check that the given command return an exit 0. Binary should be present in the image
- grpc
Job
Healthchecks Liveness Probe Type Grpc - Check that the given port respond to GRPC call
- http
Job
Healthchecks Liveness Probe Type Http - Check that the given port respond to HTTP call (should return a 2xx response code)
- tcp
Job
Healthchecks Liveness Probe Type Tcp - Check that the given port accepting connection
- exec_
Job
Healthchecks Liveness Probe Type Exec - Check that the given command return an exit 0. Binary should be present in the image
- grpc
Job
Healthchecks Liveness Probe Type Grpc - Check that the given port respond to GRPC call
- http
Job
Healthchecks Liveness Probe Type Http - Check that the given port respond to HTTP call (should return a 2xx response code)
- tcp
Job
Healthchecks Liveness Probe Type Tcp - Check that the given port accepting connection
- exec Property Map
- Check that the given command return an exit 0. Binary should be present in the image
- grpc Property Map
- Check that the given port respond to GRPC call
- http Property Map
- Check that the given port respond to HTTP call (should return a 2xx response code)
- tcp Property Map
- Check that the given port accepting connection
JobHealthchecksLivenessProbeTypeExec, JobHealthchecksLivenessProbeTypeExecArgs
- Commands List<string>
- The command and its arguments to exec
- Commands []string
- The command and its arguments to exec
- commands List<String>
- The command and its arguments to exec
- commands string[]
- The command and its arguments to exec
- commands Sequence[str]
- The command and its arguments to exec
- commands List<String>
- The command and its arguments to exec
JobHealthchecksLivenessProbeTypeGrpc, JobHealthchecksLivenessProbeTypeGrpcArgs
JobHealthchecksLivenessProbeTypeHttp, JobHealthchecksLivenessProbeTypeHttpArgs
JobHealthchecksLivenessProbeTypeTcp, JobHealthchecksLivenessProbeTypeTcpArgs
JobHealthchecksReadinessProbe, JobHealthchecksReadinessProbeArgs
- Failure
Threshold int - Number of time the an ok probe should fail before declaring it as failed
- Initial
Delay intSeconds - Number of seconds to wait before the first execution of the probe to be trigerred
- Period
Seconds int - Number of seconds before each execution of the probe
- Success
Threshold int - Number of time the probe should success before declaring a failed probe as ok again
- Timeout
Seconds int - Number of seconds within which the check need to respond before declaring it as a failure
- Type
ediri.
Qovery. Inputs. Job Healthchecks Readiness Probe Type - Kind of check to run for this probe. There can only be one configured at a time
- Failure
Threshold int - Number of time the an ok probe should fail before declaring it as failed
- Initial
Delay intSeconds - Number of seconds to wait before the first execution of the probe to be trigerred
- Period
Seconds int - Number of seconds before each execution of the probe
- Success
Threshold int - Number of time the probe should success before declaring a failed probe as ok again
- Timeout
Seconds int - Number of seconds within which the check need to respond before declaring it as a failure
- Type
Job
Healthchecks Readiness Probe Type - Kind of check to run for this probe. There can only be one configured at a time
- failure
Threshold Integer - Number of time the an ok probe should fail before declaring it as failed
- initial
Delay IntegerSeconds - Number of seconds to wait before the first execution of the probe to be trigerred
- period
Seconds Integer - Number of seconds before each execution of the probe
- success
Threshold Integer - Number of time the probe should success before declaring a failed probe as ok again
- timeout
Seconds Integer - Number of seconds within which the check need to respond before declaring it as a failure
- type
Job
Healthchecks Readiness Probe Type - Kind of check to run for this probe. There can only be one configured at a time
- failure
Threshold number - Number of time the an ok probe should fail before declaring it as failed
- initial
Delay numberSeconds - Number of seconds to wait before the first execution of the probe to be trigerred
- period
Seconds number - Number of seconds before each execution of the probe
- success
Threshold number - Number of time the probe should success before declaring a failed probe as ok again
- timeout
Seconds number - Number of seconds within which the check need to respond before declaring it as a failure
- type
Job
Healthchecks Readiness Probe Type - Kind of check to run for this probe. There can only be one configured at a time
- failure_
threshold int - Number of time the an ok probe should fail before declaring it as failed
- initial_
delay_ intseconds - Number of seconds to wait before the first execution of the probe to be trigerred
- period_
seconds int - Number of seconds before each execution of the probe
- success_
threshold int - Number of time the probe should success before declaring a failed probe as ok again
- timeout_
seconds int - Number of seconds within which the check need to respond before declaring it as a failure
- type
Job
Healthchecks Readiness Probe Type - Kind of check to run for this probe. There can only be one configured at a time
- failure
Threshold Number - Number of time the an ok probe should fail before declaring it as failed
- initial
Delay NumberSeconds - Number of seconds to wait before the first execution of the probe to be trigerred
- period
Seconds Number - Number of seconds before each execution of the probe
- success
Threshold Number - Number of time the probe should success before declaring a failed probe as ok again
- timeout
Seconds Number - Number of seconds within which the check need to respond before declaring it as a failure
- type Property Map
- Kind of check to run for this probe. There can only be one configured at a time
JobHealthchecksReadinessProbeType, JobHealthchecksReadinessProbeTypeArgs
- Exec
ediri.
Qovery. Inputs. Job Healthchecks Readiness Probe Type Exec - Check that the given command return an exit 0. Binary should be present in the image
- Grpc
ediri.
Qovery. Inputs. Job Healthchecks Readiness Probe Type Grpc - Check that the given port respond to GRPC call
- Http
ediri.
Qovery. Inputs. Job Healthchecks Readiness Probe Type Http - Check that the given port respond to HTTP call (should return a 2xx response code)
- Tcp
ediri.
Qovery. Inputs. Job Healthchecks Readiness Probe Type Tcp - Check that the given port accepting connection
- Exec
Job
Healthchecks Readiness Probe Type Exec - Check that the given command return an exit 0. Binary should be present in the image
- Grpc
Job
Healthchecks Readiness Probe Type Grpc - Check that the given port respond to GRPC call
- Http
Job
Healthchecks Readiness Probe Type Http - Check that the given port respond to HTTP call (should return a 2xx response code)
- Tcp
Job
Healthchecks Readiness Probe Type Tcp - Check that the given port accepting connection
- exec
Job
Healthchecks Readiness Probe Type Exec - Check that the given command return an exit 0. Binary should be present in the image
- grpc
Job
Healthchecks Readiness Probe Type Grpc - Check that the given port respond to GRPC call
- http
Job
Healthchecks Readiness Probe Type Http - Check that the given port respond to HTTP call (should return a 2xx response code)
- tcp
Job
Healthchecks Readiness Probe Type Tcp - Check that the given port accepting connection
- exec
Job
Healthchecks Readiness Probe Type Exec - Check that the given command return an exit 0. Binary should be present in the image
- grpc
Job
Healthchecks Readiness Probe Type Grpc - Check that the given port respond to GRPC call
- http
Job
Healthchecks Readiness Probe Type Http - Check that the given port respond to HTTP call (should return a 2xx response code)
- tcp
Job
Healthchecks Readiness Probe Type Tcp - Check that the given port accepting connection
- exec_
Job
Healthchecks Readiness Probe Type Exec - Check that the given command return an exit 0. Binary should be present in the image
- grpc
Job
Healthchecks Readiness Probe Type Grpc - Check that the given port respond to GRPC call
- http
Job
Healthchecks Readiness Probe Type Http - Check that the given port respond to HTTP call (should return a 2xx response code)
- tcp
Job
Healthchecks Readiness Probe Type Tcp - Check that the given port accepting connection
- exec Property Map
- Check that the given command return an exit 0. Binary should be present in the image
- grpc Property Map
- Check that the given port respond to GRPC call
- http Property Map
- Check that the given port respond to HTTP call (should return a 2xx response code)
- tcp Property Map
- Check that the given port accepting connection
JobHealthchecksReadinessProbeTypeExec, JobHealthchecksReadinessProbeTypeExecArgs
- Commands List<string>
- The command and its arguments to exec
- Commands []string
- The command and its arguments to exec
- commands List<String>
- The command and its arguments to exec
- commands string[]
- The command and its arguments to exec
- commands Sequence[str]
- The command and its arguments to exec
- commands List<String>
- The command and its arguments to exec
JobHealthchecksReadinessProbeTypeGrpc, JobHealthchecksReadinessProbeTypeGrpcArgs
JobHealthchecksReadinessProbeTypeHttp, JobHealthchecksReadinessProbeTypeHttpArgs
JobHealthchecksReadinessProbeTypeTcp, JobHealthchecksReadinessProbeTypeTcpArgs
JobSchedule, JobScheduleArgs
- Cronjob
ediri.
Qovery. Inputs. Job Schedule Cronjob - Job's cron.
- Lifecycle
Type string - Type of the lifecycle job.
- Can be:
CLOUDFORMATION
,GENERIC
,TERRAFORM
. - On
Delete ediri.Qovery. Inputs. Job Schedule On Delete - Job's schedule on delete.
- On
Start ediri.Qovery. Inputs. Job Schedule On Start - Job's schedule on start.
- On
Stop ediri.Qovery. Inputs. Job Schedule On Stop - Job's schedule on stop.
- Cronjob
Job
Schedule Cronjob - Job's cron.
- Lifecycle
Type string - Type of the lifecycle job.
- Can be:
CLOUDFORMATION
,GENERIC
,TERRAFORM
. - On
Delete JobSchedule On Delete - Job's schedule on delete.
- On
Start JobSchedule On Start - Job's schedule on start.
- On
Stop JobSchedule On Stop - Job's schedule on stop.
- cronjob
Job
Schedule Cronjob - Job's cron.
- lifecycle
Type String - Type of the lifecycle job.
- Can be:
CLOUDFORMATION
,GENERIC
,TERRAFORM
. - on
Delete JobSchedule On Delete - Job's schedule on delete.
- on
Start JobSchedule On Start - Job's schedule on start.
- on
Stop JobSchedule On Stop - Job's schedule on stop.
- cronjob
Job
Schedule Cronjob - Job's cron.
- lifecycle
Type string - Type of the lifecycle job.
- Can be:
CLOUDFORMATION
,GENERIC
,TERRAFORM
. - on
Delete JobSchedule On Delete - Job's schedule on delete.
- on
Start JobSchedule On Start - Job's schedule on start.
- on
Stop JobSchedule On Stop - Job's schedule on stop.
- cronjob
Job
Schedule Cronjob - Job's cron.
- lifecycle_
type str - Type of the lifecycle job.
- Can be:
CLOUDFORMATION
,GENERIC
,TERRAFORM
. - on_
delete JobSchedule On Delete - Job's schedule on delete.
- on_
start JobSchedule On Start - Job's schedule on start.
- on_
stop JobSchedule On Stop - Job's schedule on stop.
- cronjob Property Map
- Job's cron.
- lifecycle
Type String - Type of the lifecycle job.
- Can be:
CLOUDFORMATION
,GENERIC
,TERRAFORM
. - on
Delete Property Map - Job's schedule on delete.
- on
Start Property Map - Job's schedule on start.
- on
Stop Property Map - Job's schedule on stop.
JobScheduleCronjob, JobScheduleCronjobArgs
- Command
ediri.
Qovery. Inputs. Job Schedule Cronjob Command - Job's cron command.
- Schedule string
- Job's cron string.
- Command
Job
Schedule Cronjob Command - Job's cron command.
- Schedule string
- Job's cron string.
- command
Job
Schedule Cronjob Command - Job's cron command.
- schedule String
- Job's cron string.
- command
Job
Schedule Cronjob Command - Job's cron command.
- schedule string
- Job's cron string.
- command
Job
Schedule Cronjob Command - Job's cron command.
- schedule str
- Job's cron string.
- command Property Map
- Job's cron command.
- schedule String
- Job's cron string.
JobScheduleCronjobCommand, JobScheduleCronjobCommandArgs
- Arguments List<string>
- List of arguments of this job.
- Entrypoint string
- Entrypoint of the job.
- Arguments []string
- List of arguments of this job.
- Entrypoint string
- Entrypoint of the job.
- arguments List<String>
- List of arguments of this job.
- entrypoint String
- Entrypoint of the job.
- arguments string[]
- List of arguments of this job.
- entrypoint string
- Entrypoint of the job.
- arguments Sequence[str]
- List of arguments of this job.
- entrypoint str
- Entrypoint of the job.
- arguments List<String>
- List of arguments of this job.
- entrypoint String
- Entrypoint of the job.
JobScheduleOnDelete, JobScheduleOnDeleteArgs
- Arguments List<string>
- List of arguments of this job.
- Entrypoint string
- Entrypoint of the job.
- Arguments []string
- List of arguments of this job.
- Entrypoint string
- Entrypoint of the job.
- arguments List<String>
- List of arguments of this job.
- entrypoint String
- Entrypoint of the job.
- arguments string[]
- List of arguments of this job.
- entrypoint string
- Entrypoint of the job.
- arguments Sequence[str]
- List of arguments of this job.
- entrypoint str
- Entrypoint of the job.
- arguments List<String>
- List of arguments of this job.
- entrypoint String
- Entrypoint of the job.
JobScheduleOnStart, JobScheduleOnStartArgs
- Arguments List<string>
- List of arguments of this job.
- Entrypoint string
- Entrypoint of the job.
- Arguments []string
- List of arguments of this job.
- Entrypoint string
- Entrypoint of the job.
- arguments List<String>
- List of arguments of this job.
- entrypoint String
- Entrypoint of the job.
- arguments string[]
- List of arguments of this job.
- entrypoint string
- Entrypoint of the job.
- arguments Sequence[str]
- List of arguments of this job.
- entrypoint str
- Entrypoint of the job.
- arguments List<String>
- List of arguments of this job.
- entrypoint String
- Entrypoint of the job.
JobScheduleOnStop, JobScheduleOnStopArgs
- Arguments List<string>
- List of arguments of this job.
- Entrypoint string
- Entrypoint of the job.
- Arguments []string
- List of arguments of this job.
- Entrypoint string
- Entrypoint of the job.
- arguments List<String>
- List of arguments of this job.
- entrypoint String
- Entrypoint of the job.
- arguments string[]
- List of arguments of this job.
- entrypoint string
- Entrypoint of the job.
- arguments Sequence[str]
- List of arguments of this job.
- entrypoint str
- Entrypoint of the job.
- arguments List<String>
- List of arguments of this job.
- entrypoint String
- Entrypoint of the job.
JobSecret, JobSecretArgs
- Key string
- Key of the secret.
- Value string
- Value of the secret.
- Description string
- Description of the secret.
- Id string
- Id of the secret.
- Key string
- Key of the secret.
- Value string
- Value of the secret.
- Description string
- Description of the secret.
- Id string
- Id of the secret.
- key String
- Key of the secret.
- value String
- Value of the secret.
- description String
- Description of the secret.
- id String
- Id of the secret.
- key string
- Key of the secret.
- value string
- Value of the secret.
- description string
- Description of the secret.
- id string
- Id of the secret.
- key str
- Key of the secret.
- value str
- Value of the secret.
- description str
- Description of the secret.
- id str
- Id of the secret.
- key String
- Key of the secret.
- value String
- Value of the secret.
- description String
- Description of the secret.
- id String
- Id of the secret.
JobSecretAlias, JobSecretAliasArgs
- Key string
- Name of the secret alias.
- Value string
- Name of the secret to alias.
- Description string
- Description of the secret alias.
- Id string
- Id of the secret alias.
- Key string
- Name of the secret alias.
- Value string
- Name of the secret to alias.
- Description string
- Description of the secret alias.
- Id string
- Id of the secret alias.
- key String
- Name of the secret alias.
- value String
- Name of the secret to alias.
- description String
- Description of the secret alias.
- id String
- Id of the secret alias.
- key string
- Name of the secret alias.
- value string
- Name of the secret to alias.
- description string
- Description of the secret alias.
- id string
- Id of the secret alias.
- key str
- Name of the secret alias.
- value str
- Name of the secret to alias.
- description str
- Description of the secret alias.
- id str
- Id of the secret alias.
- key String
- Name of the secret alias.
- value String
- Name of the secret to alias.
- description String
- Description of the secret alias.
- id String
- Id of the secret alias.
JobSecretOverride, JobSecretOverrideArgs
- Key string
- Name of the secret override.
- Value string
- Value of the secret override.
- Description string
- Description of the secret override.
- Id string
- Id of the secret override.
- Key string
- Name of the secret override.
- Value string
- Value of the secret override.
- Description string
- Description of the secret override.
- Id string
- Id of the secret override.
- key String
- Name of the secret override.
- value String
- Value of the secret override.
- description String
- Description of the secret override.
- id String
- Id of the secret override.
- key string
- Name of the secret override.
- value string
- Value of the secret override.
- description string
- Description of the secret override.
- id string
- Id of the secret override.
- key str
- Name of the secret override.
- value str
- Value of the secret override.
- description str
- Description of the secret override.
- id str
- Id of the secret override.
- key String
- Name of the secret override.
- value String
- Value of the secret override.
- description String
- Description of the secret override.
- id String
- Id of the secret override.
JobSource, JobSourceArgs
- Docker
ediri.
Qovery. Inputs. Job Source Docker - Job's docker source.
- Image
ediri.
Qovery. Inputs. Job Source Image - Job's image source.
- Docker
Job
Source Docker - Job's docker source.
- Image
Job
Source Image - Job's image source.
- docker
Job
Source Docker - Job's docker source.
- image
Job
Source Image - Job's image source.
- docker
Job
Source Docker - Job's docker source.
- image
Job
Source Image - Job's image source.
- docker
Job
Source Docker - Job's docker source.
- image
Job
Source Image - Job's image source.
- docker Property Map
- Job's docker source.
- image Property Map
- Job's image source.
JobSourceDocker, JobSourceDockerArgs
- Git
Repository ediri.Qovery. Inputs. Job Source Docker Git Repository - Job's docker source git repository.
- Dockerfile
Path string - Job's docker source dockerfile path.
- Dockerfile
Raw string - Inline Dockerfile to inject for building the image
- Git
Repository JobSource Docker Git Repository - Job's docker source git repository.
- Dockerfile
Path string - Job's docker source dockerfile path.
- Dockerfile
Raw string - Inline Dockerfile to inject for building the image
- git
Repository JobSource Docker Git Repository - Job's docker source git repository.
- dockerfile
Path String - Job's docker source dockerfile path.
- dockerfile
Raw String - Inline Dockerfile to inject for building the image
- git
Repository JobSource Docker Git Repository - Job's docker source git repository.
- dockerfile
Path string - Job's docker source dockerfile path.
- dockerfile
Raw string - Inline Dockerfile to inject for building the image
- git_
repository JobSource Docker Git Repository - Job's docker source git repository.
- dockerfile_
path str - Job's docker source dockerfile path.
- dockerfile_
raw str - Inline Dockerfile to inject for building the image
- git
Repository Property Map - Job's docker source git repository.
- dockerfile
Path String - Job's docker source dockerfile path.
- dockerfile
Raw String - Inline Dockerfile to inject for building the image
JobSourceDockerGitRepository, JobSourceDockerGitRepositoryArgs
- Branch string
- Job's docker source git repository branch.
- Url string
- Job's docker source git repository URL.
- Git
Token stringId - The git token ID to be used
- Root
Path string - Job's docker source git repository root path.
- Branch string
- Job's docker source git repository branch.
- Url string
- Job's docker source git repository URL.
- Git
Token stringId - The git token ID to be used
- Root
Path string - Job's docker source git repository root path.
- branch String
- Job's docker source git repository branch.
- url String
- Job's docker source git repository URL.
- git
Token StringId - The git token ID to be used
- root
Path String - Job's docker source git repository root path.
- branch string
- Job's docker source git repository branch.
- url string
- Job's docker source git repository URL.
- git
Token stringId - The git token ID to be used
- root
Path string - Job's docker source git repository root path.
- branch str
- Job's docker source git repository branch.
- url str
- Job's docker source git repository URL.
- git_
token_ strid - The git token ID to be used
- root_
path str - Job's docker source git repository root path.
- branch String
- Job's docker source git repository branch.
- url String
- Job's docker source git repository URL.
- git
Token StringId - The git token ID to be used
- root
Path String - Job's docker source git repository root path.
JobSourceImage, JobSourceImageArgs
- Name string
- Job's image source name.
- Registry
Id string - Job's image source registry ID.
- Tag string
- Job's image source tag.
- Name string
- Job's image source name.
- Registry
Id string - Job's image source registry ID.
- Tag string
- Job's image source tag.
- name String
- Job's image source name.
- registry
Id String - Job's image source registry ID.
- tag String
- Job's image source tag.
- name string
- Job's image source name.
- registry
Id string - Job's image source registry ID.
- tag string
- Job's image source tag.
- name str
- Job's image source name.
- registry_
id str - Job's image source registry ID.
- tag str
- Job's image source tag.
- name String
- Job's image source name.
- registry
Id String - Job's image source registry ID.
- tag String
- Job's image source tag.
Import
$ pulumi import qovery:index/job:Job my_job "<job_id>"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- qovery dirien/pulumi-qovery
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
qovery
Terraform Provider.