Skip to content

Commit 1181478

Browse files
committed
Generated java-async 2018-12-01 for cr.
1 parent d1d4c93 commit 1181478

File tree

6 files changed

+79
-5
lines changed

6 files changed

+79
-5
lines changed

cr-20181201/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-04-15 Version: 1.0.1
2+
- Generated java-async 2018-12-01 for cr.
3+
14
2025-03-31 Version: 1.0.0
25
- Generated java-async 2018-12-01 for cr.
36

cr-20181201/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.aliyun</groupId>
55
<artifactId>alibabacloud-cr20181201</artifactId>
6-
<version>1.0.0</version>
6+
<version>1.0.1</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-cr20181201</name>
99
<description>Alibaba Cloud cr (20181201) Async SDK for Java

cr-20181201/src/main/java/com/aliyun/sdk/service/cr20181201/models/CreateRepoTagScanTaskRequest.java

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ public class CreateRepoTagScanTaskRequest extends Request {
3939
@com.aliyun.core.annotation.NameInMap("ScanService")
4040
private String scanService;
4141

42+
@com.aliyun.core.annotation.Query
43+
@com.aliyun.core.annotation.NameInMap("ScanType")
44+
private String scanType;
45+
4246
@com.aliyun.core.annotation.Query
4347
@com.aliyun.core.annotation.NameInMap("Tag")
4448
@com.aliyun.core.annotation.Validation(required = true)
@@ -51,6 +55,7 @@ private CreateRepoTagScanTaskRequest(Builder builder) {
5155
this.instanceId = builder.instanceId;
5256
this.repoId = builder.repoId;
5357
this.scanService = builder.scanService;
58+
this.scanType = builder.scanType;
5459
this.tag = builder.tag;
5560
}
5661

@@ -102,6 +107,13 @@ public String getScanService() {
102107
return this.scanService;
103108
}
104109

110+
/**
111+
* @return scanType
112+
*/
113+
public String getScanType() {
114+
return this.scanType;
115+
}
116+
105117
/**
106118
* @return tag
107119
*/
@@ -115,6 +127,7 @@ public static final class Builder extends Request.Builder<CreateRepoTagScanTaskR
115127
private String instanceId;
116128
private String repoId;
117129
private String scanService;
130+
private String scanType;
118131
private String tag;
119132

120133
private Builder() {
@@ -128,6 +141,7 @@ private Builder(CreateRepoTagScanTaskRequest request) {
128141
this.instanceId = request.instanceId;
129142
this.repoId = request.repoId;
130143
this.scanService = request.scanService;
144+
this.scanType = request.scanType;
131145
this.tag = request.tag;
132146
}
133147

@@ -194,6 +208,15 @@ public Builder scanService(String scanService) {
194208
return this;
195209
}
196210

211+
/**
212+
* ScanType.
213+
*/
214+
public Builder scanType(String scanType) {
215+
this.putQueryParameter("ScanType", scanType);
216+
this.scanType = scanType;
217+
return this;
218+
}
219+
197220
/**
198221
* <p>The version of the image.</p>
199222
* <p>This parameter is required.</p>

cr-20181201/src/main/java/com/aliyun/sdk/service/cr20181201/models/GetRepoSyncTaskResponseBody.java

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,22 @@ public Builder syncedSize(Long syncedSize) {
387387
}
388388

389389
/**
390-
* TaskIssue.
390+
* <p>The error message that is returned if the synchronization task fails.</p>
391+
* <blockquote>
392+
* <p> The system uses this parameter to return an error message if the synchronization task fails.</p>
393+
* </blockquote>
394+
* <p>Valid values:</p>
395+
* <ul>
396+
* <li>OSS_POLICY_UNAUTHORIZED: Container Registry is not granted permissions to use Object Storage Service (OSS).</li>
397+
* <li>TAG_CONFLICT: The destination repository contains an image that has the same tag as the source image, and image tag immutability is enabled for the destination repository.</li>
398+
* <li>UNSUPPORTED_FORMAT: The manifest and config formats of the image to be synchronized are not supported.</li>
399+
* <li>INTERNAL_ERROR: The synchronization task failed due to internal issues on the server.</li>
400+
* <li>NETWORK_ERROR: The synchronization task failed due to unstable network connection.</li>
401+
* <li>DATA_LENGTH_EXCEEDED: The manifest or config of the image is oversized.</li>
402+
* </ul>
403+
*
404+
* <strong>example:</strong>
405+
* <p>NETWORK_ERROR</p>
391406
*/
392407
public Builder taskIssue(String taskIssue) {
393408
this.taskIssue = taskIssue;

cr-20181201/src/main/java/com/aliyun/sdk/service/cr20181201/models/GetRepoTagScanStatusRequest.java

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ public class GetRepoTagScanStatusRequest extends Request {
3838
@com.aliyun.core.annotation.NameInMap("ScanTaskId")
3939
private String scanTaskId;
4040

41+
@com.aliyun.core.annotation.Query
42+
@com.aliyun.core.annotation.NameInMap("ScanType")
43+
private String scanType;
44+
4145
@com.aliyun.core.annotation.Query
4246
@com.aliyun.core.annotation.NameInMap("Tag")
4347
private String tag;
@@ -49,6 +53,7 @@ private GetRepoTagScanStatusRequest(Builder builder) {
4953
this.instanceId = builder.instanceId;
5054
this.repoId = builder.repoId;
5155
this.scanTaskId = builder.scanTaskId;
56+
this.scanType = builder.scanType;
5257
this.tag = builder.tag;
5358
}
5459

@@ -100,6 +105,13 @@ public String getScanTaskId() {
100105
return this.scanTaskId;
101106
}
102107

108+
/**
109+
* @return scanType
110+
*/
111+
public String getScanType() {
112+
return this.scanType;
113+
}
114+
103115
/**
104116
* @return tag
105117
*/
@@ -113,6 +125,7 @@ public static final class Builder extends Request.Builder<GetRepoTagScanStatusRe
113125
private String instanceId;
114126
private String repoId;
115127
private String scanTaskId;
128+
private String scanType;
116129
private String tag;
117130

118131
private Builder() {
@@ -126,6 +139,7 @@ private Builder(GetRepoTagScanStatusRequest request) {
126139
this.instanceId = request.instanceId;
127140
this.repoId = request.repoId;
128141
this.scanTaskId = request.scanTaskId;
142+
this.scanType = request.scanType;
129143
this.tag = request.tag;
130144
}
131145

@@ -177,6 +191,15 @@ public Builder scanTaskId(String scanTaskId) {
177191
return this;
178192
}
179193

194+
/**
195+
* ScanType.
196+
*/
197+
public Builder scanType(String scanType) {
198+
this.putQueryParameter("ScanType", scanType);
199+
this.scanType = scanType;
200+
return this;
201+
}
202+
180203
/**
181204
* Tag.
182205
*/

cr-20181201/src/main/java/com/aliyun/sdk/service/cr20181201/models/ListRepositoryRequest.java

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ public Builder regionId(String regionId) {
153153
}
154154

155155
/**
156+
* <p>The ID of the Container Registry instance.</p>
156157
* <p>This parameter is required.</p>
157158
*
158159
* <strong>example:</strong>
@@ -165,7 +166,10 @@ public Builder instanceId(String instanceId) {
165166
}
166167

167168
/**
168-
* PageNo.
169+
* <p>The page number.</p>
170+
*
171+
* <strong>example:</strong>
172+
* <p>1</p>
169173
*/
170174
public Builder pageNo(Integer pageNo) {
171175
this.putQueryParameter("PageNo", pageNo);
@@ -186,7 +190,10 @@ public Builder pageSize(Integer pageSize) {
186190
}
187191

188192
/**
189-
* RepoName.
193+
* <p>The name of the repository.</p>
194+
*
195+
* <strong>example:</strong>
196+
* <p>repo-test</p>
190197
*/
191198
public Builder repoName(String repoName) {
192199
this.putQueryParameter("RepoName", repoName);
@@ -195,7 +202,10 @@ public Builder repoName(String repoName) {
195202
}
196203

197204
/**
198-
* RepoNamespaceName.
205+
* <p>The name of the namespace to which the repository belongs.</p>
206+
*
207+
* <strong>example:</strong>
208+
* <p>repo-namespace-test</p>
199209
*/
200210
public Builder repoNamespaceName(String repoNamespaceName) {
201211
this.putQueryParameter("RepoNamespaceName", repoNamespaceName);

0 commit comments

Comments
 (0)