dcloud ecr storage put-quotaSet the organization's storage quota
IAM ecr:PutRegistryStorageQuotaChanges state
A push (or pull-through fill) that would store more is refused with DENIED and the numbers; a layer already stored always passes. A repository has its own storageQuotaBytes (PATCH /ecr/api/repositories/{id}). Lowering a quota deletes nothing.
Synopsis
dcloud ecr storage put-quota --quota-bytes quotaBytesFlags
--quota-bytesRequirednumber
Cap in bytes on the layers in the organization’s repositories, each counted once: 1 MiB (1048576) to 1 PiB. null removes it. Required. A push over it is refused; lowering it deletes nothing. The platform quota applies too, whichever is lower
Constraints: integer, 1048576-1125899906842624
May be null.
Example
dcloud ecr storage put-quota --quota-bytes 1Generated from the API description, the same one the API checks requests against and the CLI is built from.