Skip to main content

FinishDeploymentEvent

instanceIdstringrequired

The ID of the blueprint instance.

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

The status of the blueprint instance deployment. See the BlueprintInstance 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]

Example: 2
failureReasonsstring[]nullable

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

finishTimestampintegerrequired

The unix timestamp in seconds for when the deployment process finished.

Example: 1678901234
updateTimestampintegerrequired

The unix timestamp of the event in seconds for when the status update occurred.

Example: 1678901234
durations objectnullable

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

  • Deploying (1) - preparation phase duration only
  • Deployed (2)
  • Deploy Failed (3)
  • Deploy Rollback Failed (5)
  • Deploy Rollback Complete (6)
  • Destroyed (8)
  • Destroy Failed (9)
  • Destroy Rollback Failed (11)
  • Destroy Rollback Complete (12)
  • Updated (14)
  • Update Failed (15)
  • Update Rollback Failed (17)
  • Update Rollback Complete (18)
prepareDurationnumbernullable

The duration in milliseconds for the preparation phase of a blueprint instance deployment to be completed.

Example: 10000
totalDurationnumbernullable

The duration in milliseconds for the blueprint instance to reach the final status.

Example: 20000
FinishDeploymentEvent
{
"instanceId": "16ef8989-af00-4a4a-8164-72493ceb1aa0",
"status": 2,
"failureReasons": [
"Resource creation failed for resources \"my-resource-1\" and \"my-resource-2\""
],
"finishTimestamp": 1678901234,
"updateTimestamp": 1678901234,
"durations": {
"prepareDuration": 10000,
"totalDuration": 20000
}
}