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