Skip to main content

DeploymentEvent

oneOf
instanceIdstringrequired

The ID of the blueprint instance.

Example: 16ef8989-af00-4a4a-8164-72493ceb1aa0
resourceIdstringrequired

The globally unique ID of the resource.

Example: 16ef8989-af00-4a4a-8164-72493ceb1aa0
resourceNamestringrequired

THe logical name of the resource as defined in the source blueprint.

Example: my-resource
groupintegerrequired

The group number that the resource belongs to relative to the ordering for components in the current blueprint associated with the instance ID. A group is a collection of items that can be deployed or destroyed at the same time.

Example: 1
statusintegerrequired

The high-level status of the resource. See the ResourceState schema definition for more information on what each status means.

Possible values: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]

Example: 2
preciseStatusintegerrequired

The precise status of the resource. See the ResourceState schema definition for more information on what each status means.

Possible values: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22]

Example: 3
failureReasonsstring[]nullable

A list of failure reasons for the resource that will contain values for failure events.

attemptintegerrequired

The attempt number for deploying or destroying the resource.

Example: 1
canRetrybooleanrequired

Indicates if the operation for the resource can be retried after this attempt.

Example: false
updateTimestampintegerrequired

The unix timestamp of the event in seconds.

Example: 1678901234
durations objectnullable

Duration information for a resource deployment. Duration information is attached on one of the following precise status updates:

  • Config Complete (2)
  • Created (3)
  • Create Failed (4)
  • Create Rollback Failed (6)
  • Create Rollback Complete (7)
  • Destroyed (9)
  • Destroy Failed (10)
  • Destroy Rollback Failed (12)
  • Destroy Rollback Config Complete (13)
  • Destroy Rollback Complete (14)
  • Update Config Complete (16)
  • Updated (17)
  • Update Failed (18)
  • Update Rollback Failed (20)
  • Update Rollback Config Complete (21)
  • Update Rollback Complete (22)
configCompleteDurationnumbernullable

The duration in milliseconds for the resource to be configured. This will only be set if the resource has reached the config complete status.

Example: 10000
totalDurationnumbernullable

The duration in milliseconds for the resource change to reach the final status.

Example: 20000
attemptDurationsnumber[]

The durations in milliseconds for each attempt to deploy the resource.

DeploymentEvent
{
"instanceId": "16ef8989-af00-4a4a-8164-72493ceb1aa0",
"resourceId": "16ef8989-af00-4a4a-8164-72493ceb1aa0",
"resourceName": "my-resource",
"group": 1,
"status": 2,
"preciseStatus": 3,
"failureReasons": [
"Invalid configuration for resource spec"
],
"attempt": 1,
"canRetry": false,
"updateTimestamp": 1678901234,
"durations": {
"configCompleteDuration": 10000,
"totalDuration": 20000,
"attemptDurations": [
20000
]
}
}