RepoSyncRuleProps
Properties for defining a RepoSyncRule.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cr-reposyncrule
Initializer
import { RepoSyncRuleProps } from '@alicloud/ros-cdk-cr'
const repoSyncRuleProps: RepoSyncRuleProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
instanceId | string | @alicloud/ros-cdk-core.IResolvable | Property instanceId: The ID of the CR instance. |
namespaceName | string | @alicloud/ros-cdk-core.IResolvable | Property namespaceName: The name of the CR namespace. |
syncRuleName | string | @alicloud/ros-cdk-core.IResolvable | Property syncRuleName: The name of the image sync rule. |
syncScope | string | @alicloud/ros-cdk-core.IResolvable | Property syncScope: The synchronization scope. |
syncTrigger | string | @alicloud/ros-cdk-core.IResolvable | Property syncTrigger: The mode of triggering the synchronization rule. |
targetInstanceId | string | @alicloud/ros-cdk-core.IResolvable | Property targetInstanceId: The ID of the destination instance. |
targetNamespaceName | string | @alicloud/ros-cdk-core.IResolvable | Property targetNamespaceName: The name of the destination namespace. |
targetRegionId | string | @alicloud/ros-cdk-core.IResolvable | Property targetRegionId: The ID of the destination region. |
repoName | string | @alicloud/ros-cdk-core.IResolvable | Property repoName: The name of the repository. |
repoNameFilter | string | @alicloud/ros-cdk-core.IResolvable | Property repoNameFilter: The regular expression that is used to filter repositories. |
tagFilter | string | @alicloud/ros-cdk-core.IResolvable | Property tagFilter: The tag filter. |
targetRepoName | string | @alicloud/ros-cdk-core.IResolvable | Property targetRepoName: The name of the destination image repository. |
targetUserId | string | @alicloud/ros-cdk-core.IResolvable | Property targetUserId: The user ID (UID) of the account to which the destination instance belongs. |
instanceIdRequired
public readonly instanceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property instanceId: The ID of the CR instance.
namespaceNameRequired
public readonly namespaceName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property namespaceName: The name of the CR namespace.
syncRuleNameRequired
public readonly syncRuleName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property syncRuleName: The name of the image sync rule.
syncScopeRequired
public readonly syncScope: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property syncScope: The synchronization scope.
Valid values: REPO, NAMESPACE
syncTriggerRequired
public readonly syncTrigger: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property syncTrigger: The mode of triggering the synchronization rule.
Valid values: INITIATIVE, PASSIVE
targetInstanceIdRequired
public readonly targetInstanceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property targetInstanceId: The ID of the destination instance.
targetNamespaceNameRequired
public readonly targetNamespaceName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property targetNamespaceName: The name of the destination namespace.
targetRegionIdRequired
public readonly targetRegionId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property targetRegionId: The ID of the destination region.
repoNameOptional
public readonly repoName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property repoName: The name of the repository.
This parameter is required when SyncScope is REPO.
repoNameFilterOptional
public readonly repoNameFilter: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property repoNameFilter: The regular expression that is used to filter repositories.
tagFilterOptional
public readonly tagFilter: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property tagFilter: The tag filter.
Default value: .*
targetRepoNameOptional
public readonly targetRepoName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property targetRepoName: The name of the destination image repository.
This parameter is optional.
targetUserIdOptional
public readonly targetUserId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property targetUserId: The user ID (UID) of the account to which the destination instance belongs.