Skip to content

Commit bfe806c

Browse files
committed
Update API CreateInstanceV1: add request parameters body.DlfCatalogName.
1 parent 86173a2 commit bfe806c

File tree

5 files changed

+146
-1
lines changed

5 files changed

+146
-1
lines changed

starrocks-20221019/ChangeLog.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
2025-12-04 Version: 1.2.2
2+
- Update API CreateInstanceV1: add request parameters body.DlfCatalogName.
3+
- Update API CreateInstanceV1: add request parameters body.DlfCatalogType.
4+
- Update API CreateInstanceV1: add request parameters body.LinkedRamUserName.
5+
- Update API CreateInstanceV1: add request parameters body.PrincipalType.
6+
- Update API CreateInstanceV1: add request parameters body.RamUserId.
7+
- Update API DescribeNodeGroups: add response parameters Body.Data.$.Tags.
8+
9+
110
2025-11-25 Version: 1.2.1
211
- Update API ModifyNodeNumber: add request parameters Parallelism.
312
- Update API ModifyNodeNumber: add request parameters TerminationGracePeriodSeconds.

starrocks-20221019/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>starrocks20221019</artifactId>
6-
<version>1.2.1</version>
6+
<version>1.2.2</version>
77
<packaging>jar</packaging>
88
<name>starrocks20221019</name>
99
<description>Alibaba Cloud starrocks (20221019) SDK for Java

starrocks-20221019/src/main/java/com/aliyun/starrocks20221019/Client.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,14 @@ public CreateInstanceV1Response createInstanceV1WithOptions(CreateInstanceV1Requ
121121
body.put("ClientToken", request.clientToken);
122122
}
123123

124+
if (!com.aliyun.teautil.Common.isUnset(request.dlfCatalogName)) {
125+
body.put("DlfCatalogName", request.dlfCatalogName);
126+
}
127+
128+
if (!com.aliyun.teautil.Common.isUnset(request.dlfCatalogType)) {
129+
body.put("DlfCatalogType", request.dlfCatalogType);
130+
}
131+
124132
if (!com.aliyun.teautil.Common.isUnset(request.duration)) {
125133
body.put("Duration", request.duration);
126134
}
@@ -145,6 +153,10 @@ public CreateInstanceV1Response createInstanceV1WithOptions(CreateInstanceV1Requ
145153
body.put("KmsKeyId", request.kmsKeyId);
146154
}
147155

156+
if (!com.aliyun.teautil.Common.isUnset(request.linkedRamUserName)) {
157+
body.put("LinkedRamUserName", request.linkedRamUserName);
158+
}
159+
148160
if (!com.aliyun.teautil.Common.isUnset(request.observerNodeGroups)) {
149161
body.put("ObserverNodeGroups", request.observerNodeGroups);
150162
}
@@ -165,10 +177,18 @@ public CreateInstanceV1Response createInstanceV1WithOptions(CreateInstanceV1Requ
165177
body.put("PricingCycle", request.pricingCycle);
166178
}
167179

180+
if (!com.aliyun.teautil.Common.isUnset(request.principalType)) {
181+
body.put("PrincipalType", request.principalType);
182+
}
183+
168184
if (!com.aliyun.teautil.Common.isUnset(request.promotionOptionNo)) {
169185
body.put("PromotionOptionNo", request.promotionOptionNo);
170186
}
171187

188+
if (!com.aliyun.teautil.Common.isUnset(request.ramUserId)) {
189+
body.put("RamUserId", request.ramUserId);
190+
}
191+
172192
if (!com.aliyun.teautil.Common.isUnset(request.regionId)) {
173193
body.put("RegionId", request.regionId);
174194
}

starrocks-20221019/src/main/java/com/aliyun/starrocks20221019/models/CreateInstanceV1Request.java

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,20 @@ public class CreateInstanceV1Request extends TeaModel {
3636
@NameInMap("ClientToken")
3737
public String clientToken;
3838

39+
/**
40+
* <strong>example:</strong>
41+
* <p>paimon_test</p>
42+
*/
43+
@NameInMap("DlfCatalogName")
44+
public String dlfCatalogName;
45+
46+
/**
47+
* <strong>example:</strong>
48+
* <p>paimon</p>
49+
*/
50+
@NameInMap("DlfCatalogType")
51+
public String dlfCatalogType;
52+
3953
/**
4054
* <strong>example:</strong>
4155
* <p>1</p>
@@ -72,6 +86,13 @@ public class CreateInstanceV1Request extends TeaModel {
7286
@NameInMap("KmsKeyId")
7387
public String kmsKeyId;
7488

89+
/**
90+
* <strong>example:</strong>
91+
* <p>aliyun.test1</p>
92+
*/
93+
@NameInMap("LinkedRamUserName")
94+
public String linkedRamUserName;
95+
7596
@NameInMap("ObserverNodeGroups")
7697
public java.util.List<CreateInstanceV1RequestObserverNodeGroups> observerNodeGroups;
7798

@@ -107,13 +128,27 @@ public class CreateInstanceV1Request extends TeaModel {
107128
@NameInMap("PricingCycle")
108129
public String pricingCycle;
109130

131+
/**
132+
* <strong>example:</strong>
133+
* <p>RR</p>
134+
*/
135+
@NameInMap("PrincipalType")
136+
public String principalType;
137+
110138
/**
111139
* <strong>example:</strong>
112140
* <p>165445235634</p>
113141
*/
114142
@NameInMap("PromotionOptionNo")
115143
public String promotionOptionNo;
116144

145+
/**
146+
* <strong>example:</strong>
147+
* <p>123456</p>
148+
*/
149+
@NameInMap("RamUserId")
150+
public String ramUserId;
151+
117152
/**
118153
* <p>This parameter is required.</p>
119154
*
@@ -226,6 +261,22 @@ public String getClientToken() {
226261
return this.clientToken;
227262
}
228263

264+
public CreateInstanceV1Request setDlfCatalogName(String dlfCatalogName) {
265+
this.dlfCatalogName = dlfCatalogName;
266+
return this;
267+
}
268+
public String getDlfCatalogName() {
269+
return this.dlfCatalogName;
270+
}
271+
272+
public CreateInstanceV1Request setDlfCatalogType(String dlfCatalogType) {
273+
this.dlfCatalogType = dlfCatalogType;
274+
return this;
275+
}
276+
public String getDlfCatalogType() {
277+
return this.dlfCatalogType;
278+
}
279+
229280
public CreateInstanceV1Request setDuration(Integer duration) {
230281
this.duration = duration;
231282
return this;
@@ -274,6 +325,14 @@ public String getKmsKeyId() {
274325
return this.kmsKeyId;
275326
}
276327

328+
public CreateInstanceV1Request setLinkedRamUserName(String linkedRamUserName) {
329+
this.linkedRamUserName = linkedRamUserName;
330+
return this;
331+
}
332+
public String getLinkedRamUserName() {
333+
return this.linkedRamUserName;
334+
}
335+
277336
public CreateInstanceV1Request setObserverNodeGroups(java.util.List<CreateInstanceV1RequestObserverNodeGroups> observerNodeGroups) {
278337
this.observerNodeGroups = observerNodeGroups;
279338
return this;
@@ -314,6 +373,14 @@ public String getPricingCycle() {
314373
return this.pricingCycle;
315374
}
316375

376+
public CreateInstanceV1Request setPrincipalType(String principalType) {
377+
this.principalType = principalType;
378+
return this;
379+
}
380+
public String getPrincipalType() {
381+
return this.principalType;
382+
}
383+
317384
public CreateInstanceV1Request setPromotionOptionNo(String promotionOptionNo) {
318385
this.promotionOptionNo = promotionOptionNo;
319386
return this;
@@ -322,6 +389,14 @@ public String getPromotionOptionNo() {
322389
return this.promotionOptionNo;
323390
}
324391

392+
public CreateInstanceV1Request setRamUserId(String ramUserId) {
393+
this.ramUserId = ramUserId;
394+
return this;
395+
}
396+
public String getRamUserId() {
397+
return this.ramUserId;
398+
}
399+
325400
public CreateInstanceV1Request setRegionId(String regionId) {
326401
this.regionId = regionId;
327402
return this;

starrocks-20221019/src/main/java/com/aliyun/starrocks20221019/models/DescribeNodeGroupsResponseBody.java

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,36 @@ public String getNodeId() {
148148

149149
}
150150

151+
public static class DescribeNodeGroupsResponseBodyDataTags extends TeaModel {
152+
@NameInMap("Key")
153+
public String key;
154+
155+
@NameInMap("Value")
156+
public String value;
157+
158+
public static DescribeNodeGroupsResponseBodyDataTags build(java.util.Map<String, ?> map) throws Exception {
159+
DescribeNodeGroupsResponseBodyDataTags self = new DescribeNodeGroupsResponseBodyDataTags();
160+
return TeaModel.build(map, self);
161+
}
162+
163+
public DescribeNodeGroupsResponseBodyDataTags setKey(String key) {
164+
this.key = key;
165+
return this;
166+
}
167+
public String getKey() {
168+
return this.key;
169+
}
170+
171+
public DescribeNodeGroupsResponseBodyDataTags setValue(String value) {
172+
this.value = value;
173+
return this;
174+
}
175+
public String getValue() {
176+
return this.value;
177+
}
178+
179+
}
180+
151181
public static class DescribeNodeGroupsResponseBodyData extends TeaModel {
152182
/**
153183
* <strong>example:</strong>
@@ -351,6 +381,9 @@ public static class DescribeNodeGroupsResponseBodyData extends TeaModel {
351381
@NameInMap("StorageSize")
352382
public Integer storageSize;
353383

384+
@NameInMap("Tags")
385+
public java.util.List<DescribeNodeGroupsResponseBodyDataTags> tags;
386+
354387
/**
355388
* <strong>example:</strong>
356389
* <p>3</p>
@@ -610,6 +643,14 @@ public Integer getStorageSize() {
610643
return this.storageSize;
611644
}
612645

646+
public DescribeNodeGroupsResponseBodyData setTags(java.util.List<DescribeNodeGroupsResponseBodyDataTags> tags) {
647+
this.tags = tags;
648+
return this;
649+
}
650+
public java.util.List<DescribeNodeGroupsResponseBodyDataTags> getTags() {
651+
return this.tags;
652+
}
653+
613654
public DescribeNodeGroupsResponseBodyData setTargetElasticNodeNumber(Integer targetElasticNodeNumber) {
614655
this.targetElasticNodeNumber = targetElasticNodeNumber;
615656
return this;

0 commit comments

Comments
 (0)