Patch a deployment
Patches the SDL the console stored for this deployment, or renames the deployment, or both; the SDL is never accepted from the request. Only the services named are touched. A name on its own touches no definition, so it renames a deployment the console holds no SDL for and sends neither a deployment update nor a manifest. Such a rename also reports every lease status as null, because it asks no provider for one. A patched environment variable is re-appended to its service's env list, so the order shown by GET may differ afterwards. A replaced secret takes effect through the deployment update this patch sends, not in the workload already running. The definition is recorded before the deployment update is sent, so an update that fails leaves the console describing a manifest version the deployment was never updated to. Re-sending the identical request repairs that: it recomputes the same manifest version, is accepted rather than refused, and goes on to send the update and push the manifest. A seal bound to the SDL is the exception: the first attempt replaced the SDL it was sealed against, so the same sealedSecrets answer 403 until the same values are sealed against the SDL GET now returns.
Path parameters
Deployment sequence number
Deployment sequence number
Request body
Response
Deployment patched successfully
Changes
Changed in 10 of the 64 revisions of this API.7522
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
- ○
added the non-success response with the status
response-non-success-status-added
- ○
- ○
added the non-success response with the status
response-non-success-status-added
- ○
- ○
added the new optional request property
/////new-optional-request-property
- ○
added the new optional request property
/////new-optional-request-property
- ○
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
- ○
added the required property
/to the response with the statusresponse-required-property-added
- ○
- ▲
the response property
/became optional for the statusresponse-property-became-optional
- ○
added the new optional request property
/new-optional-request-property
- ○
the request property
/became optionalrequest-property-became-optional
- ▲
- ▲
request property
///////was restricted to a list of enum valuesrequest-property-became-enum
- ▲
the
//////request property's min was increased to1.00request-property-min-increased
- ▲
the
//////request property's min was increased to1.00request-property-min-increased
- ▲
the
//////request property's min was increased to1.00request-property-min-increased
- ▲
the
//////request property's minItems was increased to1request-property-min-items-increased
- ▲
the
/request property's minLength was increased from0to1request-property-min-length-increased
- ●
the
//////request property's max was set to104857600.00request-property-max-set
- ●
the
//////request property's max was set to4294967295.00request-property-max-set
- ●
the
//////request property's max was set to4294967295.00request-property-max-set
- ●
the
//////request property's max was set to4294967295.00request-property-max-set
- ●
the
//////request property's max was set to4294967295.00request-property-max-set
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new
403enum value to the request property///////request-property-enum-value-added
- ○
added the new
404enum value to the request property///////request-property-enum-value-added
- ○
added the new
429enum value to the request property///////request-property-enum-value-added
- ○
added the new
500enum value to the request property///////request-property-enum-value-added
- ○
added the new
502enum value to the request property///////request-property-enum-value-added
- ○
added the new
503enum value to the request property///////request-property-enum-value-added
- ○
added the new
504enum value to the request property///////request-property-enum-value-added
- ○
added the new
errorenum value to the request property///////request-property-enum-value-added
- ○
added the new
offenum value to the request property///////request-property-enum-value-added
- ○
added the new
timeoutenum value to the request property///////request-property-enum-value-added
- ▲
- ○
endpoint added
endpoint-added
- ○