CancelDeploymentConfig

August 5, 2026 ยท View on GitHub

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/canceldeploymentresponsebody.js";

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

Fields

FieldTypeRequiredDescription
versionnumber:heavy_minus_sign:N/A
functionTypemodels.FunctionType:heavy_check_mark:N/A
functionMemoryTypemodels.FunctionMemoryType:heavy_check_mark:N/A
functionTimeoutnumber:heavy_check_mark:N/A
secureComputePrimaryRegionstring:heavy_check_mark:N/A
secureComputeFallbackRegionstring:heavy_check_mark:N/A
isUsingActiveCPUboolean:heavy_minus_sign:N/A
resourceConfigmodels.CancelDeploymentDeploymentsResourceConfig:heavy_minus_sign:Build resource configuration snapshot for this deployment.