Skip to content

Commit

Permalink
DescribeInstance taskStatus.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Jul 24, 2024
1 parent abfb8b9 commit 33cbc71
Show file tree
Hide file tree
Showing 213 changed files with 4,240 additions and 1,701 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-hbase/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-07-24 Version: 2.9.10
- DescribeInstance taskStatus.

2022-02-21 Version: 2.9.9
- Add event tasks.
- DescribeInstance taskProgress.
Expand Down
12 changes: 6 additions & 6 deletions aliyun-java-sdk-hbase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-hbase</artifactId>
<packaging>jar</packaging>
<version>2.9.9</version>
<version>2.9.10</version>
<name>aliyun-java-sdk-hbase</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand All @@ -27,7 +27,7 @@ http://www.aliyun.com</description>
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-core</artifactId>
<optional>true</optional>
<version>[4.3.2,5.0.0)</version>
<version>[4.4.9,5.0.0)</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
Expand All @@ -37,9 +37,8 @@ http://www.aliyun.com</description>
</dependencies>
<licenses>
<license>
<name/>
<url/>
<distribution/>
<name>The Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<scm>
Expand Down Expand Up @@ -84,9 +83,10 @@ http://www.aliyun.com</description>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8</version>
<version>3.1.0</version>
<configuration>
<encoding>UTF-8</encoding>
<doclint>none</doclint>
</configuration>
</plugin>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,49 +19,18 @@
public class Endpoint {
public static HashMap<String, String> endpointMap = new HashMap<String, String>() {
{
put("cn-shanghai-internal-test-1", "hbase.aliyuncs.com");
put("cn-beijing-gov-1", "hbase.aliyuncs.com");
put("cn-shenzhen-su18-b01", "hbase.aliyuncs.com");
put("cn-beijing", "hbase.aliyuncs.com");
put("cn-shanghai-inner", "hbase.aliyuncs.com");
put("cn-shenzhen-st4-d01", "hbase.aliyuncs.com");
put("cn-haidian-cm12-c01", "hbase.aliyuncs.com");
put("cn-hangzhou-internal-prod-1", "hbase.aliyuncs.com");
put("cn-north-2-gov-1", "hbase.aliyuncs.com");
put("cn-yushanfang", "hbase.aliyuncs.com");
put("cn-shenzhen", "hbase.aliyuncs.com");
put("cn-qingdao", "hbase.aliyuncs.com");
put("cn-hongkong-finance-pop", "hbase.aliyuncs.com");
put("cn-qingdao-nebula", "hbase.aliyuncs.com");
put("cn-beijing", "hbase.aliyuncs.com");
put("cn-shanghai", "hbase.aliyuncs.com");
put("cn-shanghai-finance-1", "hbase.aliyuncs.com");
put("cn-hongkong", "hbase.aliyuncs.com");
put("cn-beijing-finance-pop", "hbase.aliyuncs.com");
put("cn-wuhan", "hbase.aliyuncs.com");
put("us-west-1", "hbase.aliyuncs.com");
put("cn-shenzhen", "hbase.aliyuncs.com");
put("cn-zhengzhou-nebula-1", "hbase.aliyuncs.com");
put("rus-west-1-pop", "hbase.ap-northeast-1.aliyuncs.com");
put("cn-shanghai-et15-b01", "hbase.aliyuncs.com");
put("cn-hangzhou-bj-b01", "hbase.aliyuncs.com");
put("cn-hangzhou-internal-test-1", "hbase.aliyuncs.com");
put("eu-west-1-oxs", "hbase.ap-northeast-1.aliyuncs.com");
put("cn-zhangbei-na61-b01", "hbase.aliyuncs.com");
put("cn-beijing-finance-1", "hbase.aliyuncs.com");
put("cn-hangzhou-internal-test-3", "hbase.aliyuncs.com");
put("cn-hangzhou-internal-test-2", "hbase.aliyuncs.com");
put("cn-shenzhen-finance-1", "hbase.aliyuncs.com");
put("cn-hangzhou-test-306", "hbase.aliyuncs.com");
put("cn-shanghai-et2-b01", "hbase.aliyuncs.com");
put("cn-guangzhou", "hbase.aliyuncs.com");
put("cn-hangzhou-finance", "hbase.aliyuncs.com");
put("cn-hongkong", "hbase.aliyuncs.com");
put("ap-southeast-1", "hbase.aliyuncs.com");
put("cn-beijing-nu16-b01", "hbase.aliyuncs.com");
put("cn-edge-1", "hbase.aliyuncs.com");
put("cn-fujian", "hbase.aliyuncs.com");
put("us-east-1", "hbase.aliyuncs.com");
put("ap-northeast-2-pop", "hbase.aliyuncs.com");
put("cn-shenzhen-inner", "hbase.aliyuncs.com");
put("cn-zhangjiakou-na62-a01", "hbase.aliyuncs.com");
put("cn-shenzhen-finance-1", "hbase.aliyuncs.com");
put("cn-hangzhou", "hbase.aliyuncs.com");
put("cn-north-2-gov-1", "hbase.aliyuncs.com");
}
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class AddUserHdfsInfoRequest extends RpcAcsRequest<AddUserHdfsInfoRespons

private String clusterId;
public AddUserHdfsInfoRequest() {
super("HBase", "2019-01-01", "AddUserHdfsInfo", "hbase");
super("HBase", "2019-01-01", "AddUserHdfsInfo");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class AllocatePublicNetworkAddressRequest extends RpcAcsRequest<AllocateP

private String clusterId;
public AllocatePublicNetworkAddressRequest() {
super("HBase", "2019-01-01", "AllocatePublicNetworkAddress", "hbase");
super("HBase", "2019-01-01", "AllocatePublicNetworkAddress");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.aliyuncs.hbase.model.v20190101;

import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.hbase.Endpoint;

/**
* @author auto create
* @version
*/
public class CancelActiveOperationTasksRequest extends RpcAcsRequest<CancelActiveOperationTasksResponse> {


private Long resourceOwnerId;

private String securityToken;

private String resourceOwnerAccount;

private String ownerAccount;

private Long ownerId;

private String ids;
public CancelActiveOperationTasksRequest() {
super("HBase", "2019-01-01", "CancelActiveOperationTasks");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}

public Long getResourceOwnerId() {
return this.resourceOwnerId;
}

public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}

public String getSecurityToken() {
return this.securityToken;
}

public void setSecurityToken(String securityToken) {
this.securityToken = securityToken;
if(securityToken != null){
putQueryParameter("SecurityToken", securityToken);
}
}

public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}

public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}

public String getOwnerAccount() {
return this.ownerAccount;
}

public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}

public Long getOwnerId() {
return this.ownerId;
}

public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}

public String getIds() {
return this.ids;
}

public void setIds(String ids) {
this.ids = ids;
if(ids != null){
putQueryParameter("Ids", ids);
}
}

@Override
public Class<CancelActiveOperationTasksResponse> getResponseClass() {
return CancelActiveOperationTasksResponse.class;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.aliyuncs.hbase.model.v20190101;

import com.aliyuncs.AcsResponse;
import com.aliyuncs.hbase.transform.v20190101.CancelActiveOperationTasksResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

/**
* @author auto create
* @version
*/
public class CancelActiveOperationTasksResponse extends AcsResponse {

private String ids;

private String requestId;

public String getIds() {
return this.ids;
}

public void setIds(String ids) {
this.ids = ids;
}

public String getRequestId() {
return this.requestId;
}

public void setRequestId(String requestId) {
this.requestId = requestId;
}

@Override
public CancelActiveOperationTasksResponse getInstance(UnmarshallerContext context) {
return CancelActiveOperationTasksResponseUnmarshaller.unmarshall(this, context);
}

@Override
public boolean checkShowJsonItemName() {
return false;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class CheckComponentsVersionRequest extends RpcAcsRequest<CheckComponents

private String clusterId;
public CheckComponentsVersionRequest() {
super("HBase", "2019-01-01", "CheckComponentsVersion", "hbase");
super("HBase", "2019-01-01", "CheckComponentsVersion");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,9 @@ public void setComponents(List<Component> components) {

public static class Component {

private String component;

private String isLatestVersion;

public String getComponent() {
return this.component;
}

public void setComponent(String component) {
this.component = component;
}
private String component;

public String getIsLatestVersion() {
return this.isLatestVersion;
Expand All @@ -66,6 +58,14 @@ public String getIsLatestVersion() {
public void setIsLatestVersion(String isLatestVersion) {
this.isLatestVersion = isLatestVersion;
}

public String getComponent() {
return this.component;
}

public void setComponent(String component) {
this.component = component;
}
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class CloseBackupRequest extends RpcAcsRequest<CloseBackupResponse> {

private String clusterId;
public CloseBackupRequest() {
super("HBase", "2019-01-01", "CloseBackup", "hbase");
super("HBase", "2019-01-01", "CloseBackup");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class ConvertInstanceRequest extends RpcAcsRequest<ConvertInstanceRespons

private String payType;
public ConvertInstanceRequest() {
super("HBase", "2019-01-01", "ConvertInstance", "hbase");
super("HBase", "2019-01-01", "ConvertInstance");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,9 @@
*/
public class ConvertInstanceResponse extends AcsResponse {

private String requestId;

private Long orderId;

public String getRequestId() {
return this.requestId;
}

public void setRequestId(String requestId) {
this.requestId = requestId;
}
private String requestId;

public Long getOrderId() {
return this.orderId;
Expand All @@ -44,6 +36,14 @@ public void setOrderId(Long orderId) {
this.orderId = orderId;
}

public String getRequestId() {
return this.requestId;
}

public void setRequestId(String requestId) {
this.requestId = requestId;
}

@Override
public ConvertInstanceResponse getInstance(UnmarshallerContext context) {
return ConvertInstanceResponseUnmarshaller.unmarshall(this, context);
Expand Down
Loading

0 comments on commit 33cbc71

Please sign in to comment.