Explorar el Código

Generated 2019-01-01 for HBase.

sdk-team hace 6 años
padre
commit
132a134a0e

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-12-04 Version: v1.60.283
+- Generated 2019-01-01 for `HBase`.
+
 2019-12-04 Version: v1.60.282
 - Supported ModifyDBInstanceSpec for Direction param.
 

+ 106 - 0
services/hbase/create_hbase_ha_slb.go

@@ -0,0 +1,106 @@
+package hbase
+
+//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.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// CreateHbaseHaSlb invokes the hbase.CreateHbaseHaSlb API synchronously
+// api document: https://help.aliyun.com/api/hbase/createhbasehaslb.html
+func (client *Client) CreateHbaseHaSlb(request *CreateHbaseHaSlbRequest) (response *CreateHbaseHaSlbResponse, err error) {
+	response = CreateCreateHbaseHaSlbResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateHbaseHaSlbWithChan invokes the hbase.CreateHbaseHaSlb API asynchronously
+// api document: https://help.aliyun.com/api/hbase/createhbasehaslb.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateHbaseHaSlbWithChan(request *CreateHbaseHaSlbRequest) (<-chan *CreateHbaseHaSlbResponse, <-chan error) {
+	responseChan := make(chan *CreateHbaseHaSlbResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateHbaseHaSlb(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateHbaseHaSlbWithCallback invokes the hbase.CreateHbaseHaSlb API asynchronously
+// api document: https://help.aliyun.com/api/hbase/createhbasehaslb.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateHbaseHaSlbWithCallback(request *CreateHbaseHaSlbRequest, callback func(response *CreateHbaseHaSlbResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateHbaseHaSlbResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateHbaseHaSlb(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateHbaseHaSlbRequest is the request struct for api CreateHbaseHaSlb
+type CreateHbaseHaSlbRequest struct {
+	*requests.RpcRequest
+	HaTypes   string `position:"Query" name:"HaTypes"`
+	HbaseType string `position:"Query" name:"HbaseType"`
+	BdsId     string `position:"Query" name:"BdsId"`
+	HaId      string `position:"Query" name:"HaId"`
+}
+
+// CreateHbaseHaSlbResponse is the response struct for api CreateHbaseHaSlb
+type CreateHbaseHaSlbResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateCreateHbaseHaSlbRequest creates a request to invoke CreateHbaseHaSlb API
+func CreateCreateHbaseHaSlbRequest() (request *CreateHbaseHaSlbRequest) {
+	request = &CreateHbaseHaSlbRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("HBase", "2019-01-01", "CreateHbaseHaSlb", "hbase", "openAPI")
+	return
+}
+
+// CreateCreateHbaseHaSlbResponse creates a response to parse from CreateHbaseHaSlb response
+func CreateCreateHbaseHaSlbResponse() (response *CreateHbaseHaSlbResponse) {
+	response = &CreateHbaseHaSlbResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/hbase/delete_hbase_ha_slb.go

@@ -0,0 +1,105 @@
+package hbase
+
+//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.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DeleteHbaseHaSlb invokes the hbase.DeleteHbaseHaSlb API synchronously
+// api document: https://help.aliyun.com/api/hbase/deletehbasehaslb.html
+func (client *Client) DeleteHbaseHaSlb(request *DeleteHbaseHaSlbRequest) (response *DeleteHbaseHaSlbResponse, err error) {
+	response = CreateDeleteHbaseHaSlbResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteHbaseHaSlbWithChan invokes the hbase.DeleteHbaseHaSlb API asynchronously
+// api document: https://help.aliyun.com/api/hbase/deletehbasehaslb.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteHbaseHaSlbWithChan(request *DeleteHbaseHaSlbRequest) (<-chan *DeleteHbaseHaSlbResponse, <-chan error) {
+	responseChan := make(chan *DeleteHbaseHaSlbResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteHbaseHaSlb(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteHbaseHaSlbWithCallback invokes the hbase.DeleteHbaseHaSlb API asynchronously
+// api document: https://help.aliyun.com/api/hbase/deletehbasehaslb.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteHbaseHaSlbWithCallback(request *DeleteHbaseHaSlbRequest, callback func(response *DeleteHbaseHaSlbResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteHbaseHaSlbResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteHbaseHaSlb(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteHbaseHaSlbRequest is the request struct for api DeleteHbaseHaSlb
+type DeleteHbaseHaSlbRequest struct {
+	*requests.RpcRequest
+	HaId    string `position:"Query" name:"HaId"`
+	HaTypes string `position:"Query" name:"HaTypes"`
+	BdsId   string `position:"Query" name:"BdsId"`
+}
+
+// DeleteHbaseHaSlbResponse is the response struct for api DeleteHbaseHaSlb
+type DeleteHbaseHaSlbResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateDeleteHbaseHaSlbRequest creates a request to invoke DeleteHbaseHaSlb API
+func CreateDeleteHbaseHaSlbRequest() (request *DeleteHbaseHaSlbRequest) {
+	request = &DeleteHbaseHaSlbRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("HBase", "2019-01-01", "DeleteHbaseHaSlb", "hbase", "openAPI")
+	return
+}
+
+// CreateDeleteHbaseHaSlbResponse creates a response to parse from DeleteHbaseHaSlb response
+func CreateDeleteHbaseHaSlbResponse() (response *DeleteHbaseHaSlbResponse) {
+	response = &DeleteHbaseHaSlbResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/hbase/describe_db_instance_usage.go

@@ -0,0 +1,104 @@
+package hbase
+
+//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.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DescribeDBInstanceUsage invokes the hbase.DescribeDBInstanceUsage API synchronously
+// api document: https://help.aliyun.com/api/hbase/describedbinstanceusage.html
+func (client *Client) DescribeDBInstanceUsage(request *DescribeDBInstanceUsageRequest) (response *DescribeDBInstanceUsageResponse, err error) {
+	response = CreateDescribeDBInstanceUsageResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeDBInstanceUsageWithChan invokes the hbase.DescribeDBInstanceUsage API asynchronously
+// api document: https://help.aliyun.com/api/hbase/describedbinstanceusage.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDBInstanceUsageWithChan(request *DescribeDBInstanceUsageRequest) (<-chan *DescribeDBInstanceUsageResponse, <-chan error) {
+	responseChan := make(chan *DescribeDBInstanceUsageResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeDBInstanceUsage(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeDBInstanceUsageWithCallback invokes the hbase.DescribeDBInstanceUsage API asynchronously
+// api document: https://help.aliyun.com/api/hbase/describedbinstanceusage.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeDBInstanceUsageWithCallback(request *DescribeDBInstanceUsageRequest, callback func(response *DescribeDBInstanceUsageResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeDBInstanceUsageResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeDBInstanceUsage(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeDBInstanceUsageRequest is the request struct for api DescribeDBInstanceUsage
+type DescribeDBInstanceUsageRequest struct {
+	*requests.RpcRequest
+	ClusterId string `position:"Query" name:"ClusterId"`
+}
+
+// DescribeDBInstanceUsageResponse is the response struct for api DescribeDBInstanceUsage
+type DescribeDBInstanceUsageResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Result    string `json:"Result" xml:"Result"`
+}
+
+// CreateDescribeDBInstanceUsageRequest creates a request to invoke DescribeDBInstanceUsage API
+func CreateDescribeDBInstanceUsageRequest() (request *DescribeDBInstanceUsageRequest) {
+	request = &DescribeDBInstanceUsageRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("HBase", "2019-01-01", "DescribeDBInstanceUsage", "hbase", "openAPI")
+	return
+}
+
+// CreateDescribeDBInstanceUsageResponse creates a response to parse from DescribeDBInstanceUsage response
+func CreateDescribeDBInstanceUsageResponse() (response *DescribeDBInstanceUsageResponse) {
+	response = &DescribeDBInstanceUsageResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 2 - 0
services/hbase/describe_instance.go

@@ -109,6 +109,8 @@ type DescribeInstanceResponse struct {
 	ColdStorageStatus  string `json:"ColdStorageStatus" xml:"ColdStorageStatus"`
 	BackupStatus       string `json:"BackupStatus" xml:"BackupStatus"`
 	CoreDiskCount      string `json:"CoreDiskCount" xml:"CoreDiskCount"`
+	MaintainStartTime  string `json:"MaintainStartTime" xml:"MaintainStartTime"`
+	MaintainEndTime    string `json:"MaintainEndTime" xml:"MaintainEndTime"`
 	Tags               Tags   `json:"Tags" xml:"Tags"`
 }
 

+ 104 - 0
services/hbase/describe_instance_type.go

@@ -0,0 +1,104 @@
+package hbase
+
+//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.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DescribeInstanceType invokes the hbase.DescribeInstanceType API synchronously
+// api document: https://help.aliyun.com/api/hbase/describeinstancetype.html
+func (client *Client) DescribeInstanceType(request *DescribeInstanceTypeRequest) (response *DescribeInstanceTypeResponse, err error) {
+	response = CreateDescribeInstanceTypeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeInstanceTypeWithChan invokes the hbase.DescribeInstanceType API asynchronously
+// api document: https://help.aliyun.com/api/hbase/describeinstancetype.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeInstanceTypeWithChan(request *DescribeInstanceTypeRequest) (<-chan *DescribeInstanceTypeResponse, <-chan error) {
+	responseChan := make(chan *DescribeInstanceTypeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeInstanceType(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeInstanceTypeWithCallback invokes the hbase.DescribeInstanceType API asynchronously
+// api document: https://help.aliyun.com/api/hbase/describeinstancetype.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeInstanceTypeWithCallback(request *DescribeInstanceTypeRequest, callback func(response *DescribeInstanceTypeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeInstanceTypeResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeInstanceType(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeInstanceTypeRequest is the request struct for api DescribeInstanceType
+type DescribeInstanceTypeRequest struct {
+	*requests.RpcRequest
+	InstanceType string `position:"Query" name:"InstanceType"`
+}
+
+// DescribeInstanceTypeResponse is the response struct for api DescribeInstanceType
+type DescribeInstanceTypeResponse struct {
+	*responses.BaseResponse
+	RequestId            string               `json:"RequestId" xml:"RequestId"`
+	InstanceTypeSpecList InstanceTypeSpecList `json:"InstanceTypeSpecList" xml:"InstanceTypeSpecList"`
+}
+
+// CreateDescribeInstanceTypeRequest creates a request to invoke DescribeInstanceType API
+func CreateDescribeInstanceTypeRequest() (request *DescribeInstanceTypeRequest) {
+	request = &DescribeInstanceTypeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("HBase", "2019-01-01", "DescribeInstanceType", "hbase", "openAPI")
+	return
+}
+
+// CreateDescribeInstanceTypeResponse creates a response to parse from DescribeInstanceType response
+func CreateDescribeInstanceTypeResponse() (response *DescribeInstanceTypeResponse) {
+	response = &DescribeInstanceTypeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 113 - 0
services/hbase/list_tag_resources.go

@@ -0,0 +1,113 @@
+package hbase
+
+//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.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// ListTagResources invokes the hbase.ListTagResources API synchronously
+// api document: https://help.aliyun.com/api/hbase/listtagresources.html
+func (client *Client) ListTagResources(request *ListTagResourcesRequest) (response *ListTagResourcesResponse, err error) {
+	response = CreateListTagResourcesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListTagResourcesWithChan invokes the hbase.ListTagResources API asynchronously
+// api document: https://help.aliyun.com/api/hbase/listtagresources.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListTagResourcesWithChan(request *ListTagResourcesRequest) (<-chan *ListTagResourcesResponse, <-chan error) {
+	responseChan := make(chan *ListTagResourcesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListTagResources(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListTagResourcesWithCallback invokes the hbase.ListTagResources API asynchronously
+// api document: https://help.aliyun.com/api/hbase/listtagresources.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListTagResourcesWithCallback(request *ListTagResourcesRequest, callback func(response *ListTagResourcesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListTagResourcesResponse
+		var err error
+		defer close(result)
+		response, err = client.ListTagResources(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListTagResourcesRequest is the request struct for api ListTagResources
+type ListTagResourcesRequest struct {
+	*requests.RpcRequest
+	NextToken  string                 `position:"Query" name:"NextToken"`
+	Tag        *[]ListTagResourcesTag `position:"Query" name:"Tag"  type:"Repeated"`
+	ResourceId *[]string              `position:"Query" name:"ResourceId"  type:"Repeated"`
+}
+
+// ListTagResourcesTag is a repeated param struct in ListTagResourcesRequest
+type ListTagResourcesTag struct {
+	Value string `name:"Value"`
+	Key   string `name:"Key"`
+}
+
+// ListTagResourcesResponse is the response struct for api ListTagResources
+type ListTagResourcesResponse struct {
+	*responses.BaseResponse
+	RequestId    string       `json:"RequestId" xml:"RequestId"`
+	NextToken    string       `json:"NextToken" xml:"NextToken"`
+	TagResources TagResources `json:"TagResources" xml:"TagResources"`
+}
+
+// CreateListTagResourcesRequest creates a request to invoke ListTagResources API
+func CreateListTagResourcesRequest() (request *ListTagResourcesRequest) {
+	request = &ListTagResourcesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("HBase", "2019-01-01", "ListTagResources", "hbase", "openAPI")
+	return
+}
+
+// CreateListTagResourcesResponse creates a response to parse from ListTagResources response
+func CreateListTagResourcesResponse() (response *ListTagResourcesResponse) {
+	response = &ListTagResourcesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/hbase/modify_instance_maintain_time.go

@@ -0,0 +1,105 @@
+package hbase
+
+//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.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// ModifyInstanceMaintainTime invokes the hbase.ModifyInstanceMaintainTime API synchronously
+// api document: https://help.aliyun.com/api/hbase/modifyinstancemaintaintime.html
+func (client *Client) ModifyInstanceMaintainTime(request *ModifyInstanceMaintainTimeRequest) (response *ModifyInstanceMaintainTimeResponse, err error) {
+	response = CreateModifyInstanceMaintainTimeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ModifyInstanceMaintainTimeWithChan invokes the hbase.ModifyInstanceMaintainTime API asynchronously
+// api document: https://help.aliyun.com/api/hbase/modifyinstancemaintaintime.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyInstanceMaintainTimeWithChan(request *ModifyInstanceMaintainTimeRequest) (<-chan *ModifyInstanceMaintainTimeResponse, <-chan error) {
+	responseChan := make(chan *ModifyInstanceMaintainTimeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyInstanceMaintainTime(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ModifyInstanceMaintainTimeWithCallback invokes the hbase.ModifyInstanceMaintainTime API asynchronously
+// api document: https://help.aliyun.com/api/hbase/modifyinstancemaintaintime.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyInstanceMaintainTimeWithCallback(request *ModifyInstanceMaintainTimeRequest, callback func(response *ModifyInstanceMaintainTimeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyInstanceMaintainTimeResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyInstanceMaintainTime(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ModifyInstanceMaintainTimeRequest is the request struct for api ModifyInstanceMaintainTime
+type ModifyInstanceMaintainTimeRequest struct {
+	*requests.RpcRequest
+	ClusterId         string `position:"Query" name:"ClusterId"`
+	MaintainEndTime   string `position:"Query" name:"MaintainEndTime"`
+	MaintainStartTime string `position:"Query" name:"MaintainStartTime"`
+}
+
+// ModifyInstanceMaintainTimeResponse is the response struct for api ModifyInstanceMaintainTime
+type ModifyInstanceMaintainTimeResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateModifyInstanceMaintainTimeRequest creates a request to invoke ModifyInstanceMaintainTime API
+func CreateModifyInstanceMaintainTimeRequest() (request *ModifyInstanceMaintainTimeRequest) {
+	request = &ModifyInstanceMaintainTimeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("HBase", "2019-01-01", "ModifyInstanceMaintainTime", "hbase", "openAPI")
+	return
+}
+
+// CreateModifyInstanceMaintainTimeResponse creates a response to parse from ModifyInstanceMaintainTime response
+func CreateModifyInstanceMaintainTimeResponse() (response *ModifyInstanceMaintainTimeResponse) {
+	response = &ModifyInstanceMaintainTimeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/hbase/query_h_base_ha_db.go

@@ -0,0 +1,107 @@
+package hbase
+
+//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.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// QueryHBaseHaDB invokes the hbase.QueryHBaseHaDB API synchronously
+// api document: https://help.aliyun.com/api/hbase/queryhbasehadb.html
+func (client *Client) QueryHBaseHaDB(request *QueryHBaseHaDBRequest) (response *QueryHBaseHaDBResponse, err error) {
+	response = CreateQueryHBaseHaDBResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryHBaseHaDBWithChan invokes the hbase.QueryHBaseHaDB API asynchronously
+// api document: https://help.aliyun.com/api/hbase/queryhbasehadb.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryHBaseHaDBWithChan(request *QueryHBaseHaDBRequest) (<-chan *QueryHBaseHaDBResponse, <-chan error) {
+	responseChan := make(chan *QueryHBaseHaDBResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryHBaseHaDB(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryHBaseHaDBWithCallback invokes the hbase.QueryHBaseHaDB API asynchronously
+// api document: https://help.aliyun.com/api/hbase/queryhbasehadb.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryHBaseHaDBWithCallback(request *QueryHBaseHaDBRequest, callback func(response *QueryHBaseHaDBResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryHBaseHaDBResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryHBaseHaDB(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryHBaseHaDBRequest is the request struct for api QueryHBaseHaDB
+type QueryHBaseHaDBRequest struct {
+	*requests.RpcRequest
+	BdsId string `position:"Query" name:"BdsId"`
+}
+
+// QueryHBaseHaDBResponse is the response struct for api QueryHBaseHaDB
+type QueryHBaseHaDBResponse struct {
+	*responses.BaseResponse
+	RequestId   string                      `json:"RequestId" xml:"RequestId"`
+	TotalCount  int64                       `json:"TotalCount" xml:"TotalCount"`
+	PageNumber  int                         `json:"PageNumber" xml:"PageNumber"`
+	PageSize    int                         `json:"PageSize" xml:"PageSize"`
+	ClusterList ClusterListInQueryHBaseHaDB `json:"ClusterList" xml:"ClusterList"`
+}
+
+// CreateQueryHBaseHaDBRequest creates a request to invoke QueryHBaseHaDB API
+func CreateQueryHBaseHaDBRequest() (request *QueryHBaseHaDBRequest) {
+	request = &QueryHBaseHaDBRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("HBase", "2019-01-01", "QueryHBaseHaDB", "hbase", "openAPI")
+	return
+}
+
+// CreateQueryHBaseHaDBResponse creates a response to parse from QueryHBaseHaDB response
+func CreateQueryHBaseHaDBResponse() (response *QueryHBaseHaDBResponse) {
+	response = &QueryHBaseHaDBResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 2 - 2
services/hbase/query_xpack_relate_db.go

@@ -83,8 +83,8 @@ type QueryXpackRelateDBRequest struct {
 // QueryXpackRelateDBResponse is the response struct for api QueryXpackRelateDB
 type QueryXpackRelateDBResponse struct {
 	*responses.BaseResponse
-	RequestId   string      `json:"RequestId" xml:"RequestId"`
-	ClusterList ClusterList `json:"ClusterList" xml:"ClusterList"`
+	RequestId   string                          `json:"RequestId" xml:"RequestId"`
+	ClusterList ClusterListInQueryXpackRelateDB `json:"ClusterList" xml:"ClusterList"`
 }
 
 // CreateQueryXpackRelateDBRequest creates a request to invoke QueryXpackRelateDB API

+ 12 - 7
services/hbase/struct_cluster.go

@@ -17,11 +17,16 @@ package hbase
 
 // Cluster is a nested struct in hbase response
 type Cluster struct {
-	ClusterId   string `json:"ClusterId" xml:"ClusterId"`
-	ClusterName string `json:"ClusterName" xml:"ClusterName"`
-	DBVersion   string `json:"DBVersion" xml:"DBVersion"`
-	Status      string `json:"Status" xml:"Status"`
-	DBType      string `json:"DBType" xml:"DBType"`
-	IsRelated   bool   `json:"IsRelated" xml:"IsRelated"`
-	LockMode    string `json:"LockMode" xml:"LockMode"`
+	HaName        string        `json:"HaName" xml:"HaName"`
+	ClusterId     string        `json:"ClusterId" xml:"ClusterId"`
+	DBVersion     string        `json:"DBVersion" xml:"DBVersion"`
+	DBType        string        `json:"DBType" xml:"DBType"`
+	BdsName       string        `json:"BdsName" xml:"BdsName"`
+	StandbyName   string        `json:"StandbyName" xml:"StandbyName"`
+	IsRelated     bool          `json:"IsRelated" xml:"IsRelated"`
+	ActiveName    string        `json:"ActiveName" xml:"ActiveName"`
+	ClusterName   string        `json:"ClusterName" xml:"ClusterName"`
+	Status        string        `json:"Status" xml:"Status"`
+	LockMode      string        `json:"LockMode" xml:"LockMode"`
+	HaSlbConnList HaSlbConnList `json:"HaSlbConnList" xml:"HaSlbConnList"`
 }

+ 2 - 2
services/hbase/struct_cluster_list.go → services/hbase/struct_cluster_list_in_query_h_base_ha_db.go

@@ -15,7 +15,7 @@ package hbase
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// ClusterList is a nested struct in hbase response
-type ClusterList struct {
+// ClusterListInQueryHBaseHaDB is a nested struct in hbase response
+type ClusterListInQueryHBaseHaDB struct {
 	Cluster []Cluster `json:"Cluster" xml:"Cluster"`
 }

+ 21 - 0
services/hbase/struct_cluster_list_in_query_xpack_relate_db.go

@@ -0,0 +1,21 @@
+package hbase
+
+//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.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// ClusterListInQueryXpackRelateDB is a nested struct in hbase response
+type ClusterListInQueryXpackRelateDB struct {
+	Cluster []Cluster `json:"Cluster" xml:"Cluster"`
+}

+ 23 - 0
services/hbase/struct_ha_slb_conn.go

@@ -0,0 +1,23 @@
+package hbase
+
+//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.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// HaSlbConn is a nested struct in hbase response
+type HaSlbConn struct {
+	SlbType     string `json:"SlbType" xml:"SlbType"`
+	SlbConnAddr string `json:"SlbConnAddr" xml:"SlbConnAddr"`
+	HbaseType   string `json:"HbaseType" xml:"HbaseType"`
+}

+ 21 - 0
services/hbase/struct_ha_slb_conn_list.go

@@ -0,0 +1,21 @@
+package hbase
+
+//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.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// HaSlbConnList is a nested struct in hbase response
+type HaSlbConnList struct {
+	HaSlbConn []HaSlbConn `json:"HaSlbConn" xml:"HaSlbConn"`
+}

+ 23 - 0
services/hbase/struct_instance_type_spec.go

@@ -0,0 +1,23 @@
+package hbase
+
+//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.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// InstanceTypeSpec is a nested struct in hbase response
+type InstanceTypeSpec struct {
+	InstanceType string `json:"InstanceType" xml:"InstanceType"`
+	CpuSize      int64  `json:"CpuSize" xml:"CpuSize"`
+	MemSize      int64  `json:"MemSize" xml:"MemSize"`
+}

+ 21 - 0
services/hbase/struct_instance_type_spec_list.go

@@ -0,0 +1,21 @@
+package hbase
+
+//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.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// InstanceTypeSpecList is a nested struct in hbase response
+type InstanceTypeSpecList struct {
+	InstanceTypeSpec []InstanceTypeSpec `json:"InstanceTypeSpec" xml:"InstanceTypeSpec"`
+}

+ 24 - 0
services/hbase/struct_tag_resource.go

@@ -0,0 +1,24 @@
+package hbase
+
+//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.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// TagResource is a nested struct in hbase response
+type TagResource struct {
+	TagKey       string `json:"TagKey" xml:"TagKey"`
+	TagValue     string `json:"TagValue" xml:"TagValue"`
+	ResourceType string `json:"ResourceType" xml:"ResourceType"`
+	ResourceId   string `json:"ResourceId" xml:"ResourceId"`
+}

+ 21 - 0
services/hbase/struct_tag_resources.go

@@ -0,0 +1,21 @@
+package hbase
+
+//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.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// TagResources is a nested struct in hbase response
+type TagResources struct {
+	TagResource []TagResource `json:"TagResource" xml:"TagResource"`
+}

+ 106 - 0
services/hbase/switch_hbase_ha_slb.go

@@ -0,0 +1,106 @@
+package hbase
+
+//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.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// SwitchHbaseHaSlb invokes the hbase.SwitchHbaseHaSlb API synchronously
+// api document: https://help.aliyun.com/api/hbase/switchhbasehaslb.html
+func (client *Client) SwitchHbaseHaSlb(request *SwitchHbaseHaSlbRequest) (response *SwitchHbaseHaSlbResponse, err error) {
+	response = CreateSwitchHbaseHaSlbResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// SwitchHbaseHaSlbWithChan invokes the hbase.SwitchHbaseHaSlb API asynchronously
+// api document: https://help.aliyun.com/api/hbase/switchhbasehaslb.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SwitchHbaseHaSlbWithChan(request *SwitchHbaseHaSlbRequest) (<-chan *SwitchHbaseHaSlbResponse, <-chan error) {
+	responseChan := make(chan *SwitchHbaseHaSlbResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.SwitchHbaseHaSlb(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// SwitchHbaseHaSlbWithCallback invokes the hbase.SwitchHbaseHaSlb API asynchronously
+// api document: https://help.aliyun.com/api/hbase/switchhbasehaslb.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SwitchHbaseHaSlbWithCallback(request *SwitchHbaseHaSlbRequest, callback func(response *SwitchHbaseHaSlbResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *SwitchHbaseHaSlbResponse
+		var err error
+		defer close(result)
+		response, err = client.SwitchHbaseHaSlb(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// SwitchHbaseHaSlbRequest is the request struct for api SwitchHbaseHaSlb
+type SwitchHbaseHaSlbRequest struct {
+	*requests.RpcRequest
+	HaTypes   string `position:"Query" name:"HaTypes"`
+	HbaseType string `position:"Query" name:"HbaseType"`
+	BdsId     string `position:"Query" name:"BdsId"`
+	HaId      string `position:"Query" name:"HaId"`
+}
+
+// SwitchHbaseHaSlbResponse is the response struct for api SwitchHbaseHaSlb
+type SwitchHbaseHaSlbResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateSwitchHbaseHaSlbRequest creates a request to invoke SwitchHbaseHaSlb API
+func CreateSwitchHbaseHaSlbRequest() (request *SwitchHbaseHaSlbRequest) {
+	request = &SwitchHbaseHaSlbRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("HBase", "2019-01-01", "SwitchHbaseHaSlb", "hbase", "openAPI")
+	return
+}
+
+// CreateSwitchHbaseHaSlbResponse creates a response to parse from SwitchHbaseHaSlb response
+func CreateSwitchHbaseHaSlbResponse() (response *SwitchHbaseHaSlbResponse) {
+	response = &SwitchHbaseHaSlbResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/hbase/tag_resources.go

@@ -0,0 +1,110 @@
+package hbase
+
+//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.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// TagResources invokes the hbase.TagResources API synchronously
+// api document: https://help.aliyun.com/api/hbase/tagresources.html
+func (client *Client) TagResources(request *TagResourcesRequest) (response *TagResourcesResponse, err error) {
+	response = CreateTagResourcesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// TagResourcesWithChan invokes the hbase.TagResources API asynchronously
+// api document: https://help.aliyun.com/api/hbase/tagresources.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) TagResourcesWithChan(request *TagResourcesRequest) (<-chan *TagResourcesResponse, <-chan error) {
+	responseChan := make(chan *TagResourcesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.TagResources(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// TagResourcesWithCallback invokes the hbase.TagResources API asynchronously
+// api document: https://help.aliyun.com/api/hbase/tagresources.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) TagResourcesWithCallback(request *TagResourcesRequest, callback func(response *TagResourcesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *TagResourcesResponse
+		var err error
+		defer close(result)
+		response, err = client.TagResources(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// TagResourcesRequest is the request struct for api TagResources
+type TagResourcesRequest struct {
+	*requests.RpcRequest
+	ResourceId *[]string          `position:"Query" name:"ResourceId"  type:"Repeated"`
+	Tag        *[]TagResourcesTag `position:"Query" name:"Tag"  type:"Repeated"`
+}
+
+// TagResourcesTag is a repeated param struct in TagResourcesRequest
+type TagResourcesTag struct {
+	Value string `name:"Value"`
+	Key   string `name:"Key"`
+}
+
+// TagResourcesResponse is the response struct for api TagResources
+type TagResourcesResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateTagResourcesRequest creates a request to invoke TagResources API
+func CreateTagResourcesRequest() (request *TagResourcesRequest) {
+	request = &TagResourcesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("HBase", "2019-01-01", "TagResources", "hbase", "openAPI")
+	return
+}
+
+// CreateTagResourcesResponse creates a response to parse from TagResources response
+func CreateTagResourcesResponse() (response *TagResourcesResponse) {
+	response = &TagResourcesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/hbase/un_tag_resources.go

@@ -0,0 +1,105 @@
+package hbase
+
+//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.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// UnTagResources invokes the hbase.UnTagResources API synchronously
+// api document: https://help.aliyun.com/api/hbase/untagresources.html
+func (client *Client) UnTagResources(request *UnTagResourcesRequest) (response *UnTagResourcesResponse, err error) {
+	response = CreateUnTagResourcesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// UnTagResourcesWithChan invokes the hbase.UnTagResources API asynchronously
+// api document: https://help.aliyun.com/api/hbase/untagresources.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) UnTagResourcesWithChan(request *UnTagResourcesRequest) (<-chan *UnTagResourcesResponse, <-chan error) {
+	responseChan := make(chan *UnTagResourcesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.UnTagResources(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// UnTagResourcesWithCallback invokes the hbase.UnTagResources API asynchronously
+// api document: https://help.aliyun.com/api/hbase/untagresources.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) UnTagResourcesWithCallback(request *UnTagResourcesRequest, callback func(response *UnTagResourcesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *UnTagResourcesResponse
+		var err error
+		defer close(result)
+		response, err = client.UnTagResources(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// UnTagResourcesRequest is the request struct for api UnTagResources
+type UnTagResourcesRequest struct {
+	*requests.RpcRequest
+	All        requests.Boolean `position:"Query" name:"All"`
+	ResourceId *[]string        `position:"Query" name:"ResourceId"  type:"Repeated"`
+	TagKey     *[]string        `position:"Query" name:"TagKey"  type:"Repeated"`
+}
+
+// UnTagResourcesResponse is the response struct for api UnTagResources
+type UnTagResourcesResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateUnTagResourcesRequest creates a request to invoke UnTagResources API
+func CreateUnTagResourcesRequest() (request *UnTagResourcesRequest) {
+	request = &UnTagResourcesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("HBase", "2019-01-01", "UnTagResources", "hbase", "openAPI")
+	return
+}
+
+// CreateUnTagResourcesResponse creates a response to parse from UnTagResources response
+func CreateUnTagResourcesResponse() (response *UnTagResourcesResponse) {
+	response = &UnTagResourcesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}