Skip to content

Commit cda2e53

Browse files
committed
ConfigRule scope upgrade.
1 parent 07d0c2e commit cda2e53

33 files changed

+1731
-114
lines changed

aliyun-java-sdk-config/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2024-06-20 Version: 2.2.14
2+
- ConfigRule scope upgrade.
3+
14
2024-01-05 Version: 2.2.13
25
- Generated 2020-09-07 for `Config`.
36

aliyun-java-sdk-config/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-config</artifactId>
66
<packaging>jar</packaging>
7-
<version>2.2.13</version>
7+
<version>2.2.14</version>
88
<name>aliyun-java-sdk-config</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java

aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/CreateAggregateCompliancePackRequest.java

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,31 @@ public class CreateAggregateCompliancePackRequest extends RpcAcsRequest<CreateAg
4040

4141
private String aggregatorId;
4242

43+
private String excludeResourceGroupIdsScope;
44+
4345
private String tagValueScope;
4446

4547
private String regionIdsScope;
4648

49+
private String resourceIdsScope;
50+
4751
private Boolean defaultEnable;
4852

4953
@SerializedName("configRules")
5054
private List<ConfigRules> configRules;
5155

56+
private List<ExcludeTagsScope> excludeTagsScope;
57+
5258
private Integer riskLevel;
5359

60+
private List<TagsScope> tagsScope;
61+
5462
private String templateContent;
5563

5664
private String resourceGroupIdsScope;
5765

66+
private String excludeRegionIdsScope;
67+
5868
private String excludeResourceIdsScope;
5969
public CreateAggregateCompliancePackRequest() {
6070
super("Config", "2020-09-07", "CreateAggregateCompliancePack", "config");
@@ -131,6 +141,17 @@ public void setAggregatorId(String aggregatorId) {
131141
}
132142
}
133143

144+
public String getExcludeResourceGroupIdsScope() {
145+
return this.excludeResourceGroupIdsScope;
146+
}
147+
148+
public void setExcludeResourceGroupIdsScope(String excludeResourceGroupIdsScope) {
149+
this.excludeResourceGroupIdsScope = excludeResourceGroupIdsScope;
150+
if(excludeResourceGroupIdsScope != null){
151+
putBodyParameter("ExcludeResourceGroupIdsScope", excludeResourceGroupIdsScope);
152+
}
153+
}
154+
134155
public String getTagValueScope() {
135156
return this.tagValueScope;
136157
}
@@ -153,6 +174,17 @@ public void setRegionIdsScope(String regionIdsScope) {
153174
}
154175
}
155176

177+
public String getResourceIdsScope() {
178+
return this.resourceIdsScope;
179+
}
180+
181+
public void setResourceIdsScope(String resourceIdsScope) {
182+
this.resourceIdsScope = resourceIdsScope;
183+
if(resourceIdsScope != null){
184+
putBodyParameter("ResourceIdsScope", resourceIdsScope);
185+
}
186+
}
187+
156188
public Boolean getDefaultEnable() {
157189
return this.defaultEnable;
158190
}
@@ -175,6 +207,23 @@ public void setConfigRules(List<ConfigRules> configRules) {
175207
}
176208
}
177209

210+
public List<ExcludeTagsScope> getExcludeTagsScope() {
211+
return this.excludeTagsScope;
212+
}
213+
214+
public void setExcludeTagsScope(List<ExcludeTagsScope> excludeTagsScope) {
215+
this.excludeTagsScope = excludeTagsScope;
216+
if (excludeTagsScope != null) {
217+
for (int depth1 = 0; depth1 < excludeTagsScope.size(); depth1++) {
218+
if (excludeTagsScope.get(depth1) != null) {
219+
220+
putBodyParameter("ExcludeTagsScope." + (depth1 + 1) + ".TagValue" , excludeTagsScope.get(depth1).getTagValue());
221+
putBodyParameter("ExcludeTagsScope." + (depth1 + 1) + ".TagKey" , excludeTagsScope.get(depth1).getTagKey());
222+
}
223+
}
224+
}
225+
}
226+
178227
public Integer getRiskLevel() {
179228
return this.riskLevel;
180229
}
@@ -186,6 +235,23 @@ public void setRiskLevel(Integer riskLevel) {
186235
}
187236
}
188237

238+
public List<TagsScope> getTagsScope() {
239+
return this.tagsScope;
240+
}
241+
242+
public void setTagsScope(List<TagsScope> tagsScope) {
243+
this.tagsScope = tagsScope;
244+
if (tagsScope != null) {
245+
for (int depth1 = 0; depth1 < tagsScope.size(); depth1++) {
246+
if (tagsScope.get(depth1) != null) {
247+
248+
putBodyParameter("TagsScope." + (depth1 + 1) + ".TagValue" , tagsScope.get(depth1).getTagValue());
249+
putBodyParameter("TagsScope." + (depth1 + 1) + ".TagKey" , tagsScope.get(depth1).getTagKey());
250+
}
251+
}
252+
}
253+
}
254+
189255
public String getTemplateContent() {
190256
return this.templateContent;
191257
}
@@ -208,6 +274,17 @@ public void setResourceGroupIdsScope(String resourceGroupIdsScope) {
208274
}
209275
}
210276

277+
public String getExcludeRegionIdsScope() {
278+
return this.excludeRegionIdsScope;
279+
}
280+
281+
public void setExcludeRegionIdsScope(String excludeRegionIdsScope) {
282+
this.excludeRegionIdsScope = excludeRegionIdsScope;
283+
if(excludeRegionIdsScope != null){
284+
putBodyParameter("ExcludeRegionIdsScope", excludeRegionIdsScope);
285+
}
286+
}
287+
211288
public String getExcludeResourceIdsScope() {
212289
return this.excludeResourceIdsScope;
213290
}
@@ -311,6 +388,52 @@ public void setParameterName(String parameterName) {
311388
this.parameterName = parameterName;
312389
}
313390
}
391+
}
392+
393+
public static class ExcludeTagsScope {
394+
395+
private String tagValue;
396+
397+
private String tagKey;
398+
399+
public String getTagValue() {
400+
return this.tagValue;
401+
}
402+
403+
public void setTagValue(String tagValue) {
404+
this.tagValue = tagValue;
405+
}
406+
407+
public String getTagKey() {
408+
return this.tagKey;
409+
}
410+
411+
public void setTagKey(String tagKey) {
412+
this.tagKey = tagKey;
413+
}
414+
}
415+
416+
public static class TagsScope {
417+
418+
private String tagValue;
419+
420+
private String tagKey;
421+
422+
public String getTagValue() {
423+
return this.tagValue;
424+
}
425+
426+
public void setTagValue(String tagValue) {
427+
this.tagValue = tagValue;
428+
}
429+
430+
public String getTagKey() {
431+
return this.tagKey;
432+
}
433+
434+
public void setTagKey(String tagKey) {
435+
this.tagKey = tagKey;
436+
}
314437
}
315438

316439
@Override

0 commit comments

Comments
 (0)