AppSpecServiceArgs

data class AppSpecServiceArgs(val alerts: Output<List<AppSpecServiceAlertArgs>>? = null, val autoscaling: Output<AppSpecServiceAutoscalingArgs>? = null, val bitbucket: Output<AppSpecServiceBitbucketArgs>? = null, val buildCommand: Output<String>? = null, val cors: Output<AppSpecServiceCorsArgs>? = null, val dockerfilePath: Output<String>? = null, val environmentSlug: Output<String>? = null, val envs: Output<List<AppSpecServiceEnvArgs>>? = null, val git: Output<AppSpecServiceGitArgs>? = null, val github: Output<AppSpecServiceGithubArgs>? = null, val gitlab: Output<AppSpecServiceGitlabArgs>? = null, val healthCheck: Output<AppSpecServiceHealthCheckArgs>? = null, val httpPort: Output<Int>? = null, val image: Output<AppSpecServiceImageArgs>? = null, val instanceCount: Output<Int>? = null, val instanceSizeSlug: Output<String>? = null, val internalPorts: Output<List<Int>>? = null, val logDestinations: Output<List<AppSpecServiceLogDestinationArgs>>? = null, val name: Output<String>, val routes: Output<List<AppSpecServiceRouteArgs>>? = null, val runCommand: Output<String>? = null, val sourceDir: Output<String>? = null, val termination: Output<AppSpecServiceTerminationArgs>? = null) : ConvertibleToJava<AppSpecServiceArgs>

Constructors

Link copied to clipboard
constructor(alerts: Output<List<AppSpecServiceAlertArgs>>? = null, autoscaling: Output<AppSpecServiceAutoscalingArgs>? = null, bitbucket: Output<AppSpecServiceBitbucketArgs>? = null, buildCommand: Output<String>? = null, cors: Output<AppSpecServiceCorsArgs>? = null, dockerfilePath: Output<String>? = null, environmentSlug: Output<String>? = null, envs: Output<List<AppSpecServiceEnvArgs>>? = null, git: Output<AppSpecServiceGitArgs>? = null, github: Output<AppSpecServiceGithubArgs>? = null, gitlab: Output<AppSpecServiceGitlabArgs>? = null, healthCheck: Output<AppSpecServiceHealthCheckArgs>? = null, httpPort: Output<Int>? = null, image: Output<AppSpecServiceImageArgs>? = null, instanceCount: Output<Int>? = null, instanceSizeSlug: Output<String>? = null, internalPorts: Output<List<Int>>? = null, logDestinations: Output<List<AppSpecServiceLogDestinationArgs>>? = null, name: Output<String>, routes: Output<List<AppSpecServiceRouteArgs>>? = null, runCommand: Output<String>? = null, sourceDir: Output<String>? = null, termination: Output<AppSpecServiceTerminationArgs>? = null)

Properties

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

Describes an alert policy for the component.

Link copied to clipboard

Configuration for automatically scaling this component based on metrics.

Link copied to clipboard

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 cors: Output<AppSpecServiceCorsArgs>? = null

The CORS policies of the app.

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<AppSpecServiceEnvArgs>>? = null

Describes an environment variable made available to an app competent.

Link copied to clipboard
val git: Output<AppSpecServiceGitArgs>? = 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<AppSpecServiceGithubArgs>? = 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<AppSpecServiceGitlabArgs>? = 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

A health check to determine the availability of this component.

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

The internal port on which this service's run command will listen.

Link copied to clipboard
val image: Output<AppSpecServiceImageArgs>? = 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 internalPorts: Output<List<Int>>? = null

A list of ports on which this service will listen for internal traffic.

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 routes: Output<List<AppSpecServiceRouteArgs>>? = null

An HTTP paths that should be routed to this 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(): AppSpecServiceArgs