GetAppSpecService

data class GetAppSpecService(val alerts: List<GetAppSpecServiceAlert>? = null, val autoscaling: GetAppSpecServiceAutoscaling? = null, val bitbucket: GetAppSpecServiceBitbucket? = null, val buildCommand: String? = null, val cors: GetAppSpecServiceCors? = null, val dockerfilePath: String? = null, val environmentSlug: String? = null, val envs: List<GetAppSpecServiceEnv>? = null, val git: GetAppSpecServiceGit? = null, val github: GetAppSpecServiceGithub? = null, val gitlab: GetAppSpecServiceGitlab? = null, val healthCheck: GetAppSpecServiceHealthCheck? = null, val httpPort: Int, val image: GetAppSpecServiceImage? = null, val instanceCount: Int? = null, val instanceSizeSlug: String? = null, val internalPorts: List<Int>, val logDestinations: List<GetAppSpecServiceLogDestination>? = null, val name: String, val routes: List<GetAppSpecServiceRoute>, val runCommand: String, val sourceDir: String? = null, val termination: GetAppSpecServiceTermination? = null)

Constructors

Link copied to clipboard
constructor(alerts: List<GetAppSpecServiceAlert>? = null, autoscaling: GetAppSpecServiceAutoscaling? = null, bitbucket: GetAppSpecServiceBitbucket? = null, buildCommand: String? = null, cors: GetAppSpecServiceCors? = null, dockerfilePath: String? = null, environmentSlug: String? = null, envs: List<GetAppSpecServiceEnv>? = null, git: GetAppSpecServiceGit? = null, github: GetAppSpecServiceGithub? = null, gitlab: GetAppSpecServiceGitlab? = null, healthCheck: GetAppSpecServiceHealthCheck? = null, httpPort: Int, image: GetAppSpecServiceImage? = null, instanceCount: Int? = null, instanceSizeSlug: String? = null, internalPorts: List<Int>, logDestinations: List<GetAppSpecServiceLogDestination>? = null, name: String, routes: List<GetAppSpecServiceRoute>, runCommand: String, sourceDir: String? = null, termination: GetAppSpecServiceTermination? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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 Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set. To read your repo, App Platform must be authorized to access your Bitbucket account. Go to this URL to link App Platform to your Bitbucket account: https://cloud.digitalocean.com/apps/bitbucket/install.

Link copied to clipboard
val buildCommand: String? = null

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

Link copied to clipboard

The CORS policies of the app.

Link copied to clipboard
val dockerfilePath: 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: String? = null

An environment slug describing the type of this app.

Link copied to clipboard

Describes an environment variable made available to an app competent.

Link copied to clipboard

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

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

A Gitlab 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

A health check to determine the availability of this component.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
val instanceCount: Int? = null

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

Link copied to clipboard

The instance size to use for this component.

Link copied to clipboard

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

The name of the component.

Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard
val sourceDir: String? = null

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

Link copied to clipboard

Contains a component's termination parameters.