SDK reference / Models / Delivery
ReleasePromotion
Kind: class
Namespace: Egulu.Sdk.Models.Delivery
One promotion of a release into a stage (W98 part 2): the frozen digests and the stage's frozen overlay deployed to the stage's apps, never rebuilt.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
CreateTime | DateTimeOffset? | createTime | When the promotion into this stage was first asked for. |
EndTime | DateTimeOffset? | endTime | When the latest attempt ended. |
Environment | string? | environment | The stage's environment ID. |
Operation | string? | operation | The operation of the latest attempt. |
Plan | string? | plan | The ADR-0102 plan whose passkey approvals carry the latest attempt, for a protected environment (W98 part 3). |
Reason | string? | reason | Why the promotion waits or failed, for example `wait-timer`, `digest-missing`, `config-drift` or `approval-revoked`. |
Revisions | Models.Delivery.ReleasePromotion_revisions? | revisions | The revision each target app runs from this promotion, by app name; filled as the apps are deployed. |
Stage | string? | stage | The stage the release is promoted into. |
StartTime | DateTimeOffset? | startTime | When the latest attempt started; a FAILED promotion may be retried, which starts a new attempt. |
State | Models.Delivery.ReleasePromotionState? | state | PENDING until the reconciler takes it; WAITING while the environment's wait timer runs; DEPLOYING while the apps get their revisions; then SUCCEEDED or FAILED. |