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 requiredStatus is the current status of the workflow runID.Values:not-started— NotStarted- JobStatusNotStarted indicates that a job has not yet started.
accepted— Accepted- JobStatusAccepted indicates that a job has been accepted for execution, but is not yet running.
running— Running- JobStatusRunning indicates that a job is running.
failed— Failed- JobStatusFailed indicates that a job has failed.
succeeded— Succeeded- JobStatusSucceeded indicates that a job has succeeded.
skipped— Skipped- JobStatusSkipped indicates that a job has skipped as there are fresher deployments to execute in the queue.
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 status of the deployment job.Values:not-started— NotStarted- JobStatusNotStarted indicates that a job has not yet started.
accepted— Accepted- JobStatusAccepted indicates that a job has been accepted for execution, but is not yet running.
running— Running- JobStatusRunning indicates that a job is running.
failed— Failed- JobStatusFailed indicates that a job has failed.
succeeded— Succeeded- JobStatusSucceeded indicates that a job has succeeded.
skipped— Skipped- JobStatusSkipped indicates that a job has skipped as there are fresher deployments to execute in the queue.
- ↳
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