Skip to content

Commit d054a63

Browse files
committed
DescribeZones support multiple languages.
1 parent 05a5050 commit d054a63

File tree

60 files changed

+4592
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+4592
-2
lines changed

aliyun-java-sdk-vpc/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2021-03-18 Version: 3.1.13
2+
- DescribeZones support multiple languages.
3+
14
2020-12-29 Version: 3.1.12
25
- New version 4 nat2.
36

aliyun-java-sdk-vpc/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-vpc</artifactId>
66
<packaging>jar</packaging>
7-
<version>3.1.12</version>
7+
<version>3.1.13</version>
88
<name>aliyun-java-sdk-vpc</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java

aliyun-java-sdk-vpc/src/main/java/com/aliyuncs/vpc/Endpoint.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public class Endpoint {
3838
put("cn-beijing-finance-pop", "vpc.aliyuncs.com");
3939
put("cn-wuhan", "vpc.aliyuncs.com");
4040
put("us-west-1", "vpc.aliyuncs.com");
41+
put("cn-zhangbei", "vpc.aliyuncs.com");
4142
put("cn-shenzhen", "vpc.aliyuncs.com");
4243
put("cn-zhengzhou-nebula-1", "vpc-nebula.cn-qingdao-nebula.aliyuncs.com");
4344
put("rus-west-1-pop", "vpc.aliyuncs.com");
@@ -51,6 +52,7 @@ public class Endpoint {
5152
put("cn-shenzhen-finance-1", "vpc.aliyuncs.com");
5253
put("cn-hangzhou-internal-test-2", "vpc.aliyuncs.com");
5354
put("cn-hangzhou-test-306", "vpc.aliyuncs.com");
55+
put("cn-huhehaote-nebula-1", "vpc-nebula.cn-qingdao-nebula.aliyuncs.com");
5456
put("cn-shanghai-et2-b01", "vpc.aliyuncs.com");
5557
put("cn-hangzhou-finance", "vpc.aliyuncs.com");
5658
put("ap-southeast-1", "vpc.aliyuncs.com");

aliyun-java-sdk-vpc/src/main/java/com/aliyuncs/vpc/model/v20160428/AddCommonBandwidthPackageIpRequest.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ public class AddCommonBandwidthPackageIpRequest extends RpcAcsRequest<AddCommonB
2727

2828
private Long resourceOwnerId;
2929

30+
private String clientToken;
31+
3032
private String bandwidthPackageId;
3133

3234
private String resourceOwnerAccount;
@@ -58,6 +60,17 @@ public void setResourceOwnerId(Long resourceOwnerId) {
5860
}
5961
}
6062

63+
public String getClientToken() {
64+
return this.clientToken;
65+
}
66+
67+
public void setClientToken(String clientToken) {
68+
this.clientToken = clientToken;
69+
if(clientToken != null){
70+
putQueryParameter("ClientToken", clientToken);
71+
}
72+
}
73+
6174
public String getBandwidthPackageId() {
6275
return this.bandwidthPackageId;
6376
}

aliyun-java-sdk-vpc/src/main/java/com/aliyuncs/vpc/model/v20160428/AddCommonBandwidthPackageIpsRequest.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ public class AddCommonBandwidthPackageIpsRequest extends RpcAcsRequest<AddCommon
2828

2929
private Long resourceOwnerId;
3030

31+
private String clientToken;
32+
3133
private List<String> ipInstanceIdss;
3234

3335
private String bandwidthPackageId;
@@ -59,6 +61,17 @@ public void setResourceOwnerId(Long resourceOwnerId) {
5961
}
6062
}
6163

64+
public String getClientToken() {
65+
return this.clientToken;
66+
}
67+
68+
public void setClientToken(String clientToken) {
69+
this.clientToken = clientToken;
70+
if(clientToken != null){
71+
putQueryParameter("ClientToken", clientToken);
72+
}
73+
}
74+
6275
public List<String> getIpInstanceIdss() {
6376
return this.ipInstanceIdss;
6477
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.vpc.model.v20160428;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import java.util.List;
19+
import com.aliyuncs.http.MethodType;
20+
import com.aliyuncs.vpc.Endpoint;
21+
22+
/**
23+
* @author auto create
24+
* @version
25+
*/
26+
public class AddSourcesToTrafficMirrorSessionRequest extends RpcAcsRequest<AddSourcesToTrafficMirrorSessionResponse> {
27+
28+
29+
private Long resourceOwnerId;
30+
31+
private String clientToken;
32+
33+
private List<String> trafficMirrorSourceIdss;
34+
35+
private Boolean dryRun;
36+
37+
private String trafficMirrorSessionId;
38+
39+
private String resourceOwnerAccount;
40+
41+
private String ownerAccount;
42+
43+
private Long ownerId;
44+
public AddSourcesToTrafficMirrorSessionRequest() {
45+
super("Vpc", "2016-04-28", "AddSourcesToTrafficMirrorSession", "vpc");
46+
setMethod(MethodType.POST);
47+
try {
48+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
49+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
50+
} catch (Exception e) {}
51+
}
52+
53+
public Long getResourceOwnerId() {
54+
return this.resourceOwnerId;
55+
}
56+
57+
public void setResourceOwnerId(Long resourceOwnerId) {
58+
this.resourceOwnerId = resourceOwnerId;
59+
if(resourceOwnerId != null){
60+
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
61+
}
62+
}
63+
64+
public String getClientToken() {
65+
return this.clientToken;
66+
}
67+
68+
public void setClientToken(String clientToken) {
69+
this.clientToken = clientToken;
70+
if(clientToken != null){
71+
putQueryParameter("ClientToken", clientToken);
72+
}
73+
}
74+
75+
public List<String> getTrafficMirrorSourceIdss() {
76+
return this.trafficMirrorSourceIdss;
77+
}
78+
79+
public void setTrafficMirrorSourceIdss(List<String> trafficMirrorSourceIdss) {
80+
this.trafficMirrorSourceIdss = trafficMirrorSourceIdss;
81+
if (trafficMirrorSourceIdss != null) {
82+
for (int i = 0; i < trafficMirrorSourceIdss.size(); i++) {
83+
putQueryParameter("TrafficMirrorSourceIds." + (i + 1) , trafficMirrorSourceIdss.get(i));
84+
}
85+
}
86+
}
87+
88+
public Boolean getDryRun() {
89+
return this.dryRun;
90+
}
91+
92+
public void setDryRun(Boolean dryRun) {
93+
this.dryRun = dryRun;
94+
if(dryRun != null){
95+
putQueryParameter("DryRun", dryRun.toString());
96+
}
97+
}
98+
99+
public String getTrafficMirrorSessionId() {
100+
return this.trafficMirrorSessionId;
101+
}
102+
103+
public void setTrafficMirrorSessionId(String trafficMirrorSessionId) {
104+
this.trafficMirrorSessionId = trafficMirrorSessionId;
105+
if(trafficMirrorSessionId != null){
106+
putQueryParameter("TrafficMirrorSessionId", trafficMirrorSessionId);
107+
}
108+
}
109+
110+
public String getResourceOwnerAccount() {
111+
return this.resourceOwnerAccount;
112+
}
113+
114+
public void setResourceOwnerAccount(String resourceOwnerAccount) {
115+
this.resourceOwnerAccount = resourceOwnerAccount;
116+
if(resourceOwnerAccount != null){
117+
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
118+
}
119+
}
120+
121+
public String getOwnerAccount() {
122+
return this.ownerAccount;
123+
}
124+
125+
public void setOwnerAccount(String ownerAccount) {
126+
this.ownerAccount = ownerAccount;
127+
if(ownerAccount != null){
128+
putQueryParameter("OwnerAccount", ownerAccount);
129+
}
130+
}
131+
132+
public Long getOwnerId() {
133+
return this.ownerId;
134+
}
135+
136+
public void setOwnerId(Long ownerId) {
137+
this.ownerId = ownerId;
138+
if(ownerId != null){
139+
putQueryParameter("OwnerId", ownerId.toString());
140+
}
141+
}
142+
143+
@Override
144+
public Class<AddSourcesToTrafficMirrorSessionResponse> getResponseClass() {
145+
return AddSourcesToTrafficMirrorSessionResponse.class;
146+
}
147+
148+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.vpc.model.v20160428;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.vpc.transform.v20160428.AddSourcesToTrafficMirrorSessionResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class AddSourcesToTrafficMirrorSessionResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
public String getRequestId() {
30+
return this.requestId;
31+
}
32+
33+
public void setRequestId(String requestId) {
34+
this.requestId = requestId;
35+
}
36+
37+
@Override
38+
public AddSourcesToTrafficMirrorSessionResponse getInstance(UnmarshallerContext context) {
39+
return AddSourcesToTrafficMirrorSessionResponseUnmarshaller.unmarshall(this, context);
40+
}
41+
42+
@Override
43+
public boolean checkShowJsonItemName() {
44+
return false;
45+
}
46+
}

aliyun-java-sdk-vpc/src/main/java/com/aliyuncs/vpc/model/v20160428/CreateDhcpOptionsSetRequest.java

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,14 @@
2525
public class CreateDhcpOptionsSetRequest extends RpcAcsRequest<CreateDhcpOptionsSetResponse> {
2626

2727

28+
private String bootFileName;
29+
2830
private Long resourceOwnerId;
2931

3032
private String clientToken;
3133

34+
private String tFTPServerName;
35+
3236
private String domainNameServers;
3337

3438
private String dhcpOptionsSetDescription;
@@ -53,6 +57,17 @@ public CreateDhcpOptionsSetRequest() {
5357
} catch (Exception e) {}
5458
}
5559

60+
public String getBootFileName() {
61+
return this.bootFileName;
62+
}
63+
64+
public void setBootFileName(String bootFileName) {
65+
this.bootFileName = bootFileName;
66+
if(bootFileName != null){
67+
putQueryParameter("BootFileName", bootFileName);
68+
}
69+
}
70+
5671
public Long getResourceOwnerId() {
5772
return this.resourceOwnerId;
5873
}
@@ -75,6 +90,17 @@ public void setClientToken(String clientToken) {
7590
}
7691
}
7792

93+
public String getTFTPServerName() {
94+
return this.tFTPServerName;
95+
}
96+
97+
public void setTFTPServerName(String tFTPServerName) {
98+
this.tFTPServerName = tFTPServerName;
99+
if(tFTPServerName != null){
100+
putQueryParameter("TFTPServerName", tFTPServerName);
101+
}
102+
}
103+
78104
public String getDomainNameServers() {
79105
return this.domainNameServers;
80106
}

0 commit comments

Comments
 (0)