Type Definitions
appPatchedPropsType
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
cpus |
number | In millicores. |
|
memory |
number | In megabytes. |
|
memoryLimit |
number | In megabytes. |
|
cpusLimit |
number | In millicores. |
|
storage |
number | In megabytes. |
|
storageLimit |
number | In megabytes. |
|
egressLimit |
number | In megabytes/sec |
|
image |
string | Docker image. |
|
poolKey |
string | ||
poolValue |
string | ||
isGvisor |
boolean | Whether to use a sandbox. |
|
isIncubator |
boolean | ||
instances |
number | The number of processes. |
|
props |
string |
<optional> |
JSON serialized metadata of current deployment |
Type:
- Object
appPropsType
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
id |
string | // duplicate |
|
k8SNamespace |
string | The app namespace. |
|
instances |
number | The number of processes. |
|
touch |
string | Modify to trigger reset. |
|
appPublisher |
string | ||
appLocalName |
string | ||
appSuffix |
string | ||
isDeployer |
boolean | ||
isAccounts |
boolean | ||
isPeople |
boolean | ||
isUntrusted |
boolean | // duplicate |
|
isIncubator |
boolean | ||
isGvisor |
boolean | Whether to use a sandbox. |
|
redisNamespace |
string | The redis namespace. |
|
image |
string | ||
args |
string | The JSON serialized array with arguments to node. |
|
cpus |
number | In millicores. |
|
memory |
number | In megabytes. |
|
memoryLimit |
number | In megabytes. |
|
cpusLimit |
number | In millicores. |
|
storage |
number | In megabytes. |
|
storageLimit |
number | In megabytes. |
|
egressLimit |
number | In megabytes/sec |
|
poolKey |
string | ||
poolValue |
string | ||
isCDN |
boolean | Whether to change current CDN settings. |
|
appCDN |
string |
<optional> |
The base url for a CDN service. |
appSubdirCDN |
string |
<optional> |
A CDN subdir for cache invalidation. |
props |
string |
<optional> |
JSON serialized metadata of current deployment
(type before serialization is |
envProps |
Array.<envPropertiesType> |
<optional> |
A list of properties to set. |
Type:
- Object
appSpecType
Properties:
Name | Type | Description |
---|---|---|
templateFile |
string | The mustache template to patch. |
k8SNamespace |
string | The namespace for the service. |
nodePool |
poolType | The node pool. |
request |
resourcesType | The resources requested. |
limit |
resourcesType | A hard limit on the resources consumed. |
maxInstances |
number | The maximum number of app processes. |
args |
Array.<jsonType> | The arguments to the node.js process. |
Type:
- Object
cdnType
Properties:
Name | Type | Description |
---|---|---|
appCDN |
string | The URL from the CDN provider. |
appSubdirCDN |
string | A subdirectory adding versioning to help cache invalidation. |
Type:
- Object
changeImageOptionsType
Properties:
Name | Type | Description |
---|---|---|
id |
string | |
image |
string | The new Docker image for the app. |
currentProps |
deploymentPropsType | The deployment properties currently used. |
Type:
- Object
createOptionsType
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
id |
string | ||
plan |
string | The strategy to flex resources. |
|
image |
string | The docker image for the app. |
|
timestamp |
string |
<optional> |
An optional tag to identify a previous redis service instance. This allows redis to restart from a previous state. |
isUntrusted |
boolean | ||
cdn |
cdnType |
<optional> |
An optional CDN configuration that overrides the one in the image. |
envProps |
Array.<envPropertiesType> |
<optional> |
A list of properties to set. |
Type:
- Object
deleteOptionsType
Properties:
Name | Type | Description |
---|---|---|
id |
string | |
keepData |
boolean | Do not delete the volume. |
timestamp |
string | Over time multiple instances of a service have
the same |
Type:
- Object
deploymentPropsType
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
version |
string | The schema version for this metadata. |
|
app |
appPropsType |
<optional> |
Props for the nodejs app. |
redis |
redisPropsType |
<optional> |
Props for the redis backend. |
numberOfCAs |
number | The number of active CAs. |
|
plan |
string | The strategy to flex resources. |
Type:
- Object
deploymentSpecType
Properties:
Name | Type | Description |
---|---|---|
useK8SConfig |
boolean | Whether to use the k8s config file from the kubelet client. |
refreshInterval |
number | Time between Kubernetes status polling in msec. |
appSuffix |
string | The suffix for the app name, e.g., |
isUntrusted |
boolean | Whether the deployment should be trusted. |
isIncubator |
boolean | Whether the deployment is in incubation mode. |
isDeployer |
boolean | Whether it is the |
isPeople |
boolean | Whether it is the |
isAccounts |
boolean | Whether it is the |
plans |
Object.<string, number> | The threshold in CAs for an extra application process. |
ratioIncubator |
number | The portion of a full process assigned to incubator mode. |
redis |
redisSpecType | The spec for the redis backend. |
app |
appSpecType | The spec for the app processes. |
Type:
- Object
envPropertiesType
Properties:
Name | Type | Description |
---|---|---|
key |
string | The key of the environment property. |
value |
string | The value of the environment property. |
Type:
- Object
jsonType
Type:
- Object | Array | string | number | null | boolean
patchedPropsType
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
plan |
string | The strategy to flex resources. |
|
numberOfCAs |
number | The number of active CAs. |
|
app |
appPatchedPropsType |
<optional> |
Props for the nodejs app. |
redis |
redisPatchedPropsType |
<optional> |
Props for the redis backend. |
Type:
- Object
poolType
Properties:
Name | Type | Description |
---|---|---|
poolKey |
Array.<string> | The key to select a node pool. See
|
poolValue |
Array.<string> | The value to select a node pool. See
|
isGvisor |
Array.<boolean> | Whether the node pool enables gvisor.
See |
Type:
- Object
redisPatchedPropsType
Properties:
Name | Type | Description |
---|---|---|
cpus |
number | In millicores. |
memory |
number | In megabytes. |
memoryLimit |
number | In megabytes. |
cpusLimit |
number | In millicores. |
poolKey |
string | |
poolValue |
string | |
isGvisor |
boolean | Whether to use a sandbox. |
dedicatedVolumeSize |
number | The disk size in gigabytes. |
Type:
- Object
redisPropsType
Properties:
Name | Type | Description |
---|---|---|
id |
string | |
k8SNamespace |
string | |
touch |
string | Modify to trigger reset. |
timestamp |
string | Over time multiple instances of a service have
the same |
image |
string | |
cpus |
number | In millicores. |
memory |
number | In megabytes. |
memoryLimit |
number | In megabytes. |
cpusLimit |
number | In millicores. |
poolKey |
string | |
poolValue |
string | |
dedicatedVolumeSize |
number | The disk size in gigabytes. |
isDedicatedVolume |
boolean | True if it has exclusive access to a persistent volume. |
isUntrusted |
boolean |
Type:
- Object
redisSpecType
Properties:
Name | Type | Description |
---|---|---|
templateFile |
string | The mustache template to patch. |
k8SNamespace |
string | The namespace for the service. |
image |
string | The docker image for Redis. |
nodePool |
poolType | The node pool. |
request |
resourcesType | The resources requested. |
limit |
resourcesType | A hard limit on the resources consumed.
Limits are only active if |
updateRatio |
number | Update resources every |
deltaRequest |
resourcesType | Incremental resources requested per
extra |
deltaLimit |
resourcesType | Incremental hard limit on the resources
consumed per extra |
dedicatedVolumeSize |
Array.<number> | Size in gigabytes of the
dedicated volume. See |
deltaDedicatedVolumeSize |
Array.<number> | Incremental size
increase in gigabytes of the dedicated volume per extra |
maxNFSInstances |
number | The maximum number of app instances before we create a dedicated volume. |
Type:
- Object
resourcesType
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
cpus |
Array.<number> |
<optional> |
The compute resource available in virtual cores. The array has three entries: first, trusted app, second, untrusted within the incubation period, and third, untrusted and not in incubation. |
memory |
Array.<number> |
<optional> |
The memory resource available in
megabytes. See |
storage |
Array.<number> |
<optional> |
The ephemeral storage in megabytes. See
|
egress |
Array.<number> |
<optional> |
The maximum egress bandwith in megabytes
per second. See |
Type:
- Object
statType
Properties:
Name | Type | Description |
---|---|---|
id |
string | An identifier for the app |
tasksRunning |
number | The number of app processes running. |
props |
deploymentPropsType | The properties of the app. |
version |
string | An instance version for this app. |
Type:
- Object
updateOptionsType
Properties:
Name | Type | Description |
---|---|---|
id |
string | |
plan |
string | The strategy to flex resources. |
numberOfCAs |
number | The number of active CAs. |
currentProps |
deploymentPropsType | The deployment properties currently used. |
Type:
- Object