We're having lots of fun on Discord! Come and join us! 💬
Docs

Deployment Object

Properties

Name Type Description
$id string

Deployment ID.

$createdAt string

Deployment creation date in ISO 8601 format.

$updatedAt string

Deployment update date in ISO 8601 format.

resourceId string

Resource ID.

resourceType string

Resource type.

entrypoint string

The entrypoint file to use to execute the deployment code.

size integer

The code size in bytes.

buildId string

The current build ID.

activate boolean

Whether the deployment should be automatically activated.

status string

The deployment status. Possible values are "processing", "building", "pending", "ready", and "failed".

buildStdout string

The build stdout.

buildStderr string

The build stderr.

buildTime integer

The current build time in seconds.

Examples

JSON

{
    "$id": "5e5ea5c16897e",
    "$createdAt": "2020-10-15T06:38:00.000+00:00",
    "$updatedAt": "2020-10-15T06:38:00.000+00:00",
    "resourceId": "5e5ea6g16897e",
    "resourceType": "functions",
    "entrypoint": "enabled",
    "size": 128,
    "buildId": "5e5ea5c16897e",
    "activate": true,
    "status": "ready",
    "buildStdout": "enabled",
    "buildStderr": "enabled",
    "buildTime": 128
}