Browse Source

Supported open api for dbaudit management.

sdk-team 6 years ago
parent
commit
338ecd96b8

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-07-18 Version: 1.60.67
+- Supported open api for dbaudit management.
+
 2019-07-15 Version: 1.60.66
 - Add filed `internalDomain` for api `get token`.
 

+ 104 - 0
services/yundun_dbaudit/client.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"
+	"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
+}
+
+// NewClient creates a sdk client with environment variables
+func NewClient() (client *Client, err error) {
+	client = &Client{}
+	err = client.Init()
+	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)
+	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)
+	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)
+	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)
+	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)
+	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)
+	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)
+	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)
+	return
+}

+ 106 - 0
services/yundun_dbaudit/config_instance_white_list.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"
+)
+
+// 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
+	InstanceId string    `position:"Query" name:"InstanceId"`
+	SourceIp   string    `position:"Query" name:"SourceIp"`
+	WhiteList  *[]string `position:"Query" name:"WhiteList"  type:"Repeated"`
+	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/describe_instance_attribue.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"
+)
+
+// 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"`
+}
+
+// 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
+}

+ 105 - 0
services/yundun_dbaudit/describe_instance_attribute.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"
+)
+
+// 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"`
+}
+
+// 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
+}

+ 117 - 0
services/yundun_dbaudit/describe_instances.go

@@ -0,0 +1,117 @@
+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
+	InstanceStatus string                  `position:"Query" name:"InstanceStatus"`
+	InstanceId     *[]string               `position:"Query" name:"InstanceId"  type:"Repeated"`
+	SourceIp       string                  `position:"Query" name:"SourceIp"`
+	PageSize       requests.Integer        `position:"Query" name:"PageSize"`
+	CurrentPage    requests.Integer        `position:"Query" name:"CurrentPage"`
+	Tag            *[]DescribeInstancesTag `position:"Query" name:"Tag"  type:"Repeated"`
+	Lang           string                  `position:"Query" name:"Lang"`
+}
+
+// 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
+}

+ 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
+}

+ 110 - 0
services/yundun_dbaudit/list_tag_keys.go

@@ -0,0 +1,110 @@
+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
+	SourceIp     string           `position:"Query" name:"SourceIp"`
+	PageSize     requests.Integer `position:"Query" name:"PageSize"`
+	CurrentPage  requests.Integer `position:"Query" name:"CurrentPage"`
+	ResourceType string           `position:"Query" name:"ResourceType"`
+}
+
+// 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
+}

+ 115 - 0
services/yundun_dbaudit/list_tag_resources.go

@@ -0,0 +1,115 @@
+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
+	ResourceId   *[]string              `position:"Query" name:"ResourceId"  type:"Repeated"`
+	SourceIp     string                 `position:"Query" name:"SourceIp"`
+	NextToken    string                 `position:"Query" name:"NextToken"`
+	Tag          *[]ListTagResourcesTag `position:"Query" name:"Tag"  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
+	InstanceId  string `position:"Query" name:"InstanceId"`
+	SourceIp    string `position:"Query" name:"SourceIp"`
+	Description string `position:"Query" name:"Description"`
+	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
+}

+ 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
+}

+ 33 - 0
services/yundun_dbaudit/struct_instance.go

@@ -0,0 +1,33 @@
+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      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"`
+}

+ 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"`
+}

+ 34 - 0
services/yundun_dbaudit/struct_instance_attribute.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.
+
+// 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      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"`
+}

+ 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"`
+}

+ 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"`
+}

+ 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"`
+}

+ 112 - 0
services/yundun_dbaudit/tag_resources.go

@@ -0,0 +1,112 @@
+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"`
+	SourceIp     string             `position:"Query" name:"SourceIp"`
+	Tag          *[]TagResourcesTag `position:"Query" name:"Tag"  type:"Repeated"`
+	ResourceType string             `position:"Query" name:"ResourceType"`
+}
+
+// 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
+}

+ 107 - 0
services/yundun_dbaudit/untag_resources.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"
+)
+
+// 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
+	All          requests.Boolean `position:"Query" name:"All"`
+	ResourceId   *[]string        `position:"Query" name:"ResourceId"  type:"Repeated"`
+	SourceIp     string           `position:"Query" name:"SourceIp"`
+	TagKey       *[]string        `position:"Query" name:"TagKey"  type:"Repeated"`
+	ResourceType string           `position:"Query" name:"ResourceType"`
+}
+
+// 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
+}