App Spec Service
data class AppSpecService(val alerts: List<AppSpecServiceAlert>? = null, val buildCommand: String? = null, val cors: AppSpecServiceCors? = null, val dockerfilePath: String? = null, val environmentSlug: String? = null, val envs: List<AppSpecServiceEnv>? = null, val git: AppSpecServiceGit? = null, val github: AppSpecServiceGithub? = null, val gitlab: AppSpecServiceGitlab? = null, val healthCheck: AppSpecServiceHealthCheck? = null, val httpPort: Int? = null, val image: AppSpecServiceImage? = null, val instanceCount: Int? = null, val instanceSizeSlug: String? = null, val internalPorts: List<Int>? = null, val logDestinations: List<AppSpecServiceLogDestination>? = null, val name: String, val routes: List<AppSpecServiceRoute>? = null, val runCommand: String? = null, val sourceDir: String? = null)
Constructors
Link copied to clipboard
fun AppSpecService(alerts: List<AppSpecServiceAlert>? = null, buildCommand: String? = null, cors: AppSpecServiceCors? = null, dockerfilePath: String? = null, environmentSlug: String? = null, envs: List<AppSpecServiceEnv>? = null, git: AppSpecServiceGit? = null, github: AppSpecServiceGithub? = null, gitlab: AppSpecServiceGitlab? = null, healthCheck: AppSpecServiceHealthCheck? = null, httpPort: Int? = null, image: AppSpecServiceImage? = null, instanceCount: Int? = null, instanceSizeSlug: String? = null, internalPorts: List<Int>? = null, logDestinations: List<AppSpecServiceLogDestination>? = null, name: String, routes: List<AppSpecServiceRoute>? = null, runCommand: String? = null, sourceDir: String? = null)
Types
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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
, 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
, gitlab
, or image
may be set.
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard