Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 3.64 KB

canceldeploymentconfig.md

File metadata and controls

28 lines (22 loc) · 3.64 KB

CancelDeploymentConfig

Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured

Example Usage

import { CancelDeploymentConfig } from "@vercel/sdk/models/canceldeploymentop.js";

let value: CancelDeploymentConfig = {
  functionType: "standard",
  functionMemoryType: "standard",
  functionTimeout: 1378.13,
  secureComputePrimaryRegion: "<value>",
  secureComputeFallbackRegion: "<value>",
};

Fields

Field Type Required Description
version number N/A
functionType models.CancelDeploymentFunctionType ✔️ N/A
functionMemoryType models.CancelDeploymentFunctionMemoryType ✔️ N/A
functionTimeout number ✔️ N/A
secureComputePrimaryRegion string ✔️ N/A
secureComputeFallbackRegion string ✔️ N/A