Skip to content

Commit ac6a21b

Browse files
committed
TR Flowlog support nis.
1 parent 0e71330 commit ac6a21b

File tree

59 files changed

+1360
-25
lines changed

Some content is hidden

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

59 files changed

+1360
-25
lines changed

aliyun-java-sdk-cbn/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-10-31 Version: 1.0.41
2+
- TR Flowlog support nis.
3+
14
2024-03-26 Version: 1.0.40
25
- Supported ECR Attachment.
36

aliyun-java-sdk-cbn/pom.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-cbn</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.0.40</version>
7+
<version>1.0.41</version>
88
<name>aliyun-java-sdk-cbn</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
@@ -91,7 +91,7 @@ http://www.aliyun.com</description>
9191
<plugin>
9292
<groupId>org.apache.maven.plugins</groupId>
9393
<artifactId>maven-gpg-plugin</artifactId>
94-
<version>1.5</version>
94+
<version>3.1.0</version>
9595
<executions>
9696
<execution>
9797
<id>sign-artifacts</id>
@@ -103,14 +103,14 @@ http://www.aliyun.com</description>
103103
</executions>
104104
</plugin>
105105
<plugin>
106-
<groupId>org.sonatype.plugins</groupId>
107-
<artifactId>nexus-staging-maven-plugin</artifactId>
108-
<version>1.6.3</version>
106+
<groupId>org.sonatype.central</groupId>
107+
<artifactId>central-publishing-maven-plugin</artifactId>
108+
<version>0.8.0</version>
109109
<extensions>true</extensions>
110110
<configuration>
111-
<serverId>sonatype-nexus-staging</serverId>
112-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
113-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
111+
<publishingServerId>central</publishingServerId>
112+
<autoPublish>true</autoPublish>
113+
<waitUntil>published</waitUntil>
114114
</configuration>
115115
</plugin>
116116
</plugins>

aliyun-java-sdk-cbn/src/main/java/com/aliyuncs/cbn/model/v20170912/AddTrafficMatchRuleToTrafficMarkingPolicyRequest.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ public void setTrafficMatchRuless(List<TrafficMatchRules> trafficMatchRuless) {
116116
}
117117
}
118118
putQueryParameter("TrafficMatchRules." + (depth1 + 1) + ".DstCidr" , trafficMatchRuless.get(depth1).getDstCidr());
119+
putQueryParameter("TrafficMatchRules." + (depth1 + 1) + ".AddressFamily" , trafficMatchRuless.get(depth1).getAddressFamily());
119120
putQueryParameter("TrafficMatchRules." + (depth1 + 1) + ".TrafficMatchRuleName" , trafficMatchRuless.get(depth1).getTrafficMatchRuleName());
120121
putQueryParameter("TrafficMatchRules." + (depth1 + 1) + ".SrcCidr" , trafficMatchRuless.get(depth1).getSrcCidr());
121122
}
@@ -169,6 +170,8 @@ public static class TrafficMatchRules {
169170

170171
private String dstCidr;
171172

173+
private String addressFamily;
174+
172175
private String trafficMatchRuleName;
173176

174177
private String srcCidr;
@@ -221,6 +224,14 @@ public void setDstCidr(String dstCidr) {
221224
this.dstCidr = dstCidr;
222225
}
223226

227+
public String getAddressFamily() {
228+
return this.addressFamily;
229+
}
230+
231+
public void setAddressFamily(String addressFamily) {
232+
this.addressFamily = addressFamily;
233+
}
234+
224235
public String getTrafficMatchRuleName() {
225236
return this.trafficMatchRuleName;
226237
}

aliyun-java-sdk-cbn/src/main/java/com/aliyuncs/cbn/model/v20170912/CreateCenInterRegionTrafficQosPolicyRequest.java

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

2929
private Long resourceOwnerId;
3030

31+
private String bandwidthGuaranteeMode;
32+
3133
private String clientToken;
3234

3335
private List<TrafficQosQueues> trafficQosQueuess;
@@ -67,6 +69,17 @@ public void setResourceOwnerId(Long resourceOwnerId) {
6769
}
6870
}
6971

72+
public String getBandwidthGuaranteeMode() {
73+
return this.bandwidthGuaranteeMode;
74+
}
75+
76+
public void setBandwidthGuaranteeMode(String bandwidthGuaranteeMode) {
77+
this.bandwidthGuaranteeMode = bandwidthGuaranteeMode;
78+
if(bandwidthGuaranteeMode != null){
79+
putQueryParameter("BandwidthGuaranteeMode", bandwidthGuaranteeMode);
80+
}
81+
}
82+
7083
public String getClientToken() {
7184
return this.clientToken;
7285
}
@@ -91,6 +104,7 @@ public void setTrafficQosQueuess(List<TrafficQosQueues> trafficQosQueuess) {
91104
putQueryParameter("TrafficQosQueues." + (depth1 + 1) + ".Dscps." + (i + 1) , trafficQosQueuess.get(depth1).getDscpss().get(i));
92105
}
93106
}
107+
putQueryParameter("TrafficQosQueues." + (depth1 + 1) + ".Bandwidth" , trafficQosQueuess.get(depth1).getBandwidth());
94108
putQueryParameter("TrafficQosQueues." + (depth1 + 1) + ".QosQueueName" , trafficQosQueuess.get(depth1).getQosQueueName());
95109
putQueryParameter("TrafficQosQueues." + (depth1 + 1) + ".RemainBandwidthPercent" , trafficQosQueuess.get(depth1).getRemainBandwidthPercent());
96110
putQueryParameter("TrafficQosQueues." + (depth1 + 1) + ".QosQueueDescription" , trafficQosQueuess.get(depth1).getQosQueueDescription());
@@ -190,6 +204,8 @@ public static class TrafficQosQueues {
190204

191205
private List<Integer> dscpss;
192206

207+
private String bandwidth;
208+
193209
private String qosQueueName;
194210

195211
private String remainBandwidthPercent;
@@ -204,6 +220,14 @@ public void setDscpss(List<Integer> dscpss) {
204220
this.dscpss = dscpss;
205221
}
206222

223+
public String getBandwidth() {
224+
return this.bandwidth;
225+
}
226+
227+
public void setBandwidth(String bandwidth) {
228+
this.bandwidth = bandwidth;
229+
}
230+
207231
public String getQosQueueName() {
208232
return this.qosQueueName;
209233
}

aliyun-java-sdk-cbn/src/main/java/com/aliyuncs/cbn/model/v20170912/CreateCenInterRegionTrafficQosQueueRequest.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ public class CreateCenInterRegionTrafficQosQueueRequest extends RpcAcsRequest<Cr
4242

4343
private String resourceOwnerAccount;
4444

45+
private Long bandwidth;
46+
4547
private String ownerAccount;
4648

4749
private Long ownerId;
@@ -146,6 +148,17 @@ public void setResourceOwnerAccount(String resourceOwnerAccount) {
146148
}
147149
}
148150

151+
public Long getBandwidth() {
152+
return this.bandwidth;
153+
}
154+
155+
public void setBandwidth(Long bandwidth) {
156+
this.bandwidth = bandwidth;
157+
if(bandwidth != null){
158+
putQueryParameter("Bandwidth", bandwidth.toString());
159+
}
160+
}
161+
149162
public String getOwnerAccount() {
150163
return this.ownerAccount;
151164
}

aliyun-java-sdk-cbn/src/main/java/com/aliyuncs/cbn/model/v20170912/CreateCenRouteMapRequest.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ public class CreateCenRouteMapRequest extends RpcAcsRequest<CreateCenRouteMapRes
3232

3333
private String mapResult;
3434

35+
private List<String> destinationRegionIdss;
36+
3537
private Integer nextPriority;
3638

3739
private List<String> destinationCidrBlockss;
@@ -133,6 +135,19 @@ public void setMapResult(String mapResult) {
133135
}
134136
}
135137

138+
public List<String> getDestinationRegionIdss() {
139+
return this.destinationRegionIdss;
140+
}
141+
142+
public void setDestinationRegionIdss(List<String> destinationRegionIdss) {
143+
this.destinationRegionIdss = destinationRegionIdss;
144+
if (destinationRegionIdss != null) {
145+
for (int i = 0; i < destinationRegionIdss.size(); i++) {
146+
putQueryParameter("DestinationRegionIds." + (i + 1) , destinationRegionIdss.get(i));
147+
}
148+
}
149+
}
150+
136151
public Integer getNextPriority() {
137152
return this.nextPriority;
138153
}

aliyun-java-sdk-cbn/src/main/java/com/aliyuncs/cbn/model/v20170912/CreateFlowlogRequest.java

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,14 @@ public class CreateFlowlogRequest extends RpcAcsRequest<CreateFlowlogResponse> {
4646

4747
private Long ownerId;
4848

49+
private String transitRouterId;
50+
4951
private String transitRouterAttachmentId;
5052

5153
private Long interval;
5254

55+
private String logFormatString;
56+
5357
private String flowLogName;
5458
public CreateFlowlogRequest() {
5559
super("Cbn", "2017-09-12", "CreateFlowlog", "cbn");
@@ -173,6 +177,17 @@ public void setOwnerId(Long ownerId) {
173177
}
174178
}
175179

180+
public String getTransitRouterId() {
181+
return this.transitRouterId;
182+
}
183+
184+
public void setTransitRouterId(String transitRouterId) {
185+
this.transitRouterId = transitRouterId;
186+
if(transitRouterId != null){
187+
putQueryParameter("TransitRouterId", transitRouterId);
188+
}
189+
}
190+
176191
public String getTransitRouterAttachmentId() {
177192
return this.transitRouterAttachmentId;
178193
}
@@ -195,6 +210,17 @@ public void setInterval(Long interval) {
195210
}
196211
}
197212

213+
public String getLogFormatString() {
214+
return this.logFormatString;
215+
}
216+
217+
public void setLogFormatString(String logFormatString) {
218+
this.logFormatString = logFormatString;
219+
if(logFormatString != null){
220+
putQueryParameter("LogFormatString", logFormatString);
221+
}
222+
}
223+
198224
public String getFlowLogName() {
199225
return this.flowLogName;
200226
}

aliyun-java-sdk-cbn/src/main/java/com/aliyuncs/cbn/model/v20170912/CreateTrafficMarkingPolicyRequest.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ public void setTrafficMatchRuless(List<TrafficMatchRules> trafficMatchRuless) {
136136
}
137137
putQueryParameter("TrafficMatchRules." + (depth1 + 1) + ".DstCidr" , trafficMatchRuless.get(depth1).getDstCidr());
138138
putQueryParameter("TrafficMatchRules." + (depth1 + 1) + ".TrafficMatchRuleName" , trafficMatchRuless.get(depth1).getTrafficMatchRuleName());
139+
putQueryParameter("TrafficMatchRules." + (depth1 + 1) + ".AddressFamily" , trafficMatchRuless.get(depth1).getAddressFamily());
139140
putQueryParameter("TrafficMatchRules." + (depth1 + 1) + ".SrcCidr" , trafficMatchRuless.get(depth1).getSrcCidr());
140141
}
141142
}
@@ -223,6 +224,8 @@ public static class TrafficMatchRules {
223224

224225
private String trafficMatchRuleName;
225226

227+
private String addressFamily;
228+
226229
private String srcCidr;
227230

228231
public List<Integer> getDstPortRanges() {
@@ -281,6 +284,14 @@ public void setTrafficMatchRuleName(String trafficMatchRuleName) {
281284
this.trafficMatchRuleName = trafficMatchRuleName;
282285
}
283286

287+
public String getAddressFamily() {
288+
return this.addressFamily;
289+
}
290+
291+
public void setAddressFamily(String addressFamily) {
292+
this.addressFamily = addressFamily;
293+
}
294+
284295
public String getSrcCidr() {
285296
return this.srcCidr;
286297
}

aliyun-java-sdk-cbn/src/main/java/com/aliyuncs/cbn/model/v20170912/CreateTransitRouteTableAggregationRequest.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
package com.aliyuncs.cbn.model.v20170912;
1616

1717
import com.aliyuncs.RpcAcsRequest;
18+
import java.util.List;
19+
import com.google.gson.Gson;
20+
import com.google.gson.annotations.SerializedName;
1821
import com.aliyuncs.http.MethodType;
1922
import com.aliyuncs.cbn.Endpoint;
2023

@@ -45,6 +48,9 @@ public class CreateTransitRouteTableAggregationRequest extends RpcAcsRequest<Cre
4548

4649
private String transitRouteTableId;
4750

51+
@SerializedName("transitRouteTableAggregationScopeList")
52+
private List<String> transitRouteTableAggregationScopeList;
53+
4854
private String transitRouteTableAggregationCidr;
4955
public CreateTransitRouteTableAggregationRequest() {
5056
super("Cbn", "2017-09-12", "CreateTransitRouteTableAggregation", "cbn");
@@ -165,6 +171,17 @@ public void setTransitRouteTableId(String transitRouteTableId) {
165171
}
166172
}
167173

174+
public List<String> getTransitRouteTableAggregationScopeList() {
175+
return this.transitRouteTableAggregationScopeList;
176+
}
177+
178+
public void setTransitRouteTableAggregationScopeList(List<String> transitRouteTableAggregationScopeList) {
179+
this.transitRouteTableAggregationScopeList = transitRouteTableAggregationScopeList;
180+
if (transitRouteTableAggregationScopeList != null) {
181+
putQueryParameter("TransitRouteTableAggregationScopeList" , new Gson().toJson(transitRouteTableAggregationScopeList));
182+
}
183+
}
184+
168185
public String getTransitRouteTableAggregationCidr() {
169186
return this.transitRouteTableAggregationCidr;
170187
}

aliyun-java-sdk-cbn/src/main/java/com/aliyuncs/cbn/model/v20170912/CreateTransitRouterMulticastDomainRequest.java

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ public class CreateTransitRouterMulticastDomainRequest extends RpcAcsRequest<Cre
3636

3737
private String transitRouterMulticastDomainName;
3838

39+
private Options options;
40+
3941
private List<Tag> tags;
4042

4143
private Boolean dryRun;
@@ -111,6 +113,19 @@ public void setTransitRouterMulticastDomainName(String transitRouterMulticastDom
111113
}
112114
}
113115

116+
public Options getOptions() {
117+
return this.options;
118+
}
119+
120+
public void setOptions(Options options) {
121+
this.options = options;
122+
if (options != null) {
123+
124+
putQueryParameter("Options.StrictSourceControl" , options.getStrictSourceControl());
125+
putQueryParameter("Options.Igmpv2Support" , options.getIgmpv2Support());
126+
}
127+
}
128+
114129
public List<Tag> getTags() {
115130
return this.tags;
116131
}
@@ -180,6 +195,29 @@ public void setTransitRouterId(String transitRouterId) {
180195
}
181196
}
182197

198+
public static class Options {
199+
200+
private String strictSourceControl;
201+
202+
private String igmpv2Support;
203+
204+
public String getStrictSourceControl() {
205+
return this.strictSourceControl;
206+
}
207+
208+
public void setStrictSourceControl(String strictSourceControl) {
209+
this.strictSourceControl = strictSourceControl;
210+
}
211+
212+
public String getIgmpv2Support() {
213+
return this.igmpv2Support;
214+
}
215+
216+
public void setIgmpv2Support(String igmpv2Support) {
217+
this.igmpv2Support = igmpv2Support;
218+
}
219+
}
220+
183221
public static class Tag {
184222

185223
private String value;

0 commit comments

Comments
 (0)