diff --git a/aliyun-java-sdk-ecs/ChangeLog.txt b/aliyun-java-sdk-ecs/ChangeLog.txt index 7d4c16fb2c..9d76ce19b7 100644 --- a/aliyun-java-sdk-ecs/ChangeLog.txt +++ b/aliyun-java-sdk-ecs/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-11-07 Version: 5.11.13 +- Add source dest check param. + 2024-10-31 Version: 5.11.12 - DescribeInstanceTypes add CpuOptions. diff --git a/aliyun-java-sdk-ecs/pom.xml b/aliyun-java-sdk-ecs/pom.xml index fe21ed7004..bf1f4d9bcf 100644 --- a/aliyun-java-sdk-ecs/pom.xml +++ b/aliyun-java-sdk-ecs/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-ecs jar - 5.11.12 + 5.11.13 aliyun-java-sdk-ecs http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateNetworkInterfaceRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateNetworkInterfaceRequest.java index 3984e596d5..0f65f63ded 100644 --- a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateNetworkInterfaceRequest.java +++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateNetworkInterfaceRequest.java @@ -70,6 +70,8 @@ public class CreateNetworkInterfaceRequest extends RpcAcsRequest privateIpSets; private List tags; @@ -187,6 +189,14 @@ public void setPrivateIpAddress(String privateIpAddress) { this.privateIpAddress = privateIpAddress; } + public Boolean getSourceDestCheck() { + return this.sourceDestCheck; + } + + public void setSourceDestCheck(Boolean sourceDestCheck) { + this.sourceDestCheck = sourceDestCheck; + } + public List getPrivateIpSets() { return this.privateIpSets; } diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/RunInstancesRequest.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/RunInstancesRequest.java index 6f5dfd38b9..cacd3ccb64 100644 --- a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/RunInstancesRequest.java +++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/RunInstancesRequest.java @@ -1081,6 +1081,7 @@ public void setNetworkInterfaces(List networkInterfaces) { putQueryParameter("NetworkInterface." + (depth1 + 1) + ".NetworkInterfaceId" , networkInterfaces.get(depth1).getNetworkInterfaceId()); putQueryParameter("NetworkInterface." + (depth1 + 1) + ".RxQueueSize" , networkInterfaces.get(depth1).getRxQueueSize()); putQueryParameter("NetworkInterface." + (depth1 + 1) + ".TxQueueSize" , networkInterfaces.get(depth1).getTxQueueSize()); + putQueryParameter("NetworkInterface." + (depth1 + 1) + ".SourceDestCheck" , networkInterfaces.get(depth1).getSourceDestCheck()); } } } @@ -1467,6 +1468,8 @@ public static class NetworkInterface { private Integer txQueueSize; + private Boolean sourceDestCheck; + public String getVSwitchId() { return this.vSwitchId; } @@ -1602,6 +1605,14 @@ public Integer getTxQueueSize() { public void setTxQueueSize(Integer txQueueSize) { this.txQueueSize = txQueueSize; } + + public Boolean getSourceDestCheck() { + return this.sourceDestCheck; + } + + public void setSourceDestCheck(Boolean sourceDestCheck) { + this.sourceDestCheck = sourceDestCheck; + } } public static class DataDisk { diff --git a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/transform/v20140526/CreateNetworkInterfaceResponseUnmarshaller.java b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/transform/v20140526/CreateNetworkInterfaceResponseUnmarshaller.java index 068d242181..ba0fb851fd 100644 --- a/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/transform/v20140526/CreateNetworkInterfaceResponseUnmarshaller.java +++ b/aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/transform/v20140526/CreateNetworkInterfaceResponseUnmarshaller.java @@ -45,6 +45,7 @@ public static CreateNetworkInterfaceResponse unmarshall(CreateNetworkInterfaceRe createNetworkInterfaceResponse.setResourceGroupId(_ctx.stringValue("CreateNetworkInterfaceResponse.ResourceGroupId")); createNetworkInterfaceResponse.setZoneId(_ctx.stringValue("CreateNetworkInterfaceResponse.ZoneId")); createNetworkInterfaceResponse.setPrivateIpAddress(_ctx.stringValue("CreateNetworkInterfaceResponse.PrivateIpAddress")); + createNetworkInterfaceResponse.setSourceDestCheck(_ctx.booleanValue("CreateNetworkInterfaceResponse.SourceDestCheck")); List securityGroupIds = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("CreateNetworkInterfaceResponse.SecurityGroupIds.Length"); i++) {