Skip to content

Latest commit

 

History

History
131 lines (125 loc) · 65.3 KB

createdeploymentresponsebody.md

File metadata and controls

131 lines (125 loc) · 65.3 KB

CreateDeploymentResponseBody

The successfully created deployment

Example Usage

import { CreateDeploymentResponseBody } from "@simplesagar/vercel/models/createdeploymentop.js";

let value: CreateDeploymentResponseBody = {
  build: {
    env: [
      "<value>",
    ],
  },
  env: [
    "<value>",
  ],
  inspectorUrl: "<value>",
  isInConcurrentBuildsQueue: false,
  projectSettings: {},
  aliasAssigned: false,
  bootedAt: 2716.53,
  buildingAt: 2730.09,
  buildSkipped: false,
  creator: {
    uid: "<value>",
  },
  public: false,
  status: "QUEUED",
  type: "LAMBDAS",
  createdAt: 9700.76,
  name: "<value>",
  id: "<id>",
  version: 4017.13,
  meta: {
    "key": "<value>",
  },
  readyState: "CANCELED",
  regions: [
    "<value>",
  ],
  url: "http://unfortunate-leg.net",
  projectId: "<value>",
  ownerId: "<value>",
  routes: [
    {
      src: "<value>",
    },
  ],
  plan: "pro",
  createdIn: "<value>",
};

Fields

Field Type Required Description
aliasAssignedAt models.AliasAssignedAt N/A
alwaysRefuseToBuild boolean N/A
build models.Build ✔️ N/A
buildArtifactUrls string[] N/A
builds models.CreateDeploymentBuilds[] N/A
env string[] ✔️ N/A
inspectorUrl string ✔️ N/A
isInConcurrentBuildsQueue boolean ✔️ N/A
projectSettings models.CreateDeploymentProjectSettings ✔️ N/A
readyStateReason string N/A
alias string[] N/A
aliasAssigned boolean ✔️ N/A
bootedAt number ✔️ N/A
buildingAt number ✔️ N/A
buildSkipped boolean ✔️ N/A
creator models.Creator ✔️ N/A
initReadyAt number N/A
isFirstBranchDeployment boolean N/A
lambdas models.Lambdas[] N/A
public boolean ✔️ N/A
ready number N/A
status models.CreateDeploymentStatus ✔️ N/A
team models.CreateDeploymentTeam N/A
userAliases string[] N/A
previewCommentsEnabled boolean N/A
ttyBuildLogs boolean N/A
customEnvironment models.CustomEnvironment N/A
type models.CreateDeploymentType ✔️ N/A
createdAt number ✔️ N/A
name string ✔️ N/A
deletedAt number N/A
id string ✔️ N/A
version number ✔️ N/A
autoAssignCustomDomains boolean applies to custom domains only, defaults to true
gitSource models.CreateDeploymentGitSource N/A
meta Record<string, string> ✔️ N/A
project models.Project N/A
readyState models.CreateDeploymentReadyState ✔️ N/A
source models.CreateDeploymentSource N/A
target models.CreateDeploymentTarget N/A
passiveRegions string[] Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary regions are marked as out of service
regions string[] ✔️ N/A
errorMessage string N/A
aliasWarning models.AliasWarning N/A
aliasError models.AliasError N/A
aliasFinal string N/A
automaticAliases string[] N/A
buildErrorAt number N/A
checksState models.ChecksState N/A
checksConclusion models.ChecksConclusion N/A
canceledAt number N/A
errorCode string N/A
errorLink string N/A
errorStep string N/A
readySubstate models.ReadySubstate Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic
softDeletedByRetention boolean N/A
undeletedAt number N/A
url string ✔️ N/A
oidcTokenClaims Record<string, models.OidcTokenClaims> N/A
projectId string ✔️ N/A
ownerId string ✔️ N/A
monorepoManager string N/A
functions Record<string, models.Functions> N/A
routes models.Routes[] ✔️ N/A
crons models.CreateDeploymentCrons[] N/A
plan models.CreateDeploymentPlan ✔️ N/A
connectBuildsEnabled boolean N/A
connectConfigurationId string N/A
createdIn string ✔️ N/A
passiveConnectConfigurationId string Since November 2023 this field defines a connect configuration that will only be used to deploy passive lambdas to (as in passiveRegions)
gitRepo models.GitRepo N/A
flags models.Flags N/A