Browse Source

Generated 2018-10-29 for Yundun-dbaudit.

sdk-team 5 years ago
parent
commit
dde6f40347
47 changed files with 3306 additions and 0 deletions
  1. 4 0
      ChangeLog.txt
  2. 107 0
      services/yundun-dbaudit/clear_instance_storage.go
  3. 129 0
      services/yundun-dbaudit/client.go
  4. 107 0
      services/yundun-dbaudit/config_instance_white_list.go
  5. 105 0
      services/yundun-dbaudit/delete_alarm_receive_config.go
  6. 139 0
      services/yundun-dbaudit/describe_audit_logs.go
  7. 140 0
      services/yundun-dbaudit/describe_event_logs.go
  8. 106 0
      services/yundun-dbaudit/describe_instance_attribue.go
  9. 106 0
      services/yundun-dbaudit/describe_instance_attribute.go
  10. 106 0
      services/yundun-dbaudit/describe_instance_storage.go
  11. 118 0
      services/yundun-dbaudit/describe_instances.go
  12. 106 0
      services/yundun-dbaudit/describe_regions.go
  13. 130 0
      services/yundun-dbaudit/describe_session_logs.go
  14. 105 0
      services/yundun-dbaudit/disable_instance_public_access.go
  15. 105 0
      services/yundun-dbaudit/enable_instance_public_access.go
  16. 20 0
      services/yundun-dbaudit/endpoint.go
  17. 106 0
      services/yundun-dbaudit/generate_upload_auth.go
  18. 111 0
      services/yundun-dbaudit/list_tag_keys.go
  19. 116 0
      services/yundun-dbaudit/list_tag_resources.go
  20. 106 0
      services/yundun-dbaudit/modify_instance_attribute.go
  21. 108 0
      services/yundun-dbaudit/modify_instance_storage.go
  22. 107 0
      services/yundun-dbaudit/move_resource_group.go
  23. 104 0
      services/yundun-dbaudit/refund_instance.go
  24. 106 0
      services/yundun-dbaudit/start_instance.go
  25. 21 0
      services/yundun-dbaudit/struct_audit_logs.go
  26. 21 0
      services/yundun-dbaudit/struct_event_logs.go
  27. 34 0
      services/yundun-dbaudit/struct_instance.go
  28. 34 0
      services/yundun-dbaudit/struct_instance_attribue.go
  29. 36 0
      services/yundun-dbaudit/struct_instance_attribute.go
  30. 25 0
      services/yundun-dbaudit/struct_instance_storage.go
  31. 21 0
      services/yundun-dbaudit/struct_instance_storages.go
  32. 21 0
      services/yundun-dbaudit/struct_instances.go
  33. 21 0
      services/yundun-dbaudit/struct_ipv6_white_list.go
  34. 68 0
      services/yundun-dbaudit/struct_item.go
  35. 65 0
      services/yundun-dbaudit/struct_item_in_describe_event_logs.go
  36. 23 0
      services/yundun-dbaudit/struct_region.go
  37. 21 0
      services/yundun-dbaudit/struct_regions.go
  38. 21 0
      services/yundun-dbaudit/struct_session_logs.go
  39. 22 0
      services/yundun-dbaudit/struct_tag_key.go
  40. 21 0
      services/yundun-dbaudit/struct_tag_keys.go
  41. 24 0
      services/yundun-dbaudit/struct_tag_resource.go
  42. 21 0
      services/yundun-dbaudit/struct_tag_resources.go
  43. 26 0
      services/yundun-dbaudit/struct_upload_config.go
  44. 21 0
      services/yundun-dbaudit/struct_white_list_in_describe_instance_attribue.go
  45. 21 0
      services/yundun-dbaudit/struct_white_list_in_describe_instance_attribute.go
  46. 113 0
      services/yundun-dbaudit/tag_resources.go
  47. 108 0
      services/yundun-dbaudit/untag_resources.go

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2020-03-24 Version: v1.61.73
+- Generated 2018-10-29 for `Yundun-dbaudit`.
+
+
 2020-03-23 Version: v1.61.72
 - Generated 2015-01-01 for `R-kvstore`.
 - Generated 2015-01-01 for `R-kvstore`.

+ 107 - 0
services/yundun-dbaudit/clear_instance_storage.go

@@ -0,0 +1,107 @@
+package yundun_dbaudit
+
+//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"
+)
+
+// ClearInstanceStorage invokes the yundun_dbaudit.ClearInstanceStorage API synchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/clearinstancestorage.html
+func (client *Client) ClearInstanceStorage(request *ClearInstanceStorageRequest) (response *ClearInstanceStorageResponse, err error) {
+	response = CreateClearInstanceStorageResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ClearInstanceStorageWithChan invokes the yundun_dbaudit.ClearInstanceStorage API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/clearinstancestorage.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ClearInstanceStorageWithChan(request *ClearInstanceStorageRequest) (<-chan *ClearInstanceStorageResponse, <-chan error) {
+	responseChan := make(chan *ClearInstanceStorageResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ClearInstanceStorage(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ClearInstanceStorageWithCallback invokes the yundun_dbaudit.ClearInstanceStorage API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/clearinstancestorage.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ClearInstanceStorageWithCallback(request *ClearInstanceStorageRequest, callback func(response *ClearInstanceStorageResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ClearInstanceStorageResponse
+		var err error
+		defer close(result)
+		response, err = client.ClearInstanceStorage(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ClearInstanceStorageRequest is the request struct for api ClearInstanceStorage
+type ClearInstanceStorageRequest struct {
+	*requests.RpcRequest
+	StorageCategory string `position:"Query" name:"StorageCategory"`
+	InstanceId      string `position:"Query" name:"InstanceId"`
+	SourceIp        string `position:"Query" name:"SourceIp"`
+	Lang            string `position:"Query" name:"Lang"`
+	StorageSpace    string `position:"Query" name:"StorageSpace"`
+}
+
+// ClearInstanceStorageResponse is the response struct for api ClearInstanceStorage
+type ClearInstanceStorageResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateClearInstanceStorageRequest creates a request to invoke ClearInstanceStorage API
+func CreateClearInstanceStorageRequest() (request *ClearInstanceStorageRequest) {
+	request = &ClearInstanceStorageRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Yundun-dbaudit", "2018-10-29", "ClearInstanceStorage", "dbaudit", "openAPI")
+	return
+}
+
+// CreateClearInstanceStorageResponse creates a response to parse from ClearInstanceStorage response
+func CreateClearInstanceStorageResponse() (response *ClearInstanceStorageResponse) {
+	response = &ClearInstanceStorageResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 129 - 0
services/yundun-dbaudit/client.go

@@ -0,0 +1,129 @@
+package yundun_dbaudit
+
+//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 (
+	"reflect"
+
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth/credentials/provider"
+)
+
+// Client is the sdk client struct, each func corresponds to an OpenAPI
+type Client struct {
+	sdk.Client
+}
+
+// SetClientProperty Set Property by Reflect
+func SetClientProperty(client *Client, propertyName string, propertyValue interface{}) {
+	v := reflect.ValueOf(client).Elem()
+	if v.FieldByName(propertyName).IsValid() && v.FieldByName(propertyName).CanSet() {
+		v.FieldByName(propertyName).Set(reflect.ValueOf(propertyValue))
+	}
+}
+
+// SetEndpointDataToClient Set EndpointMap and ENdpointType
+func SetEndpointDataToClient(client *Client) {
+	SetClientProperty(client, "EndpointMap", GetEndpointMap())
+	SetClientProperty(client, "EndpointType", GetEndpointType())
+}
+
+// NewClient creates a sdk client with environment variables
+func NewClient() (client *Client, err error) {
+	client = &Client{}
+	err = client.Init()
+	SetEndpointDataToClient(client)
+	return
+}
+
+// NewClientWithProvider creates a sdk client with providers
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error) {
+	client = &Client{}
+	var pc provider.Provider
+	if len(providers) == 0 {
+		pc = provider.DefaultChain
+	} else {
+		pc = provider.NewProviderChain(providers)
+	}
+	err = client.InitWithProviderChain(regionId, pc)
+	SetEndpointDataToClient(client)
+	return
+}
+
+// NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential
+// this is the common api to create a sdk client
+func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithOptions(regionId, config, credential)
+	SetEndpointDataToClient(client)
+	return
+}
+
+// NewClientWithAccessKey is a shortcut to create sdk client with accesskey
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithAccessKey(regionId, accessKeyId, accessKeySecret)
+	SetEndpointDataToClient(client)
+	return
+}
+
+// NewClientWithStsToken is a shortcut to create sdk client with sts token
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken)
+	SetEndpointDataToClient(client)
+	return
+}
+
+// NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithRamRoleArn(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName)
+	SetEndpointDataToClient(client)
+	return
+}
+
+// NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithRamRoleArnAndPolicy(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy)
+	SetEndpointDataToClient(client)
+	return
+}
+
+// NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithEcsRamRole(regionId, roleName)
+	SetEndpointDataToClient(client)
+	return
+}
+
+// NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithRsaKeyPair(regionId, publicKeyId, privateKey, sessionExpiration)
+	SetEndpointDataToClient(client)
+	return
+}

+ 107 - 0
services/yundun-dbaudit/config_instance_white_list.go

@@ -0,0 +1,107 @@
+package yundun_dbaudit
+
+//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"
+)
+
+// ConfigInstanceWhiteList invokes the yundun_dbaudit.ConfigInstanceWhiteList API synchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/configinstancewhitelist.html
+func (client *Client) ConfigInstanceWhiteList(request *ConfigInstanceWhiteListRequest) (response *ConfigInstanceWhiteListResponse, err error) {
+	response = CreateConfigInstanceWhiteListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ConfigInstanceWhiteListWithChan invokes the yundun_dbaudit.ConfigInstanceWhiteList API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/configinstancewhitelist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ConfigInstanceWhiteListWithChan(request *ConfigInstanceWhiteListRequest) (<-chan *ConfigInstanceWhiteListResponse, <-chan error) {
+	responseChan := make(chan *ConfigInstanceWhiteListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ConfigInstanceWhiteList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ConfigInstanceWhiteListWithCallback invokes the yundun_dbaudit.ConfigInstanceWhiteList API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/configinstancewhitelist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ConfigInstanceWhiteListWithCallback(request *ConfigInstanceWhiteListRequest, callback func(response *ConfigInstanceWhiteListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ConfigInstanceWhiteListResponse
+		var err error
+		defer close(result)
+		response, err = client.ConfigInstanceWhiteList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ConfigInstanceWhiteListRequest is the request struct for api ConfigInstanceWhiteList
+type ConfigInstanceWhiteListRequest struct {
+	*requests.RpcRequest
+	WhiteList  *[]string `position:"Query" name:"WhiteList"  type:"Repeated"`
+	InstanceId string    `position:"Query" name:"InstanceId"`
+	SourceIp   string    `position:"Query" name:"SourceIp"`
+	IpVersion  string    `position:"Query" name:"IpVersion"`
+	Lang       string    `position:"Query" name:"Lang"`
+}
+
+// ConfigInstanceWhiteListResponse is the response struct for api ConfigInstanceWhiteList
+type ConfigInstanceWhiteListResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateConfigInstanceWhiteListRequest creates a request to invoke ConfigInstanceWhiteList API
+func CreateConfigInstanceWhiteListRequest() (request *ConfigInstanceWhiteListRequest) {
+	request = &ConfigInstanceWhiteListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Yundun-dbaudit", "2018-10-29", "ConfigInstanceWhiteList", "dbaudit", "openAPI")
+	return
+}
+
+// CreateConfigInstanceWhiteListResponse creates a response to parse from ConfigInstanceWhiteList response
+func CreateConfigInstanceWhiteListResponse() (response *ConfigInstanceWhiteListResponse) {
+	response = &ConfigInstanceWhiteListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/yundun-dbaudit/delete_alarm_receive_config.go

@@ -0,0 +1,105 @@
+package yundun_dbaudit
+
+//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"
+)
+
+// DeleteAlarmReceiveConfig invokes the yundun_dbaudit.DeleteAlarmReceiveConfig API synchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/deletealarmreceiveconfig.html
+func (client *Client) DeleteAlarmReceiveConfig(request *DeleteAlarmReceiveConfigRequest) (response *DeleteAlarmReceiveConfigResponse, err error) {
+	response = CreateDeleteAlarmReceiveConfigResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteAlarmReceiveConfigWithChan invokes the yundun_dbaudit.DeleteAlarmReceiveConfig API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/deletealarmreceiveconfig.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteAlarmReceiveConfigWithChan(request *DeleteAlarmReceiveConfigRequest) (<-chan *DeleteAlarmReceiveConfigResponse, <-chan error) {
+	responseChan := make(chan *DeleteAlarmReceiveConfigResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteAlarmReceiveConfig(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteAlarmReceiveConfigWithCallback invokes the yundun_dbaudit.DeleteAlarmReceiveConfig API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/deletealarmreceiveconfig.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteAlarmReceiveConfigWithCallback(request *DeleteAlarmReceiveConfigRequest, callback func(response *DeleteAlarmReceiveConfigResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteAlarmReceiveConfigResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteAlarmReceiveConfig(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteAlarmReceiveConfigRequest is the request struct for api DeleteAlarmReceiveConfig
+type DeleteAlarmReceiveConfigRequest struct {
+	*requests.RpcRequest
+	InstanceId string `position:"Query" name:"InstanceId"`
+	SourceIp   string `position:"Query" name:"SourceIp"`
+	ConfigId   string `position:"Query" name:"ConfigId"`
+}
+
+// DeleteAlarmReceiveConfigResponse is the response struct for api DeleteAlarmReceiveConfig
+type DeleteAlarmReceiveConfigResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateDeleteAlarmReceiveConfigRequest creates a request to invoke DeleteAlarmReceiveConfig API
+func CreateDeleteAlarmReceiveConfigRequest() (request *DeleteAlarmReceiveConfigRequest) {
+	request = &DeleteAlarmReceiveConfigRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Yundun-dbaudit", "2018-10-29", "DeleteAlarmReceiveConfig", "dbaudit", "openAPI")
+	return
+}
+
+// CreateDeleteAlarmReceiveConfigResponse creates a response to parse from DeleteAlarmReceiveConfig response
+func CreateDeleteAlarmReceiveConfigResponse() (response *DeleteAlarmReceiveConfigResponse) {
+	response = &DeleteAlarmReceiveConfigResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 139 - 0
services/yundun-dbaudit/describe_audit_logs.go

@@ -0,0 +1,139 @@
+package yundun_dbaudit
+
+//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"
+)
+
+// DescribeAuditLogs invokes the yundun_dbaudit.DescribeAuditLogs API synchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/describeauditlogs.html
+func (client *Client) DescribeAuditLogs(request *DescribeAuditLogsRequest) (response *DescribeAuditLogsResponse, err error) {
+	response = CreateDescribeAuditLogsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeAuditLogsWithChan invokes the yundun_dbaudit.DescribeAuditLogs API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/describeauditlogs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAuditLogsWithChan(request *DescribeAuditLogsRequest) (<-chan *DescribeAuditLogsResponse, <-chan error) {
+	responseChan := make(chan *DescribeAuditLogsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeAuditLogs(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeAuditLogsWithCallback invokes the yundun_dbaudit.DescribeAuditLogs API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/describeauditlogs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeAuditLogsWithCallback(request *DescribeAuditLogsRequest, callback func(response *DescribeAuditLogsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeAuditLogsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeAuditLogs(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeAuditLogsRequest is the request struct for api DescribeAuditLogs
+type DescribeAuditLogsRequest struct {
+	*requests.RpcRequest
+	Dip         string           `position:"Query" name:"Dip"`
+	StartTime   string           `position:"Query" name:"StartTime"`
+	Sessionid   string           `position:"Query" name:"Sessionid"`
+	Dir         string           `position:"Query" name:"Dir"`
+	HostName    string           `position:"Query" name:"HostName"`
+	SourceIp    string           `position:"Query" name:"SourceIp"`
+	Payload     string           `position:"Query" name:"Payload"`
+	LoginUser   string           `position:"Query" name:"LoginUser"`
+	QueryString string           `position:"Query" name:"QueryString"`
+	Sort        string           `position:"Query" name:"Sort"`
+	SqlLen      string           `position:"Query" name:"SqlLen"`
+	InstanceId  string           `position:"Query" name:"InstanceId"`
+	DbName      string           `position:"Query" name:"DbName"`
+	DbId        string           `position:"Query" name:"DbId"`
+	AlarmName   string           `position:"Query" name:"AlarmName"`
+	Dmac        string           `position:"Query" name:"Dmac"`
+	Smac        string           `position:"Query" name:"Smac"`
+	Result      string           `position:"Query" name:"Result"`
+	Dport       string           `position:"Query" name:"Dport"`
+	OpType      string           `position:"Query" name:"OpType"`
+	ClientUser  string           `position:"Query" name:"ClientUser"`
+	PageSize    requests.Integer `position:"Query" name:"PageSize"`
+	Sip         string           `position:"Query" name:"Sip"`
+	EffectRow   string           `position:"Query" name:"EffectRow"`
+	ResultDesc  string           `position:"Query" name:"ResultDesc"`
+	Sqlid       string           `position:"Query" name:"Sqlid"`
+	Cost        string           `position:"Query" name:"Cost"`
+	EndTime     string           `position:"Query" name:"EndTime"`
+	CurrentPage requests.Integer `position:"Query" name:"CurrentPage"`
+	Accessid    string           `position:"Query" name:"Accessid"`
+	DbType      string           `position:"Query" name:"DbType"`
+	ClientPrg   string           `position:"Query" name:"ClientPrg"`
+	Sport       string           `position:"Query" name:"Sport"`
+	DataSet     string           `position:"Query" name:"DataSet"`
+	AlarmLevel  string           `position:"Query" name:"AlarmLevel"`
+}
+
+// DescribeAuditLogsResponse is the response struct for api DescribeAuditLogs
+type DescribeAuditLogsResponse struct {
+	*responses.BaseResponse
+	RequestId  string `json:"RequestId" xml:"RequestId"`
+	TotalCount int    `json:"TotalCount" xml:"TotalCount"`
+	AuditLogs  []Item `json:"AuditLogs" xml:"AuditLogs"`
+}
+
+// CreateDescribeAuditLogsRequest creates a request to invoke DescribeAuditLogs API
+func CreateDescribeAuditLogsRequest() (request *DescribeAuditLogsRequest) {
+	request = &DescribeAuditLogsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Yundun-dbaudit", "2018-10-29", "DescribeAuditLogs", "dbaudit", "openAPI")
+	return
+}
+
+// CreateDescribeAuditLogsResponse creates a response to parse from DescribeAuditLogs response
+func CreateDescribeAuditLogsResponse() (response *DescribeAuditLogsResponse) {
+	response = &DescribeAuditLogsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 140 - 0
services/yundun-dbaudit/describe_event_logs.go

@@ -0,0 +1,140 @@
+package yundun_dbaudit
+
+//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"
+)
+
+// DescribeEventLogs invokes the yundun_dbaudit.DescribeEventLogs API synchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/describeeventlogs.html
+func (client *Client) DescribeEventLogs(request *DescribeEventLogsRequest) (response *DescribeEventLogsResponse, err error) {
+	response = CreateDescribeEventLogsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeEventLogsWithChan invokes the yundun_dbaudit.DescribeEventLogs API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/describeeventlogs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeEventLogsWithChan(request *DescribeEventLogsRequest) (<-chan *DescribeEventLogsResponse, <-chan error) {
+	responseChan := make(chan *DescribeEventLogsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeEventLogs(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeEventLogsWithCallback invokes the yundun_dbaudit.DescribeEventLogs API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/describeeventlogs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeEventLogsWithCallback(request *DescribeEventLogsRequest, callback func(response *DescribeEventLogsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeEventLogsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeEventLogs(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeEventLogsRequest is the request struct for api DescribeEventLogs
+type DescribeEventLogsRequest struct {
+	*requests.RpcRequest
+	Dip          string           `position:"Query" name:"Dip"`
+	StartTime    string           `position:"Query" name:"StartTime"`
+	Sessionid    string           `position:"Query" name:"Sessionid"`
+	Dir          string           `position:"Query" name:"Dir"`
+	HostName     string           `position:"Query" name:"HostName"`
+	SourceIp     string           `position:"Query" name:"SourceIp"`
+	Payload      string           `position:"Query" name:"Payload"`
+	LoginUser    string           `position:"Query" name:"LoginUser"`
+	QueryString  string           `position:"Query" name:"QueryString"`
+	Sort         string           `position:"Query" name:"Sort"`
+	SqlLen       string           `position:"Query" name:"SqlLen"`
+	InstanceId   string           `position:"Query" name:"InstanceId"`
+	DbName       string           `position:"Query" name:"DbName"`
+	DbId         string           `position:"Query" name:"DbId"`
+	Dmac         string           `position:"Query" name:"Dmac"`
+	Smac         string           `position:"Query" name:"Smac"`
+	EventName    string           `position:"Query" name:"EventName"`
+	Dport        string           `position:"Query" name:"Dport"`
+	Result       string           `position:"Query" name:"Result"`
+	OpType       string           `position:"Query" name:"OpType"`
+	ClientUser   string           `position:"Query" name:"ClientUser"`
+	PageSize     requests.Integer `position:"Query" name:"PageSize"`
+	Sip          string           `position:"Query" name:"Sip"`
+	EffectRow    string           `position:"Query" name:"EffectRow"`
+	ResultDesc   string           `position:"Query" name:"ResultDesc"`
+	Sqlid        string           `position:"Query" name:"Sqlid"`
+	Cost         string           `position:"Query" name:"Cost"`
+	DepartmentId string           `position:"Query" name:"DepartmentId"`
+	EndTime      string           `position:"Query" name:"EndTime"`
+	CurrentPage  requests.Integer `position:"Query" name:"CurrentPage"`
+	Accessid     string           `position:"Query" name:"Accessid"`
+	EventLevel   string           `position:"Query" name:"EventLevel"`
+	DbType       string           `position:"Query" name:"DbType"`
+	ClientPrg    string           `position:"Query" name:"ClientPrg"`
+	Sport        string           `position:"Query" name:"Sport"`
+	DataSet      string           `position:"Query" name:"DataSet"`
+}
+
+// DescribeEventLogsResponse is the response struct for api DescribeEventLogs
+type DescribeEventLogsResponse struct {
+	*responses.BaseResponse
+	RequestId  string                    `json:"RequestId" xml:"RequestId"`
+	TotalCount int                       `json:"TotalCount" xml:"TotalCount"`
+	EventLogs  []ItemInDescribeEventLogs `json:"EventLogs" xml:"EventLogs"`
+}
+
+// CreateDescribeEventLogsRequest creates a request to invoke DescribeEventLogs API
+func CreateDescribeEventLogsRequest() (request *DescribeEventLogsRequest) {
+	request = &DescribeEventLogsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Yundun-dbaudit", "2018-10-29", "DescribeEventLogs", "dbaudit", "openAPI")
+	return
+}
+
+// CreateDescribeEventLogsResponse creates a response to parse from DescribeEventLogs response
+func CreateDescribeEventLogsResponse() (response *DescribeEventLogsResponse) {
+	response = &DescribeEventLogsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/yundun-dbaudit/describe_instance_attribue.go

@@ -0,0 +1,106 @@
+package yundun_dbaudit
+
+//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"
+)
+
+// DescribeInstanceAttribue invokes the yundun_dbaudit.DescribeInstanceAttribue API synchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/describeinstanceattribue.html
+func (client *Client) DescribeInstanceAttribue(request *DescribeInstanceAttribueRequest) (response *DescribeInstanceAttribueResponse, err error) {
+	response = CreateDescribeInstanceAttribueResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeInstanceAttribueWithChan invokes the yundun_dbaudit.DescribeInstanceAttribue API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/describeinstanceattribue.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeInstanceAttribueWithChan(request *DescribeInstanceAttribueRequest) (<-chan *DescribeInstanceAttribueResponse, <-chan error) {
+	responseChan := make(chan *DescribeInstanceAttribueResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeInstanceAttribue(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeInstanceAttribueWithCallback invokes the yundun_dbaudit.DescribeInstanceAttribue API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/describeinstanceattribue.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeInstanceAttribueWithCallback(request *DescribeInstanceAttribueRequest, callback func(response *DescribeInstanceAttribueResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeInstanceAttribueResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeInstanceAttribue(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeInstanceAttribueRequest is the request struct for api DescribeInstanceAttribue
+type DescribeInstanceAttribueRequest struct {
+	*requests.RpcRequest
+	InstanceId string `position:"Query" name:"InstanceId"`
+	SourceIp   string `position:"Query" name:"SourceIp"`
+	Lang       string `position:"Query" name:"Lang"`
+}
+
+// DescribeInstanceAttribueResponse is the response struct for api DescribeInstanceAttribue
+type DescribeInstanceAttribueResponse struct {
+	*responses.BaseResponse
+	RequestId        string           `json:"RequestId" xml:"RequestId"`
+	InstanceAttribue InstanceAttribue `json:"InstanceAttribue" xml:"InstanceAttribue"`
+}
+
+// CreateDescribeInstanceAttribueRequest creates a request to invoke DescribeInstanceAttribue API
+func CreateDescribeInstanceAttribueRequest() (request *DescribeInstanceAttribueRequest) {
+	request = &DescribeInstanceAttribueRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Yundun-dbaudit", "2018-10-29", "DescribeInstanceAttribue", "dbaudit", "openAPI")
+	return
+}
+
+// CreateDescribeInstanceAttribueResponse creates a response to parse from DescribeInstanceAttribue response
+func CreateDescribeInstanceAttribueResponse() (response *DescribeInstanceAttribueResponse) {
+	response = &DescribeInstanceAttribueResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/yundun-dbaudit/describe_instance_attribute.go

@@ -0,0 +1,106 @@
+package yundun_dbaudit
+
+//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"
+)
+
+// DescribeInstanceAttribute invokes the yundun_dbaudit.DescribeInstanceAttribute API synchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/describeinstanceattribute.html
+func (client *Client) DescribeInstanceAttribute(request *DescribeInstanceAttributeRequest) (response *DescribeInstanceAttributeResponse, err error) {
+	response = CreateDescribeInstanceAttributeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeInstanceAttributeWithChan invokes the yundun_dbaudit.DescribeInstanceAttribute API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/describeinstanceattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeInstanceAttributeWithChan(request *DescribeInstanceAttributeRequest) (<-chan *DescribeInstanceAttributeResponse, <-chan error) {
+	responseChan := make(chan *DescribeInstanceAttributeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeInstanceAttribute(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeInstanceAttributeWithCallback invokes the yundun_dbaudit.DescribeInstanceAttribute API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/describeinstanceattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeInstanceAttributeWithCallback(request *DescribeInstanceAttributeRequest, callback func(response *DescribeInstanceAttributeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeInstanceAttributeResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeInstanceAttribute(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeInstanceAttributeRequest is the request struct for api DescribeInstanceAttribute
+type DescribeInstanceAttributeRequest struct {
+	*requests.RpcRequest
+	InstanceId string `position:"Query" name:"InstanceId"`
+	SourceIp   string `position:"Query" name:"SourceIp"`
+	Lang       string `position:"Query" name:"Lang"`
+}
+
+// DescribeInstanceAttributeResponse is the response struct for api DescribeInstanceAttribute
+type DescribeInstanceAttributeResponse struct {
+	*responses.BaseResponse
+	RequestId         string            `json:"RequestId" xml:"RequestId"`
+	InstanceAttribute InstanceAttribute `json:"InstanceAttribute" xml:"InstanceAttribute"`
+}
+
+// CreateDescribeInstanceAttributeRequest creates a request to invoke DescribeInstanceAttribute API
+func CreateDescribeInstanceAttributeRequest() (request *DescribeInstanceAttributeRequest) {
+	request = &DescribeInstanceAttributeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Yundun-dbaudit", "2018-10-29", "DescribeInstanceAttribute", "dbaudit", "openAPI")
+	return
+}
+
+// CreateDescribeInstanceAttributeResponse creates a response to parse from DescribeInstanceAttribute response
+func CreateDescribeInstanceAttributeResponse() (response *DescribeInstanceAttributeResponse) {
+	response = &DescribeInstanceAttributeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/yundun-dbaudit/describe_instance_storage.go

@@ -0,0 +1,106 @@
+package yundun_dbaudit
+
+//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"
+)
+
+// DescribeInstanceStorage invokes the yundun_dbaudit.DescribeInstanceStorage API synchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/describeinstancestorage.html
+func (client *Client) DescribeInstanceStorage(request *DescribeInstanceStorageRequest) (response *DescribeInstanceStorageResponse, err error) {
+	response = CreateDescribeInstanceStorageResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeInstanceStorageWithChan invokes the yundun_dbaudit.DescribeInstanceStorage API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/describeinstancestorage.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeInstanceStorageWithChan(request *DescribeInstanceStorageRequest) (<-chan *DescribeInstanceStorageResponse, <-chan error) {
+	responseChan := make(chan *DescribeInstanceStorageResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeInstanceStorage(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeInstanceStorageWithCallback invokes the yundun_dbaudit.DescribeInstanceStorage API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/describeinstancestorage.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeInstanceStorageWithCallback(request *DescribeInstanceStorageRequest, callback func(response *DescribeInstanceStorageResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeInstanceStorageResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeInstanceStorage(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeInstanceStorageRequest is the request struct for api DescribeInstanceStorage
+type DescribeInstanceStorageRequest struct {
+	*requests.RpcRequest
+	InstanceId string `position:"Query" name:"InstanceId"`
+	SourceIp   string `position:"Query" name:"SourceIp"`
+	Lang       string `position:"Query" name:"Lang"`
+}
+
+// DescribeInstanceStorageResponse is the response struct for api DescribeInstanceStorage
+type DescribeInstanceStorageResponse struct {
+	*responses.BaseResponse
+	RequestId        string            `json:"RequestId" xml:"RequestId"`
+	InstanceStorages []InstanceStorage `json:"InstanceStorages" xml:"InstanceStorages"`
+}
+
+// CreateDescribeInstanceStorageRequest creates a request to invoke DescribeInstanceStorage API
+func CreateDescribeInstanceStorageRequest() (request *DescribeInstanceStorageRequest) {
+	request = &DescribeInstanceStorageRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Yundun-dbaudit", "2018-10-29", "DescribeInstanceStorage", "dbaudit", "openAPI")
+	return
+}
+
+// CreateDescribeInstanceStorageResponse creates a response to parse from DescribeInstanceStorage response
+func CreateDescribeInstanceStorageResponse() (response *DescribeInstanceStorageResponse) {
+	response = &DescribeInstanceStorageResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 118 - 0
services/yundun-dbaudit/describe_instances.go

@@ -0,0 +1,118 @@
+package yundun_dbaudit
+
+//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"
+)
+
+// DescribeInstances invokes the yundun_dbaudit.DescribeInstances API synchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/describeinstances.html
+func (client *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error) {
+	response = CreateDescribeInstancesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeInstancesWithChan invokes the yundun_dbaudit.DescribeInstances API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/describeinstances.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeInstancesWithChan(request *DescribeInstancesRequest) (<-chan *DescribeInstancesResponse, <-chan error) {
+	responseChan := make(chan *DescribeInstancesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeInstances(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeInstancesWithCallback invokes the yundun_dbaudit.DescribeInstances API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/describeinstances.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeInstancesWithCallback(request *DescribeInstancesRequest, callback func(response *DescribeInstancesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeInstancesResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeInstances(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeInstancesRequest is the request struct for api DescribeInstances
+type DescribeInstancesRequest struct {
+	*requests.RpcRequest
+	ResourceGroupId string                  `position:"Query" name:"ResourceGroupId"`
+	SourceIp        string                  `position:"Query" name:"SourceIp"`
+	PageSize        requests.Integer        `position:"Query" name:"PageSize"`
+	Tag             *[]DescribeInstancesTag `position:"Query" name:"Tag"  type:"Repeated"`
+	Lang            string                  `position:"Query" name:"Lang"`
+	InstanceStatus  string                  `position:"Query" name:"InstanceStatus"`
+	CurrentPage     requests.Integer        `position:"Query" name:"CurrentPage"`
+	InstanceId      *[]string               `position:"Query" name:"InstanceId"  type:"Repeated"`
+}
+
+// DescribeInstancesTag is a repeated param struct in DescribeInstancesRequest
+type DescribeInstancesTag struct {
+	Value string `name:"Value"`
+	Key   string `name:"Key"`
+}
+
+// DescribeInstancesResponse is the response struct for api DescribeInstances
+type DescribeInstancesResponse struct {
+	*responses.BaseResponse
+	RequestId  string     `json:"RequestId" xml:"RequestId"`
+	TotalCount int64      `json:"TotalCount" xml:"TotalCount"`
+	Instances  []Instance `json:"Instances" xml:"Instances"`
+}
+
+// CreateDescribeInstancesRequest creates a request to invoke DescribeInstances API
+func CreateDescribeInstancesRequest() (request *DescribeInstancesRequest) {
+	request = &DescribeInstancesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Yundun-dbaudit", "2018-10-29", "DescribeInstances", "dbaudit", "openAPI")
+	return
+}
+
+// CreateDescribeInstancesResponse creates a response to parse from DescribeInstances response
+func CreateDescribeInstancesResponse() (response *DescribeInstancesResponse) {
+	response = &DescribeInstancesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/yundun-dbaudit/describe_regions.go

@@ -0,0 +1,106 @@
+package yundun_dbaudit
+
+//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"
+)
+
+// DescribeRegions invokes the yundun_dbaudit.DescribeRegions API synchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/describeregions.html
+func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error) {
+	response = CreateDescribeRegionsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeRegionsWithChan invokes the yundun_dbaudit.DescribeRegions API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/describeregions.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error) {
+	responseChan := make(chan *DescribeRegionsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeRegions(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeRegionsWithCallback invokes the yundun_dbaudit.DescribeRegions API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/describeregions.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, callback func(response *DescribeRegionsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeRegionsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeRegions(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeRegionsRequest is the request struct for api DescribeRegions
+type DescribeRegionsRequest struct {
+	*requests.RpcRequest
+	SourceIp       string `position:"Query" name:"SourceIp"`
+	AcceptLanguage string `position:"Query" name:"AcceptLanguage"`
+	Lang           string `position:"Query" name:"Lang"`
+}
+
+// DescribeRegionsResponse is the response struct for api DescribeRegions
+type DescribeRegionsResponse struct {
+	*responses.BaseResponse
+	RequestId string   `json:"RequestId" xml:"RequestId"`
+	Regions   []Region `json:"Regions" xml:"Regions"`
+}
+
+// CreateDescribeRegionsRequest creates a request to invoke DescribeRegions API
+func CreateDescribeRegionsRequest() (request *DescribeRegionsRequest) {
+	request = &DescribeRegionsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Yundun-dbaudit", "2018-10-29", "DescribeRegions", "dbaudit", "openAPI")
+	return
+}
+
+// CreateDescribeRegionsResponse creates a response to parse from DescribeRegions response
+func CreateDescribeRegionsResponse() (response *DescribeRegionsResponse) {
+	response = &DescribeRegionsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 130 - 0
services/yundun-dbaudit/describe_session_logs.go

@@ -0,0 +1,130 @@
+package yundun_dbaudit
+
+//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"
+)
+
+// DescribeSessionLogs invokes the yundun_dbaudit.DescribeSessionLogs API synchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/describesessionlogs.html
+func (client *Client) DescribeSessionLogs(request *DescribeSessionLogsRequest) (response *DescribeSessionLogsResponse, err error) {
+	response = CreateDescribeSessionLogsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeSessionLogsWithChan invokes the yundun_dbaudit.DescribeSessionLogs API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/describesessionlogs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeSessionLogsWithChan(request *DescribeSessionLogsRequest) (<-chan *DescribeSessionLogsResponse, <-chan error) {
+	responseChan := make(chan *DescribeSessionLogsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeSessionLogs(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeSessionLogsWithCallback invokes the yundun_dbaudit.DescribeSessionLogs API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/describesessionlogs.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeSessionLogsWithCallback(request *DescribeSessionLogsRequest, callback func(response *DescribeSessionLogsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeSessionLogsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeSessionLogs(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeSessionLogsRequest is the request struct for api DescribeSessionLogs
+type DescribeSessionLogsRequest struct {
+	*requests.RpcRequest
+	Dmac          string           `position:"Query" name:"Dmac"`
+	ReqFlow       string           `position:"Query" name:"ReqFlow"`
+	Smac          string           `position:"Query" name:"Smac"`
+	Dip           string           `position:"Query" name:"Dip"`
+	StartTime     string           `position:"Query" name:"StartTime"`
+	Sessionid     string           `position:"Query" name:"Sessionid"`
+	Dir           string           `position:"Query" name:"Dir"`
+	Dport         string           `position:"Query" name:"Dport"`
+	HostName      string           `position:"Query" name:"HostName"`
+	ClientUser    string           `position:"Query" name:"ClientUser"`
+	SessionStatus string           `position:"Query" name:"SessionStatus"`
+	SourceIp      string           `position:"Query" name:"SourceIp"`
+	PageSize      requests.Integer `position:"Query" name:"PageSize"`
+	Sip           string           `position:"Query" name:"Sip"`
+	LoginUser     string           `position:"Query" name:"LoginUser"`
+	RspFlow       string           `position:"Query" name:"RspFlow"`
+	EndTime       string           `position:"Query" name:"EndTime"`
+	CurrentPage   requests.Integer `position:"Query" name:"CurrentPage"`
+	Sort          string           `position:"Query" name:"Sort"`
+	InstanceId    string           `position:"Query" name:"InstanceId"`
+	DbName        string           `position:"Query" name:"DbName"`
+	DbId          string           `position:"Query" name:"DbId"`
+	DbType        string           `position:"Query" name:"DbType"`
+	ClientPrg     string           `position:"Query" name:"ClientPrg"`
+	SqlCount      string           `position:"Query" name:"SqlCount"`
+	Sport         string           `position:"Query" name:"Sport"`
+}
+
+// DescribeSessionLogsResponse is the response struct for api DescribeSessionLogs
+type DescribeSessionLogsResponse struct {
+	*responses.BaseResponse
+	RequestId   string `json:"RequestId" xml:"RequestId"`
+	TotalCount  int    `json:"TotalCount" xml:"TotalCount"`
+	SessionLogs []Item `json:"SessionLogs" xml:"SessionLogs"`
+}
+
+// CreateDescribeSessionLogsRequest creates a request to invoke DescribeSessionLogs API
+func CreateDescribeSessionLogsRequest() (request *DescribeSessionLogsRequest) {
+	request = &DescribeSessionLogsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Yundun-dbaudit", "2018-10-29", "DescribeSessionLogs", "dbaudit", "openAPI")
+	return
+}
+
+// CreateDescribeSessionLogsResponse creates a response to parse from DescribeSessionLogs response
+func CreateDescribeSessionLogsResponse() (response *DescribeSessionLogsResponse) {
+	response = &DescribeSessionLogsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/yundun-dbaudit/disable_instance_public_access.go

@@ -0,0 +1,105 @@
+package yundun_dbaudit
+
+//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"
+)
+
+// DisableInstancePublicAccess invokes the yundun_dbaudit.DisableInstancePublicAccess API synchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/disableinstancepublicaccess.html
+func (client *Client) DisableInstancePublicAccess(request *DisableInstancePublicAccessRequest) (response *DisableInstancePublicAccessResponse, err error) {
+	response = CreateDisableInstancePublicAccessResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DisableInstancePublicAccessWithChan invokes the yundun_dbaudit.DisableInstancePublicAccess API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/disableinstancepublicaccess.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DisableInstancePublicAccessWithChan(request *DisableInstancePublicAccessRequest) (<-chan *DisableInstancePublicAccessResponse, <-chan error) {
+	responseChan := make(chan *DisableInstancePublicAccessResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DisableInstancePublicAccess(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DisableInstancePublicAccessWithCallback invokes the yundun_dbaudit.DisableInstancePublicAccess API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/disableinstancepublicaccess.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DisableInstancePublicAccessWithCallback(request *DisableInstancePublicAccessRequest, callback func(response *DisableInstancePublicAccessResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DisableInstancePublicAccessResponse
+		var err error
+		defer close(result)
+		response, err = client.DisableInstancePublicAccess(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DisableInstancePublicAccessRequest is the request struct for api DisableInstancePublicAccess
+type DisableInstancePublicAccessRequest struct {
+	*requests.RpcRequest
+	InstanceId string `position:"Query" name:"InstanceId"`
+	SourceIp   string `position:"Query" name:"SourceIp"`
+	Lang       string `position:"Query" name:"Lang"`
+}
+
+// DisableInstancePublicAccessResponse is the response struct for api DisableInstancePublicAccess
+type DisableInstancePublicAccessResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateDisableInstancePublicAccessRequest creates a request to invoke DisableInstancePublicAccess API
+func CreateDisableInstancePublicAccessRequest() (request *DisableInstancePublicAccessRequest) {
+	request = &DisableInstancePublicAccessRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Yundun-dbaudit", "2018-10-29", "DisableInstancePublicAccess", "dbaudit", "openAPI")
+	return
+}
+
+// CreateDisableInstancePublicAccessResponse creates a response to parse from DisableInstancePublicAccess response
+func CreateDisableInstancePublicAccessResponse() (response *DisableInstancePublicAccessResponse) {
+	response = &DisableInstancePublicAccessResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/yundun-dbaudit/enable_instance_public_access.go

@@ -0,0 +1,105 @@
+package yundun_dbaudit
+
+//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"
+)
+
+// EnableInstancePublicAccess invokes the yundun_dbaudit.EnableInstancePublicAccess API synchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/enableinstancepublicaccess.html
+func (client *Client) EnableInstancePublicAccess(request *EnableInstancePublicAccessRequest) (response *EnableInstancePublicAccessResponse, err error) {
+	response = CreateEnableInstancePublicAccessResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// EnableInstancePublicAccessWithChan invokes the yundun_dbaudit.EnableInstancePublicAccess API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/enableinstancepublicaccess.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) EnableInstancePublicAccessWithChan(request *EnableInstancePublicAccessRequest) (<-chan *EnableInstancePublicAccessResponse, <-chan error) {
+	responseChan := make(chan *EnableInstancePublicAccessResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.EnableInstancePublicAccess(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// EnableInstancePublicAccessWithCallback invokes the yundun_dbaudit.EnableInstancePublicAccess API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/enableinstancepublicaccess.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) EnableInstancePublicAccessWithCallback(request *EnableInstancePublicAccessRequest, callback func(response *EnableInstancePublicAccessResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *EnableInstancePublicAccessResponse
+		var err error
+		defer close(result)
+		response, err = client.EnableInstancePublicAccess(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// EnableInstancePublicAccessRequest is the request struct for api EnableInstancePublicAccess
+type EnableInstancePublicAccessRequest struct {
+	*requests.RpcRequest
+	InstanceId string `position:"Query" name:"InstanceId"`
+	SourceIp   string `position:"Query" name:"SourceIp"`
+	Lang       string `position:"Query" name:"Lang"`
+}
+
+// EnableInstancePublicAccessResponse is the response struct for api EnableInstancePublicAccess
+type EnableInstancePublicAccessResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateEnableInstancePublicAccessRequest creates a request to invoke EnableInstancePublicAccess API
+func CreateEnableInstancePublicAccessRequest() (request *EnableInstancePublicAccessRequest) {
+	request = &EnableInstancePublicAccessRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Yundun-dbaudit", "2018-10-29", "EnableInstancePublicAccess", "dbaudit", "openAPI")
+	return
+}
+
+// CreateEnableInstancePublicAccessResponse creates a response to parse from EnableInstancePublicAccess response
+func CreateEnableInstancePublicAccessResponse() (response *EnableInstancePublicAccessResponse) {
+	response = &EnableInstancePublicAccessResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 20 - 0
services/yundun-dbaudit/endpoint.go

@@ -0,0 +1,20 @@
+package yundun_dbaudit
+
+// EndpointMap Endpoint Data
+var EndpointMap map[string]string
+
+// EndpointType regional or central
+var EndpointType = "central"
+
+// GetEndpointMap Get Endpoint Data Map
+func GetEndpointMap() map[string]string {
+	if EndpointMap == nil {
+		EndpointMap = map[string]string{}
+	}
+	return EndpointMap
+}
+
+// GetEndpointType Get Endpoint Type Value
+func GetEndpointType() string {
+	return EndpointType
+}

+ 106 - 0
services/yundun-dbaudit/generate_upload_auth.go

@@ -0,0 +1,106 @@
+package yundun_dbaudit
+
+//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"
+)
+
+// GenerateUploadAuth invokes the yundun_dbaudit.GenerateUploadAuth API synchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/generateuploadauth.html
+func (client *Client) GenerateUploadAuth(request *GenerateUploadAuthRequest) (response *GenerateUploadAuthResponse, err error) {
+	response = CreateGenerateUploadAuthResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GenerateUploadAuthWithChan invokes the yundun_dbaudit.GenerateUploadAuth API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/generateuploadauth.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GenerateUploadAuthWithChan(request *GenerateUploadAuthRequest) (<-chan *GenerateUploadAuthResponse, <-chan error) {
+	responseChan := make(chan *GenerateUploadAuthResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GenerateUploadAuth(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GenerateUploadAuthWithCallback invokes the yundun_dbaudit.GenerateUploadAuth API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/generateuploadauth.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GenerateUploadAuthWithCallback(request *GenerateUploadAuthRequest, callback func(response *GenerateUploadAuthResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GenerateUploadAuthResponse
+		var err error
+		defer close(result)
+		response, err = client.GenerateUploadAuth(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GenerateUploadAuthRequest is the request struct for api GenerateUploadAuth
+type GenerateUploadAuthRequest struct {
+	*requests.RpcRequest
+	InstanceId string `position:"Query" name:"InstanceId"`
+	SourceIp   string `position:"Query" name:"SourceIp"`
+	Lang       string `position:"Query" name:"Lang"`
+}
+
+// GenerateUploadAuthResponse is the response struct for api GenerateUploadAuth
+type GenerateUploadAuthResponse struct {
+	*responses.BaseResponse
+	RequestId    string       `json:"RequestId" xml:"RequestId"`
+	UploadConfig UploadConfig `json:"UploadConfig" xml:"UploadConfig"`
+}
+
+// CreateGenerateUploadAuthRequest creates a request to invoke GenerateUploadAuth API
+func CreateGenerateUploadAuthRequest() (request *GenerateUploadAuthRequest) {
+	request = &GenerateUploadAuthRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Yundun-dbaudit", "2018-10-29", "GenerateUploadAuth", "dbaudit", "openAPI")
+	return
+}
+
+// CreateGenerateUploadAuthResponse creates a response to parse from GenerateUploadAuth response
+func CreateGenerateUploadAuthResponse() (response *GenerateUploadAuthResponse) {
+	response = &GenerateUploadAuthResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 111 - 0
services/yundun-dbaudit/list_tag_keys.go

@@ -0,0 +1,111 @@
+package yundun_dbaudit
+
+//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"
+)
+
+// ListTagKeys invokes the yundun_dbaudit.ListTagKeys API synchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/listtagkeys.html
+func (client *Client) ListTagKeys(request *ListTagKeysRequest) (response *ListTagKeysResponse, err error) {
+	response = CreateListTagKeysResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListTagKeysWithChan invokes the yundun_dbaudit.ListTagKeys API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/listtagkeys.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListTagKeysWithChan(request *ListTagKeysRequest) (<-chan *ListTagKeysResponse, <-chan error) {
+	responseChan := make(chan *ListTagKeysResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListTagKeys(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListTagKeysWithCallback invokes the yundun_dbaudit.ListTagKeys API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/listtagkeys.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListTagKeysWithCallback(request *ListTagKeysRequest, callback func(response *ListTagKeysResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListTagKeysResponse
+		var err error
+		defer close(result)
+		response, err = client.ListTagKeys(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListTagKeysRequest is the request struct for api ListTagKeys
+type ListTagKeysRequest struct {
+	*requests.RpcRequest
+	CurrentPage  requests.Integer `position:"Query" name:"CurrentPage"`
+	ResourceType string           `position:"Query" name:"ResourceType"`
+	SourceIp     string           `position:"Query" name:"SourceIp"`
+	PageSize     requests.Integer `position:"Query" name:"PageSize"`
+	Lang         string           `position:"Query" name:"Lang"`
+}
+
+// ListTagKeysResponse is the response struct for api ListTagKeys
+type ListTagKeysResponse struct {
+	*responses.BaseResponse
+	RequestId   string   `json:"RequestId" xml:"RequestId"`
+	CurrentPage int      `json:"CurrentPage" xml:"CurrentPage"`
+	PageSize    int      `json:"PageSize" xml:"PageSize"`
+	TotalCount  int      `json:"TotalCount" xml:"TotalCount"`
+	TagKeys     []TagKey `json:"TagKeys" xml:"TagKeys"`
+}
+
+// CreateListTagKeysRequest creates a request to invoke ListTagKeys API
+func CreateListTagKeysRequest() (request *ListTagKeysRequest) {
+	request = &ListTagKeysRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Yundun-dbaudit", "2018-10-29", "ListTagKeys", "dbaudit", "openAPI")
+	return
+}
+
+// CreateListTagKeysResponse creates a response to parse from ListTagKeys response
+func CreateListTagKeysResponse() (response *ListTagKeysResponse) {
+	response = &ListTagKeysResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 116 - 0
services/yundun-dbaudit/list_tag_resources.go

@@ -0,0 +1,116 @@
+package yundun_dbaudit
+
+//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 yundun_dbaudit.ListTagResources API synchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/listtagresources.html
+func (client *Client) ListTagResources(request *ListTagResourcesRequest) (response *ListTagResourcesResponse, err error) {
+	response = CreateListTagResourcesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListTagResourcesWithChan invokes the yundun_dbaudit.ListTagResources API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/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 yundun_dbaudit.ListTagResources API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/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
+	SourceIp     string                 `position:"Query" name:"SourceIp"`
+	NextToken    string                 `position:"Query" name:"NextToken"`
+	Tag          *[]ListTagResourcesTag `position:"Query" name:"Tag"  type:"Repeated"`
+	Lang         string                 `position:"Query" name:"Lang"`
+	ResourceId   *[]string              `position:"Query" name:"ResourceId"  type:"Repeated"`
+	ResourceType string                 `position:"Query" name:"ResourceType"`
+}
+
+// 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 []TagResource `json:"TagResources" xml:"TagResources"`
+}
+
+// CreateListTagResourcesRequest creates a request to invoke ListTagResources API
+func CreateListTagResourcesRequest() (request *ListTagResourcesRequest) {
+	request = &ListTagResourcesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Yundun-dbaudit", "2018-10-29", "ListTagResources", "dbaudit", "openAPI")
+	return
+}
+
+// CreateListTagResourcesResponse creates a response to parse from ListTagResources response
+func CreateListTagResourcesResponse() (response *ListTagResourcesResponse) {
+	response = &ListTagResourcesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/yundun-dbaudit/modify_instance_attribute.go

@@ -0,0 +1,106 @@
+package yundun_dbaudit
+
+//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"
+)
+
+// ModifyInstanceAttribute invokes the yundun_dbaudit.ModifyInstanceAttribute API synchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/modifyinstanceattribute.html
+func (client *Client) ModifyInstanceAttribute(request *ModifyInstanceAttributeRequest) (response *ModifyInstanceAttributeResponse, err error) {
+	response = CreateModifyInstanceAttributeResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ModifyInstanceAttributeWithChan invokes the yundun_dbaudit.ModifyInstanceAttribute API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/modifyinstanceattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyInstanceAttributeWithChan(request *ModifyInstanceAttributeRequest) (<-chan *ModifyInstanceAttributeResponse, <-chan error) {
+	responseChan := make(chan *ModifyInstanceAttributeResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyInstanceAttribute(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ModifyInstanceAttributeWithCallback invokes the yundun_dbaudit.ModifyInstanceAttribute API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/modifyinstanceattribute.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyInstanceAttributeWithCallback(request *ModifyInstanceAttributeRequest, callback func(response *ModifyInstanceAttributeResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyInstanceAttributeResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyInstanceAttribute(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ModifyInstanceAttributeRequest is the request struct for api ModifyInstanceAttribute
+type ModifyInstanceAttributeRequest struct {
+	*requests.RpcRequest
+	Description string `position:"Query" name:"Description"`
+	InstanceId  string `position:"Query" name:"InstanceId"`
+	SourceIp    string `position:"Query" name:"SourceIp"`
+	Lang        string `position:"Query" name:"Lang"`
+}
+
+// ModifyInstanceAttributeResponse is the response struct for api ModifyInstanceAttribute
+type ModifyInstanceAttributeResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateModifyInstanceAttributeRequest creates a request to invoke ModifyInstanceAttribute API
+func CreateModifyInstanceAttributeRequest() (request *ModifyInstanceAttributeRequest) {
+	request = &ModifyInstanceAttributeRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Yundun-dbaudit", "2018-10-29", "ModifyInstanceAttribute", "dbaudit", "openAPI")
+	return
+}
+
+// CreateModifyInstanceAttributeResponse creates a response to parse from ModifyInstanceAttribute response
+func CreateModifyInstanceAttributeResponse() (response *ModifyInstanceAttributeResponse) {
+	response = &ModifyInstanceAttributeResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/yundun-dbaudit/modify_instance_storage.go

@@ -0,0 +1,108 @@
+package yundun_dbaudit
+
+//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"
+)
+
+// ModifyInstanceStorage invokes the yundun_dbaudit.ModifyInstanceStorage API synchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/modifyinstancestorage.html
+func (client *Client) ModifyInstanceStorage(request *ModifyInstanceStorageRequest) (response *ModifyInstanceStorageResponse, err error) {
+	response = CreateModifyInstanceStorageResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ModifyInstanceStorageWithChan invokes the yundun_dbaudit.ModifyInstanceStorage API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/modifyinstancestorage.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyInstanceStorageWithChan(request *ModifyInstanceStorageRequest) (<-chan *ModifyInstanceStorageResponse, <-chan error) {
+	responseChan := make(chan *ModifyInstanceStorageResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyInstanceStorage(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ModifyInstanceStorageWithCallback invokes the yundun_dbaudit.ModifyInstanceStorage API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/modifyinstancestorage.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyInstanceStorageWithCallback(request *ModifyInstanceStorageRequest, callback func(response *ModifyInstanceStorageResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyInstanceStorageResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyInstanceStorage(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ModifyInstanceStorageRequest is the request struct for api ModifyInstanceStorage
+type ModifyInstanceStorageRequest struct {
+	*requests.RpcRequest
+	StorageCategory string           `position:"Query" name:"StorageCategory"`
+	SourceIp        string           `position:"Query" name:"SourceIp"`
+	Lang            string           `position:"Query" name:"Lang"`
+	StorageTime     requests.Integer `position:"Query" name:"StorageTime"`
+	InstanceId      string           `position:"Query" name:"InstanceId"`
+	StorageSpace    string           `position:"Query" name:"StorageSpace"`
+}
+
+// ModifyInstanceStorageResponse is the response struct for api ModifyInstanceStorage
+type ModifyInstanceStorageResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateModifyInstanceStorageRequest creates a request to invoke ModifyInstanceStorage API
+func CreateModifyInstanceStorageRequest() (request *ModifyInstanceStorageRequest) {
+	request = &ModifyInstanceStorageRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Yundun-dbaudit", "2018-10-29", "ModifyInstanceStorage", "dbaudit", "openAPI")
+	return
+}
+
+// CreateModifyInstanceStorageResponse creates a response to parse from ModifyInstanceStorage response
+func CreateModifyInstanceStorageResponse() (response *ModifyInstanceStorageResponse) {
+	response = &ModifyInstanceStorageResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/yundun-dbaudit/move_resource_group.go

@@ -0,0 +1,107 @@
+package yundun_dbaudit
+
+//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"
+)
+
+// MoveResourceGroup invokes the yundun_dbaudit.MoveResourceGroup API synchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/moveresourcegroup.html
+func (client *Client) MoveResourceGroup(request *MoveResourceGroupRequest) (response *MoveResourceGroupResponse, err error) {
+	response = CreateMoveResourceGroupResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// MoveResourceGroupWithChan invokes the yundun_dbaudit.MoveResourceGroup API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/moveresourcegroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) MoveResourceGroupWithChan(request *MoveResourceGroupRequest) (<-chan *MoveResourceGroupResponse, <-chan error) {
+	responseChan := make(chan *MoveResourceGroupResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.MoveResourceGroup(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// MoveResourceGroupWithCallback invokes the yundun_dbaudit.MoveResourceGroup API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/moveresourcegroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) MoveResourceGroupWithCallback(request *MoveResourceGroupRequest, callback func(response *MoveResourceGroupResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *MoveResourceGroupResponse
+		var err error
+		defer close(result)
+		response, err = client.MoveResourceGroup(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// MoveResourceGroupRequest is the request struct for api MoveResourceGroup
+type MoveResourceGroupRequest struct {
+	*requests.RpcRequest
+	ResourceId      string `position:"Query" name:"ResourceId"`
+	ResourceType    string `position:"Query" name:"ResourceType"`
+	ResourceGroupId string `position:"Query" name:"ResourceGroupId"`
+	SourceIp        string `position:"Query" name:"SourceIp"`
+	Lang            string `position:"Query" name:"Lang"`
+}
+
+// MoveResourceGroupResponse is the response struct for api MoveResourceGroup
+type MoveResourceGroupResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateMoveResourceGroupRequest creates a request to invoke MoveResourceGroup API
+func CreateMoveResourceGroupRequest() (request *MoveResourceGroupRequest) {
+	request = &MoveResourceGroupRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Yundun-dbaudit", "2018-10-29", "MoveResourceGroup", "dbaudit", "openAPI")
+	return
+}
+
+// CreateMoveResourceGroupResponse creates a response to parse from MoveResourceGroup response
+func CreateMoveResourceGroupResponse() (response *MoveResourceGroupResponse) {
+	response = &MoveResourceGroupResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 104 - 0
services/yundun-dbaudit/refund_instance.go

@@ -0,0 +1,104 @@
+package yundun_dbaudit
+
+//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"
+)
+
+// RefundInstance invokes the yundun_dbaudit.RefundInstance API synchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/refundinstance.html
+func (client *Client) RefundInstance(request *RefundInstanceRequest) (response *RefundInstanceResponse, err error) {
+	response = CreateRefundInstanceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// RefundInstanceWithChan invokes the yundun_dbaudit.RefundInstance API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/refundinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) RefundInstanceWithChan(request *RefundInstanceRequest) (<-chan *RefundInstanceResponse, <-chan error) {
+	responseChan := make(chan *RefundInstanceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.RefundInstance(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// RefundInstanceWithCallback invokes the yundun_dbaudit.RefundInstance API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/refundinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) RefundInstanceWithCallback(request *RefundInstanceRequest, callback func(response *RefundInstanceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *RefundInstanceResponse
+		var err error
+		defer close(result)
+		response, err = client.RefundInstance(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// RefundInstanceRequest is the request struct for api RefundInstance
+type RefundInstanceRequest struct {
+	*requests.RpcRequest
+	InstanceId string `position:"Query" name:"InstanceId"`
+	SourceIp   string `position:"Query" name:"SourceIp"`
+}
+
+// RefundInstanceResponse is the response struct for api RefundInstance
+type RefundInstanceResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateRefundInstanceRequest creates a request to invoke RefundInstance API
+func CreateRefundInstanceRequest() (request *RefundInstanceRequest) {
+	request = &RefundInstanceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Yundun-dbaudit", "2018-10-29", "RefundInstance", "dbaudit", "openAPI")
+	return
+}
+
+// CreateRefundInstanceResponse creates a response to parse from RefundInstance response
+func CreateRefundInstanceResponse() (response *RefundInstanceResponse) {
+	response = &RefundInstanceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/yundun-dbaudit/start_instance.go

@@ -0,0 +1,106 @@
+package yundun_dbaudit
+
+//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"
+)
+
+// StartInstance invokes the yundun_dbaudit.StartInstance API synchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/startinstance.html
+func (client *Client) StartInstance(request *StartInstanceRequest) (response *StartInstanceResponse, err error) {
+	response = CreateStartInstanceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// StartInstanceWithChan invokes the yundun_dbaudit.StartInstance API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/startinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) StartInstanceWithChan(request *StartInstanceRequest) (<-chan *StartInstanceResponse, <-chan error) {
+	responseChan := make(chan *StartInstanceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.StartInstance(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// StartInstanceWithCallback invokes the yundun_dbaudit.StartInstance API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/startinstance.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) StartInstanceWithCallback(request *StartInstanceRequest, callback func(response *StartInstanceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *StartInstanceResponse
+		var err error
+		defer close(result)
+		response, err = client.StartInstance(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// StartInstanceRequest is the request struct for api StartInstance
+type StartInstanceRequest struct {
+	*requests.RpcRequest
+	VswitchId  string `position:"Query" name:"VswitchId"`
+	InstanceId string `position:"Query" name:"InstanceId"`
+	SourceIp   string `position:"Query" name:"SourceIp"`
+	Lang       string `position:"Query" name:"Lang"`
+}
+
+// StartInstanceResponse is the response struct for api StartInstance
+type StartInstanceResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateStartInstanceRequest creates a request to invoke StartInstance API
+func CreateStartInstanceRequest() (request *StartInstanceRequest) {
+	request = &StartInstanceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Yundun-dbaudit", "2018-10-29", "StartInstance", "dbaudit", "openAPI")
+	return
+}
+
+// CreateStartInstanceResponse creates a response to parse from StartInstance response
+func CreateStartInstanceResponse() (response *StartInstanceResponse) {
+	response = &StartInstanceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 21 - 0
services/yundun-dbaudit/struct_audit_logs.go

@@ -0,0 +1,21 @@
+package yundun_dbaudit
+
+//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.
+
+// AuditLogs is a nested struct in yundun_dbaudit response
+type AuditLogs struct {
+	Item []Item `json:"Item" xml:"Item"`
+}

+ 21 - 0
services/yundun-dbaudit/struct_event_logs.go

@@ -0,0 +1,21 @@
+package yundun_dbaudit
+
+//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.
+
+// EventLogs is a nested struct in yundun_dbaudit response
+type EventLogs struct {
+	Item []ItemInDescribeEventLogs `json:"Item" xml:"Item"`
+}

+ 34 - 0
services/yundun-dbaudit/struct_instance.go

@@ -0,0 +1,34 @@
+package yundun_dbaudit
+
+//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.
+
+// Instance is a nested struct in yundun_dbaudit response
+type Instance struct {
+	RegionId            string `json:"RegionId" xml:"RegionId"`
+	InstanceId          string `json:"InstanceId" xml:"InstanceId"`
+	VpcId               string `json:"VpcId" xml:"VpcId"`
+	VswitchId           string `json:"VswitchId" xml:"VswitchId"`
+	IntranetEndpoint    string `json:"IntranetEndpoint" xml:"IntranetEndpoint"`
+	InternetEndpoint    string `json:"InternetEndpoint" xml:"InternetEndpoint"`
+	InstanceStatus      string `json:"InstanceStatus" xml:"InstanceStatus"`
+	StartTime           int64  `json:"StartTime" xml:"StartTime"`
+	ExpireTime          int64  `json:"ExpireTime" xml:"ExpireTime"`
+	Description         string `json:"Description" xml:"Description"`
+	LicenseCode         string `json:"LicenseCode" xml:"LicenseCode"`
+	ImageVersion        string `json:"ImageVersion" xml:"ImageVersion"`
+	SeriesCode          string `json:"SeriesCode" xml:"SeriesCode"`
+	PublicNetworkAccess bool   `json:"PublicNetworkAccess" xml:"PublicNetworkAccess"`
+}

+ 34 - 0
services/yundun-dbaudit/struct_instance_attribue.go

@@ -0,0 +1,34 @@
+package yundun_dbaudit
+
+//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.
+
+// InstanceAttribue is a nested struct in yundun_dbaudit response
+type InstanceAttribue struct {
+	RegionId            string   `json:"RegionId" xml:"RegionId"`
+	InstanceId          string   `json:"InstanceId" xml:"InstanceId"`
+	VpcId               string   `json:"VpcId" xml:"VpcId"`
+	VswitchId           string   `json:"VswitchId" xml:"VswitchId"`
+	IntranetEndpoint    string   `json:"IntranetEndpoint" xml:"IntranetEndpoint"`
+	InternetEndpoint    string   `json:"InternetEndpoint" xml:"InternetEndpoint"`
+	InstanceStatus      int      `json:"InstanceStatus" xml:"InstanceStatus"`
+	StartTime           int64    `json:"StartTime" xml:"StartTime"`
+	ExpireTime          int64    `json:"ExpireTime" xml:"ExpireTime"`
+	Description         string   `json:"Description" xml:"Description"`
+	LicenseCode         string   `json:"LicenseCode" xml:"LicenseCode"`
+	SeriesCode          string   `json:"SeriesCode" xml:"SeriesCode"`
+	PublicNetworkAccess bool     `json:"PublicNetworkAccess" xml:"PublicNetworkAccess"`
+	WhiteList           []string `json:"WhiteList" xml:"WhiteList"`
+}

+ 36 - 0
services/yundun-dbaudit/struct_instance_attribute.go

@@ -0,0 +1,36 @@
+package yundun_dbaudit
+
+//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.
+
+// InstanceAttribute is a nested struct in yundun_dbaudit response
+type InstanceAttribute struct {
+	RegionId            string   `json:"RegionId" xml:"RegionId"`
+	InstanceId          string   `json:"InstanceId" xml:"InstanceId"`
+	VpcId               string   `json:"VpcId" xml:"VpcId"`
+	VswitchId           string   `json:"VswitchId" xml:"VswitchId"`
+	IntranetEndpoint    string   `json:"IntranetEndpoint" xml:"IntranetEndpoint"`
+	InternetEndpoint    string   `json:"InternetEndpoint" xml:"InternetEndpoint"`
+	InstanceStatus      string   `json:"InstanceStatus" xml:"InstanceStatus"`
+	StartTime           int64    `json:"StartTime" xml:"StartTime"`
+	ExpireTime          int64    `json:"ExpireTime" xml:"ExpireTime"`
+	ImageVersion        string   `json:"ImageVersion" xml:"ImageVersion"`
+	Description         string   `json:"Description" xml:"Description"`
+	LicenseCode         string   `json:"LicenseCode" xml:"LicenseCode"`
+	SeriesCode          string   `json:"SeriesCode" xml:"SeriesCode"`
+	PublicNetworkAccess bool     `json:"PublicNetworkAccess" xml:"PublicNetworkAccess"`
+	WhiteList           []string `json:"WhiteList" xml:"WhiteList"`
+	Ipv6WhiteList       []string `json:"Ipv6WhiteList" xml:"Ipv6WhiteList"`
+}

+ 25 - 0
services/yundun-dbaudit/struct_instance_storage.go

@@ -0,0 +1,25 @@
+package yundun_dbaudit
+
+//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.
+
+// InstanceStorage is a nested struct in yundun_dbaudit response
+type InstanceStorage struct {
+	StorageSpace    string `json:"StorageSpace" xml:"StorageSpace"`
+	StorageCategory string `json:"StorageCategory" xml:"StorageCategory"`
+	StorageCapacity int64  `json:"StorageCapacity" xml:"StorageCapacity"`
+	StorageUsed     int64  `json:"StorageUsed" xml:"StorageUsed"`
+	StorageTime     int64  `json:"StorageTime" xml:"StorageTime"`
+}

+ 21 - 0
services/yundun-dbaudit/struct_instance_storages.go

@@ -0,0 +1,21 @@
+package yundun_dbaudit
+
+//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.
+
+// InstanceStorages is a nested struct in yundun_dbaudit response
+type InstanceStorages struct {
+	InstanceStorage []InstanceStorage `json:"InstanceStorage" xml:"InstanceStorage"`
+}

+ 21 - 0
services/yundun-dbaudit/struct_instances.go

@@ -0,0 +1,21 @@
+package yundun_dbaudit
+
+//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.
+
+// Instances is a nested struct in yundun_dbaudit response
+type Instances struct {
+	Instance []Instance `json:"Instance" xml:"Instance"`
+}

+ 21 - 0
services/yundun-dbaudit/struct_ipv6_white_list.go

@@ -0,0 +1,21 @@
+package yundun_dbaudit
+
+//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.
+
+// Ipv6WhiteList is a nested struct in yundun_dbaudit response
+type Ipv6WhiteList struct {
+	Cidr []string `json:"Cidr" xml:"Cidr"`
+}

+ 68 - 0
services/yundun-dbaudit/struct_item.go

@@ -0,0 +1,68 @@
+package yundun_dbaudit
+
+//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.
+
+// Item is a nested struct in yundun_dbaudit response
+type Item struct {
+	SqlLen        int    `json:"SqlLen" xml:"SqlLen"`
+	EffectRow     int    `json:"EffectRow" xml:"EffectRow"`
+	NormalEnd     int    `json:"NormalEnd" xml:"NormalEnd"`
+	OpType        string `json:"OpType" xml:"OpType"`
+	EndTime       int    `json:"EndTime" xml:"EndTime"`
+	StrInfo       string `json:"StrInfo" xml:"StrInfo"`
+	Dport         int    `json:"Dport" xml:"Dport"`
+	Sqlid         string `json:"Sqlid" xml:"Sqlid"`
+	ClientPrg     string `json:"ClientPrg" xml:"ClientPrg"`
+	Smac          int    `json:"Smac" xml:"Smac"`
+	DataSetSize   int    `json:"DataSetSize" xml:"DataSetSize"`
+	Accessid      string `json:"Accessid" xml:"Accessid"`
+	DbType        string `json:"DbType" xml:"DbType"`
+	C5            string `json:"C5" xml:"C5"`
+	C3            string `json:"C3" xml:"C3"`
+	RelateIp      string `json:"RelateIp" xml:"RelateIp"`
+	AlarmLevel    int    `json:"AlarmLevel" xml:"AlarmLevel"`
+	Sip           string `json:"Sip" xml:"Sip"`
+	DateTime      string `json:"DateTime" xml:"DateTime"`
+	DataSet       string `json:"DataSet" xml:"DataSet"`
+	PickIp        string `json:"PickIp" xml:"PickIp"`
+	StartTime     int    `json:"StartTime" xml:"StartTime"`
+	SqlCount      int    `json:"SqlCount" xml:"SqlCount"`
+	Result        int    `json:"Result" xml:"Result"`
+	ResultDesc    string `json:"ResultDesc" xml:"ResultDesc"`
+	C1            string `json:"C1" xml:"C1"`
+	Cost          int    `json:"Cost" xml:"Cost"`
+	PickUser      string `json:"PickUser" xml:"PickUser"`
+	AlarmName     string `json:"AlarmName" xml:"AlarmName"`
+	AlarmFlag     int    `json:"AlarmFlag" xml:"AlarmFlag"`
+	ClientUser    string `json:"ClientUser" xml:"ClientUser"`
+	ProCon        int    `json:"ProCon" xml:"ProCon"`
+	Sessionid     string `json:"Sessionid" xml:"Sessionid"`
+	DbName        string `json:"DbName" xml:"DbName"`
+	SessionStatus int    `json:"SessionStatus" xml:"SessionStatus"`
+	Encode        string `json:"Encode" xml:"Encode"`
+	Dip           string `json:"Dip" xml:"Dip"`
+	Payload       string `json:"Payload" xml:"Payload"`
+	RelateInfo    string `json:"RelateInfo" xml:"RelateInfo"`
+	C4            string `json:"C4" xml:"C4"`
+	RelateUser    string `json:"RelateUser" xml:"RelateUser"`
+	LoginUser     string `json:"LoginUser" xml:"LoginUser"`
+	HostName      string `json:"HostName" xml:"HostName"`
+	ResponseFlow  int    `json:"ResponseFlow" xml:"ResponseFlow"`
+	Dmac          int    `json:"Dmac" xml:"Dmac"`
+	RequestFlow   int    `json:"RequestFlow" xml:"RequestFlow"`
+	C2            string `json:"C2" xml:"C2"`
+	Sport         int    `json:"Sport" xml:"Sport"`
+}

+ 65 - 0
services/yundun-dbaudit/struct_item_in_describe_event_logs.go

@@ -0,0 +1,65 @@
+package yundun_dbaudit
+
+//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.
+
+// ItemInDescribeEventLogs is a nested struct in yundun_dbaudit response
+type ItemInDescribeEventLogs struct {
+	Accessid     string `json:"Accessid" xml:"Accessid"`
+	Sessionid    string `json:"Sessionid" xml:"Sessionid"`
+	DbType       string `json:"DbType" xml:"DbType"`
+	Sip          string `json:"Sip" xml:"Sip"`
+	Sport        int    `json:"Sport" xml:"Sport"`
+	Dip          string `json:"Dip" xml:"Dip"`
+	Dport        int    `json:"Dport" xml:"Dport"`
+	Smac         int    `json:"Smac" xml:"Smac"`
+	Dmac         int    `json:"Dmac" xml:"Dmac"`
+	LoginUser    string `json:"LoginUser" xml:"LoginUser"`
+	ClientPrg    string `json:"ClientPrg" xml:"ClientPrg"`
+	HostName     string `json:"HostName" xml:"HostName"`
+	ClientUser   string `json:"ClientUser" xml:"ClientUser"`
+	DbName       string `json:"DbName" xml:"DbName"`
+	C1           string `json:"C1" xml:"C1"`
+	C2           string `json:"C2" xml:"C2"`
+	C3           string `json:"C3" xml:"C3"`
+	C4           string `json:"C4" xml:"C4"`
+	C5           string `json:"C5" xml:"C5"`
+	DateTime     string `json:"DateTime" xml:"DateTime"`
+	Sqlid        string `json:"Sqlid" xml:"Sqlid"`
+	OpType       int    `json:"OpType" xml:"OpType"`
+	Payload      string `json:"Payload" xml:"Payload"`
+	SqlLen       int    `json:"SqlLen" xml:"SqlLen"`
+	EffectRow    int    `json:"EffectRow" xml:"EffectRow"`
+	Cost         int    `json:"Cost" xml:"Cost"`
+	Result       int    `json:"Result" xml:"Result"`
+	DataSet      string `json:"DataSet" xml:"DataSet"`
+	DataSetSize  int    `json:"DataSetSize" xml:"DataSetSize"`
+	ResultDesc   string `json:"ResultDesc" xml:"ResultDesc"`
+	RelateUser   string `json:"RelateUser" xml:"RelateUser"`
+	RelateIp     string `json:"RelateIp" xml:"RelateIp"`
+	PickUser     string `json:"PickUser" xml:"PickUser"`
+	PickIp       string `json:"PickIp" xml:"PickIp"`
+	RelateInfo   string `json:"RelateInfo" xml:"RelateInfo"`
+	RuleId       string `json:"RuleId" xml:"RuleId"`
+	EventName    string `json:"EventName" xml:"EventName"`
+	EventLevel   int    `json:"EventLevel" xml:"EventLevel"`
+	RuleGroupId  string `json:"RuleGroupId" xml:"RuleGroupId"`
+	IsStatistics int    `json:"IsStatistics" xml:"IsStatistics"`
+	A1           string `json:"A1" xml:"A1"`
+	A2           string `json:"A2" xml:"A2"`
+	A3           string `json:"A3" xml:"A3"`
+	A4           string `json:"A4" xml:"A4"`
+	A5           string `json:"A5" xml:"A5"`
+}

+ 23 - 0
services/yundun-dbaudit/struct_region.go

@@ -0,0 +1,23 @@
+package yundun_dbaudit
+
+//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.
+
+// Region is a nested struct in yundun_dbaudit response
+type Region struct {
+	RegionId       string `json:"RegionId" xml:"RegionId"`
+	LocalName      string `json:"LocalName" xml:"LocalName"`
+	RegionEndpoint string `json:"RegionEndpoint" xml:"RegionEndpoint"`
+}

+ 21 - 0
services/yundun-dbaudit/struct_regions.go

@@ -0,0 +1,21 @@
+package yundun_dbaudit
+
+//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.
+
+// Regions is a nested struct in yundun_dbaudit response
+type Regions struct {
+	Region []Region `json:"Region" xml:"Region"`
+}

+ 21 - 0
services/yundun-dbaudit/struct_session_logs.go

@@ -0,0 +1,21 @@
+package yundun_dbaudit
+
+//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.
+
+// SessionLogs is a nested struct in yundun_dbaudit response
+type SessionLogs struct {
+	Item []Item `json:"Item" xml:"Item"`
+}

+ 22 - 0
services/yundun-dbaudit/struct_tag_key.go

@@ -0,0 +1,22 @@
+package yundun_dbaudit
+
+//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.
+
+// TagKey is a nested struct in yundun_dbaudit response
+type TagKey struct {
+	TagKey   string `json:"TagKey" xml:"TagKey"`
+	TagCount int    `json:"TagCount" xml:"TagCount"`
+}

+ 21 - 0
services/yundun-dbaudit/struct_tag_keys.go

@@ -0,0 +1,21 @@
+package yundun_dbaudit
+
+//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.
+
+// TagKeys is a nested struct in yundun_dbaudit response
+type TagKeys struct {
+	TagKey []TagKey `json:"TagKey" xml:"TagKey"`
+}

+ 24 - 0
services/yundun-dbaudit/struct_tag_resource.go

@@ -0,0 +1,24 @@
+package yundun_dbaudit
+
+//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 yundun_dbaudit response
+type TagResource struct {
+	ResourceType string `json:"ResourceType" xml:"ResourceType"`
+	ResourceId   string `json:"ResourceId" xml:"ResourceId"`
+	TagKey       string `json:"TagKey" xml:"TagKey"`
+	TagValue     string `json:"TagValue" xml:"TagValue"`
+}

+ 21 - 0
services/yundun-dbaudit/struct_tag_resources.go

@@ -0,0 +1,21 @@
+package yundun_dbaudit
+
+//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 yundun_dbaudit response
+type TagResources struct {
+	TagResource []TagResource `json:"TagResource" xml:"TagResource"`
+}

+ 26 - 0
services/yundun-dbaudit/struct_upload_config.go

@@ -0,0 +1,26 @@
+package yundun_dbaudit
+
+//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.
+
+// UploadConfig is a nested struct in yundun_dbaudit response
+type UploadConfig struct {
+	AccessId   string `json:"AccessId" xml:"AccessId"`
+	Signature  string `json:"Signature" xml:"Signature"`
+	ExpireTime int64  `json:"ExpireTime" xml:"ExpireTime"`
+	UploadHost string `json:"UploadHost" xml:"UploadHost"`
+	FilePath   string `json:"FilePath" xml:"FilePath"`
+	Policy     string `json:"Policy" xml:"Policy"`
+}

+ 21 - 0
services/yundun-dbaudit/struct_white_list_in_describe_instance_attribue.go

@@ -0,0 +1,21 @@
+package yundun_dbaudit
+
+//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.
+
+// WhiteListInDescribeInstanceAttribue is a nested struct in yundun_dbaudit response
+type WhiteListInDescribeInstanceAttribue struct {
+	Cidr []string `json:"Cidr" xml:"Cidr"`
+}

+ 21 - 0
services/yundun-dbaudit/struct_white_list_in_describe_instance_attribute.go

@@ -0,0 +1,21 @@
+package yundun_dbaudit
+
+//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.
+
+// WhiteListInDescribeInstanceAttribute is a nested struct in yundun_dbaudit response
+type WhiteListInDescribeInstanceAttribute struct {
+	Cidr []string `json:"Cidr" xml:"Cidr"`
+}

+ 113 - 0
services/yundun-dbaudit/tag_resources.go

@@ -0,0 +1,113 @@
+package yundun_dbaudit
+
+//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 yundun_dbaudit.TagResources API synchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/tagresources.html
+func (client *Client) TagResources(request *TagResourcesRequest) (response *TagResourcesResponse, err error) {
+	response = CreateTagResourcesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// TagResourcesWithChan invokes the yundun_dbaudit.TagResources API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/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 yundun_dbaudit.TagResources API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/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"`
+	ResourceType string             `position:"Query" name:"ResourceType"`
+	SourceIp     string             `position:"Query" name:"SourceIp"`
+	Tag          *[]TagResourcesTag `position:"Query" name:"Tag"  type:"Repeated"`
+	Lang         string             `position:"Query" name:"Lang"`
+}
+
+// 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("Yundun-dbaudit", "2018-10-29", "TagResources", "dbaudit", "openAPI")
+	return
+}
+
+// CreateTagResourcesResponse creates a response to parse from TagResources response
+func CreateTagResourcesResponse() (response *TagResourcesResponse) {
+	response = &TagResourcesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/yundun-dbaudit/untag_resources.go

@@ -0,0 +1,108 @@
+package yundun_dbaudit
+
+//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 yundun_dbaudit.UntagResources API synchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/untagresources.html
+func (client *Client) UntagResources(request *UntagResourcesRequest) (response *UntagResourcesResponse, err error) {
+	response = CreateUntagResourcesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// UntagResourcesWithChan invokes the yundun_dbaudit.UntagResources API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/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 yundun_dbaudit.UntagResources API asynchronously
+// api document: https://help.aliyun.com/api/yundun-dbaudit/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
+	SourceIp     string           `position:"Query" name:"SourceIp"`
+	Lang         string           `position:"Query" name:"Lang"`
+	All          requests.Boolean `position:"Query" name:"All"`
+	ResourceId   *[]string        `position:"Query" name:"ResourceId"  type:"Repeated"`
+	ResourceType string           `position:"Query" name:"ResourceType"`
+	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("Yundun-dbaudit", "2018-10-29", "UntagResources", "dbaudit", "openAPI")
+	return
+}
+
+// CreateUntagResourcesResponse creates a response to parse from UntagResources response
+func CreateUntagResourcesResponse() (response *UntagResourcesResponse) {
+	response = &UntagResourcesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}