Skip to content

Commit 38d39e5

Browse files
committed
CS SDK Auto Released By xiaobing.meng,Version:4.7.11
发布日志: 1, Add new api,DescribeClusterAddonsVersion
1 parent 4670557 commit 38d39e5

File tree

47 files changed

+1043
-20
lines changed

Some content is hidden

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

47 files changed

+1043
-20
lines changed

aliyun-java-sdk-cs/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2019-05-16 Version: 4.7.11
2+
1, Add new api,DescribeClusterAddonsVersion
3+
14
2019-03-19 Version: 2.9.1
25
1, Update Dependency
36

aliyun-java-sdk-cs/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-cs</artifactId>
55
<packaging>jar</packaging>
6-
<version>2.9.1</version>
6+
<version>4.7.11</version>
77
<name>aliyun-java-sdk-cs</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>

aliyun-java-sdk-cs/src/main/java/com/aliyuncs/cs/model/v20151215/AttachInstancesRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
public class AttachInstancesRequest extends RoaAcsRequest<AttachInstancesResponse> {
2525

2626
public AttachInstancesRequest() {
27-
super("CS", "2015-12-15", "AttachInstances", "cs");
27+
super("CS", "2015-12-15", "AttachInstances");
2828
setUriPattern("/clusters/[ClusterId]/attach");
2929
setMethod(MethodType.POST);
3030
}

aliyun-java-sdk-cs/src/main/java/com/aliyuncs/cs/model/v20151215/CheckAliyunCSServiceRoleRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
public class CheckAliyunCSServiceRoleRequest extends RoaAcsRequest<CheckAliyunCSServiceRoleResponse> {
2525

2626
public CheckAliyunCSServiceRoleRequest() {
27-
super("CS", "2015-12-15", "CheckAliyunCSServiceRole", "cs");
27+
super("CS", "2015-12-15", "CheckAliyunCSServiceRole");
2828
setUriPattern("/aliyuncsrole/status");
2929
setMethod(MethodType.GET);
3030
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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.cs.model.v20151215;
16+
17+
import com.aliyuncs.RoaAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
20+
/**
21+
* @author auto create
22+
* @version
23+
*/
24+
public class CreateClusterByResourcesGroupRequest extends RoaAcsRequest<CreateClusterByResourcesGroupResponse> {
25+
26+
public CreateClusterByResourcesGroupRequest() {
27+
super("CS", "2015-12-15", "CreateClusterByResourcesGroup");
28+
setUriPattern("/resource_groups/[ResourceGroupId]/clusters");
29+
setMethod(MethodType.POST);
30+
}
31+
32+
private String resourceGroupId;
33+
34+
public String getResourceGroupId() {
35+
return this.resourceGroupId;
36+
}
37+
38+
public void setResourceGroupId(String resourceGroupId) {
39+
this.resourceGroupId = resourceGroupId;
40+
if(resourceGroupId != null){
41+
putPathParameter("ResourceGroupId", resourceGroupId);
42+
}
43+
}
44+
45+
@Override
46+
public Class<CreateClusterByResourcesGroupResponse> getResponseClass() {
47+
return CreateClusterByResourcesGroupResponse.class;
48+
}
49+
50+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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.cs.model.v20151215;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.cs.transform.v20151215.CreateClusterByResourcesGroupResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class CreateClusterByResourcesGroupResponse 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 CreateClusterByResourcesGroupResponse getInstance(UnmarshallerContext context) {
39+
return CreateClusterByResourcesGroupResponseUnmarshaller.unmarshall(this, context);
40+
}
41+
}

aliyun-java-sdk-cs/src/main/java/com/aliyuncs/cs/model/v20151215/CreateClusterRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
public class CreateClusterRequest extends RoaAcsRequest<CreateClusterResponse> {
2525

2626
public CreateClusterRequest() {
27-
super("CS", "2015-12-15", "CreateCluster", "cs");
27+
super("CS", "2015-12-15", "CreateCluster");
2828
setUriPattern("/clusters");
2929
setMethod(MethodType.POST);
3030
}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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.cs.model.v20151215;
16+
17+
import com.aliyuncs.RoaAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
20+
/**
21+
* @author auto create
22+
* @version
23+
*/
24+
public class CreateTriggerHookRequest extends RoaAcsRequest<CreateTriggerHookResponse> {
25+
26+
public CreateTriggerHookRequest() {
27+
super("CS", "2015-12-15", "CreateTriggerHook");
28+
setUriPattern("/hook/trigger");
29+
setMethod(MethodType.PUT);
30+
}
31+
32+
@Override
33+
public Class<CreateTriggerHookResponse> getResponseClass() {
34+
return CreateTriggerHookResponse.class;
35+
}
36+
37+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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.cs.model.v20151215;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.cs.transform.v20151215.CreateTriggerHookResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class CreateTriggerHookResponse 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 CreateTriggerHookResponse getInstance(UnmarshallerContext context) {
39+
return CreateTriggerHookResponseUnmarshaller.unmarshall(this, context);
40+
}
41+
}

aliyun-java-sdk-cs/src/main/java/com/aliyuncs/cs/model/v20151215/DeleteClusterNodeRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
public class DeleteClusterNodeRequest extends RoaAcsRequest<DeleteClusterNodeResponse> {
2525

2626
public DeleteClusterNodeRequest() {
27-
super("CS", "2015-12-15", "DeleteClusterNode", "cs");
27+
super("CS", "2015-12-15", "DeleteClusterNode");
2828
setUriPattern("/clusters/[ClusterId]/ip/[Ip]");
2929
setMethod(MethodType.DELETE);
3030
}

0 commit comments

Comments
 (0)