1. Packages
  2. Qovery
  3. API Docs
  4. Job
Qovery v0.41.0 published on Saturday, Sep 28, 2024 by dirien

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());

    }
}
Copy
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}
Copy

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)
public Job(String name, JobArgs args)
public Job(String name, JobArgs args, CustomResourceOptions options)
type: qovery:Job
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. JobArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. JobArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. JobArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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",
        },
    },
});
Copy
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"),
		},
	},
})
Copy
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());
Copy
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",
        },
    })
Copy
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",
        },
    },
});
Copy
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
Copy

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:

EnvironmentId This property is required. string
Id of the environment.
Healthchecks This property is required. ediri.Qovery.Inputs.JobHealthchecks
Configuration for the healthchecks that are going to be executed against your service
Schedule This property is required. ediri.Qovery.Inputs.JobSchedule
Job's schedule.
AdvancedSettingsJson string
Advanced settings.
AnnotationsGroupIds List<string>
List of annotations group ids
AutoDeploy bool
Specify if the job will be automatically updated after receiving a new image tag.
AutoPreview 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.
DeploymentRestrictions List<ediri.Qovery.Inputs.JobDeploymentRestriction>
List of deployment restrictions
DeploymentStageId string
Id of the deployment stage.
EnvironmentVariableAliases List<ediri.Qovery.Inputs.JobEnvironmentVariableAlias>
List of environment variable aliases linked to this job.
EnvironmentVariableOverrides List<ediri.Qovery.Inputs.JobEnvironmentVariableOverride>
List of environment variable overrides linked to this job.
EnvironmentVariables List<ediri.Qovery.Inputs.JobEnvironmentVariable>
List of environment variables linked to this job.
IconUri string
Icon URI representing the job.
LabelsGroupIds List<string>
List of labels group ids
MaxDurationSeconds int
Job's max duration in seconds. - Must be: >= 0. - Default: 300.
MaxNbRestart int
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.
SecretAliases List<ediri.Qovery.Inputs.JobSecretAlias>
List of secret aliases linked to this job.
SecretOverrides List<ediri.Qovery.Inputs.JobSecretOverride>
List of secret overrides linked to this job.
Secrets List<ediri.Qovery.Inputs.JobSecret>
List of secrets linked to this job.
Source ediri.Qovery.Inputs.JobSource
Job's source.
EnvironmentId This property is required. string
Id of the environment.
Healthchecks This property is required. JobHealthchecksArgs
Configuration for the healthchecks that are going to be executed against your service
Schedule This property is required. JobScheduleArgs
Job's schedule.
AdvancedSettingsJson string
Advanced settings.
AnnotationsGroupIds []string
List of annotations group ids
AutoDeploy bool
Specify if the job will be automatically updated after receiving a new image tag.
AutoPreview 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.
DeploymentRestrictions []JobDeploymentRestrictionArgs
List of deployment restrictions
DeploymentStageId string
Id of the deployment stage.
EnvironmentVariableAliases []JobEnvironmentVariableAliasArgs
List of environment variable aliases linked to this job.
EnvironmentVariableOverrides []JobEnvironmentVariableOverrideArgs
List of environment variable overrides linked to this job.
EnvironmentVariables []JobEnvironmentVariableArgs
List of environment variables linked to this job.
IconUri string
Icon URI representing the job.
LabelsGroupIds []string
List of labels group ids
MaxDurationSeconds int
Job's max duration in seconds. - Must be: >= 0. - Default: 300.
MaxNbRestart int
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.
SecretAliases []JobSecretAliasArgs
List of secret aliases linked to this job.
SecretOverrides []JobSecretOverrideArgs
List of secret overrides linked to this job.
Secrets []JobSecretArgs
List of secrets linked to this job.
Source JobSourceArgs
Job's source.
environmentId This property is required. String
Id of the environment.
healthchecks This property is required. JobHealthchecks
Configuration for the healthchecks that are going to be executed against your service
schedule This property is required. JobSchedule
Job's schedule.
advancedSettingsJson String
Advanced settings.
annotationsGroupIds List<String>
List of annotations group ids
autoDeploy Boolean
Specify if the job will be automatically updated after receiving a new image tag.
autoPreview 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.
deploymentRestrictions List<JobDeploymentRestriction>
List of deployment restrictions
deploymentStageId String
Id of the deployment stage.
environmentVariableAliases List<JobEnvironmentVariableAlias>
List of environment variable aliases linked to this job.
environmentVariableOverrides List<JobEnvironmentVariableOverride>
List of environment variable overrides linked to this job.
environmentVariables List<JobEnvironmentVariable>
List of environment variables linked to this job.
iconUri String
Icon URI representing the job.
labelsGroupIds List<String>
List of labels group ids
maxDurationSeconds Integer
Job's max duration in seconds. - Must be: >= 0. - Default: 300.
maxNbRestart Integer
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.
secretAliases List<JobSecretAlias>
List of secret aliases linked to this job.
secretOverrides List<JobSecretOverride>
List of secret overrides linked to this job.
secrets List<JobSecret>
List of secrets linked to this job.
source JobSource
Job's source.
environmentId This property is required. string
Id of the environment.
healthchecks This property is required. JobHealthchecks
Configuration for the healthchecks that are going to be executed against your service
schedule This property is required. JobSchedule
Job's schedule.
advancedSettingsJson string
Advanced settings.
annotationsGroupIds string[]
List of annotations group ids
autoDeploy boolean
Specify if the job will be automatically updated after receiving a new image tag.
autoPreview 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.
deploymentRestrictions JobDeploymentRestriction[]
List of deployment restrictions
deploymentStageId string
Id of the deployment stage.
environmentVariableAliases JobEnvironmentVariableAlias[]
List of environment variable aliases linked to this job.
environmentVariableOverrides JobEnvironmentVariableOverride[]
List of environment variable overrides linked to this job.
environmentVariables JobEnvironmentVariable[]
List of environment variables linked to this job.
iconUri string
Icon URI representing the job.
labelsGroupIds string[]
List of labels group ids
maxDurationSeconds number
Job's max duration in seconds. - Must be: >= 0. - Default: 300.
maxNbRestart number
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.
secretAliases JobSecretAlias[]
List of secret aliases linked to this job.
secretOverrides JobSecretOverride[]
List of secret overrides linked to this job.
secrets JobSecret[]
List of secrets linked to this job.
source JobSource
Job's source.
environment_id This property is required. str
Id of the environment.
healthchecks This property is required. JobHealthchecksArgs
Configuration for the healthchecks that are going to be executed against your service
schedule This property is required. JobScheduleArgs
Job's schedule.
advanced_settings_json str
Advanced settings.
annotations_group_ids Sequence[str]
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[JobDeploymentRestrictionArgs]
List of deployment restrictions
deployment_stage_id str
Id of the deployment stage.
environment_variable_aliases Sequence[JobEnvironmentVariableAliasArgs]
List of environment variable aliases linked to this job.
environment_variable_overrides Sequence[JobEnvironmentVariableOverrideArgs]
List of environment variable overrides linked to this job.
environment_variables Sequence[JobEnvironmentVariableArgs]
List of environment variables linked to this job.
icon_uri str
Icon URI representing the job.
labels_group_ids Sequence[str]
List of labels group ids
max_duration_seconds int
Job's max duration in seconds. - Must be: >= 0. - Default: 300.
max_nb_restart int
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[JobSecretAliasArgs]
List of secret aliases linked to this job.
secret_overrides Sequence[JobSecretOverrideArgs]
List of secret overrides linked to this job.
secrets Sequence[JobSecretArgs]
List of secrets linked to this job.
source JobSourceArgs
Job's source.
environmentId This property is required. String
Id of the environment.
healthchecks This property is required. Property Map
Configuration for the healthchecks that are going to be executed against your service
schedule This property is required. Property Map
Job's schedule.
advancedSettingsJson String
Advanced settings.
annotationsGroupIds List<String>
List of annotations group ids
autoDeploy Boolean
Specify if the job will be automatically updated after receiving a new image tag.
autoPreview 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.
deploymentRestrictions List<Property Map>
List of deployment restrictions
deploymentStageId String
Id of the deployment stage.
environmentVariableAliases List<Property Map>
List of environment variable aliases linked to this job.
environmentVariableOverrides List<Property Map>
List of environment variable overrides linked to this job.
environmentVariables List<Property Map>
List of environment variables linked to this job.
iconUri String
Icon URI representing the job.
labelsGroupIds List<String>
List of labels group ids
maxDurationSeconds Number
Job's max duration in seconds. - Must be: >= 0. - Default: 300.
maxNbRestart Number
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.
secretAliases List<Property Map>
List of secret aliases linked to this job.
secretOverrides 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:

BuiltInEnvironmentVariables List<ediri.Qovery.Outputs.JobBuiltInEnvironmentVariable>
List of built-in environment variables linked to this job.
ExternalHost 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.
InternalHost string
The job internal host.
BuiltInEnvironmentVariables []JobBuiltInEnvironmentVariable
List of built-in environment variables linked to this job.
ExternalHost 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.
InternalHost string
The job internal host.
builtInEnvironmentVariables List<JobBuiltInEnvironmentVariable>
List of built-in environment variables linked to this job.
externalHost 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.
internalHost String
The job internal host.
builtInEnvironmentVariables JobBuiltInEnvironmentVariable[]
List of built-in environment variables linked to this job.
externalHost 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.
internalHost string
The job internal host.
built_in_environment_variables Sequence[JobBuiltInEnvironmentVariable]
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.
builtInEnvironmentVariables List<Property Map>
List of built-in environment variables linked to this job.
externalHost 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.
internalHost 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)
resources:  _:    type: qovery:Job    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AdvancedSettingsJson string
Advanced settings.
AnnotationsGroupIds List<string>
List of annotations group ids
AutoDeploy bool
Specify if the job will be automatically updated after receiving a new image tag.
AutoPreview bool
Specify if the environment preview option is activated or not for this job.
BuiltInEnvironmentVariables List<ediri.Qovery.Inputs.JobBuiltInEnvironmentVariable>
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.
DeploymentRestrictions List<ediri.Qovery.Inputs.JobDeploymentRestriction>
List of deployment restrictions
DeploymentStageId string
Id of the deployment stage.
EnvironmentId string
Id of the environment.
EnvironmentVariableAliases List<ediri.Qovery.Inputs.JobEnvironmentVariableAlias>
List of environment variable aliases linked to this job.
EnvironmentVariableOverrides List<ediri.Qovery.Inputs.JobEnvironmentVariableOverride>
List of environment variable overrides linked to this job.
EnvironmentVariables List<ediri.Qovery.Inputs.JobEnvironmentVariable>
List of environment variables linked to this job.
ExternalHost string
The job external FQDN host [NOTE: only if your job is using a publicly accessible port].
Healthchecks ediri.Qovery.Inputs.JobHealthchecks
Configuration for the healthchecks that are going to be executed against your service
IconUri string
Icon URI representing the job.
InternalHost string
The job internal host.
LabelsGroupIds List<string>
List of labels group ids
MaxDurationSeconds int
Job's max duration in seconds. - Must be: >= 0. - Default: 300.
MaxNbRestart int
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.JobSchedule
Job's schedule.
SecretAliases List<ediri.Qovery.Inputs.JobSecretAlias>
List of secret aliases linked to this job.
SecretOverrides List<ediri.Qovery.Inputs.JobSecretOverride>
List of secret overrides linked to this job.
Secrets List<ediri.Qovery.Inputs.JobSecret>
List of secrets linked to this job.
Source ediri.Qovery.Inputs.JobSource
Job's source.
AdvancedSettingsJson string
Advanced settings.
AnnotationsGroupIds []string
List of annotations group ids
AutoDeploy bool
Specify if the job will be automatically updated after receiving a new image tag.
AutoPreview bool
Specify if the environment preview option is activated or not for this job.
BuiltInEnvironmentVariables []JobBuiltInEnvironmentVariableArgs
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.
DeploymentRestrictions []JobDeploymentRestrictionArgs
List of deployment restrictions
DeploymentStageId string
Id of the deployment stage.
EnvironmentId string
Id of the environment.
EnvironmentVariableAliases []JobEnvironmentVariableAliasArgs
List of environment variable aliases linked to this job.
EnvironmentVariableOverrides []JobEnvironmentVariableOverrideArgs
List of environment variable overrides linked to this job.
EnvironmentVariables []JobEnvironmentVariableArgs
List of environment variables linked to this job.
ExternalHost string
The job external FQDN host [NOTE: only if your job is using a publicly accessible port].
Healthchecks JobHealthchecksArgs
Configuration for the healthchecks that are going to be executed against your service
IconUri string
Icon URI representing the job.
InternalHost string
The job internal host.
LabelsGroupIds []string
List of labels group ids
MaxDurationSeconds int
Job's max duration in seconds. - Must be: >= 0. - Default: 300.
MaxNbRestart int
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 JobScheduleArgs
Job's schedule.
SecretAliases []JobSecretAliasArgs
List of secret aliases linked to this job.
SecretOverrides []JobSecretOverrideArgs
List of secret overrides linked to this job.
Secrets []JobSecretArgs
List of secrets linked to this job.
Source JobSourceArgs
Job's source.
advancedSettingsJson String
Advanced settings.
annotationsGroupIds List<String>
List of annotations group ids
autoDeploy Boolean
Specify if the job will be automatically updated after receiving a new image tag.
autoPreview Boolean
Specify if the environment preview option is activated or not for this job.
builtInEnvironmentVariables List<JobBuiltInEnvironmentVariable>
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.
deploymentRestrictions List<JobDeploymentRestriction>
List of deployment restrictions
deploymentStageId String
Id of the deployment stage.
environmentId String
Id of the environment.
environmentVariableAliases List<JobEnvironmentVariableAlias>
List of environment variable aliases linked to this job.
environmentVariableOverrides List<JobEnvironmentVariableOverride>
List of environment variable overrides linked to this job.
environmentVariables List<JobEnvironmentVariable>
List of environment variables linked to this job.
externalHost String
The job external FQDN host [NOTE: only if your job is using a publicly accessible port].
healthchecks JobHealthchecks
Configuration for the healthchecks that are going to be executed against your service
iconUri String
Icon URI representing the job.
internalHost String
The job internal host.
labelsGroupIds List<String>
List of labels group ids
maxDurationSeconds Integer
Job's max duration in seconds. - Must be: >= 0. - Default: 300.
maxNbRestart Integer
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 JobSchedule
Job's schedule.
secretAliases List<JobSecretAlias>
List of secret aliases linked to this job.
secretOverrides List<JobSecretOverride>
List of secret overrides linked to this job.
secrets List<JobSecret>
List of secrets linked to this job.
source JobSource
Job's source.
advancedSettingsJson string
Advanced settings.
annotationsGroupIds string[]
List of annotations group ids
autoDeploy boolean
Specify if the job will be automatically updated after receiving a new image tag.
autoPreview boolean
Specify if the environment preview option is activated or not for this job.
builtInEnvironmentVariables JobBuiltInEnvironmentVariable[]
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.
deploymentRestrictions JobDeploymentRestriction[]
List of deployment restrictions
deploymentStageId string
Id of the deployment stage.
environmentId string
Id of the environment.
environmentVariableAliases JobEnvironmentVariableAlias[]
List of environment variable aliases linked to this job.
environmentVariableOverrides JobEnvironmentVariableOverride[]
List of environment variable overrides linked to this job.
environmentVariables JobEnvironmentVariable[]
List of environment variables linked to this job.
externalHost string
The job external FQDN host [NOTE: only if your job is using a publicly accessible port].
healthchecks JobHealthchecks
Configuration for the healthchecks that are going to be executed against your service
iconUri string
Icon URI representing the job.
internalHost string
The job internal host.
labelsGroupIds string[]
List of labels group ids
maxDurationSeconds number
Job's max duration in seconds. - Must be: >= 0. - Default: 300.
maxNbRestart number
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 JobSchedule
Job's schedule.
secretAliases JobSecretAlias[]
List of secret aliases linked to this job.
secretOverrides JobSecretOverride[]
List of secret overrides linked to this job.
secrets JobSecret[]
List of secrets linked to this job.
source JobSource
Job's source.
advanced_settings_json str
Advanced settings.
annotations_group_ids Sequence[str]
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_environment_variables Sequence[JobBuiltInEnvironmentVariableArgs]
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[JobDeploymentRestrictionArgs]
List of deployment restrictions
deployment_stage_id str
Id of the deployment stage.
environment_id str
Id of the environment.
environment_variable_aliases Sequence[JobEnvironmentVariableAliasArgs]
List of environment variable aliases linked to this job.
environment_variable_overrides Sequence[JobEnvironmentVariableOverrideArgs]
List of environment variable overrides linked to this job.
environment_variables Sequence[JobEnvironmentVariableArgs]
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 JobHealthchecksArgs
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_ids Sequence[str]
List of labels group ids
max_duration_seconds int
Job's max duration in seconds. - Must be: >= 0. - Default: 300.
max_nb_restart int
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 JobScheduleArgs
Job's schedule.
secret_aliases Sequence[JobSecretAliasArgs]
List of secret aliases linked to this job.
secret_overrides Sequence[JobSecretOverrideArgs]
List of secret overrides linked to this job.
secrets Sequence[JobSecretArgs]
List of secrets linked to this job.
source JobSourceArgs
Job's source.
advancedSettingsJson String
Advanced settings.
annotationsGroupIds List<String>
List of annotations group ids
autoDeploy Boolean
Specify if the job will be automatically updated after receiving a new image tag.
autoPreview Boolean
Specify if the environment preview option is activated or not for this job.
builtInEnvironmentVariables List<Property Map>
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.
deploymentRestrictions List<Property Map>
List of deployment restrictions
deploymentStageId String
Id of the deployment stage.
environmentId String
Id of the environment.
environmentVariableAliases List<Property Map>
List of environment variable aliases linked to this job.
environmentVariableOverrides List<Property Map>
List of environment variable overrides linked to this job.
environmentVariables List<Property Map>
List of environment variables linked to this job.
externalHost 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
iconUri String
Icon URI representing the job.
internalHost String
The job internal host.
labelsGroupIds List<String>
List of labels group ids
maxDurationSeconds Number
Job's max duration in seconds. - Must be: >= 0. - Default: 300.
maxNbRestart Number
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.
secretAliases List<Property Map>
List of secret aliases linked to this job.
secretOverrides 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

Mode This property is required. string
Can be EXCLUDE or MATCH
Type This property is required. string
Currently, only PATH is accepted
Value This property is required. string
Value of the deployment restriction
Id string
Id of the deployment restriction
Mode This property is required. string
Can be EXCLUDE or MATCH
Type This property is required. string
Currently, only PATH is accepted
Value This property is required. string
Value of the deployment restriction
Id string
Id of the deployment restriction
mode This property is required. String
Can be EXCLUDE or MATCH
type This property is required. String
Currently, only PATH is accepted
value This property is required. String
Value of the deployment restriction
id String
Id of the deployment restriction
mode This property is required. string
Can be EXCLUDE or MATCH
type This property is required. string
Currently, only PATH is accepted
value This property is required. string
Value of the deployment restriction
id string
Id of the deployment restriction
mode This property is required. str
Can be EXCLUDE or MATCH
type This property is required. str
Currently, only PATH is accepted
value This property is required. str
Value of the deployment restriction
id str
Id of the deployment restriction
mode This property is required. String
Can be EXCLUDE or MATCH
type This property is required. String
Currently, only PATH is accepted
value This property is required. String
Value of the deployment restriction
id String
Id of the deployment restriction

JobEnvironmentVariable
, JobEnvironmentVariableArgs

Key This property is required. string
Key of the environment variable.
Value This property is required. string
Value of the environment variable.
Description string
Description of the environment variable.
Id string
Id of the environment variable.
Key This property is required. string
Key of the environment variable.
Value This property is required. string
Value of the environment variable.
Description string
Description of the environment variable.
Id string
Id of the environment variable.
key This property is required. String
Key of the environment variable.
value This property is required. String
Value of the environment variable.
description String
Description of the environment variable.
id String
Id of the environment variable.
key This property is required. string
Key of the environment variable.
value This property is required. string
Value of the environment variable.
description string
Description of the environment variable.
id string
Id of the environment variable.
key This property is required. str
Key of the environment variable.
value This property is required. str
Value of the environment variable.
description str
Description of the environment variable.
id str
Id of the environment variable.
key This property is required. String
Key of the environment variable.
value This property is required. String
Value of the environment variable.
description String
Description of the environment variable.
id String
Id of the environment variable.

JobEnvironmentVariableAlias
, JobEnvironmentVariableAliasArgs

Key This property is required. string
Name of the environment variable alias.
Value This property is required. string
Name of the variable to alias.
Description string
Description of the environment variable alias.
Id string
Id of the environment variable alias.
Key This property is required. string
Name of the environment variable alias.
Value This property is required. string
Name of the variable to alias.
Description string
Description of the environment variable alias.
Id string
Id of the environment variable alias.
key This property is required. String
Name of the environment variable alias.
value This property is required. String
Name of the variable to alias.
description String
Description of the environment variable alias.
id String
Id of the environment variable alias.
key This property is required. string
Name of the environment variable alias.
value This property is required. string
Name of the variable to alias.
description string
Description of the environment variable alias.
id string
Id of the environment variable alias.
key This property is required. str
Name of the environment variable alias.
value This property is required. str
Name of the variable to alias.
description str
Description of the environment variable alias.
id str
Id of the environment variable alias.
key This property is required. String
Name of the environment variable alias.
value This property is required. 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 This property is required. string
Name of the environment variable override.
Value This property is required. string
Value of the environment variable override.
Description string
Description of the environment variable override.
Id string
Id of the environment variable override.
Key This property is required. string
Name of the environment variable override.
Value This property is required. string
Value of the environment variable override.
Description string
Description of the environment variable override.
Id string
Id of the environment variable override.
key This property is required. String
Name of the environment variable override.
value This property is required. String
Value of the environment variable override.
description String
Description of the environment variable override.
id String
Id of the environment variable override.
key This property is required. string
Name of the environment variable override.
value This property is required. string
Value of the environment variable override.
description string
Description of the environment variable override.
id string
Id of the environment variable override.
key This property is required. str
Name of the environment variable override.
value This property is required. str
Value of the environment variable override.
description str
Description of the environment variable override.
id str
Id of the environment variable override.
key This property is required. String
Name of the environment variable override.
value This property is required. 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

LivenessProbe ediri.Qovery.Inputs.JobHealthchecksLivenessProbe
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.
ReadinessProbe ediri.Qovery.Inputs.JobHealthchecksReadinessProbe
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.
LivenessProbe JobHealthchecksLivenessProbe
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.
ReadinessProbe JobHealthchecksReadinessProbe
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.
livenessProbe JobHealthchecksLivenessProbe
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.
readinessProbe JobHealthchecksReadinessProbe
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.
livenessProbe JobHealthchecksLivenessProbe
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.
readinessProbe JobHealthchecksReadinessProbe
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 JobHealthchecksLivenessProbe
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 JobHealthchecksReadinessProbe
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.
livenessProbe 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.
readinessProbe 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

FailureThreshold This property is required. int
Number of time the an ok probe should fail before declaring it as failed
InitialDelaySeconds This property is required. int
Number of seconds to wait before the first execution of the probe to be trigerred
PeriodSeconds This property is required. int
Number of seconds before each execution of the probe
SuccessThreshold This property is required. int
Number of time the probe should success before declaring a failed probe as ok again
TimeoutSeconds This property is required. int
Number of seconds within which the check need to respond before declaring it as a failure
Type This property is required. ediri.Qovery.Inputs.JobHealthchecksLivenessProbeType
Kind of check to run for this probe. There can only be one configured at a time
FailureThreshold This property is required. int
Number of time the an ok probe should fail before declaring it as failed
InitialDelaySeconds This property is required. int
Number of seconds to wait before the first execution of the probe to be trigerred
PeriodSeconds This property is required. int
Number of seconds before each execution of the probe
SuccessThreshold This property is required. int
Number of time the probe should success before declaring a failed probe as ok again
TimeoutSeconds This property is required. int
Number of seconds within which the check need to respond before declaring it as a failure
Type This property is required. JobHealthchecksLivenessProbeType
Kind of check to run for this probe. There can only be one configured at a time
failureThreshold This property is required. Integer
Number of time the an ok probe should fail before declaring it as failed
initialDelaySeconds This property is required. Integer
Number of seconds to wait before the first execution of the probe to be trigerred
periodSeconds This property is required. Integer
Number of seconds before each execution of the probe
successThreshold This property is required. Integer
Number of time the probe should success before declaring a failed probe as ok again
timeoutSeconds This property is required. Integer
Number of seconds within which the check need to respond before declaring it as a failure
type This property is required. JobHealthchecksLivenessProbeType
Kind of check to run for this probe. There can only be one configured at a time
failureThreshold This property is required. number
Number of time the an ok probe should fail before declaring it as failed
initialDelaySeconds This property is required. number
Number of seconds to wait before the first execution of the probe to be trigerred
periodSeconds This property is required. number
Number of seconds before each execution of the probe
successThreshold This property is required. number
Number of time the probe should success before declaring a failed probe as ok again
timeoutSeconds This property is required. number
Number of seconds within which the check need to respond before declaring it as a failure
type This property is required. JobHealthchecksLivenessProbeType
Kind of check to run for this probe. There can only be one configured at a time
failure_threshold This property is required. int
Number of time the an ok probe should fail before declaring it as failed
initial_delay_seconds This property is required. int
Number of seconds to wait before the first execution of the probe to be trigerred
period_seconds This property is required. int
Number of seconds before each execution of the probe
success_threshold This property is required. int
Number of time the probe should success before declaring a failed probe as ok again
timeout_seconds This property is required. int
Number of seconds within which the check need to respond before declaring it as a failure
type This property is required. JobHealthchecksLivenessProbeType
Kind of check to run for this probe. There can only be one configured at a time
failureThreshold This property is required. Number
Number of time the an ok probe should fail before declaring it as failed
initialDelaySeconds This property is required. Number
Number of seconds to wait before the first execution of the probe to be trigerred
periodSeconds This property is required. Number
Number of seconds before each execution of the probe
successThreshold This property is required. Number
Number of time the probe should success before declaring a failed probe as ok again
timeoutSeconds This property is required. Number
Number of seconds within which the check need to respond before declaring it as a failure
type This property is required. 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.JobHealthchecksLivenessProbeTypeExec
Check that the given command return an exit 0. Binary should be present in the image
Grpc ediri.Qovery.Inputs.JobHealthchecksLivenessProbeTypeGrpc
Check that the given port respond to GRPC call
Http ediri.Qovery.Inputs.JobHealthchecksLivenessProbeTypeHttp
Check that the given port respond to HTTP call (should return a 2xx response code)
Tcp ediri.Qovery.Inputs.JobHealthchecksLivenessProbeTypeTcp
Check that the given port accepting connection
Exec JobHealthchecksLivenessProbeTypeExec
Check that the given command return an exit 0. Binary should be present in the image
Grpc JobHealthchecksLivenessProbeTypeGrpc
Check that the given port respond to GRPC call
Http JobHealthchecksLivenessProbeTypeHttp
Check that the given port respond to HTTP call (should return a 2xx response code)
Tcp JobHealthchecksLivenessProbeTypeTcp
Check that the given port accepting connection
exec JobHealthchecksLivenessProbeTypeExec
Check that the given command return an exit 0. Binary should be present in the image
grpc JobHealthchecksLivenessProbeTypeGrpc
Check that the given port respond to GRPC call
http JobHealthchecksLivenessProbeTypeHttp
Check that the given port respond to HTTP call (should return a 2xx response code)
tcp JobHealthchecksLivenessProbeTypeTcp
Check that the given port accepting connection
exec JobHealthchecksLivenessProbeTypeExec
Check that the given command return an exit 0. Binary should be present in the image
grpc JobHealthchecksLivenessProbeTypeGrpc
Check that the given port respond to GRPC call
http JobHealthchecksLivenessProbeTypeHttp
Check that the given port respond to HTTP call (should return a 2xx response code)
tcp JobHealthchecksLivenessProbeTypeTcp
Check that the given port accepting connection
exec_ JobHealthchecksLivenessProbeTypeExec
Check that the given command return an exit 0. Binary should be present in the image
grpc JobHealthchecksLivenessProbeTypeGrpc
Check that the given port respond to GRPC call
http JobHealthchecksLivenessProbeTypeHttp
Check that the given port respond to HTTP call (should return a 2xx response code)
tcp JobHealthchecksLivenessProbeTypeTcp
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 This property is required. List<string>
The command and its arguments to exec
Commands This property is required. []string
The command and its arguments to exec
commands This property is required. List<String>
The command and its arguments to exec
commands This property is required. string[]
The command and its arguments to exec
commands This property is required. Sequence[str]
The command and its arguments to exec
commands This property is required. List<String>
The command and its arguments to exec

JobHealthchecksLivenessProbeTypeGrpc
, JobHealthchecksLivenessProbeTypeGrpcArgs

Port This property is required. int
The port number to try to connect to
Service string
The grpc service to connect to. It needs to implement grpc health protocol. https://kubernetes.io/blog/2018/10/01/health-checking-grpc-servers-on-kubernetes/#introducing-grpc-health-probe
Port This property is required. int
The port number to try to connect to
Service string
The grpc service to connect to. It needs to implement grpc health protocol. https://kubernetes.io/blog/2018/10/01/health-checking-grpc-servers-on-kubernetes/#introducing-grpc-health-probe
port This property is required. Integer
The port number to try to connect to
service String
The grpc service to connect to. It needs to implement grpc health protocol. https://kubernetes.io/blog/2018/10/01/health-checking-grpc-servers-on-kubernetes/#introducing-grpc-health-probe
port This property is required. number
The port number to try to connect to
service string
The grpc service to connect to. It needs to implement grpc health protocol. https://kubernetes.io/blog/2018/10/01/health-checking-grpc-servers-on-kubernetes/#introducing-grpc-health-probe
port This property is required. int
The port number to try to connect to
service str
The grpc service to connect to. It needs to implement grpc health protocol. https://kubernetes.io/blog/2018/10/01/health-checking-grpc-servers-on-kubernetes/#introducing-grpc-health-probe
port This property is required. Number
The port number to try to connect to
service String
The grpc service to connect to. It needs to implement grpc health protocol. https://kubernetes.io/blog/2018/10/01/health-checking-grpc-servers-on-kubernetes/#introducing-grpc-health-probe

JobHealthchecksLivenessProbeTypeHttp
, JobHealthchecksLivenessProbeTypeHttpArgs

Port This property is required. int
The port number to try to connect to
Scheme This property is required. string
if the HTTP GET request should be done in HTTP or HTTPS.
Path string
The path that the HTTP GET request. By default it is /
Port This property is required. int
The port number to try to connect to
Scheme This property is required. string
if the HTTP GET request should be done in HTTP or HTTPS.
Path string
The path that the HTTP GET request. By default it is /
port This property is required. Integer
The port number to try to connect to
scheme This property is required. String
if the HTTP GET request should be done in HTTP or HTTPS.
path String
The path that the HTTP GET request. By default it is /
port This property is required. number
The port number to try to connect to
scheme This property is required. string
if the HTTP GET request should be done in HTTP or HTTPS.
path string
The path that the HTTP GET request. By default it is /
port This property is required. int
The port number to try to connect to
scheme This property is required. str
if the HTTP GET request should be done in HTTP or HTTPS.
path str
The path that the HTTP GET request. By default it is /
port This property is required. Number
The port number to try to connect to
scheme This property is required. String
if the HTTP GET request should be done in HTTP or HTTPS.
path String
The path that the HTTP GET request. By default it is /

JobHealthchecksLivenessProbeTypeTcp
, JobHealthchecksLivenessProbeTypeTcpArgs

Port This property is required. int
The port number to try to connect to
Host string
Optional. If the host need to be different than localhost/pod ip
Port This property is required. int
The port number to try to connect to
Host string
Optional. If the host need to be different than localhost/pod ip
port This property is required. Integer
The port number to try to connect to
host String
Optional. If the host need to be different than localhost/pod ip
port This property is required. number
The port number to try to connect to
host string
Optional. If the host need to be different than localhost/pod ip
port This property is required. int
The port number to try to connect to
host str
Optional. If the host need to be different than localhost/pod ip
port This property is required. Number
The port number to try to connect to
host String
Optional. If the host need to be different than localhost/pod ip

JobHealthchecksReadinessProbe
, JobHealthchecksReadinessProbeArgs

FailureThreshold This property is required. int
Number of time the an ok probe should fail before declaring it as failed
InitialDelaySeconds This property is required. int
Number of seconds to wait before the first execution of the probe to be trigerred
PeriodSeconds This property is required. int
Number of seconds before each execution of the probe
SuccessThreshold This property is required. int
Number of time the probe should success before declaring a failed probe as ok again
TimeoutSeconds This property is required. int
Number of seconds within which the check need to respond before declaring it as a failure
Type This property is required. ediri.Qovery.Inputs.JobHealthchecksReadinessProbeType
Kind of check to run for this probe. There can only be one configured at a time
FailureThreshold This property is required. int
Number of time the an ok probe should fail before declaring it as failed
InitialDelaySeconds This property is required. int
Number of seconds to wait before the first execution of the probe to be trigerred
PeriodSeconds This property is required. int
Number of seconds before each execution of the probe
SuccessThreshold This property is required. int
Number of time the probe should success before declaring a failed probe as ok again
TimeoutSeconds This property is required. int
Number of seconds within which the check need to respond before declaring it as a failure
Type This property is required. JobHealthchecksReadinessProbeType
Kind of check to run for this probe. There can only be one configured at a time
failureThreshold This property is required. Integer
Number of time the an ok probe should fail before declaring it as failed
initialDelaySeconds This property is required. Integer
Number of seconds to wait before the first execution of the probe to be trigerred
periodSeconds This property is required. Integer
Number of seconds before each execution of the probe
successThreshold This property is required. Integer
Number of time the probe should success before declaring a failed probe as ok again
timeoutSeconds This property is required. Integer
Number of seconds within which the check need to respond before declaring it as a failure
type This property is required. JobHealthchecksReadinessProbeType
Kind of check to run for this probe. There can only be one configured at a time
failureThreshold This property is required. number
Number of time the an ok probe should fail before declaring it as failed
initialDelaySeconds This property is required. number
Number of seconds to wait before the first execution of the probe to be trigerred
periodSeconds This property is required. number
Number of seconds before each execution of the probe
successThreshold This property is required. number
Number of time the probe should success before declaring a failed probe as ok again
timeoutSeconds This property is required. number
Number of seconds within which the check need to respond before declaring it as a failure
type This property is required. JobHealthchecksReadinessProbeType
Kind of check to run for this probe. There can only be one configured at a time
failure_threshold This property is required. int
Number of time the an ok probe should fail before declaring it as failed
initial_delay_seconds This property is required. int
Number of seconds to wait before the first execution of the probe to be trigerred
period_seconds This property is required. int
Number of seconds before each execution of the probe
success_threshold This property is required. int
Number of time the probe should success before declaring a failed probe as ok again
timeout_seconds This property is required. int
Number of seconds within which the check need to respond before declaring it as a failure
type This property is required. JobHealthchecksReadinessProbeType
Kind of check to run for this probe. There can only be one configured at a time
failureThreshold This property is required. Number
Number of time the an ok probe should fail before declaring it as failed
initialDelaySeconds This property is required. Number
Number of seconds to wait before the first execution of the probe to be trigerred
periodSeconds This property is required. Number
Number of seconds before each execution of the probe
successThreshold This property is required. Number
Number of time the probe should success before declaring a failed probe as ok again
timeoutSeconds This property is required. Number
Number of seconds within which the check need to respond before declaring it as a failure
type This property is required. 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.JobHealthchecksReadinessProbeTypeExec
Check that the given command return an exit 0. Binary should be present in the image
Grpc ediri.Qovery.Inputs.JobHealthchecksReadinessProbeTypeGrpc
Check that the given port respond to GRPC call
Http ediri.Qovery.Inputs.JobHealthchecksReadinessProbeTypeHttp
Check that the given port respond to HTTP call (should return a 2xx response code)
Tcp ediri.Qovery.Inputs.JobHealthchecksReadinessProbeTypeTcp
Check that the given port accepting connection
Exec JobHealthchecksReadinessProbeTypeExec
Check that the given command return an exit 0. Binary should be present in the image
Grpc JobHealthchecksReadinessProbeTypeGrpc
Check that the given port respond to GRPC call
Http JobHealthchecksReadinessProbeTypeHttp
Check that the given port respond to HTTP call (should return a 2xx response code)
Tcp JobHealthchecksReadinessProbeTypeTcp
Check that the given port accepting connection
exec JobHealthchecksReadinessProbeTypeExec
Check that the given command return an exit 0. Binary should be present in the image
grpc JobHealthchecksReadinessProbeTypeGrpc
Check that the given port respond to GRPC call
http JobHealthchecksReadinessProbeTypeHttp
Check that the given port respond to HTTP call (should return a 2xx response code)
tcp JobHealthchecksReadinessProbeTypeTcp
Check that the given port accepting connection
exec JobHealthchecksReadinessProbeTypeExec
Check that the given command return an exit 0. Binary should be present in the image
grpc JobHealthchecksReadinessProbeTypeGrpc
Check that the given port respond to GRPC call
http JobHealthchecksReadinessProbeTypeHttp
Check that the given port respond to HTTP call (should return a 2xx response code)
tcp JobHealthchecksReadinessProbeTypeTcp
Check that the given port accepting connection
exec_ JobHealthchecksReadinessProbeTypeExec
Check that the given command return an exit 0. Binary should be present in the image
grpc JobHealthchecksReadinessProbeTypeGrpc
Check that the given port respond to GRPC call
http JobHealthchecksReadinessProbeTypeHttp
Check that the given port respond to HTTP call (should return a 2xx response code)
tcp JobHealthchecksReadinessProbeTypeTcp
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 This property is required. List<string>
The command and its arguments to exec
Commands This property is required. []string
The command and its arguments to exec
commands This property is required. List<String>
The command and its arguments to exec
commands This property is required. string[]
The command and its arguments to exec
commands This property is required. Sequence[str]
The command and its arguments to exec
commands This property is required. List<String>
The command and its arguments to exec

JobHealthchecksReadinessProbeTypeGrpc
, JobHealthchecksReadinessProbeTypeGrpcArgs

Port This property is required. int
The port number to try to connect to
Service string
The grpc service to connect to. It needs to implement grpc health protocol. https://kubernetes.io/blog/2018/10/01/health-checking-grpc-servers-on-kubernetes/#introducing-grpc-health-probe
Port This property is required. int
The port number to try to connect to
Service string
The grpc service to connect to. It needs to implement grpc health protocol. https://kubernetes.io/blog/2018/10/01/health-checking-grpc-servers-on-kubernetes/#introducing-grpc-health-probe
port This property is required. Integer
The port number to try to connect to
service String
The grpc service to connect to. It needs to implement grpc health protocol. https://kubernetes.io/blog/2018/10/01/health-checking-grpc-servers-on-kubernetes/#introducing-grpc-health-probe
port This property is required. number
The port number to try to connect to
service string
The grpc service to connect to. It needs to implement grpc health protocol. https://kubernetes.io/blog/2018/10/01/health-checking-grpc-servers-on-kubernetes/#introducing-grpc-health-probe
port This property is required. int
The port number to try to connect to
service str
The grpc service to connect to. It needs to implement grpc health protocol. https://kubernetes.io/blog/2018/10/01/health-checking-grpc-servers-on-kubernetes/#introducing-grpc-health-probe
port This property is required. Number
The port number to try to connect to
service String
The grpc service to connect to. It needs to implement grpc health protocol. https://kubernetes.io/blog/2018/10/01/health-checking-grpc-servers-on-kubernetes/#introducing-grpc-health-probe

JobHealthchecksReadinessProbeTypeHttp
, JobHealthchecksReadinessProbeTypeHttpArgs

Port This property is required. int
The port number to try to connect to
Scheme This property is required. string
if the HTTP GET request should be done in HTTP or HTTPS.
Path string
The path that the HTTP GET request. By default it is /
Port This property is required. int
The port number to try to connect to
Scheme This property is required. string
if the HTTP GET request should be done in HTTP or HTTPS.
Path string
The path that the HTTP GET request. By default it is /
port This property is required. Integer
The port number to try to connect to
scheme This property is required. String
if the HTTP GET request should be done in HTTP or HTTPS.
path String
The path that the HTTP GET request. By default it is /
port This property is required. number
The port number to try to connect to
scheme This property is required. string
if the HTTP GET request should be done in HTTP or HTTPS.
path string
The path that the HTTP GET request. By default it is /
port This property is required. int
The port number to try to connect to
scheme This property is required. str
if the HTTP GET request should be done in HTTP or HTTPS.
path str
The path that the HTTP GET request. By default it is /
port This property is required. Number
The port number to try to connect to
scheme This property is required. String
if the HTTP GET request should be done in HTTP or HTTPS.
path String
The path that the HTTP GET request. By default it is /

JobHealthchecksReadinessProbeTypeTcp
, JobHealthchecksReadinessProbeTypeTcpArgs

Port This property is required. int
The port number to try to connect to
Host string
Optional. If the host need to be different than localhost/pod ip
Port This property is required. int
The port number to try to connect to
Host string
Optional. If the host need to be different than localhost/pod ip
port This property is required. Integer
The port number to try to connect to
host String
Optional. If the host need to be different than localhost/pod ip
port This property is required. number
The port number to try to connect to
host string
Optional. If the host need to be different than localhost/pod ip
port This property is required. int
The port number to try to connect to
host str
Optional. If the host need to be different than localhost/pod ip
port This property is required. Number
The port number to try to connect to
host String
Optional. If the host need to be different than localhost/pod ip

JobSchedule
, JobScheduleArgs

Cronjob ediri.Qovery.Inputs.JobScheduleCronjob
Job's cron.
LifecycleType string
Type of the lifecycle job. - Can be: CLOUDFORMATION, GENERIC, TERRAFORM.
OnDelete ediri.Qovery.Inputs.JobScheduleOnDelete
Job's schedule on delete.
OnStart ediri.Qovery.Inputs.JobScheduleOnStart
Job's schedule on start.
OnStop ediri.Qovery.Inputs.JobScheduleOnStop
Job's schedule on stop.
Cronjob JobScheduleCronjob
Job's cron.
LifecycleType string
Type of the lifecycle job. - Can be: CLOUDFORMATION, GENERIC, TERRAFORM.
OnDelete JobScheduleOnDelete
Job's schedule on delete.
OnStart JobScheduleOnStart
Job's schedule on start.
OnStop JobScheduleOnStop
Job's schedule on stop.
cronjob JobScheduleCronjob
Job's cron.
lifecycleType String
Type of the lifecycle job. - Can be: CLOUDFORMATION, GENERIC, TERRAFORM.
onDelete JobScheduleOnDelete
Job's schedule on delete.
onStart JobScheduleOnStart
Job's schedule on start.
onStop JobScheduleOnStop
Job's schedule on stop.
cronjob JobScheduleCronjob
Job's cron.
lifecycleType string
Type of the lifecycle job. - Can be: CLOUDFORMATION, GENERIC, TERRAFORM.
onDelete JobScheduleOnDelete
Job's schedule on delete.
onStart JobScheduleOnStart
Job's schedule on start.
onStop JobScheduleOnStop
Job's schedule on stop.
cronjob JobScheduleCronjob
Job's cron.
lifecycle_type str
Type of the lifecycle job. - Can be: CLOUDFORMATION, GENERIC, TERRAFORM.
on_delete JobScheduleOnDelete
Job's schedule on delete.
on_start JobScheduleOnStart
Job's schedule on start.
on_stop JobScheduleOnStop
Job's schedule on stop.
cronjob Property Map
Job's cron.
lifecycleType String
Type of the lifecycle job. - Can be: CLOUDFORMATION, GENERIC, TERRAFORM.
onDelete Property Map
Job's schedule on delete.
onStart Property Map
Job's schedule on start.
onStop Property Map
Job's schedule on stop.

JobScheduleCronjob
, JobScheduleCronjobArgs

Command This property is required. ediri.Qovery.Inputs.JobScheduleCronjobCommand
Job's cron command.
Schedule This property is required. string
Job's cron string.
Command This property is required. JobScheduleCronjobCommand
Job's cron command.
Schedule This property is required. string
Job's cron string.
command This property is required. JobScheduleCronjobCommand
Job's cron command.
schedule This property is required. String
Job's cron string.
command This property is required. JobScheduleCronjobCommand
Job's cron command.
schedule This property is required. string
Job's cron string.
command This property is required. JobScheduleCronjobCommand
Job's cron command.
schedule This property is required. str
Job's cron string.
command This property is required. Property Map
Job's cron command.
schedule This property is required. 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 This property is required. string
Key of the secret.
Value This property is required. string
Value of the secret.
Description string
Description of the secret.
Id string
Id of the secret.
Key This property is required. string
Key of the secret.
Value This property is required. string
Value of the secret.
Description string
Description of the secret.
Id string
Id of the secret.
key This property is required. String
Key of the secret.
value This property is required. String
Value of the secret.
description String
Description of the secret.
id String
Id of the secret.
key This property is required. string
Key of the secret.
value This property is required. string
Value of the secret.
description string
Description of the secret.
id string
Id of the secret.
key This property is required. str
Key of the secret.
value This property is required. str
Value of the secret.
description str
Description of the secret.
id str
Id of the secret.
key This property is required. String
Key of the secret.
value This property is required. String
Value of the secret.
description String
Description of the secret.
id String
Id of the secret.

JobSecretAlias
, JobSecretAliasArgs

Key This property is required. string
Name of the secret alias.
Value This property is required. string
Name of the secret to alias.
Description string
Description of the secret alias.
Id string
Id of the secret alias.
Key This property is required. string
Name of the secret alias.
Value This property is required. string
Name of the secret to alias.
Description string
Description of the secret alias.
Id string
Id of the secret alias.
key This property is required. String
Name of the secret alias.
value This property is required. String
Name of the secret to alias.
description String
Description of the secret alias.
id String
Id of the secret alias.
key This property is required. string
Name of the secret alias.
value This property is required. string
Name of the secret to alias.
description string
Description of the secret alias.
id string
Id of the secret alias.
key This property is required. str
Name of the secret alias.
value This property is required. str
Name of the secret to alias.
description str
Description of the secret alias.
id str
Id of the secret alias.
key This property is required. String
Name of the secret alias.
value This property is required. String
Name of the secret to alias.
description String
Description of the secret alias.
id String
Id of the secret alias.

JobSecretOverride
, JobSecretOverrideArgs

Key This property is required. string
Name of the secret override.
Value This property is required. string
Value of the secret override.
Description string
Description of the secret override.
Id string
Id of the secret override.
Key This property is required. string
Name of the secret override.
Value This property is required. string
Value of the secret override.
Description string
Description of the secret override.
Id string
Id of the secret override.
key This property is required. String
Name of the secret override.
value This property is required. String
Value of the secret override.
description String
Description of the secret override.
id String
Id of the secret override.
key This property is required. string
Name of the secret override.
value This property is required. string
Value of the secret override.
description string
Description of the secret override.
id string
Id of the secret override.
key This property is required. str
Name of the secret override.
value This property is required. str
Value of the secret override.
description str
Description of the secret override.
id str
Id of the secret override.
key This property is required. String
Name of the secret override.
value This property is required. String
Value of the secret override.
description String
Description of the secret override.
id String
Id of the secret override.

JobSource
, JobSourceArgs

Docker JobSourceDocker
Job's docker source.
Image JobSourceImage
Job's image source.
docker JobSourceDocker
Job's docker source.
image JobSourceImage
Job's image source.
docker JobSourceDocker
Job's docker source.
image JobSourceImage
Job's image source.
docker JobSourceDocker
Job's docker source.
image JobSourceImage
Job's image source.
docker Property Map
Job's docker source.
image Property Map
Job's image source.

JobSourceDocker
, JobSourceDockerArgs

GitRepository This property is required. ediri.Qovery.Inputs.JobSourceDockerGitRepository
Job's docker source git repository.
DockerfilePath string
Job's docker source dockerfile path.
DockerfileRaw string
Inline Dockerfile to inject for building the image
GitRepository This property is required. JobSourceDockerGitRepository
Job's docker source git repository.
DockerfilePath string
Job's docker source dockerfile path.
DockerfileRaw string
Inline Dockerfile to inject for building the image
gitRepository This property is required. JobSourceDockerGitRepository
Job's docker source git repository.
dockerfilePath String
Job's docker source dockerfile path.
dockerfileRaw String
Inline Dockerfile to inject for building the image
gitRepository This property is required. JobSourceDockerGitRepository
Job's docker source git repository.
dockerfilePath string
Job's docker source dockerfile path.
dockerfileRaw string
Inline Dockerfile to inject for building the image
git_repository This property is required. JobSourceDockerGitRepository
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
gitRepository This property is required. Property Map
Job's docker source git repository.
dockerfilePath String
Job's docker source dockerfile path.
dockerfileRaw String
Inline Dockerfile to inject for building the image

JobSourceDockerGitRepository
, JobSourceDockerGitRepositoryArgs

Branch This property is required. string
Job's docker source git repository branch.
Url This property is required. string
Job's docker source git repository URL.
GitTokenId string
The git token ID to be used
RootPath string
Job's docker source git repository root path.
Branch This property is required. string
Job's docker source git repository branch.
Url This property is required. string
Job's docker source git repository URL.
GitTokenId string
The git token ID to be used
RootPath string
Job's docker source git repository root path.
branch This property is required. String
Job's docker source git repository branch.
url This property is required. String
Job's docker source git repository URL.
gitTokenId String
The git token ID to be used
rootPath String
Job's docker source git repository root path.
branch This property is required. string
Job's docker source git repository branch.
url This property is required. string
Job's docker source git repository URL.
gitTokenId string
The git token ID to be used
rootPath string
Job's docker source git repository root path.
branch This property is required. str
Job's docker source git repository branch.
url This property is required. str
Job's docker source git repository URL.
git_token_id str
The git token ID to be used
root_path str
Job's docker source git repository root path.
branch This property is required. String
Job's docker source git repository branch.
url This property is required. String
Job's docker source git repository URL.
gitTokenId String
The git token ID to be used
rootPath String
Job's docker source git repository root path.

JobSourceImage
, JobSourceImageArgs

Name This property is required. string
Job's image source name.
RegistryId This property is required. string
Job's image source registry ID.
Tag This property is required. string
Job's image source tag.
Name This property is required. string
Job's image source name.
RegistryId This property is required. string
Job's image source registry ID.
Tag This property is required. string
Job's image source tag.
name This property is required. String
Job's image source name.
registryId This property is required. String
Job's image source registry ID.
tag This property is required. String
Job's image source tag.
name This property is required. string
Job's image source name.
registryId This property is required. string
Job's image source registry ID.
tag This property is required. string
Job's image source tag.
name This property is required. str
Job's image source name.
registry_id This property is required. str
Job's image source registry ID.
tag This property is required. str
Job's image source tag.
name This property is required. String
Job's image source name.
registryId This property is required. String
Job's image source registry ID.
tag This property is required. String
Job's image source tag.

Import

$ pulumi import qovery:index/job:Job my_job "<job_id>"
Copy

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.