Skip to content

Commit 941eadf

Browse files
committed
Generated java-async 2016-04-28 for Vpc.
1 parent b8264b7 commit 941eadf

24 files changed

+721
-54
lines changed

vpc-20160428/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-06-16 Version: 5.0.39
2+
- Generated java-async 2016-04-28 for Vpc.
3+
14
2025-04-14 Version: 5.0.38
25
- Generated java-async 2016-04-28 for Vpc.
36

vpc-20160428/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-vpc20160428</artifactId>
6-
<version>5.0.38</version>
6+
<version>5.0.39</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-vpc20160428</name>
99
<description>Alibaba Cloud Vpc (20160428) Async SDK for Java

vpc-20160428/src/main/java/com/aliyun/sdk/service/vpc20160428/AsyncClient.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1626,7 +1626,7 @@ static AsyncClient create() {
16261626

16271627
/**
16281628
* <b>description</b> :
1629-
* <p>You can only delete a connection over an Express Connect circuit that is in the <strong>Rejected</strong>, <strong>Canceled</strong>, <strong>AllocationFailed</strong>, or <strong>Terminated</strong> state.</p>
1629+
* <p>You can only delete a connection over an Express Connect circuit that is in the <strong>Allocated</strong>, <strong>Confirmed</strong>, <strong>Rejected</strong>, <strong>Canceled</strong>, <strong>AllocationFailed</strong>, and <strong>Terminated</strong> states.</p>
16301630
*
16311631
* @param request the request parameters of DeletePhysicalConnection DeletePhysicalConnectionRequest
16321632
* @return DeletePhysicalConnectionResponse
@@ -2533,9 +2533,6 @@ static AsyncClient create() {
25332533
CompletableFuture<DiagnoseVpnConnectionsResponse> diagnoseVpnConnections(DiagnoseVpnConnectionsRequest request);
25342534

25352535
/**
2536-
* <b>description</b> :
2537-
* <p>VPN网关发起诊断</p>
2538-
*
25392536
* @param request the request parameters of DiagnoseVpnGateway DiagnoseVpnGatewayRequest
25402537
* @return DiagnoseVpnGatewayResponse
25412538
*/

vpc-20160428/src/main/java/com/aliyun/sdk/service/vpc20160428/DefaultAsyncClient.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3183,7 +3183,7 @@ public CompletableFuture<DeleteNetworkAclResponse> deleteNetworkAcl(DeleteNetwor
31833183

31843184
/**
31853185
* <b>description</b> :
3186-
* <p>You can only delete a connection over an Express Connect circuit that is in the <strong>Rejected</strong>, <strong>Canceled</strong>, <strong>AllocationFailed</strong>, or <strong>Terminated</strong> state.</p>
3186+
* <p>You can only delete a connection over an Express Connect circuit that is in the <strong>Allocated</strong>, <strong>Confirmed</strong>, <strong>Rejected</strong>, <strong>Canceled</strong>, <strong>AllocationFailed</strong>, and <strong>Terminated</strong> states.</p>
31873187
*
31883188
* @param request the request parameters of DeletePhysicalConnection DeletePhysicalConnectionRequest
31893189
* @return DeletePhysicalConnectionResponse
@@ -5338,9 +5338,6 @@ public CompletableFuture<DiagnoseVpnConnectionsResponse> diagnoseVpnConnections(
53385338
}
53395339

53405340
/**
5341-
* <b>description</b> :
5342-
* <p>VPN网关发起诊断</p>
5343-
*
53445341
* @param request the request parameters of DiagnoseVpnGateway DiagnoseVpnGatewayRequest
53455342
* @return DiagnoseVpnGatewayResponse
53465343
*/

vpc-20160428/src/main/java/com/aliyun/sdk/service/vpc20160428/models/AllocateVpcIpv6CidrRequest.java

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,13 @@ private Builder(AllocateVpcIpv6CidrRequest request) {
172172
}
173173

174174
/**
175-
* <p>The type of the IPv6 address pool. Set the value to <strong>custom</strong>.</p>
176-
* <blockquote>
177-
* <p> This parameter is required.</p>
178-
* </blockquote>
175+
* <p>The type of the IPv6 address pool. Valid values:</p>
176+
* <ul>
177+
* <li><p><strong>aliyun</strong> (default): IPv6 CIDR block is allocated by the system.</p>
178+
* </li>
179+
* <li><p><strong>custom</strong>: custom IPv6 CIDR block.</p>
180+
* </li>
181+
* </ul>
179182
*
180183
* <strong>example:</strong>
181184
* <p>custom</p>
@@ -216,17 +219,19 @@ public Builder ipv6CidrBlock(String ipv6CidrBlock) {
216219
/**
217220
* <p>The type of IPv6 CIDR block. Valid values:</p>
218221
* <ul>
219-
* <li><strong>BGP</strong> (default)</li>
220-
* <li><strong>ChinaMobile</strong></li>
221-
* <li><strong>ChinaUnicom</strong></li>
222-
* <li><strong>ChinaTelecom</strong></li>
222+
* <li><strong>BGP</strong> (default): BGP (Multi-ISP)</li>
223+
* <li><strong>BGP_International</strong>: BGP (Multi-ISP) International</li>
224+
* <li><strong>ChinaMobile</strong>: China Mobile (Single-ISP)</li>
225+
* <li><strong>ChinaUnicom</strong>: China Unicom (Single-ISP)</li>
226+
* <li><strong>ChinaTelecom</strong>: China Telecom (Single-ISP)</li>
227+
* <li><strong>ChinaMobile_L2</strong>: China Mobile (Single-ISP)_L2</li>
228+
* <li><strong>ChinaUnicom_L2</strong>: China Unicom (Single-ISP)_L2</li>
229+
* <li><strong>ChinaTelecom_L2</strong>: China Telecom (Single-ISP)_L2<blockquote>
230+
* <ul>
231+
* <li>If your account is included in the whitelist, you can set this parameter to one of the following values: <strong>ChinaTelecom</strong>, <strong>ChinaUnicom</strong>, <strong>ChinaMobile</strong>, <strong>ChinaTelecom_L2</strong>, <strong>ChinaUnicom_L2</strong>, <strong>ChinaMobile_L2</strong>, and <strong>BGP_International</strong>.</li>
232+
* <li>You can reserve only one IPv6 CIDR block of each type. You can reserve another IPv6 CIDR block only after the existing one is allocated to a VPC.</li>
223233
* </ul>
224-
* <blockquote>
225234
* </blockquote>
226-
* <ul>
227-
* <li><p>If your Alibaba Cloud account is allowed to use single-ISP bandwidth, valid values are: <strong>ChinaTelecom</strong>, <strong>ChinaUnicom</strong>, and <strong>ChinaMobile</strong>.</p>
228-
* </li>
229-
* <li><p>You can reserve only one IPv6 CIDR block of each type. After a reserved IPv6 CIDR block of a type is allocated to a VPC, you can reserve another IPv6 CIDR of the type.</p>
230235
* </li>
231236
* </ul>
232237
*

vpc-20160428/src/main/java/com/aliyun/sdk/service/vpc20160428/models/CreateRouteEntriesRequest.java

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
* <p>CreateRouteEntriesRequest</p>
1818
*/
1919
public class CreateRouteEntriesRequest extends Request {
20+
@com.aliyun.core.annotation.Query
21+
@com.aliyun.core.annotation.NameInMap("DryRun")
22+
private Boolean dryRun;
23+
2024
@com.aliyun.core.annotation.Query
2125
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
2226
private String ownerAccount;
@@ -27,6 +31,7 @@ public class CreateRouteEntriesRequest extends Request {
2731

2832
@com.aliyun.core.annotation.Query
2933
@com.aliyun.core.annotation.NameInMap("RegionId")
34+
@com.aliyun.core.annotation.Validation(required = true)
3035
private String regionId;
3136

3237
@com.aliyun.core.annotation.Query
@@ -44,6 +49,7 @@ public class CreateRouteEntriesRequest extends Request {
4449

4550
private CreateRouteEntriesRequest(Builder builder) {
4651
super(builder);
52+
this.dryRun = builder.dryRun;
4753
this.ownerAccount = builder.ownerAccount;
4854
this.ownerId = builder.ownerId;
4955
this.regionId = builder.regionId;
@@ -65,6 +71,13 @@ public Builder toBuilder() {
6571
return new Builder(this);
6672
}
6773

74+
/**
75+
* @return dryRun
76+
*/
77+
public Boolean getDryRun() {
78+
return this.dryRun;
79+
}
80+
6881
/**
6982
* @return ownerAccount
7083
*/
@@ -108,6 +121,7 @@ public java.util.List<RouteEntries> getRouteEntries() {
108121
}
109122

110123
public static final class Builder extends Request.Builder<CreateRouteEntriesRequest, Builder> {
124+
private Boolean dryRun;
111125
private String ownerAccount;
112126
private Long ownerId;
113127
private String regionId;
@@ -121,6 +135,7 @@ private Builder() {
121135

122136
private Builder(CreateRouteEntriesRequest request) {
123137
super(request);
138+
this.dryRun = request.dryRun;
124139
this.ownerAccount = request.ownerAccount;
125140
this.ownerId = request.ownerId;
126141
this.regionId = request.regionId;
@@ -129,6 +144,15 @@ private Builder(CreateRouteEntriesRequest request) {
129144
this.routeEntries = request.routeEntries;
130145
}
131146

147+
/**
148+
* DryRun.
149+
*/
150+
public Builder dryRun(Boolean dryRun) {
151+
this.putQueryParameter("DryRun", dryRun);
152+
this.dryRun = dryRun;
153+
return this;
154+
}
155+
132156
/**
133157
* OwnerAccount.
134158
*/
@@ -150,6 +174,7 @@ public Builder ownerId(Long ownerId) {
150174
/**
151175
* <p>The region ID of the route table.</p>
152176
* <p>You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
177+
* <p>This parameter is required.</p>
153178
*
154179
* <strong>example:</strong>
155180
* <p>cn-hangzhou</p>

vpc-20160428/src/main/java/com/aliyun/sdk/service/vpc20160428/models/CreateRouteEntryRequest.java

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ public class CreateRouteEntryRequest extends Request {
3030
@com.aliyun.core.annotation.Validation(required = true)
3131
private String destinationCidrBlock;
3232

33+
@com.aliyun.core.annotation.Query
34+
@com.aliyun.core.annotation.NameInMap("DryRun")
35+
private Boolean dryRun;
36+
3337
@com.aliyun.core.annotation.Query
3438
@com.aliyun.core.annotation.NameInMap("NextHopId")
3539
private String nextHopId;
@@ -76,6 +80,7 @@ private CreateRouteEntryRequest(Builder builder) {
7680
this.clientToken = builder.clientToken;
7781
this.description = builder.description;
7882
this.destinationCidrBlock = builder.destinationCidrBlock;
83+
this.dryRun = builder.dryRun;
7984
this.nextHopId = builder.nextHopId;
8085
this.nextHopList = builder.nextHopList;
8186
this.nextHopType = builder.nextHopType;
@@ -122,6 +127,13 @@ public String getDestinationCidrBlock() {
122127
return this.destinationCidrBlock;
123128
}
124129

130+
/**
131+
* @return dryRun
132+
*/
133+
public Boolean getDryRun() {
134+
return this.dryRun;
135+
}
136+
125137
/**
126138
* @return nextHopId
127139
*/
@@ -196,6 +208,7 @@ public static final class Builder extends Request.Builder<CreateRouteEntryReques
196208
private String clientToken;
197209
private String description;
198210
private String destinationCidrBlock;
211+
private Boolean dryRun;
199212
private String nextHopId;
200213
private java.util.List<NextHopList> nextHopList;
201214
private String nextHopType;
@@ -216,6 +229,7 @@ private Builder(CreateRouteEntryRequest request) {
216229
this.clientToken = request.clientToken;
217230
this.description = request.description;
218231
this.destinationCidrBlock = request.destinationCidrBlock;
232+
this.dryRun = request.dryRun;
219233
this.nextHopId = request.nextHopId;
220234
this.nextHopList = request.nextHopList;
221235
this.nextHopType = request.nextHopType;
@@ -274,6 +288,15 @@ public Builder destinationCidrBlock(String destinationCidrBlock) {
274288
return this;
275289
}
276290

291+
/**
292+
* DryRun.
293+
*/
294+
public Builder dryRun(Boolean dryRun) {
295+
this.putQueryParameter("DryRun", dryRun);
296+
this.dryRun = dryRun;
297+
return this;
298+
}
299+
277300
/**
278301
* <p>The ID of the next hop.</p>
279302
*

vpc-20160428/src/main/java/com/aliyun/sdk/service/vpc20160428/models/CreateSslVpnServerRequest.java

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ public class CreateSslVpnServerRequest extends Request {
3434
@com.aliyun.core.annotation.NameInMap("Compress")
3535
private Boolean compress;
3636

37+
@com.aliyun.core.annotation.Query
38+
@com.aliyun.core.annotation.NameInMap("DryRun")
39+
private Boolean dryRun;
40+
3741
@com.aliyun.core.annotation.Query
3842
@com.aliyun.core.annotation.NameInMap("EnableMultiFactorAuth")
3943
private Boolean enableMultiFactorAuth;
@@ -99,6 +103,7 @@ private CreateSslVpnServerRequest(Builder builder) {
99103
this.clientIpPool = builder.clientIpPool;
100104
this.clientToken = builder.clientToken;
101105
this.compress = builder.compress;
106+
this.dryRun = builder.dryRun;
102107
this.enableMultiFactorAuth = builder.enableMultiFactorAuth;
103108
this.iDaaSApplicationId = builder.iDaaSApplicationId;
104109
this.iDaaSInstanceId = builder.iDaaSInstanceId;
@@ -156,6 +161,13 @@ public Boolean getCompress() {
156161
return this.compress;
157162
}
158163

164+
/**
165+
* @return dryRun
166+
*/
167+
public Boolean getDryRun() {
168+
return this.dryRun;
169+
}
170+
159171
/**
160172
* @return enableMultiFactorAuth
161173
*/
@@ -259,6 +271,7 @@ public static final class Builder extends Request.Builder<CreateSslVpnServerRequ
259271
private String clientIpPool;
260272
private String clientToken;
261273
private Boolean compress;
274+
private Boolean dryRun;
262275
private Boolean enableMultiFactorAuth;
263276
private String iDaaSApplicationId;
264277
private String iDaaSInstanceId;
@@ -284,6 +297,7 @@ private Builder(CreateSslVpnServerRequest request) {
284297
this.clientIpPool = request.clientIpPool;
285298
this.clientToken = request.clientToken;
286299
this.compress = request.compress;
300+
this.dryRun = request.dryRun;
287301
this.enableMultiFactorAuth = request.enableMultiFactorAuth;
288302
this.iDaaSApplicationId = request.iDaaSApplicationId;
289303
this.iDaaSInstanceId = request.iDaaSInstanceId;
@@ -421,6 +435,15 @@ public Builder compress(Boolean compress) {
421435
return this;
422436
}
423437

438+
/**
439+
* DryRun.
440+
*/
441+
public Builder dryRun(Boolean dryRun) {
442+
this.putQueryParameter("DryRun", dryRun);
443+
this.dryRun = dryRun;
444+
return this;
445+
}
446+
424447
/**
425448
* <p>Specifies whether to enable two-factor authentication. To enable two-factor authentication, you need to specify <code>IDaaSInstanceId</code>, <code>IDaaSRegionId</code>, and <code>IDaaSApplicationId</code>. Valid values:</p>
426449
* <ul>

0 commit comments

Comments
 (0)