Data Types

Last updated: 2021-10-14 16:42:25

ImmutableTagRule

Tag immutability rule

Used by actions: CreateImmutableTagRules, DescribeImmutableTagRules, ModifyImmutableTagRules.

Name Type Required Description
RepositoryPattern String Yes Repository matching rule
TagPattern String Yes Tag matching rule
RepositoryDecoration String Yes repoMatches or repoExcludes
TagDecoration String Yes matches or excludes
Disabled Boolean No Disabling rule
RuleId Integer No Rule ID
NsName String No Namespace

PeerReplicationOption

Parameters for cross-account synchronization

Used by actions: ManageReplication.

Name Type Required Description
PeerRegistryUin String Yes UIN of the destination instance
PeerRegistryToken String Yes Permanent access Token for the destination instance
EnablePeerReplication Boolean Yes Whether to enable cross-account synchronization

ReplicationFilter

Synchronization rule filter

Used by actions: ManageReplication.

Name Type Required Description
Type String Yes Type (name, tag and resource)
Value String No It is left blank by default

ReplicationLog

Synchronization log

Used by actions: DescribeReplicationInstanceSyncStatus.

Name Type Description
ResourceType String Resource type
Note: this field may return null, indicating that no valid values can be obtained.
Source String Path of the source resource
Note: this field may return null, indicating that no valid values can be obtained.
Destination String Path of the destination resource
Note: this field may return null, indicating that no valid values can be obtained.
Status String Synchronization status
Note: this field may return null, indicating that no valid values can be obtained.
StartTime String Start time
Note: this field may return null, indicating that no valid values can be obtained.
EndTime String End time
Note: this field may return null, indicating that no valid values can be obtained.

ReplicationRegistry

ID of Enterprise Registry replication instance

Used by actions: DescribeReplicationInstances.

Name Type Description
RegistryId String Master instance ID
ReplicationRegistryId String Replication instance ID
ReplicationRegionId Integer Region ID of the replication instance
ReplicationRegionName String Region name of the replication instance
Status String Status of the replication instance
CreatedAt String Creation time

ReplicationRule

Synchronization rule

Used by actions: ManageReplication.

Name Type Required Description
Name String Yes Name of synchronization rule
DestNamespace String Yes Destination namespace
Override Boolean Yes Whether to override
Filters Array of ReplicationFilter Yes Synchronization filters

SecurityPolicy

Security policy

Used by actions: CreateMultipleSecurityPolicy, DeleteMultipleSecurityPolicy.

Name Type Required Description
PolicyIndex Integer No Policy index
Description String No Remarks
CidrBlock String No The public network IP address of the access source
PolicyVersion String No The version of the security policy

TaskDetail

Task details

Used by actions: DescribeReplicationInstanceCreateTasks.

Name Type Description
TaskName String Task
TaskUUID String Task UUID
TaskStatus String Task status
TaskMessage String Task details
Note: this field may return null, indicating that no valid values can be obtained.
CreatedTime String Start time of the task
FinishedTime String End time of the task
Note: this field may return null, indicating that no valid values can be obtained.