RetentionPolicy Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The retention policy for a container registry.
public class RetentionPolicy
type RetentionPolicy = class
Public Class RetentionPolicy
- Inheritance
-
RetentionPolicy
Constructors
RetentionPolicy() |
Initializes a new instance of the RetentionPolicy class. |
RetentionPolicy(Nullable<Int32>, Nullable<DateTime>, String) |
Initializes a new instance of the RetentionPolicy class. |
Properties
Days |
Gets or sets the number of days to retain an untagged manifest after which it gets purged. |
LastUpdatedTime |
Gets the timestamp when the policy was last updated. |
Status |
Gets or sets the value that indicates whether the policy is enabled or not. Possible values include: 'enabled', 'disabled' |