Reference documentation and code samples for the Compute Engine v1 API enum DeprecationStatus.Types.State.
The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eDeprecationStatus.Types.State\u003c/code\u003e enum is 3.6.0, with documentation available for multiple versions ranging from 1.0.0 to 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThis enum represents the deprecation state of a Compute Engine resource, with possible states being \u003ccode\u003eACTIVE\u003c/code\u003e, \u003ccode\u003eDEPRECATED\u003c/code\u003e, \u003ccode\u003eOBSOLETE\u003c/code\u003e, or \u003ccode\u003eDELETED\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUndefinedState\u003c/code\u003e field indicates when the enum field is not set, and operations using \u003ccode\u003eOBSOLETE\u003c/code\u003e or \u003ccode\u003eDELETED\u003c/code\u003e resources will result in errors.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDEPRECATED\u003c/code\u003e resource usage results in a warning, recommending a replacement, but it will not result in an error, unlike \u003ccode\u003eOBSOLETE\u003c/code\u003e or \u003ccode\u003eDELETED\u003c/code\u003e resources.\u003c/p\u003e\n"]]],[],null,[]]