dcloud ecr storage get

Show storage used per repository against the quotas

IAM ecr:GetRegistryStorageRead

usedBytes counts each stored layer once (deduplicated across repositories) and is exactly breakdown.inRepositoriesBytes + pendingPurgeBytes (held only by expired, restorable images; the first is purged at nextPurgeAt) + unreferencedBytes (no image holds them; cleanup deletes them 24 h later when cleanup.mode is delete, and keeps them when it is report). quotaUsedBytes = inRepositoriesBytes is what the quota counts. A repository's usedBytes counts every layer it holds; sharedBytes is the part other repositories hold too. effectiveQuotaBytes is the lower of the organization's quota and the platform's.

Synopsis

dcloud ecr storage get

Example

dcloud ecr storage get

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