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. |
Example
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"
}
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"
}