Skip to content

ArtifactLifecycleRuleProps

Properties for defining a ArtifactLifecycleRule.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcr"
&alicloudroscdkcr.ArtifactLifecycleRuleProps {
    Auto: interface{},
    InstanceId: interface{},
    NamespaceName: interface{},
    RepoName: interface{},
    RetentionTagCount: interface{},
    ScheduleTime: interface{},
    Scope: interface{},
    TagRegexp: interface{},
}

Properties

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

AutoRequired

Auto interface{}
  • Type: interface{}

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


InstanceIdRequired

InstanceId interface{}
  • Type: interface{}

Property instanceId: ACR Instance ID.


NamespaceNameOptional

NamespaceName interface{}
  • Type: interface{}

Property namespaceName: The name of the namespace.


RepoNameOptional

RepoName interface{}
  • Type: interface{}

Property repoName: The name of the image repository.


RetentionTagCountOptional

RetentionTagCount interface{}
  • Type: interface{}

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


ScheduleTimeOptional

ScheduleTime interface{}
  • Type: interface{}

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


ScopeOptional

Scope interface{}
  • Type: interface{}

Property scope: The deletion scope.


TagRegexpOptional

TagRegexp interface{}
  • Type: interface{}

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