Skip to content

ArtifactLifecycleRuleProps

Properties for defining a ArtifactLifecycleRule.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cr-artifactlifecyclerule

Initializer

using AlibabaCloud.SDK.ROS.CDK.Cr;
new ArtifactLifecycleRuleProps {
    object Auto,
    object InstanceId,
    object NamespaceName = null,
    object RepoName = null,
    object RetentionTagCount = null,
    object ScheduleTime = null,
    object Scope = null,
    object TagRegexp = null
};

Properties

Name Type Description
Auto object Property auto: Specify whether to automatically execute the lifecycle management rule.
InstanceId object Property instanceId: ACR Instance ID.
NamespaceName object Property namespaceName: The name of the namespace.
RepoName object Property repoName: The name of the image repository.
RetentionTagCount object Property retentionTagCount: The number of images that you want to retain.
ScheduleTime object Property scheduleTime: The execution cycle of the lifecycle management rule.
Scope object Property scope: The deletion scope.
TagRegexp object Property tagRegexp: The regular expression that is used to indicate which image tags are retained.

AutoRequired

public object Auto { get; set; }
  • Type: object

Property auto: Specify whether to automatically execute the lifecycle management rule.


InstanceIdRequired

public object InstanceId { get; set; }
  • Type: object

Property instanceId: ACR Instance ID.


NamespaceNameOptional

public object NamespaceName { get; set; }
  • Type: object

Property namespaceName: The name of the namespace.


RepoNameOptional

public object RepoName { get; set; }
  • Type: object

Property repoName: The name of the image repository.


RetentionTagCountOptional

public object RetentionTagCount { get; set; }
  • Type: object

Property retentionTagCount: The number of images that you want to retain.


ScheduleTimeOptional

public object ScheduleTime { get; set; }
  • Type: object

Property scheduleTime: The execution cycle of the lifecycle management rule.


ScopeOptional

public object Scope { get; set; }
  • Type: object

Property scope: The deletion scope.


TagRegexpOptional

public object TagRegexp { get; set; }
  • Type: object

Property tagRegexp: The regular expression that is used to indicate which image tags are retained.