forked from digitalocean/openapi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp_component_instance_base.yml
More file actions
52 lines (51 loc) · 1.55 KB
/
app_component_instance_base.yml
File metadata and controls
52 lines (51 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Attributes shared across app components that use compute (i.e. not static sites)
type: object
properties:
instance_count:
type: integer
format: int64
minimum: 1
description: "The amount of instances that this component should be scaled to. Default: 1. Must not be set if autoscaling is used."
default: 1
example: 2
instance_size_slug:
description: "The instance size to use for this component. Default: `apps-s-1vcpu-0.5gb`"
oneOf:
- title: "Size slug"
type: string
enum:
- apps-s-1vcpu-0.5gb
- apps-s-1vcpu-1gb-fixed
- apps-s-1vcpu-1gb
- apps-s-1vcpu-2gb
- apps-s-2vcpu-4gb
- apps-d-1vcpu-0.5gb
- apps-d-1vcpu-1gb
- apps-d-1vcpu-2gb
- apps-d-1vcpu-4gb
- apps-d-2vcpu-4gb
- apps-d-2vcpu-8gb
- apps-d-4vcpu-8gb
- apps-d-4vcpu-16gb
- apps-d-8vcpu-32gb
default: apps-s-1vcpu-0.5gb
example: apps-s-1vcpu-0.5gb
- title: "Deprecated"
description: |
Deprecated size slugs for legacy plans. We strongly encourage customers
to use the new plans when creating or upgrading apps.
type: string
enum:
- basic-xxs
- basic-xs
- basic-s
- basic-m
- professional-xs
- professional-s
- professional-m
- professional-1l
- professional-l
- professional-xl
example: basic-xxs
deprecated: true
example: apps-s-1vcpu-0.5gb