Skip to content

Commit be6fd44

Browse files
authored
Merge pull request #45 from volcengine/vke_2.10
Vke 2.10
2 parents b152627 + 4070124 commit be6fd44

File tree

32 files changed

+201
-110
lines changed

32 files changed

+201
-110
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@
5353
<dependencies>
5454
<dependency>
5555
<groupId>com.volcengine</groupId>
56-
<artifactId>volcengine-java-sdk-bom</artifactId>
57-
<version>0.1.37</version>
58-
<type>pom</type>
59-
<scope>import</scope>
56+
<artifactId>volcengine-java-sdk-bom</artifactId>
57+
<version>0.1.38</version>
58+
<type>pom</type>
59+
<scope>import</scope>
6060
</dependency>
6161
</dependencies>
6262
</dependencyManagement>
@@ -70,12 +70,12 @@
7070
<dependency>
7171
<groupId>com.volcengine</groupId>
7272
<artifactId>volcengine-java-sdk-vpc</artifactId>
73-
<version>0.1.37</version>
73+
<version>0.1.38</version>
7474
</dependency>
7575
<dependency>
7676
<groupId>com.volcengine</groupId>
7777
<artifactId>volcengine-java-sdk-ecs</artifactId>
78-
<version>0.1.37</version>
78+
<version>0.1.38</version>
7979
</dependency>
8080
</dependencies>
8181
```

meta.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"lasted": "0.1.37",
3-
"meta_commit": "95eec105decc8a783ba0a06ec5028b1850fa7f4b"
4-
}
2+
"lasted": "0.1.38",
3+
"meta_commit": "d886ed91af2c429606e9232b9f6a8a62fe68892f"
4+
}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.volcengine</groupId>
55
<artifactId>volcengine-java-sdk</artifactId>
66
<packaging>pom</packaging>
7-
<version>0.1.37</version>
7+
<version>0.1.38</version>
88
<name>volcengine-java-sdk</name>
99
<url>https://open.volcengineapi.com</url>
1010
<description>The Java SDK For Volcengine</description>

volcengine-java-sdk-alb/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.37</version>
6+
<version>0.1.38</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-autoscaling/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.37</version>
6+
<version>0.1.38</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-bom/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.37</version>
6+
<version>0.1.38</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-cen/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.37</version>
6+
<version>0.1.38</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-clb/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.37</version>
6+
<version>0.1.38</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>com.volcengine</groupId>
55
<artifactId>volcengine-java-sdk</artifactId>
6-
<version>0.1.37</version>
6+
<version>0.1.38</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.volcengine.version;
22

33
public class Version {
4-
public final static String SDK_VERSION = "0.1.37";
4+
public final static String SDK_VERSION = "0.1.38";
55
public final static String SDK_NAME = "volcengine-java-sdk";
66
}

volcengine-java-sdk-cr/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.37</version>
6+
<version>0.1.38</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-directconnect/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.37</version>
6+
<version>0.1.38</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-ecs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.37</version>
6+
<version>0.1.38</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-mongodb/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.37</version>
6+
<version>0.1.38</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-natgateway/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.37</version>
6+
<version>0.1.38</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-rdsmysql/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.37</version>
6+
<version>0.1.38</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-rdsmysqlv2/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.37</version>
6+
<version>0.1.38</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-storageebs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.37</version>
6+
<version>0.1.38</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-vke/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.37</version>
6+
<version>0.1.38</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-vke/src/main/java/com/volcengine/vke/VkeApi.java

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@
6565
import com.volcengine.vke.model.ListSupportedAddonsResponse;
6666
import com.volcengine.vke.model.ListSupportedResourceTypesRequest;
6767
import com.volcengine.vke.model.ListSupportedResourceTypesResponse;
68-
import com.volcengine.vke.model.ListTagsForResourceRequest;
69-
import com.volcengine.vke.model.ListTagsForResourceResponse;
68+
import com.volcengine.vke.model.ListTagsForResourcesRequest;
69+
import com.volcengine.vke.model.ListTagsForResourcesResponse;
7070
import com.volcengine.vke.model.TagResourcesRequest;
7171
import com.volcengine.vke.model.TagResourcesResponse;
7272
import com.volcengine.vke.model.UntagResourcesRequest;
@@ -2462,18 +2462,18 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
24622462
return call;
24632463
}
24642464
/**
2465-
* Build call for listTagsForResource
2465+
* Build call for listTagsForResources
24662466
* @param body (required)
24672467
* @param progressListener Progress listener
24682468
* @param progressRequestListener Progress request listener
24692469
* @return Call to execute
24702470
* @throws ApiException If fail to serialize the request body object
24712471
*/
2472-
public com.squareup.okhttp.Call listTagsForResourceCall(ListTagsForResourceRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
2472+
public com.squareup.okhttp.Call listTagsForResourcesCall(ListTagsForResourcesRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
24732473
Object localVarPostBody = body;
24742474

24752475
// create path and map variables
2476-
String localVarPath = "/ListTagsForResource/2022-05-12/vke/post/";
2476+
String localVarPath = "/ListTagsForResources/2022-05-12/vke/post/";
24772477

24782478
List<Pair> localVarQueryParams = new ArrayList<Pair>();
24792479
List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
@@ -2511,13 +2511,13 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
25112511
}
25122512

25132513
@SuppressWarnings("rawtypes")
2514-
private com.squareup.okhttp.Call listTagsForResourceValidateBeforeCall(ListTagsForResourceRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
2514+
private com.squareup.okhttp.Call listTagsForResourcesValidateBeforeCall(ListTagsForResourcesRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
25152515
// verify the required parameter 'body' is set
25162516
if (body == null) {
2517-
throw new ApiException("Missing the required parameter 'body' when calling listTagsForResource(Async)");
2517+
throw new ApiException("Missing the required parameter 'body' when calling listTagsForResources(Async)");
25182518
}
25192519

2520-
com.squareup.okhttp.Call call = listTagsForResourceCall(body, progressListener, progressRequestListener);
2520+
com.squareup.okhttp.Call call = listTagsForResourcesCall(body, progressListener, progressRequestListener);
25212521
return call;
25222522

25232523

@@ -2530,24 +2530,24 @@ private com.squareup.okhttp.Call listTagsForResourceValidateBeforeCall(ListTagsF
25302530
*
25312531
*
25322532
* @param body (required)
2533-
* @return ListTagsForResourceResponse
2533+
* @return ListTagsForResourcesResponse
25342534
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
25352535
*/
2536-
public ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest body) throws ApiException {
2537-
ApiResponse<ListTagsForResourceResponse> resp = listTagsForResourceWithHttpInfo(body);
2536+
public ListTagsForResourcesResponse listTagsForResources(ListTagsForResourcesRequest body) throws ApiException {
2537+
ApiResponse<ListTagsForResourcesResponse> resp = listTagsForResourcesWithHttpInfo(body);
25382538
return resp.getData();
25392539
}
25402540

25412541
/**
25422542
*
25432543
*
25442544
* @param body (required)
2545-
* @return ApiResponse&lt;ListTagsForResourceResponse&gt;
2545+
* @return ApiResponse&lt;ListTagsForResourcesResponse&gt;
25462546
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
25472547
*/
2548-
public ApiResponse<ListTagsForResourceResponse> listTagsForResourceWithHttpInfo( @NotNull ListTagsForResourceRequest body) throws ApiException {
2549-
com.squareup.okhttp.Call call = listTagsForResourceValidateBeforeCall(body, null, null);
2550-
Type localVarReturnType = new TypeToken<ListTagsForResourceResponse>(){}.getType();
2548+
public ApiResponse<ListTagsForResourcesResponse> listTagsForResourcesWithHttpInfo( @NotNull ListTagsForResourcesRequest body) throws ApiException {
2549+
com.squareup.okhttp.Call call = listTagsForResourcesValidateBeforeCall(body, null, null);
2550+
Type localVarReturnType = new TypeToken<ListTagsForResourcesResponse>(){}.getType();
25512551
return apiClient.execute(call, localVarReturnType);
25522552
}
25532553

@@ -2559,7 +2559,7 @@ public ApiResponse<ListTagsForResourceResponse> listTagsForResourceWithHttpInfo(
25592559
* @return The request call
25602560
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
25612561
*/
2562-
public com.squareup.okhttp.Call listTagsForResourceAsync(ListTagsForResourceRequest body, final ApiCallback<ListTagsForResourceResponse> callback) throws ApiException {
2562+
public com.squareup.okhttp.Call listTagsForResourcesAsync(ListTagsForResourcesRequest body, final ApiCallback<ListTagsForResourcesResponse> callback) throws ApiException {
25632563

25642564
ProgressResponseBody.ProgressListener progressListener = null;
25652565
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -2580,8 +2580,8 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
25802580
};
25812581
}
25822582

2583-
com.squareup.okhttp.Call call = listTagsForResourceValidateBeforeCall(body, progressListener, progressRequestListener);
2584-
Type localVarReturnType = new TypeToken<ListTagsForResourceResponse>(){}.getType();
2583+
com.squareup.okhttp.Call call = listTagsForResourcesValidateBeforeCall(body, progressListener, progressRequestListener);
2584+
Type localVarReturnType = new TypeToken<ListTagsForResourcesResponse>(){}.getType();
25852585
apiClient.executeAsync(call, localVarReturnType, callback);
25862586
return call;
25872587
}

volcengine-java-sdk-vke/src/main/java/com/volcengine/vke/model/CreateAddonRequest.java

Lines changed: 66 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,51 @@ public DeployModeEnum read(final JsonReader jsonReader) throws IOException {
8282
} @SerializedName("DeployMode")
8383
private DeployModeEnum deployMode = null;
8484

85+
/**
86+
* Gets or Sets deployNodeType
87+
*/
88+
@JsonAdapter(DeployNodeTypeEnum.Adapter.class)
89+
public enum DeployNodeTypeEnum {
90+
EDGENODE("EdgeNode"),
91+
NODE("Node"),
92+
VIRTUALNODE("VirtualNode");
93+
94+
private String value;
95+
96+
DeployNodeTypeEnum(String value) {
97+
this.value = value;
98+
}
99+
public String getValue() {
100+
return value;
101+
}
102+
103+
@Override
104+
public String toString() {
105+
return String.valueOf(value);
106+
}
107+
public static DeployNodeTypeEnum fromValue(String input) {
108+
for (DeployNodeTypeEnum b : DeployNodeTypeEnum.values()) {
109+
if (b.value.equals(input)) {
110+
return b;
111+
}
112+
}
113+
return null;
114+
}
115+
public static class Adapter extends TypeAdapter<DeployNodeTypeEnum> {
116+
@Override
117+
public void write(final JsonWriter jsonWriter, final DeployNodeTypeEnum enumeration) throws IOException {
118+
jsonWriter.value(String.valueOf(enumeration.getValue()));
119+
}
120+
121+
@Override
122+
public DeployNodeTypeEnum read(final JsonReader jsonReader) throws IOException {
123+
Object value = jsonReader.nextString();
124+
return DeployNodeTypeEnum.fromValue((String)(value));
125+
}
126+
}
127+
} @SerializedName("DeployNodeType")
128+
private DeployNodeTypeEnum deployNodeType = null;
129+
85130
@SerializedName("Name")
86131
private String name = null;
87132

@@ -160,6 +205,24 @@ public void setDeployMode(DeployModeEnum deployMode) {
160205
this.deployMode = deployMode;
161206
}
162207

208+
public CreateAddonRequest deployNodeType(DeployNodeTypeEnum deployNodeType) {
209+
this.deployNodeType = deployNodeType;
210+
return this;
211+
}
212+
213+
/**
214+
* Get deployNodeType
215+
* @return deployNodeType
216+
**/
217+
@Schema(description = "")
218+
public DeployNodeTypeEnum getDeployNodeType() {
219+
return deployNodeType;
220+
}
221+
222+
public void setDeployNodeType(DeployNodeTypeEnum deployNodeType) {
223+
this.deployNodeType = deployNodeType;
224+
}
225+
163226
public CreateAddonRequest name(String name) {
164227
this.name = name;
165228
return this;
@@ -210,13 +273,14 @@ public boolean equals(java.lang.Object o) {
210273
Objects.equals(this.clusterId, createAddonRequest.clusterId) &&
211274
Objects.equals(this.config, createAddonRequest.config) &&
212275
Objects.equals(this.deployMode, createAddonRequest.deployMode) &&
276+
Objects.equals(this.deployNodeType, createAddonRequest.deployNodeType) &&
213277
Objects.equals(this.name, createAddonRequest.name) &&
214278
Objects.equals(this.version, createAddonRequest.version);
215279
}
216280

217281
@Override
218282
public int hashCode() {
219-
return Objects.hash(clientToken, clusterId, config, deployMode, name, version);
283+
return Objects.hash(clientToken, clusterId, config, deployMode, deployNodeType, name, version);
220284
}
221285

222286

@@ -229,6 +293,7 @@ public String toString() {
229293
sb.append(" clusterId: ").append(toIndentedString(clusterId)).append("\n");
230294
sb.append(" config: ").append(toIndentedString(config)).append("\n");
231295
sb.append(" deployMode: ").append(toIndentedString(deployMode)).append("\n");
296+
sb.append(" deployNodeType: ").append(toIndentedString(deployNodeType)).append("\n");
232297
sb.append(" name: ").append(toIndentedString(name)).append("\n");
233298
sb.append(" version: ").append(toIndentedString(version)).append("\n");
234299
sb.append("}");

0 commit comments

Comments
 (0)