dcloud ecr expired-images restore

Bring an expired image back, with the tags nothing has taken since

IAM ecr:RestoreExpiredItemChanges state

Synopsis

dcloud ecr expired-images restore id --digest digest

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

Flags

  • --digestRequired

    string

    Digest of the expired image, sha256:<64 hex>, as the expired-image list gives it

    Constraints: /^sha256:[a-f0-9]{64}$/

Example

dcloud ecr expired-images restore id --digest example

Generated from the API description, the same one the API checks requests against and the CLI is built from.