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
import { CancelDeploymentConfig } from "@vercel/sdk/models/canceldeploymentop.js";
let value: CancelDeploymentConfig = {
functionType: "standard",
functionMemoryType: "standard",
functionTimeout: 1378.13,
secureComputePrimaryRegion: "<value>",
secureComputeFallbackRegion: "<value>",
};
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 |