AppSpecJobArgs

data class AppSpecJobArgs(val alerts: Output<List<AppSpecJobAlertArgs>>? = null, val bitbucket: Output<AppSpecJobBitbucketArgs>? = null, val buildCommand: Output<String>? = null, val dockerfilePath: Output<String>? = null, val environmentSlug: Output<String>? = null, val envs: Output<List<AppSpecJobEnvArgs>>? = null, val git: Output<AppSpecJobGitArgs>? = null, val github: Output<AppSpecJobGithubArgs>? = null, val gitlab: Output<AppSpecJobGitlabArgs>? = null, val image: Output<AppSpecJobImageArgs>? = null, val instanceCount: Output<Int>? = null, val instanceSizeSlug: Output<String>? = null, val kind: Output<String>? = null, val logDestinations: Output<List<AppSpecJobLogDestinationArgs>>? = null, val name: Output<String>, val runCommand: Output<String>? = null, val sourceDir: Output<String>? = null, val termination: Output<AppSpecJobTerminationArgs>? = null) : ConvertibleToJava<AppSpecJobArgs>

Constructors

Link copied to clipboard
constructor(alerts: Output<List<AppSpecJobAlertArgs>>? = null, bitbucket: Output<AppSpecJobBitbucketArgs>? = null, buildCommand: Output<String>? = null, dockerfilePath: Output<String>? = null, environmentSlug: Output<String>? = null, envs: Output<List<AppSpecJobEnvArgs>>? = null, git: Output<AppSpecJobGitArgs>? = null, github: Output<AppSpecJobGithubArgs>? = null, gitlab: Output<AppSpecJobGitlabArgs>? = null, image: Output<AppSpecJobImageArgs>? = null, instanceCount: Output<Int>? = null, instanceSizeSlug: Output<String>? = null, kind: Output<String>? = null, logDestinations: Output<List<AppSpecJobLogDestinationArgs>>? = null, name: Output<String>, runCommand: Output<String>? = null, sourceDir: Output<String>? = null, termination: Output<AppSpecJobTerminationArgs>? = null)

Properties

Link copied to clipboard
val alerts: Output<List<AppSpecJobAlertArgs>>? = null

Describes an alert policy for the component.

Link copied to clipboard
val bitbucket: Output<AppSpecJobBitbucketArgs>? = null

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, bitbucket, gitlab, or image may be set.

Link copied to clipboard
val buildCommand: Output<String>? = null

An optional build command to run while building this component from source.

Link copied to clipboard
val dockerfilePath: Output<String>? = null

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

Link copied to clipboard
val environmentSlug: Output<String>? = null

An environment slug describing the type of this app.

Link copied to clipboard
val envs: Output<List<AppSpecJobEnvArgs>>? = null

Describes an environment variable made available to an app competent.

Link copied to clipboard
val git: Output<AppSpecJobGitArgs>? = null

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

Link copied to clipboard
val github: Output<AppSpecJobGithubArgs>? = null

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

Link copied to clipboard
val gitlab: Output<AppSpecJobGitlabArgs>? = null

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

Link copied to clipboard
val image: Output<AppSpecJobImageArgs>? = null

An image to use as the component's source. Only one of git, github, gitlab, or image may be set.

Link copied to clipboard
val instanceCount: Output<Int>? = null

The amount of instances that this component should be scaled to.

Link copied to clipboard
val instanceSizeSlug: Output<String>? = null

The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be found with the API or using the doctl CLI (doctl apps tier instance-size list). Default: basic-xxs

Link copied to clipboard
val kind: Output<String>? = null

The type of job and when it will be run during the deployment process. It may be one of:

Link copied to clipboard

Describes a log forwarding destination.

Link copied to clipboard
val name: Output<String>

The name of the component.

Link copied to clipboard
val runCommand: Output<String>? = null

An optional run command to override the component's default.

Link copied to clipboard
val sourceDir: Output<String>? = null

An optional path to the working directory to use for the build.

Link copied to clipboard

Contains a component's termination parameters.

Functions

Link copied to clipboard
open override fun toJava(): AppSpecJobArgs