ApiGenerateCleanupDockerArgs Data Model

Arguments used for the command to generate the docker cleanup script. This is applicable for cleanup operations where customers want to cleanup old docker images.

Properties
name data type constraints description
remoteRepoUrl string   The url of the remote repository where the private cloud artifacts manifest is hosted
dockerRegistry string   Optional. The url of the Docker Registry from which images will be cleaned up
controlPlaneUuid string   Optional. The uuid of the control plane, if cleaning up docker images for an upgrade
oldManifestContent string   Optional. The old manifest.json content from the currently installed version. If controlPlaneUuid is provided, this will be automatically fetched from the database.
newManifestContent string   The new manifest.json content from the version being upgraded to. Required for delta-based cleanup to determine which images are no longer needed.
selectedFeatures string   Optional. The name of the feature(s) in a comma separated list that container images are associated with. When it is null, cleanup all the images from manifest.
selectedFeaturesOnly boolean required Optional. If true, then only images that belong to the selected features will be processed. If false, then images that don't belong to any features will also be processed in addition to the ones that belong to the selected features.

Example

{
  "remoteRepoUrl" : "...",
  "dockerRegistry" : "...",
  "controlPlaneUuid" : "...",
  "oldManifestContent" : "...",
  "newManifestContent" : "...",
  "selectedFeatures" : "...",
  "selectedFeaturesOnly" : true
}