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
| Field | Type | Required | Description |
|---|---|---|---|
version | number | :heavy_minus_sign: | N/A |
functionType | models.FunctionType | :heavy_check_mark: | N/A |
functionMemoryType | models.FunctionMemoryType | :heavy_check_mark: | N/A |
functionTimeout | number | :heavy_check_mark: | N/A |
secureComputePrimaryRegion | string | :heavy_check_mark: | N/A |
secureComputeFallbackRegion | string | :heavy_check_mark: | N/A |
isUsingActiveCPU | boolean | :heavy_minus_sign: | N/A |
resourceConfig | models.CancelDeploymentDeploymentsResourceConfig | :heavy_minus_sign: | Build resource configuration snapshot for this deployment. |