ContainerRegistryRetentionPolicy 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.

C#
public class ContainerRegistryRetentionPolicy : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryRetentionPolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryRetentionPolicy>
Inheritance
ContainerRegistryRetentionPolicy
Implements

Constructors

Properties

Days

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

LastUpdatedOn

The timestamp when the policy was last updated.

Status

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

Methods

Explicit Interface Implementations

Applies to

Toode Versioonid
Azure SDK for .NET Latest, Preview