Sha256: 005bda3bf0e8490c11735d92be60f50040be5e2b54840eb3065113c46384a371

Contents?: true

Size: 1.72 KB

Versions: 2

Compression:

Stored size: 1.72 KB

Contents

# CloudsmithApi::RepositoryRetentionRules

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**retention_count_limit** | **Integer** | The maximum X number of packages to retain. | [optional] 
**retention_days_limit** | **Integer** | The X number of days of packages to retain. | [optional] 
**retention_enabled** | **BOOLEAN** | If checked, the retention lifecycle rules will be activated for the repository. Any packages that don't match will be deleted automatically, and the rest are retained. | [optional] 
**retention_group_by_format** | **BOOLEAN** | If checked, retention will apply to packages by package formats rather than across all package formats.For example, when retaining by a limit of 1 and you upload PythonPkg 1.0 and RubyPkg 1.0, no packages are deleted because they are different formats. | [optional] 
**retention_group_by_name** | **BOOLEAN** | If checked, retention will apply to groups of packages by name rather than all packages.<br>For example, when retaining by a limit of 1 and you upload PkgA 1.0, PkgB 1.0 and PkgB 1.1; only PkgB 1.0 is deleted because there are two (2) PkgBs and one (1) PkgA. | [optional] 
**retention_group_by_package_type** | **BOOLEAN** | If checked, retention will apply to packages by package type (e.g. by binary, by source, etc.), rather than across all package types for one or more formats. <br>For example, when retaining by a limit of 1 and you upload DebPackage 1.0 and DebSourcePackage 1.0, no packages are deleted because they are different package types, binary and source respectively. | [optional] 
**retention_size_limit** | **Integer** | The maximum X total size (in bytes) of packages to retain. | [optional] 


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cloudsmith-api-2.0.15 docs/RepositoryRetentionRules.md
cloudsmith-api-2.0.14 docs/RepositoryRetentionRules.md