Skip to content

RepoSyncRuleProps

Properties for defining a RepoSyncRule.

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

Initializer

import com.aliyun.ros.cdk.cr.RepoSyncRuleProps;
RepoSyncRuleProps.builder()
    .instanceId(java.lang.String)
    .instanceId(IResolvable)
    .namespaceName(java.lang.String)
    .namespaceName(IResolvable)
    .syncRuleName(java.lang.String)
    .syncRuleName(IResolvable)
    .syncScope(java.lang.String)
    .syncScope(IResolvable)
    .syncTrigger(java.lang.String)
    .syncTrigger(IResolvable)
    .targetInstanceId(java.lang.String)
    .targetInstanceId(IResolvable)
    .targetNamespaceName(java.lang.String)
    .targetNamespaceName(IResolvable)
    .targetRegionId(java.lang.String)
    .targetRegionId(IResolvable)
//  .repoName(java.lang.String)
//  .repoName(IResolvable)
//  .repoNameFilter(java.lang.String)
//  .repoNameFilter(IResolvable)
//  .tagFilter(java.lang.String)
//  .tagFilter(IResolvable)
//  .targetRepoName(java.lang.String)
//  .targetRepoName(IResolvable)
//  .targetUserId(java.lang.String)
//  .targetUserId(IResolvable)
    .build();

Properties

Name Type Description
instanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceId: The ID of the CR instance.
namespaceName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property namespaceName: The name of the CR namespace.
syncRuleName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property syncRuleName: The name of the image sync rule.
syncScope java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property syncScope: The synchronization scope.
syncTrigger java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property syncTrigger: The mode of triggering the synchronization rule.
targetInstanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property targetInstanceId: The ID of the destination instance.
targetNamespaceName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property targetNamespaceName: The name of the destination namespace.
targetRegionId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property targetRegionId: The ID of the destination region.
repoName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property repoName: The name of the repository.
repoNameFilter java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property repoNameFilter: The regular expression that is used to filter repositories.
tagFilter java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property tagFilter: The tag filter.
targetRepoName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property targetRepoName: The name of the destination image repository.
targetUserId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property targetUserId: The user ID (UID) of the account to which the destination instance belongs.

instanceIdRequired

public java.lang.Object getInstanceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property instanceId: The ID of the CR instance.


namespaceNameRequired

public java.lang.Object getNamespaceName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property namespaceName: The name of the CR namespace.


syncRuleNameRequired

public java.lang.Object getSyncRuleName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property syncRuleName: The name of the image sync rule.


syncScopeRequired

public java.lang.Object getSyncScope();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property syncScope: The synchronization scope.

Valid values: REPO, NAMESPACE


syncTriggerRequired

public java.lang.Object getSyncTrigger();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property syncTrigger: The mode of triggering the synchronization rule.

Valid values: INITIATIVE, PASSIVE


targetInstanceIdRequired

public java.lang.Object getTargetInstanceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property targetInstanceId: The ID of the destination instance.


targetNamespaceNameRequired

public java.lang.Object getTargetNamespaceName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property targetNamespaceName: The name of the destination namespace.


targetRegionIdRequired

public java.lang.Object getTargetRegionId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property targetRegionId: The ID of the destination region.


repoNameOptional

public java.lang.Object getRepoName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property repoName: The name of the repository.

This parameter is required when SyncScope is REPO.


repoNameFilterOptional

public java.lang.Object getRepoNameFilter();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property repoNameFilter: The regular expression that is used to filter repositories.


tagFilterOptional

public java.lang.Object getTagFilter();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property tagFilter: The tag filter.

Default value: .*


targetRepoNameOptional

public java.lang.Object getTargetRepoName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property targetRepoName: The name of the destination image repository.

This parameter is optional.


targetUserIdOptional

public java.lang.Object getTargetUserId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property targetUserId: The user ID (UID) of the account to which the destination instance belongs.