Skip to content

Commit a8d9158

Browse files
committed
Update API CreateARMServerInstances: add request parameters Cidr.
1 parent 4f73a3f commit a8d9158

27 files changed

+355
-12
lines changed

ens-20171110/ChangeLog.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2025-04-01 Version: 9.0.1
2+
- Update API CreateARMServerInstances: add request parameters Cidr.
3+
- Update API DescribeFileSystems: add response parameters Body.FileSystems.$.Description.
4+
5+
16
2025-03-27 Version: 9.0.0
27
- Support API DescribeInstanceBootConfiguration.
38
- Support API ImportImage.

ens-20171110/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>ens20171110</artifactId>
6-
<version>9.0.0</version>
6+
<version>9.0.1</version>
77
<packaging>jar</packaging>
88
<name>ens20171110</name>
99
<description>Alibaba Cloud edge node service (20171110) SDK for Java

ens-20171110/src/main/java/com/aliyun/ens20171110/Client.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,6 +1087,10 @@ public CreateARMServerInstancesResponse createARMServerInstancesWithOptions(Crea
10871087
query.put("AutoUseCoupon", request.autoUseCoupon);
10881088
}
10891089

1090+
if (!com.aliyun.teautil.Common.isUnset(request.cidr)) {
1091+
query.put("Cidr", request.cidr);
1092+
}
1093+
10901094
if (!com.aliyun.teautil.Common.isUnset(request.ensRegionId)) {
10911095
query.put("EnsRegionId", request.ensRegionId);
10921096
}

ens-20171110/src/main/java/com/aliyun/ens20171110/models/CreateARMServerInstancesRequest.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ public class CreateARMServerInstancesRequest extends TeaModel {
4040
@NameInMap("AutoUseCoupon")
4141
public Boolean autoUseCoupon;
4242

43+
@NameInMap("Cidr")
44+
public String cidr;
45+
4346
/**
4447
* <p>The ID of the Edge Node Service (ENS) node.</p>
4548
* <p>This parameter is required.</p>
@@ -247,6 +250,14 @@ public Boolean getAutoUseCoupon() {
247250
return this.autoUseCoupon;
248251
}
249252

253+
public CreateARMServerInstancesRequest setCidr(String cidr) {
254+
this.cidr = cidr;
255+
return this;
256+
}
257+
public String getCidr() {
258+
return this.cidr;
259+
}
260+
250261
public CreateARMServerInstancesRequest setEnsRegionId(String ensRegionId) {
251262
this.ensRegionId = ensRegionId;
252263
return this;

ens-20171110/src/main/java/com/aliyun/ens20171110/models/CreateEnsRouteEntryRequest.java

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,11 @@ public class CreateEnsRouteEntryRequest extends TeaModel {
3939
public String nextHopId;
4040

4141
/**
42-
* <p>The type of next hop of the custom route entry. Valid values:</p>
42+
* <p>The next hop type of the custom route. Valid values:</p>
4343
* <ul>
44-
* <li>Instance (default): an ENS instance.</li>
44+
* <li>Instance: an ENS instance.</li>
45+
* <li>HaVip: a high-availability virtual IP address (HAVIP).</li>
46+
* <li>NetworkPeer: VPC peering connection.</li>
4547
* </ul>
4648
*
4749
* <strong>example:</strong>
@@ -69,6 +71,12 @@ public class CreateEnsRouteEntryRequest extends TeaModel {
6971
@NameInMap("RouteTableId")
7072
public String routeTableId;
7173

74+
/**
75+
* <p>The new source CIDR block of the inbound or outbound traffic.</p>
76+
*
77+
* <strong>example:</strong>
78+
* <p>172.XXX.XXX.0/24</p>
79+
*/
7280
@NameInMap("SourceCidrBlock")
7381
public String sourceCidrBlock;
7482

ens-20171110/src/main/java/com/aliyun/ens20171110/models/CreateSnatEntryRequest.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@
44
import com.aliyun.tea.*;
55

66
public class CreateSnatEntryRequest extends TeaModel {
7+
/**
8+
* <p>Specifies whether to enable EIP affinity. Valid values:</p>
9+
* <ul>
10+
* <li><strong>0</strong>: no</li>
11+
* <li><strong>1</strong>: yes</li>
12+
* </ul>
13+
* <p>**</p>
14+
* <p><strong>Description</strong> After you enable EIP affinity, if multiple EIPs are associated with an SNAT entry, each client uses one EIP to access the Internet. If EIP affinity is disabled, each client uses a random EIP to access the Internet.</p>
15+
*
16+
* <strong>example:</strong>
17+
* <p>false</p>
18+
*/
719
@NameInMap("EipAffinity")
820
public Boolean eipAffinity;
921

ens-20171110/src/main/java/com/aliyun/ens20171110/models/DeleteNatGatewayRequest.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,21 @@
44
import com.aliyun.tea.*;
55

66
public class DeleteNatGatewayRequest extends TeaModel {
7+
/**
8+
* <p>Specifies whether to forcefully delete the VPC. Valid values:</p>
9+
* <ul>
10+
* <li><strong>true</strong>: yes</li>
11+
* <li><strong>false</strong> (default): no</li>
12+
* </ul>
13+
* <p>You can forcefully delete a VPC in the following scenarios:</p>
14+
* <ul>
15+
* <li>Only an IPv4 gateway and routes that point to the IPv4 gateway exist in the VPC.</li>
16+
* <li>Only an IPv6 gateway and routes that point to the IPv6 gateway exist in the VPC.</li>
17+
* </ul>
18+
*
19+
* <strong>example:</strong>
20+
* <p>true</p>
21+
*/
722
@NameInMap("ForceDelete")
823
public Boolean forceDelete;
924

ens-20171110/src/main/java/com/aliyun/ens20171110/models/DescribeEnsRouteEntryListResponseBody.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,12 @@ public String getNextHopType() {
151151
}
152152

153153
public static class DescribeEnsRouteEntryListResponseBodyRouteEntrys extends TeaModel {
154+
/**
155+
* <p>The time when the entry was created. The time is displayed in UTC.</p>
156+
*
157+
* <strong>example:</strong>
158+
* <p>2023-02-16T03:50:05Z</p>
159+
*/
154160
@NameInMap("CreationTime")
155161
public String creationTime;
156162

@@ -205,6 +211,12 @@ public static class DescribeEnsRouteEntryListResponseBodyRouteEntrys extends Tea
205211
@NameInMap("RouteTableId")
206212
public String routeTableId;
207213

214+
/**
215+
* <p>The new source CIDR block of the inbound or outbound traffic.</p>
216+
*
217+
* <strong>example:</strong>
218+
* <p>10.XXX.XXX.0/24</p>
219+
*/
208220
@NameInMap("SourceCidrBlock")
209221
public String sourceCidrBlock;
210222

ens-20171110/src/main/java/com/aliyun/ens20171110/models/DescribeEnsRouteTablesRequest.java

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@
44
import com.aliyun.tea.*;
55

66
public class DescribeEnsRouteTablesRequest extends TeaModel {
7+
/**
8+
* <p>The type of the route table. Valid values:</p>
9+
* <ul>
10+
* <li><strong>VSwitch</strong> (default): vSwitch route table</li>
11+
* <li><strong>Gateway</strong>: gateway route table</li>
12+
* </ul>
13+
*
14+
* <strong>example:</strong>
15+
* <p>Gateway</p>
16+
*/
717
@NameInMap("AssociateType")
818
public String associateType;
919

@@ -17,7 +27,7 @@ public class DescribeEnsRouteTablesRequest extends TeaModel {
1727
public String ensRegionId;
1828

1929
/**
20-
* <p>The IDs of the Edge Node Service (ENS) nodes.</p>
30+
* <p>The IDs of edge nodes. You can specify 1 to 100 IDs.</p>
2131
*/
2232
@NameInMap("EnsRegionIds")
2333
public java.util.List<String> ensRegionIds;
@@ -58,9 +68,26 @@ public class DescribeEnsRouteTablesRequest extends TeaModel {
5868
@NameInMap("RouteTableId")
5969
public String routeTableId;
6070

71+
/**
72+
* <p>The name of the route table that you want to query.</p>
73+
* <p>The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).</p>
74+
*
75+
* <strong>example:</strong>
76+
* <p>tftest-nat04</p>
77+
*/
6178
@NameInMap("RouteTableName")
6279
public String routeTableName;
6380

81+
/**
82+
* <p>The type of the NAT.</p>
83+
* <ul>
84+
* <li>Empty: symmetric NAT.</li>
85+
* <li>FullCone: full cone NAT.</li>
86+
* </ul>
87+
*
88+
* <strong>example:</strong>
89+
* <p>FullCone</p>
90+
*/
6491
@NameInMap("Type")
6592
public String type;
6693

ens-20171110/src/main/java/com/aliyun/ens20171110/models/DescribeEnsRouteTablesResponseBody.java

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,16 @@ public Integer getTotalCount() {
9292
}
9393

9494
public static class DescribeEnsRouteTablesResponseBodyRouteTables extends TeaModel {
95+
/**
96+
* <p>The type of the route table. Valid values:</p>
97+
* <ul>
98+
* <li><strong>VSwitch</strong> (default): vSwitch route table</li>
99+
* <li><strong>Gateway</strong>: gateway route table</li>
100+
* </ul>
101+
*
102+
* <strong>example:</strong>
103+
* <p>VSwitch</p>
104+
*/
95105
@NameInMap("AssociateType")
96106
public String associateType;
97107

@@ -104,6 +114,13 @@ public static class DescribeEnsRouteTablesResponseBodyRouteTables extends TeaMod
104114
@NameInMap("CreationTime")
105115
public String creationTime;
106116

117+
/**
118+
* <p>The description of the network.</p>
119+
* <p>The description must be 2 to 256 characters in length. It must start with a letter but cannot start with http:// or https://.</p>
120+
*
121+
* <strong>example:</strong>
122+
* <p>test</p>
123+
*/
107124
@NameInMap("Description")
108125
public String description;
109126

@@ -116,6 +133,12 @@ public static class DescribeEnsRouteTablesResponseBodyRouteTables extends TeaMod
116133
@NameInMap("EnsRegionId")
117134
public String ensRegionId;
118135

136+
/**
137+
* <p>Is the gateway routing table the default.</p>
138+
*
139+
* <strong>example:</strong>
140+
* <p>false</p>
141+
*/
119142
@NameInMap("IsDefaultGatewayRouteTable")
120143
public Boolean isDefaultGatewayRouteTable;
121144

@@ -138,6 +161,9 @@ public static class DescribeEnsRouteTablesResponseBodyRouteTables extends TeaMod
138161
public String routeTableId;
139162

140163
/**
164+
* <p>The name of the route table that you want to query.</p>
165+
* <p>The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-).</p>
166+
*
141167
* <strong>example:</strong>
142168
* <p>test-tf-vtb7</p>
143169
*/
@@ -157,7 +183,7 @@ public static class DescribeEnsRouteTablesResponseBodyRouteTables extends TeaMod
157183
public String status;
158184

159185
/**
160-
* <p>The type of the route table. Valid values:</p>
186+
* <p>The type of the route table. Examples:</p>
161187
* <ul>
162188
* <li>Custom: custom route table.</li>
163189
* <li>System: system route table.</li>

0 commit comments

Comments
 (0)