Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 13790ed

Browse files
committed
CMS SDK Auto Released By kun.dang,Version:7.0.2
发布日志: 1, Adding Modified Instance Management Interface.
1 parent ca66562 commit 13790ed

17 files changed

+1231
-39
lines changed

aliyun-java-sdk-cms/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2019-04-13 Version: 7.0.2
2+
1, Adding Modified Instance Management Interface.
3+
14
2019-04-11 Version: 7.0.1
25
1, Fixed inconsistency between input and output parameters of alarm rule list interface.
36

aliyun-java-sdk-cms/pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<groupId>com.aliyun</groupId>
44
<artifactId>aliyun-java-sdk-cms</artifactId>
55
<packaging>jar</packaging>
6-
<version>7.0.1</version>
6+
<version>7.0.2</version>
77
<name>aliyun-java-sdk-cms</name>
88
<url>http://www.aliyun.com</url>
99
<description>Aliyun Open API SDK for Java
@@ -33,6 +33,11 @@ http://www.aliyun.com</description>
3333
<optional>true</optional>
3434
<version>[4.3.2,5.0.0)</version>
3535
</dependency>
36+
<dependency>
37+
<groupId>com.google.code.gson</groupId>
38+
<artifactId>gson</artifactId>
39+
<version>2.8.5</version>
40+
</dependency>
3641
</dependencies>
3742
<licenses>
3843
<license>
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
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.cms.model.v20190101;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
19+
/**
20+
* @author auto create
21+
* @version
22+
*/
23+
public class CreateMonitorAgentProcessRequest extends RpcAcsRequest<CreateMonitorAgentProcessResponse> {
24+
25+
public CreateMonitorAgentProcessRequest() {
26+
super("Cms", "2019-01-01", "CreateMonitorAgentProcess", "cms");
27+
}
28+
29+
private String instanceId;
30+
31+
private String processName;
32+
33+
private String processUser;
34+
35+
public String getInstanceId() {
36+
return this.instanceId;
37+
}
38+
39+
public void setInstanceId(String instanceId) {
40+
this.instanceId = instanceId;
41+
if(instanceId != null){
42+
putQueryParameter("InstanceId", instanceId);
43+
}
44+
}
45+
46+
public String getProcessName() {
47+
return this.processName;
48+
}
49+
50+
public void setProcessName(String processName) {
51+
this.processName = processName;
52+
if(processName != null){
53+
putQueryParameter("ProcessName", processName);
54+
}
55+
}
56+
57+
public String getProcessUser() {
58+
return this.processUser;
59+
}
60+
61+
public void setProcessUser(String processUser) {
62+
this.processUser = processUser;
63+
if(processUser != null){
64+
putQueryParameter("ProcessUser", processUser);
65+
}
66+
}
67+
68+
@Override
69+
public Class<CreateMonitorAgentProcessResponse> getResponseClass() {
70+
return CreateMonitorAgentProcessResponse.class;
71+
}
72+
73+
}
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
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.cms.model.v20190101;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.cms.transform.v20190101.CreateMonitorAgentProcessResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class CreateMonitorAgentProcessResponse extends AcsResponse {
26+
27+
private String code;
28+
29+
private String message;
30+
31+
private Boolean success;
32+
33+
private String requestId;
34+
35+
private Long id;
36+
37+
public String getCode() {
38+
return this.code;
39+
}
40+
41+
public void setCode(String code) {
42+
this.code = code;
43+
}
44+
45+
public String getMessage() {
46+
return this.message;
47+
}
48+
49+
public void setMessage(String message) {
50+
this.message = message;
51+
}
52+
53+
public Boolean getSuccess() {
54+
return this.success;
55+
}
56+
57+
public void setSuccess(Boolean success) {
58+
this.success = success;
59+
}
60+
61+
public String getRequestId() {
62+
return this.requestId;
63+
}
64+
65+
public void setRequestId(String requestId) {
66+
this.requestId = requestId;
67+
}
68+
69+
public Long getId() {
70+
return this.id;
71+
}
72+
73+
public void setId(Long id) {
74+
this.id = id;
75+
}
76+
77+
@Override
78+
public CreateMonitorAgentProcessResponse getInstance(UnmarshallerContext context) {
79+
return CreateMonitorAgentProcessResponseUnmarshaller.unmarshall(this, context);
80+
}
81+
}
Lines changed: 190 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,190 @@
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.cms.model.v20190101;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
19+
/**
20+
* @author auto create
21+
* @version
22+
*/
23+
public class DescribeAlertHistoryListRequest extends RpcAcsRequest<DescribeAlertHistoryListResponse> {
24+
25+
public DescribeAlertHistoryListRequest() {
26+
super("Cms", "2019-01-01", "DescribeAlertHistoryList", "cms");
27+
}
28+
29+
private String groupId;
30+
31+
private String alertStatus;
32+
33+
private String namespace;
34+
35+
private Integer pageSize;
36+
37+
private String endTime;
38+
39+
private String ruleName;
40+
41+
private String state;
42+
43+
private String startTime;
44+
45+
private Integer page;
46+
47+
private String ruleId;
48+
49+
private String metricName;
50+
51+
private Boolean ascending;
52+
53+
public String getGroupId() {
54+
return this.groupId;
55+
}
56+
57+
public void setGroupId(String groupId) {
58+
this.groupId = groupId;
59+
if(groupId != null){
60+
putQueryParameter("GroupId", groupId);
61+
}
62+
}
63+
64+
public String getAlertStatus() {
65+
return this.alertStatus;
66+
}
67+
68+
public void setAlertStatus(String alertStatus) {
69+
this.alertStatus = alertStatus;
70+
if(alertStatus != null){
71+
putQueryParameter("AlertStatus", alertStatus);
72+
}
73+
}
74+
75+
public String getNamespace() {
76+
return this.namespace;
77+
}
78+
79+
public void setNamespace(String namespace) {
80+
this.namespace = namespace;
81+
if(namespace != null){
82+
putQueryParameter("Namespace", namespace);
83+
}
84+
}
85+
86+
public Integer getPageSize() {
87+
return this.pageSize;
88+
}
89+
90+
public void setPageSize(Integer pageSize) {
91+
this.pageSize = pageSize;
92+
if(pageSize != null){
93+
putQueryParameter("PageSize", pageSize.toString());
94+
}
95+
}
96+
97+
public String getEndTime() {
98+
return this.endTime;
99+
}
100+
101+
public void setEndTime(String endTime) {
102+
this.endTime = endTime;
103+
if(endTime != null){
104+
putQueryParameter("EndTime", endTime);
105+
}
106+
}
107+
108+
public String getRuleName() {
109+
return this.ruleName;
110+
}
111+
112+
public void setRuleName(String ruleName) {
113+
this.ruleName = ruleName;
114+
if(ruleName != null){
115+
putQueryParameter("RuleName", ruleName);
116+
}
117+
}
118+
119+
public String getState() {
120+
return this.state;
121+
}
122+
123+
public void setState(String state) {
124+
this.state = state;
125+
if(state != null){
126+
putQueryParameter("State", state);
127+
}
128+
}
129+
130+
public String getStartTime() {
131+
return this.startTime;
132+
}
133+
134+
public void setStartTime(String startTime) {
135+
this.startTime = startTime;
136+
if(startTime != null){
137+
putQueryParameter("StartTime", startTime);
138+
}
139+
}
140+
141+
public Integer getPage() {
142+
return this.page;
143+
}
144+
145+
public void setPage(Integer page) {
146+
this.page = page;
147+
if(page != null){
148+
putQueryParameter("Page", page.toString());
149+
}
150+
}
151+
152+
public String getRuleId() {
153+
return this.ruleId;
154+
}
155+
156+
public void setRuleId(String ruleId) {
157+
this.ruleId = ruleId;
158+
if(ruleId != null){
159+
putQueryParameter("RuleId", ruleId);
160+
}
161+
}
162+
163+
public String getMetricName() {
164+
return this.metricName;
165+
}
166+
167+
public void setMetricName(String metricName) {
168+
this.metricName = metricName;
169+
if(metricName != null){
170+
putQueryParameter("MetricName", metricName);
171+
}
172+
}
173+
174+
public Boolean getAscending() {
175+
return this.ascending;
176+
}
177+
178+
public void setAscending(Boolean ascending) {
179+
this.ascending = ascending;
180+
if(ascending != null){
181+
putQueryParameter("Ascending", ascending.toString());
182+
}
183+
}
184+
185+
@Override
186+
public Class<DescribeAlertHistoryListResponse> getResponseClass() {
187+
return DescribeAlertHistoryListResponse.class;
188+
}
189+
190+
}

0 commit comments

Comments
 (0)