You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/resources/repository_retention.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,12 +44,12 @@ The following arguments are supported:
44
44
*`namespace` - (Required) The namespace of the repository.
45
45
*`repository` - (Required) If true, the retention rules will be activated for the repository and settings will be updated.
46
46
*`retention_enabled` - (Required) If true, the retention rules will be activated for the repository and settings will be updated.
47
-
*`retention_count_limit` - (Optional) The maximum number of packages to retain. Must be between 0 and 10000.
47
+
*`retention_count_limit` - (Optional) The maximum number of packages to retain. Must be between `0` and `10000`. Default set to 100 packages as part of repository creation.
48
48
*`retention_days_limit` - (Optional) The number of days of packages to retain. Must be between `0` and `180`. Default set to 28 days as part of repository creation.
49
49
*`retention_group_by_name` - (Optional) If true, retention will apply to groups of packages by name rather than all packages.
50
50
*`retention_group_by_format` - (Optional) If true, retention will apply to packages by package formats rather than across all package formats.
51
51
*`retention_group_by_package_type` - (Optional) If true, retention will apply to packages by package type rather than across all package types for one or more formats.
52
-
*`retention_size_limit` - (Optional) The maximum total size (in bytes) of packages to retain. Must be between `0` and `21474836480` (21.47 GB / 21474.83 MB).
52
+
*`retention_size_limit` - (Optional) The maximum total size (in bytes) of packages to retain. Must be between `0` and `20000000000` up to the maximum size of 20 GB (20,000,000,000 bytes).
53
53
*`retention_package_query_string` - (Optional) A package search expression which, if provided, filters the packages to be deleted. For example, `name:foo` will only delete packages called 'foo'.
0 commit comments