RepoSyncRuleProps
Properties for defining a RepoSyncRule.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cr-reposyncrule
Initializer
using AlibabaCloud.SDK.ROS.CDK.Cr;
new RepoSyncRuleProps {
object InstanceId,
object NamespaceName,
object SyncRuleName,
object SyncScope,
object SyncTrigger,
object TargetInstanceId,
object TargetNamespaceName,
object TargetRegionId,
object RepoName = null,
object RepoNameFilter = null,
object TagFilter = null,
object TargetRepoName = null,
object TargetUserId = null
};
Properties
| Name | Type | Description |
|---|---|---|
InstanceId | object | Property instanceId: The ID of the CR instance. |
NamespaceName | object | Property namespaceName: The name of the CR namespace. |
SyncRuleName | object | Property syncRuleName: The name of the image sync rule. |
SyncScope | object | Property syncScope: The synchronization scope. |
SyncTrigger | object | Property syncTrigger: The mode of triggering the synchronization rule. |
TargetInstanceId | object | Property targetInstanceId: The ID of the destination instance. |
TargetNamespaceName | object | Property targetNamespaceName: The name of the destination namespace. |
TargetRegionId | object | Property targetRegionId: The ID of the destination region. |
RepoName | object | Property repoName: The name of the repository. |
RepoNameFilter | object | Property repoNameFilter: The regular expression that is used to filter repositories. |
TagFilter | object | Property tagFilter: The tag filter. |
TargetRepoName | object | Property targetRepoName: The name of the destination image repository. |
TargetUserId | object | Property targetUserId: The user ID (UID) of the account to which the destination instance belongs. |
InstanceIdRequired
public object InstanceId { get; set; }
- Type: object
Property instanceId: The ID of the CR instance.
NamespaceNameRequired
public object NamespaceName { get; set; }
- Type: object
Property namespaceName: The name of the CR namespace.
SyncRuleNameRequired
public object SyncRuleName { get; set; }
- Type: object
Property syncRuleName: The name of the image sync rule.
SyncScopeRequired
public object SyncScope { get; set; }
- Type: object
Property syncScope: The synchronization scope.
Valid values: REPO, NAMESPACE
SyncTriggerRequired
public object SyncTrigger { get; set; }
- Type: object
Property syncTrigger: The mode of triggering the synchronization rule.
Valid values: INITIATIVE, PASSIVE
TargetInstanceIdRequired
public object TargetInstanceId { get; set; }
- Type: object
Property targetInstanceId: The ID of the destination instance.
TargetNamespaceNameRequired
public object TargetNamespaceName { get; set; }
- Type: object
Property targetNamespaceName: The name of the destination namespace.
TargetRegionIdRequired
public object TargetRegionId { get; set; }
- Type: object
Property targetRegionId: The ID of the destination region.
RepoNameOptional
public object RepoName { get; set; }
- Type: object
Property repoName: The name of the repository.
This parameter is required when SyncScope is REPO.
RepoNameFilterOptional
public object RepoNameFilter { get; set; }
- Type: object
Property repoNameFilter: The regular expression that is used to filter repositories.
TagFilterOptional
public object TagFilter { get; set; }
- Type: object
Property tagFilter: The tag filter.
Default value: .*
TargetRepoNameOptional
public object TargetRepoName { get; set; }
- Type: object
Property targetRepoName: The name of the destination image repository.
This parameter is optional.
TargetUserIdOptional
public object TargetUserId { get; set; }
- Type: object
Property targetUserId: The user ID (UID) of the account to which the destination instance belongs.