GetDeploymentResponse
GetDeploymentResponse is the response from the API when getting a single Deployment.
Properties
idstring requiredUnique identifier for this deployment.createdstring requiredCreated defines when the Deployment was created.modifiedstring requiredCreated defines when the corresponding WorkflowRun was modified.statusenum requiredThe current execution status of the deployment.not-startedmeans the deployment is waiting in the queue. The Pulumi Cloud console shows it asQueued, or asPausedwhen deployments are paused for the stack or the organization.acceptedmeans the deployment has been taken off the queue for execution but has not started running yet. The console shows it alongsiderunning. Webhook payloads report bothnot-startedandacceptedasqueued.runningmeans at least one step has started and no step has failed.failedcovers, for example, a failed step, a timeout, or a cancellation, whether the deployment was queued or running.skippedmeans the deployment was removed from the queue without running, either becauseoperationContext.options.skipIntermediateDeploymentsis enabled for it and a newer deployment of the same operation is queued right behind it for the same stack, or because it was still queued seven days after it was created. Once the deployment’s job has started, this matches the job’s status.Values:not-started— NotStarted- The work has been created but has not started yet.
accepted— Accepted- The work has been picked up for execution but has not started running yet.
running— Running- The work is executing.
failed— Failed- The work finished without completing successfully. Failures, timeouts, and cancellations are all reported as
failed, and there is no separate status for canceled work. This is a terminal status. succeeded— Succeeded- The work completed successfully. This is a terminal status.
skipped— Skipped- The work was dropped without ever running. Only deployments report this status. This is a terminal status.
versioninteger requiredVersion is the ordinal ID for the stack- RequestedBy contains the user information about the user who created the Deployment
- ↳
namestring requiredThe user’s display name. - ↳
githubLoginstring requiredThe user’s login name. - ↳
avatarUrlstring requiredThe URL of the user’s avatar image. - ↳
emailstring optionalThe user’s email address. It is only populated on selected endpoints and is omitted from most responses. Treat it as sensitive information. - Jobs make up all the Jobs of the Deployment. Omitted for deployments that have not started yet.
- ↳
statusenum requiredThe current execution status of this job. A deployment reports the status of its job, so this is normally the same value as the deployment’s ownstatus.Values:not-started— NotStarted- The work has been created but has not started yet.
accepted— Accepted- The work has been picked up for execution but has not started running yet.
running— Running- The work is executing.
failed— Failed- The work finished without completing successfully. Failures, timeouts, and cancellations are all reported as
failed, and there is no separate status for canceled work. This is a terminal status. succeeded— Succeeded- The work completed successfully. This is a terminal status.
skipped— Skipped- The work was dropped without ever running. Only deployments report this status. This is a terminal status.
- ↳
startedstring optionalThe timestamp when the job started. - ↳
lastUpdatedstring optionalThe timestamp when the job was last updated. - The list of steps in the deployment job.
latestVersioninteger requiredLatestVersion is the most recent version number for deployments for the given programID- Configuration contains the environment variables and source information for a deployment
- The list of environment variables for the deployment.
- The source configuration for the deployment.
initiatorstring optionalInitiator is the initiation source of the deployment.pulumiOperationenum optionalPulumiOperation is the operation that was performed. Omitted for historical deployments that predate this field.Values:update— Updatepreview— Previewdestroy— Destroyrefresh— Refreshdetect-drift— DetectDriftremediate-drift— RemediateDrift