IRetentionPolicy Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.RetentionPolicyTypeConverter))]
public interface IRetentionPolicy : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.RetentionPolicyTypeConverter))>]
type IRetentionPolicy = interface
    interface IJsonSerializable
Public Interface IRetentionPolicy
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

Day

The number of days to retain an untagged manifest after which it gets purged.

LastUpdatedTime

The timestamp when the policy was last updated.

Status

The value that indicates whether the policy is enabled or not.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to