// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;

namespace Pulumi.Yandex.Inputs
{

    public sealed class ContainerRepositoryLifecyclePolicyRuleArgs : global::Pulumi.ResourceArgs
    {
        /// <summary>
        /// Description of the lifecycle policy.
        /// </summary>
        [Input("description")]
        public Input<string>? Description { get; set; }

        /// <summary>
        /// The period of time that must pass after creating a image for it to suit the automatic deletion criteria. It must be a multiple of 24 hours.
        /// </summary>
        [Input("expirePeriod")]
        public Input<string>? ExpirePeriod { get; set; }

        /// <summary>
        /// The number of images to be retained even if the expire_period already expired.
        /// </summary>
        [Input("retainedTop")]
        public Input<int>? RetainedTop { get; set; }

        /// <summary>
        /// Tag to specify a filter as a regular expression. For example `.*` - all images with tags.
        /// </summary>
        [Input("tagRegexp")]
        public Input<string>? TagRegexp { get; set; }

        /// <summary>
        /// If enabled, rules apply to untagged Docker images.
        /// </summary>
        [Input("untagged")]
        public Input<bool>? Untagged { get; set; }

        public ContainerRepositoryLifecyclePolicyRuleArgs()
        {
        }
        public static new ContainerRepositoryLifecyclePolicyRuleArgs Empty => new ContainerRepositoryLifecyclePolicyRuleArgs();
    }
}
