Documentation ¶
Index ¶
- Variables
- func GetEndpointMap() map[string]string
- func GetEndpointType() string
- func SetClientProperty(client *Client, propertyName string, propertyValue interface{})
- func SetEndpointDataToClient(client *Client)
- type AuditLogs
- type ClearInstanceStorageRequest
- type ClearInstanceStorageResponse
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) ClearInstanceStorage(request *ClearInstanceStorageRequest) (response *ClearInstanceStorageResponse, err error)
- func (client *Client) ClearInstanceStorageWithCallback(request *ClearInstanceStorageRequest, ...) <-chan int
- func (client *Client) ClearInstanceStorageWithChan(request *ClearInstanceStorageRequest) (<-chan *ClearInstanceStorageResponse, <-chan error)
- func (client *Client) ConfigInstanceWhiteList(request *ConfigInstanceWhiteListRequest) (response *ConfigInstanceWhiteListResponse, err error)
- func (client *Client) ConfigInstanceWhiteListWithCallback(request *ConfigInstanceWhiteListRequest, ...) <-chan int
- func (client *Client) ConfigInstanceWhiteListWithChan(request *ConfigInstanceWhiteListRequest) (<-chan *ConfigInstanceWhiteListResponse, <-chan error)
- func (client *Client) DeleteAlarmReceiveConfig(request *DeleteAlarmReceiveConfigRequest) (response *DeleteAlarmReceiveConfigResponse, err error)
- func (client *Client) DeleteAlarmReceiveConfigWithCallback(request *DeleteAlarmReceiveConfigRequest, ...) <-chan int
- func (client *Client) DeleteAlarmReceiveConfigWithChan(request *DeleteAlarmReceiveConfigRequest) (<-chan *DeleteAlarmReceiveConfigResponse, <-chan error)
- func (client *Client) DescribeAuditLogs(request *DescribeAuditLogsRequest) (response *DescribeAuditLogsResponse, err error)
- func (client *Client) DescribeAuditLogsWithCallback(request *DescribeAuditLogsRequest, ...) <-chan int
- func (client *Client) DescribeAuditLogsWithChan(request *DescribeAuditLogsRequest) (<-chan *DescribeAuditLogsResponse, <-chan error)
- func (client *Client) DescribeEventLogs(request *DescribeEventLogsRequest) (response *DescribeEventLogsResponse, err error)
- func (client *Client) DescribeEventLogsWithCallback(request *DescribeEventLogsRequest, ...) <-chan int
- func (client *Client) DescribeEventLogsWithChan(request *DescribeEventLogsRequest) (<-chan *DescribeEventLogsResponse, <-chan error)
- func (client *Client) DescribeInstanceAttribue(request *DescribeInstanceAttribueRequest) (response *DescribeInstanceAttribueResponse, err error)
- func (client *Client) DescribeInstanceAttribueWithCallback(request *DescribeInstanceAttribueRequest, ...) <-chan int
- func (client *Client) DescribeInstanceAttribueWithChan(request *DescribeInstanceAttribueRequest) (<-chan *DescribeInstanceAttribueResponse, <-chan error)
- func (client *Client) DescribeInstanceAttribute(request *DescribeInstanceAttributeRequest) (response *DescribeInstanceAttributeResponse, err error)
- func (client *Client) DescribeInstanceAttributeWithCallback(request *DescribeInstanceAttributeRequest, ...) <-chan int
- func (client *Client) DescribeInstanceAttributeWithChan(request *DescribeInstanceAttributeRequest) (<-chan *DescribeInstanceAttributeResponse, <-chan error)
- func (client *Client) DescribeInstanceStorage(request *DescribeInstanceStorageRequest) (response *DescribeInstanceStorageResponse, err error)
- func (client *Client) DescribeInstanceStorageWithCallback(request *DescribeInstanceStorageRequest, ...) <-chan int
- func (client *Client) DescribeInstanceStorageWithChan(request *DescribeInstanceStorageRequest) (<-chan *DescribeInstanceStorageResponse, <-chan error)
- func (client *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
- func (client *Client) DescribeInstancesWithCallback(request *DescribeInstancesRequest, ...) <-chan int
- func (client *Client) DescribeInstancesWithChan(request *DescribeInstancesRequest) (<-chan *DescribeInstancesResponse, <-chan error)
- func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
- func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, ...) <-chan int
- func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error)
- func (client *Client) DescribeSessionLogs(request *DescribeSessionLogsRequest) (response *DescribeSessionLogsResponse, err error)
- func (client *Client) DescribeSessionLogsWithCallback(request *DescribeSessionLogsRequest, ...) <-chan int
- func (client *Client) DescribeSessionLogsWithChan(request *DescribeSessionLogsRequest) (<-chan *DescribeSessionLogsResponse, <-chan error)
- func (client *Client) DisableInstancePublicAccess(request *DisableInstancePublicAccessRequest) (response *DisableInstancePublicAccessResponse, err error)
- func (client *Client) DisableInstancePublicAccessWithCallback(request *DisableInstancePublicAccessRequest, ...) <-chan int
- func (client *Client) DisableInstancePublicAccessWithChan(request *DisableInstancePublicAccessRequest) (<-chan *DisableInstancePublicAccessResponse, <-chan error)
- func (client *Client) EnableInstancePublicAccess(request *EnableInstancePublicAccessRequest) (response *EnableInstancePublicAccessResponse, err error)
- func (client *Client) EnableInstancePublicAccessWithCallback(request *EnableInstancePublicAccessRequest, ...) <-chan int
- func (client *Client) EnableInstancePublicAccessWithChan(request *EnableInstancePublicAccessRequest) (<-chan *EnableInstancePublicAccessResponse, <-chan error)
- func (client *Client) ListTagKeys(request *ListTagKeysRequest) (response *ListTagKeysResponse, err error)
- func (client *Client) ListTagKeysWithCallback(request *ListTagKeysRequest, ...) <-chan int
- func (client *Client) ListTagKeysWithChan(request *ListTagKeysRequest) (<-chan *ListTagKeysResponse, <-chan error)
- func (client *Client) ListTagResources(request *ListTagResourcesRequest) (response *ListTagResourcesResponse, err error)
- func (client *Client) ListTagResourcesWithCallback(request *ListTagResourcesRequest, ...) <-chan int
- func (client *Client) ListTagResourcesWithChan(request *ListTagResourcesRequest) (<-chan *ListTagResourcesResponse, <-chan error)
- func (client *Client) ModifyInstanceAttribute(request *ModifyInstanceAttributeRequest) (response *ModifyInstanceAttributeResponse, err error)
- func (client *Client) ModifyInstanceAttributeWithCallback(request *ModifyInstanceAttributeRequest, ...) <-chan int
- func (client *Client) ModifyInstanceAttributeWithChan(request *ModifyInstanceAttributeRequest) (<-chan *ModifyInstanceAttributeResponse, <-chan error)
- func (client *Client) ModifyInstanceStorage(request *ModifyInstanceStorageRequest) (response *ModifyInstanceStorageResponse, err error)
- func (client *Client) ModifyInstanceStorageWithCallback(request *ModifyInstanceStorageRequest, ...) <-chan int
- func (client *Client) ModifyInstanceStorageWithChan(request *ModifyInstanceStorageRequest) (<-chan *ModifyInstanceStorageResponse, <-chan error)
- func (client *Client) MoveResourceGroup(request *MoveResourceGroupRequest) (response *MoveResourceGroupResponse, err error)
- func (client *Client) MoveResourceGroupWithCallback(request *MoveResourceGroupRequest, ...) <-chan int
- func (client *Client) MoveResourceGroupWithChan(request *MoveResourceGroupRequest) (<-chan *MoveResourceGroupResponse, <-chan error)
- func (client *Client) RefundInstance(request *RefundInstanceRequest) (response *RefundInstanceResponse, err error)
- func (client *Client) RefundInstanceWithCallback(request *RefundInstanceRequest, ...) <-chan int
- func (client *Client) RefundInstanceWithChan(request *RefundInstanceRequest) (<-chan *RefundInstanceResponse, <-chan error)
- func (client *Client) StartInstance(request *StartInstanceRequest) (response *StartInstanceResponse, err error)
- func (client *Client) StartInstanceWithCallback(request *StartInstanceRequest, ...) <-chan int
- func (client *Client) StartInstanceWithChan(request *StartInstanceRequest) (<-chan *StartInstanceResponse, <-chan error)
- func (client *Client) TagResources(request *TagResourcesRequest) (response *TagResourcesResponse, err error)
- func (client *Client) TagResourcesWithCallback(request *TagResourcesRequest, ...) <-chan int
- func (client *Client) TagResourcesWithChan(request *TagResourcesRequest) (<-chan *TagResourcesResponse, <-chan error)
- func (client *Client) UntagResources(request *UntagResourcesRequest) (response *UntagResourcesResponse, err error)
- func (client *Client) UntagResourcesWithCallback(request *UntagResourcesRequest, ...) <-chan int
- func (client *Client) UntagResourcesWithChan(request *UntagResourcesRequest) (<-chan *UntagResourcesResponse, <-chan error)
- type ConfigInstanceWhiteListRequest
- type ConfigInstanceWhiteListResponse
- type DeleteAlarmReceiveConfigRequest
- type DeleteAlarmReceiveConfigResponse
- type DescribeAuditLogsRequest
- type DescribeAuditLogsResponse
- type DescribeEventLogsRequest
- type DescribeEventLogsResponse
- type DescribeInstanceAttribueRequest
- type DescribeInstanceAttribueResponse
- type DescribeInstanceAttributeRequest
- type DescribeInstanceAttributeResponse
- type DescribeInstanceStorageRequest
- type DescribeInstanceStorageResponse
- type DescribeInstancesRequest
- type DescribeInstancesResponse
- type DescribeInstancesTag
- type DescribeRegionsRequest
- type DescribeRegionsResponse
- type DescribeSessionLogsRequest
- type DescribeSessionLogsResponse
- type DisableInstancePublicAccessRequest
- type DisableInstancePublicAccessResponse
- type EnableInstancePublicAccessRequest
- type EnableInstancePublicAccessResponse
- type EventLogs
- type Instance
- type InstanceAttribue
- type InstanceAttribute
- type InstanceStorage
- type InstanceStorages
- type Instances
- type Item
- type ItemInDescribeEventLogs
- type ListTagKeysRequest
- type ListTagKeysResponse
- type ListTagResourcesRequest
- type ListTagResourcesResponse
- type ListTagResourcesTag
- type ModifyInstanceAttributeRequest
- type ModifyInstanceAttributeResponse
- type ModifyInstanceStorageRequest
- type ModifyInstanceStorageResponse
- type MoveResourceGroupRequest
- type MoveResourceGroupResponse
- type RefundInstanceRequest
- type RefundInstanceResponse
- type Region
- type Regions
- type SessionLogs
- type StartInstanceRequest
- type StartInstanceResponse
- type TagKey
- type TagKeys
- type TagResource
- type TagResources
- type TagResourcesRequest
- type TagResourcesResponse
- type TagResourcesTag
- type UntagResourcesRequest
- type UntagResourcesResponse
- type WhiteListInDescribeInstanceAttribue
- type WhiteListInDescribeInstanceAttribute
Constants ¶
This section is empty.
Variables ¶
var EndpointMap map[string]string
EndpointMap Endpoint Data
var EndpointType = "central"
EndpointType regional or central
Functions ¶
func SetClientProperty ¶
SetClientProperty Set Property by Reflect
func SetEndpointDataToClient ¶
func SetEndpointDataToClient(client *Client)
SetEndpointDataToClient Set EndpointMap and ENdpointType
Types ¶
type AuditLogs ¶
type AuditLogs struct {
Item []Item `json:"Item" xml:"Item"`
}
AuditLogs is a nested struct in yundun_dbaudit response
type ClearInstanceStorageRequest ¶
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"` }
ClearInstanceStorageRequest is the request struct for api ClearInstanceStorage
func CreateClearInstanceStorageRequest ¶
func CreateClearInstanceStorageRequest() (request *ClearInstanceStorageRequest)
CreateClearInstanceStorageRequest creates a request to invoke ClearInstanceStorage API
type ClearInstanceStorageResponse ¶
type ClearInstanceStorageResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ClearInstanceStorageResponse is the response struct for api ClearInstanceStorage
func CreateClearInstanceStorageResponse ¶
func CreateClearInstanceStorageResponse() (response *ClearInstanceStorageResponse)
CreateClearInstanceStorageResponse creates a response to parse from ClearInstanceStorage response
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
func NewClient ¶
NewClient creates a sdk client with environment variables Deprecated: Please use github.com/aliyun/alibaba-cloud-sdk-go/services/yundun-dbaudit instead
func NewClientWithAccessKey ¶
func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
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 Deprecated: Please use github.com/aliyun/alibaba-cloud-sdk-go/services/yundun-dbaudit instead
func NewClientWithEcsRamRole ¶
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 Deprecated: Please use github.com/aliyun/alibaba-cloud-sdk-go/services/yundun-dbaudit instead
func NewClientWithOptions ¶
func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client Deprecated: Please use github.com/aliyun/alibaba-cloud-sdk-go/services/yundun-dbaudit instead
func NewClientWithProvider ¶
func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md Deprecated: Please use github.com/aliyun/alibaba-cloud-sdk-go/services/yundun-dbaudit instead
func NewClientWithRamRoleArn ¶
func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
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 Deprecated: Please use github.com/aliyun/alibaba-cloud-sdk-go/services/yundun-dbaudit instead
func NewClientWithRamRoleArnAndPolicy ¶
func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)
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 Deprecated: Please use github.com/aliyun/alibaba-cloud-sdk-go/services/yundun-dbaudit instead
func NewClientWithRsaKeyPair ¶
func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
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 Deprecated: Please use github.com/aliyun/alibaba-cloud-sdk-go/services/yundun-dbaudit instead
func NewClientWithStsToken ¶
func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
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 Deprecated: Please use github.com/aliyun/alibaba-cloud-sdk-go/services/yundun-dbaudit instead
func (*Client) ClearInstanceStorage ¶
func (client *Client) ClearInstanceStorage(request *ClearInstanceStorageRequest) (response *ClearInstanceStorageResponse, err error)
ClearInstanceStorage invokes the yundun_dbaudit.ClearInstanceStorage API synchronously api document: https://help.aliyun.com/api/yundun-dbaudit/clearinstancestorage.html
func (*Client) ClearInstanceStorageWithCallback ¶
func (client *Client) ClearInstanceStorageWithCallback(request *ClearInstanceStorageRequest, callback func(response *ClearInstanceStorageResponse, err error)) <-chan int
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) ClearInstanceStorageWithChan ¶
func (client *Client) ClearInstanceStorageWithChan(request *ClearInstanceStorageRequest) (<-chan *ClearInstanceStorageResponse, <-chan error)
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) ConfigInstanceWhiteList ¶
func (client *Client) ConfigInstanceWhiteList(request *ConfigInstanceWhiteListRequest) (response *ConfigInstanceWhiteListResponse, err error)
ConfigInstanceWhiteList invokes the yundun_dbaudit.ConfigInstanceWhiteList API synchronously api document: https://help.aliyun.com/api/yundun-dbaudit/configinstancewhitelist.html
func (*Client) ConfigInstanceWhiteListWithCallback ¶
func (client *Client) ConfigInstanceWhiteListWithCallback(request *ConfigInstanceWhiteListRequest, callback func(response *ConfigInstanceWhiteListResponse, err error)) <-chan int
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) ConfigInstanceWhiteListWithChan ¶
func (client *Client) ConfigInstanceWhiteListWithChan(request *ConfigInstanceWhiteListRequest) (<-chan *ConfigInstanceWhiteListResponse, <-chan error)
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) DeleteAlarmReceiveConfig ¶
func (client *Client) DeleteAlarmReceiveConfig(request *DeleteAlarmReceiveConfigRequest) (response *DeleteAlarmReceiveConfigResponse, err error)
DeleteAlarmReceiveConfig invokes the yundun_dbaudit.DeleteAlarmReceiveConfig API synchronously api document: https://help.aliyun.com/api/yundun-dbaudit/deletealarmreceiveconfig.html
func (*Client) DeleteAlarmReceiveConfigWithCallback ¶
func (client *Client) DeleteAlarmReceiveConfigWithCallback(request *DeleteAlarmReceiveConfigRequest, callback func(response *DeleteAlarmReceiveConfigResponse, err error)) <-chan int
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) DeleteAlarmReceiveConfigWithChan ¶
func (client *Client) DeleteAlarmReceiveConfigWithChan(request *DeleteAlarmReceiveConfigRequest) (<-chan *DeleteAlarmReceiveConfigResponse, <-chan error)
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) DescribeAuditLogs ¶
func (client *Client) DescribeAuditLogs(request *DescribeAuditLogsRequest) (response *DescribeAuditLogsResponse, err error)
DescribeAuditLogs invokes the yundun_dbaudit.DescribeAuditLogs API synchronously api document: https://help.aliyun.com/api/yundun-dbaudit/describeauditlogs.html
func (*Client) DescribeAuditLogsWithCallback ¶
func (client *Client) DescribeAuditLogsWithCallback(request *DescribeAuditLogsRequest, callback func(response *DescribeAuditLogsResponse, err error)) <-chan int
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) DescribeAuditLogsWithChan ¶
func (client *Client) DescribeAuditLogsWithChan(request *DescribeAuditLogsRequest) (<-chan *DescribeAuditLogsResponse, <-chan error)
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) DescribeEventLogs ¶
func (client *Client) DescribeEventLogs(request *DescribeEventLogsRequest) (response *DescribeEventLogsResponse, err error)
DescribeEventLogs invokes the yundun_dbaudit.DescribeEventLogs API synchronously api document: https://help.aliyun.com/api/yundun-dbaudit/describeeventlogs.html
func (*Client) DescribeEventLogsWithCallback ¶
func (client *Client) DescribeEventLogsWithCallback(request *DescribeEventLogsRequest, callback func(response *DescribeEventLogsResponse, err error)) <-chan int
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) DescribeEventLogsWithChan ¶
func (client *Client) DescribeEventLogsWithChan(request *DescribeEventLogsRequest) (<-chan *DescribeEventLogsResponse, <-chan error)
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) DescribeInstanceAttribue ¶
func (client *Client) DescribeInstanceAttribue(request *DescribeInstanceAttribueRequest) (response *DescribeInstanceAttribueResponse, err error)
DescribeInstanceAttribue invokes the yundun_dbaudit.DescribeInstanceAttribue API synchronously api document: https://help.aliyun.com/api/yundun-dbaudit/describeinstanceattribue.html
func (*Client) DescribeInstanceAttribueWithCallback ¶
func (client *Client) DescribeInstanceAttribueWithCallback(request *DescribeInstanceAttribueRequest, callback func(response *DescribeInstanceAttribueResponse, err error)) <-chan int
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) DescribeInstanceAttribueWithChan ¶
func (client *Client) DescribeInstanceAttribueWithChan(request *DescribeInstanceAttribueRequest) (<-chan *DescribeInstanceAttribueResponse, <-chan error)
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) DescribeInstanceAttribute ¶
func (client *Client) DescribeInstanceAttribute(request *DescribeInstanceAttributeRequest) (response *DescribeInstanceAttributeResponse, err error)
DescribeInstanceAttribute invokes the yundun_dbaudit.DescribeInstanceAttribute API synchronously api document: https://help.aliyun.com/api/yundun-dbaudit/describeinstanceattribute.html
func (*Client) DescribeInstanceAttributeWithCallback ¶
func (client *Client) DescribeInstanceAttributeWithCallback(request *DescribeInstanceAttributeRequest, callback func(response *DescribeInstanceAttributeResponse, err error)) <-chan int
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) DescribeInstanceAttributeWithChan ¶
func (client *Client) DescribeInstanceAttributeWithChan(request *DescribeInstanceAttributeRequest) (<-chan *DescribeInstanceAttributeResponse, <-chan error)
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) DescribeInstanceStorage ¶
func (client *Client) DescribeInstanceStorage(request *DescribeInstanceStorageRequest) (response *DescribeInstanceStorageResponse, err error)
DescribeInstanceStorage invokes the yundun_dbaudit.DescribeInstanceStorage API synchronously api document: https://help.aliyun.com/api/yundun-dbaudit/describeinstancestorage.html
func (*Client) DescribeInstanceStorageWithCallback ¶
func (client *Client) DescribeInstanceStorageWithCallback(request *DescribeInstanceStorageRequest, callback func(response *DescribeInstanceStorageResponse, err error)) <-chan int
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) DescribeInstanceStorageWithChan ¶
func (client *Client) DescribeInstanceStorageWithChan(request *DescribeInstanceStorageRequest) (<-chan *DescribeInstanceStorageResponse, <-chan error)
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) DescribeInstances ¶
func (client *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
DescribeInstances invokes the yundun_dbaudit.DescribeInstances API synchronously api document: https://help.aliyun.com/api/yundun-dbaudit/describeinstances.html
func (*Client) DescribeInstancesWithCallback ¶
func (client *Client) DescribeInstancesWithCallback(request *DescribeInstancesRequest, callback func(response *DescribeInstancesResponse, err error)) <-chan int
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) DescribeInstancesWithChan ¶
func (client *Client) DescribeInstancesWithChan(request *DescribeInstancesRequest) (<-chan *DescribeInstancesResponse, <-chan error)
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) DescribeRegions ¶
func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
DescribeRegions invokes the yundun_dbaudit.DescribeRegions API synchronously api document: https://help.aliyun.com/api/yundun-dbaudit/describeregions.html
func (*Client) DescribeRegionsWithCallback ¶
func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, callback func(response *DescribeRegionsResponse, err error)) <-chan int
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) DescribeRegionsWithChan ¶
func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error)
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) DescribeSessionLogs ¶
func (client *Client) DescribeSessionLogs(request *DescribeSessionLogsRequest) (response *DescribeSessionLogsResponse, err error)
DescribeSessionLogs invokes the yundun_dbaudit.DescribeSessionLogs API synchronously api document: https://help.aliyun.com/api/yundun-dbaudit/describesessionlogs.html
func (*Client) DescribeSessionLogsWithCallback ¶
func (client *Client) DescribeSessionLogsWithCallback(request *DescribeSessionLogsRequest, callback func(response *DescribeSessionLogsResponse, err error)) <-chan int
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) DescribeSessionLogsWithChan ¶
func (client *Client) DescribeSessionLogsWithChan(request *DescribeSessionLogsRequest) (<-chan *DescribeSessionLogsResponse, <-chan error)
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) DisableInstancePublicAccess ¶
func (client *Client) DisableInstancePublicAccess(request *DisableInstancePublicAccessRequest) (response *DisableInstancePublicAccessResponse, err error)
DisableInstancePublicAccess invokes the yundun_dbaudit.DisableInstancePublicAccess API synchronously api document: https://help.aliyun.com/api/yundun-dbaudit/disableinstancepublicaccess.html
func (*Client) DisableInstancePublicAccessWithCallback ¶
func (client *Client) DisableInstancePublicAccessWithCallback(request *DisableInstancePublicAccessRequest, callback func(response *DisableInstancePublicAccessResponse, err error)) <-chan int
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) DisableInstancePublicAccessWithChan ¶
func (client *Client) DisableInstancePublicAccessWithChan(request *DisableInstancePublicAccessRequest) (<-chan *DisableInstancePublicAccessResponse, <-chan error)
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) EnableInstancePublicAccess ¶
func (client *Client) EnableInstancePublicAccess(request *EnableInstancePublicAccessRequest) (response *EnableInstancePublicAccessResponse, err error)
EnableInstancePublicAccess invokes the yundun_dbaudit.EnableInstancePublicAccess API synchronously api document: https://help.aliyun.com/api/yundun-dbaudit/enableinstancepublicaccess.html
func (*Client) EnableInstancePublicAccessWithCallback ¶
func (client *Client) EnableInstancePublicAccessWithCallback(request *EnableInstancePublicAccessRequest, callback func(response *EnableInstancePublicAccessResponse, err error)) <-chan int
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) EnableInstancePublicAccessWithChan ¶
func (client *Client) EnableInstancePublicAccessWithChan(request *EnableInstancePublicAccessRequest) (<-chan *EnableInstancePublicAccessResponse, <-chan error)
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) ListTagKeys ¶
func (client *Client) ListTagKeys(request *ListTagKeysRequest) (response *ListTagKeysResponse, err error)
ListTagKeys invokes the yundun_dbaudit.ListTagKeys API synchronously api document: https://help.aliyun.com/api/yundun-dbaudit/listtagkeys.html
func (*Client) ListTagKeysWithCallback ¶
func (client *Client) ListTagKeysWithCallback(request *ListTagKeysRequest, callback func(response *ListTagKeysResponse, err error)) <-chan int
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) ListTagKeysWithChan ¶
func (client *Client) ListTagKeysWithChan(request *ListTagKeysRequest) (<-chan *ListTagKeysResponse, <-chan error)
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) ListTagResources ¶
func (client *Client) ListTagResources(request *ListTagResourcesRequest) (response *ListTagResourcesResponse, err error)
ListTagResources invokes the yundun_dbaudit.ListTagResources API synchronously api document: https://help.aliyun.com/api/yundun-dbaudit/listtagresources.html
func (*Client) ListTagResourcesWithCallback ¶
func (client *Client) ListTagResourcesWithCallback(request *ListTagResourcesRequest, callback func(response *ListTagResourcesResponse, err error)) <-chan int
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) ListTagResourcesWithChan ¶
func (client *Client) ListTagResourcesWithChan(request *ListTagResourcesRequest) (<-chan *ListTagResourcesResponse, <-chan error)
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) ModifyInstanceAttribute ¶
func (client *Client) ModifyInstanceAttribute(request *ModifyInstanceAttributeRequest) (response *ModifyInstanceAttributeResponse, err error)
ModifyInstanceAttribute invokes the yundun_dbaudit.ModifyInstanceAttribute API synchronously api document: https://help.aliyun.com/api/yundun-dbaudit/modifyinstanceattribute.html
func (*Client) ModifyInstanceAttributeWithCallback ¶
func (client *Client) ModifyInstanceAttributeWithCallback(request *ModifyInstanceAttributeRequest, callback func(response *ModifyInstanceAttributeResponse, err error)) <-chan int
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) ModifyInstanceAttributeWithChan ¶
func (client *Client) ModifyInstanceAttributeWithChan(request *ModifyInstanceAttributeRequest) (<-chan *ModifyInstanceAttributeResponse, <-chan error)
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) ModifyInstanceStorage ¶
func (client *Client) ModifyInstanceStorage(request *ModifyInstanceStorageRequest) (response *ModifyInstanceStorageResponse, err error)
ModifyInstanceStorage invokes the yundun_dbaudit.ModifyInstanceStorage API synchronously api document: https://help.aliyun.com/api/yundun-dbaudit/modifyinstancestorage.html
func (*Client) ModifyInstanceStorageWithCallback ¶
func (client *Client) ModifyInstanceStorageWithCallback(request *ModifyInstanceStorageRequest, callback func(response *ModifyInstanceStorageResponse, err error)) <-chan int
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) ModifyInstanceStorageWithChan ¶
func (client *Client) ModifyInstanceStorageWithChan(request *ModifyInstanceStorageRequest) (<-chan *ModifyInstanceStorageResponse, <-chan error)
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) MoveResourceGroup ¶
func (client *Client) MoveResourceGroup(request *MoveResourceGroupRequest) (response *MoveResourceGroupResponse, err error)
MoveResourceGroup invokes the yundun_dbaudit.MoveResourceGroup API synchronously api document: https://help.aliyun.com/api/yundun-dbaudit/moveresourcegroup.html
func (*Client) MoveResourceGroupWithCallback ¶
func (client *Client) MoveResourceGroupWithCallback(request *MoveResourceGroupRequest, callback func(response *MoveResourceGroupResponse, err error)) <-chan int
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) MoveResourceGroupWithChan ¶
func (client *Client) MoveResourceGroupWithChan(request *MoveResourceGroupRequest) (<-chan *MoveResourceGroupResponse, <-chan error)
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) RefundInstance ¶
func (client *Client) RefundInstance(request *RefundInstanceRequest) (response *RefundInstanceResponse, err error)
RefundInstance invokes the yundun_dbaudit.RefundInstance API synchronously api document: https://help.aliyun.com/api/yundun-dbaudit/refundinstance.html
func (*Client) RefundInstanceWithCallback ¶
func (client *Client) RefundInstanceWithCallback(request *RefundInstanceRequest, callback func(response *RefundInstanceResponse, err error)) <-chan int
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) RefundInstanceWithChan ¶
func (client *Client) RefundInstanceWithChan(request *RefundInstanceRequest) (<-chan *RefundInstanceResponse, <-chan error)
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) StartInstance ¶
func (client *Client) StartInstance(request *StartInstanceRequest) (response *StartInstanceResponse, err error)
StartInstance invokes the yundun_dbaudit.StartInstance API synchronously api document: https://help.aliyun.com/api/yundun-dbaudit/startinstance.html
func (*Client) StartInstanceWithCallback ¶
func (client *Client) StartInstanceWithCallback(request *StartInstanceRequest, callback func(response *StartInstanceResponse, err error)) <-chan int
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) StartInstanceWithChan ¶
func (client *Client) StartInstanceWithChan(request *StartInstanceRequest) (<-chan *StartInstanceResponse, <-chan error)
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) TagResources ¶
func (client *Client) TagResources(request *TagResourcesRequest) (response *TagResourcesResponse, err error)
TagResources invokes the yundun_dbaudit.TagResources API synchronously api document: https://help.aliyun.com/api/yundun-dbaudit/tagresources.html
func (*Client) TagResourcesWithCallback ¶
func (client *Client) TagResourcesWithCallback(request *TagResourcesRequest, callback func(response *TagResourcesResponse, err error)) <-chan int
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) TagResourcesWithChan ¶
func (client *Client) TagResourcesWithChan(request *TagResourcesRequest) (<-chan *TagResourcesResponse, <-chan error)
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) UntagResources ¶
func (client *Client) UntagResources(request *UntagResourcesRequest) (response *UntagResourcesResponse, err error)
UntagResources invokes the yundun_dbaudit.UntagResources API synchronously api document: https://help.aliyun.com/api/yundun-dbaudit/untagresources.html
func (*Client) UntagResourcesWithCallback ¶
func (client *Client) UntagResourcesWithCallback(request *UntagResourcesRequest, callback func(response *UntagResourcesResponse, err error)) <-chan int
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) UntagResourcesWithChan ¶
func (client *Client) UntagResourcesWithChan(request *UntagResourcesRequest) (<-chan *UntagResourcesResponse, <-chan error)
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
type ConfigInstanceWhiteListRequest ¶
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"` Lang string `position:"Query" name:"Lang"` }
ConfigInstanceWhiteListRequest is the request struct for api ConfigInstanceWhiteList
func CreateConfigInstanceWhiteListRequest ¶
func CreateConfigInstanceWhiteListRequest() (request *ConfigInstanceWhiteListRequest)
CreateConfigInstanceWhiteListRequest creates a request to invoke ConfigInstanceWhiteList API
type ConfigInstanceWhiteListResponse ¶
type ConfigInstanceWhiteListResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ConfigInstanceWhiteListResponse is the response struct for api ConfigInstanceWhiteList
func CreateConfigInstanceWhiteListResponse ¶
func CreateConfigInstanceWhiteListResponse() (response *ConfigInstanceWhiteListResponse)
CreateConfigInstanceWhiteListResponse creates a response to parse from ConfigInstanceWhiteList response
type DeleteAlarmReceiveConfigRequest ¶
type DeleteAlarmReceiveConfigRequest struct { *requests.RpcRequest InstanceId string `position:"Query" name:"InstanceId"` SourceIp string `position:"Query" name:"SourceIp"` ConfigId string `position:"Query" name:"ConfigId"` }
DeleteAlarmReceiveConfigRequest is the request struct for api DeleteAlarmReceiveConfig
func CreateDeleteAlarmReceiveConfigRequest ¶
func CreateDeleteAlarmReceiveConfigRequest() (request *DeleteAlarmReceiveConfigRequest)
CreateDeleteAlarmReceiveConfigRequest creates a request to invoke DeleteAlarmReceiveConfig API
type DeleteAlarmReceiveConfigResponse ¶
type DeleteAlarmReceiveConfigResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteAlarmReceiveConfigResponse is the response struct for api DeleteAlarmReceiveConfig
func CreateDeleteAlarmReceiveConfigResponse ¶
func CreateDeleteAlarmReceiveConfigResponse() (response *DeleteAlarmReceiveConfigResponse)
CreateDeleteAlarmReceiveConfigResponse creates a response to parse from DeleteAlarmReceiveConfig response
type DescribeAuditLogsRequest ¶
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"` }
DescribeAuditLogsRequest is the request struct for api DescribeAuditLogs
func CreateDescribeAuditLogsRequest ¶
func CreateDescribeAuditLogsRequest() (request *DescribeAuditLogsRequest)
CreateDescribeAuditLogsRequest creates a request to invoke DescribeAuditLogs API
type DescribeAuditLogsResponse ¶
type DescribeAuditLogsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TotalCount int `json:"TotalCount" xml:"TotalCount"` AuditLogs []Item `json:"AuditLogs" xml:"AuditLogs"` }
DescribeAuditLogsResponse is the response struct for api DescribeAuditLogs
func CreateDescribeAuditLogsResponse ¶
func CreateDescribeAuditLogsResponse() (response *DescribeAuditLogsResponse)
CreateDescribeAuditLogsResponse creates a response to parse from DescribeAuditLogs response
type DescribeEventLogsRequest ¶
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"` 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"` }
DescribeEventLogsRequest is the request struct for api DescribeEventLogs
func CreateDescribeEventLogsRequest ¶
func CreateDescribeEventLogsRequest() (request *DescribeEventLogsRequest)
CreateDescribeEventLogsRequest creates a request to invoke DescribeEventLogs API
type DescribeEventLogsResponse ¶
type DescribeEventLogsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TotalCount int `json:"TotalCount" xml:"TotalCount"` EventLogs []ItemInDescribeEventLogs `json:"EventLogs" xml:"EventLogs"` }
DescribeEventLogsResponse is the response struct for api DescribeEventLogs
func CreateDescribeEventLogsResponse ¶
func CreateDescribeEventLogsResponse() (response *DescribeEventLogsResponse)
CreateDescribeEventLogsResponse creates a response to parse from DescribeEventLogs response
type DescribeInstanceAttribueRequest ¶
type DescribeInstanceAttribueRequest struct { *requests.RpcRequest InstanceId string `position:"Query" name:"InstanceId"` SourceIp string `position:"Query" name:"SourceIp"` Lang string `position:"Query" name:"Lang"` }
DescribeInstanceAttribueRequest is the request struct for api DescribeInstanceAttribue
func CreateDescribeInstanceAttribueRequest ¶
func CreateDescribeInstanceAttribueRequest() (request *DescribeInstanceAttribueRequest)
CreateDescribeInstanceAttribueRequest creates a request to invoke DescribeInstanceAttribue API
type DescribeInstanceAttribueResponse ¶
type DescribeInstanceAttribueResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` InstanceAttribue InstanceAttribue `json:"InstanceAttribue" xml:"InstanceAttribue"` }
DescribeInstanceAttribueResponse is the response struct for api DescribeInstanceAttribue
func CreateDescribeInstanceAttribueResponse ¶
func CreateDescribeInstanceAttribueResponse() (response *DescribeInstanceAttribueResponse)
CreateDescribeInstanceAttribueResponse creates a response to parse from DescribeInstanceAttribue response
type DescribeInstanceAttributeRequest ¶
type DescribeInstanceAttributeRequest struct { *requests.RpcRequest InstanceId string `position:"Query" name:"InstanceId"` SourceIp string `position:"Query" name:"SourceIp"` Lang string `position:"Query" name:"Lang"` }
DescribeInstanceAttributeRequest is the request struct for api DescribeInstanceAttribute
func CreateDescribeInstanceAttributeRequest ¶
func CreateDescribeInstanceAttributeRequest() (request *DescribeInstanceAttributeRequest)
CreateDescribeInstanceAttributeRequest creates a request to invoke DescribeInstanceAttribute API
type DescribeInstanceAttributeResponse ¶
type DescribeInstanceAttributeResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` InstanceAttribute InstanceAttribute `json:"InstanceAttribute" xml:"InstanceAttribute"` }
DescribeInstanceAttributeResponse is the response struct for api DescribeInstanceAttribute
func CreateDescribeInstanceAttributeResponse ¶
func CreateDescribeInstanceAttributeResponse() (response *DescribeInstanceAttributeResponse)
CreateDescribeInstanceAttributeResponse creates a response to parse from DescribeInstanceAttribute response
type DescribeInstanceStorageRequest ¶
type DescribeInstanceStorageRequest struct { *requests.RpcRequest InstanceId string `position:"Query" name:"InstanceId"` SourceIp string `position:"Query" name:"SourceIp"` Lang string `position:"Query" name:"Lang"` }
DescribeInstanceStorageRequest is the request struct for api DescribeInstanceStorage
func CreateDescribeInstanceStorageRequest ¶
func CreateDescribeInstanceStorageRequest() (request *DescribeInstanceStorageRequest)
CreateDescribeInstanceStorageRequest creates a request to invoke DescribeInstanceStorage API
type DescribeInstanceStorageResponse ¶
type DescribeInstanceStorageResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` InstanceStorages []InstanceStorage `json:"InstanceStorages" xml:"InstanceStorages"` }
DescribeInstanceStorageResponse is the response struct for api DescribeInstanceStorage
func CreateDescribeInstanceStorageResponse ¶
func CreateDescribeInstanceStorageResponse() (response *DescribeInstanceStorageResponse)
CreateDescribeInstanceStorageResponse creates a response to parse from DescribeInstanceStorage response
type DescribeInstancesRequest ¶
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"` }
DescribeInstancesRequest is the request struct for api DescribeInstances
func CreateDescribeInstancesRequest ¶
func CreateDescribeInstancesRequest() (request *DescribeInstancesRequest)
CreateDescribeInstancesRequest creates a request to invoke DescribeInstances API
type DescribeInstancesResponse ¶
type DescribeInstancesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TotalCount int64 `json:"TotalCount" xml:"TotalCount"` Instances []Instance `json:"Instances" xml:"Instances"` }
DescribeInstancesResponse is the response struct for api DescribeInstances
func CreateDescribeInstancesResponse ¶
func CreateDescribeInstancesResponse() (response *DescribeInstancesResponse)
CreateDescribeInstancesResponse creates a response to parse from DescribeInstances response
type DescribeInstancesTag ¶
DescribeInstancesTag is a repeated param struct in DescribeInstancesRequest
type DescribeRegionsRequest ¶
type DescribeRegionsRequest struct { *requests.RpcRequest SourceIp string `position:"Query" name:"SourceIp"` AcceptLanguage string `position:"Query" name:"AcceptLanguage"` Lang string `position:"Query" name:"Lang"` }
DescribeRegionsRequest is the request struct for api DescribeRegions
func CreateDescribeRegionsRequest ¶
func CreateDescribeRegionsRequest() (request *DescribeRegionsRequest)
CreateDescribeRegionsRequest creates a request to invoke DescribeRegions API
type DescribeRegionsResponse ¶
type DescribeRegionsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Regions []Region `json:"Regions" xml:"Regions"` }
DescribeRegionsResponse is the response struct for api DescribeRegions
func CreateDescribeRegionsResponse ¶
func CreateDescribeRegionsResponse() (response *DescribeRegionsResponse)
CreateDescribeRegionsResponse creates a response to parse from DescribeRegions response
type DescribeSessionLogsRequest ¶
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"` }
DescribeSessionLogsRequest is the request struct for api DescribeSessionLogs
func CreateDescribeSessionLogsRequest ¶
func CreateDescribeSessionLogsRequest() (request *DescribeSessionLogsRequest)
CreateDescribeSessionLogsRequest creates a request to invoke DescribeSessionLogs API
type DescribeSessionLogsResponse ¶
type DescribeSessionLogsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TotalCount int `json:"TotalCount" xml:"TotalCount"` SessionLogs []Item `json:"SessionLogs" xml:"SessionLogs"` }
DescribeSessionLogsResponse is the response struct for api DescribeSessionLogs
func CreateDescribeSessionLogsResponse ¶
func CreateDescribeSessionLogsResponse() (response *DescribeSessionLogsResponse)
CreateDescribeSessionLogsResponse creates a response to parse from DescribeSessionLogs response
type DisableInstancePublicAccessRequest ¶
type DisableInstancePublicAccessRequest struct { *requests.RpcRequest InstanceId string `position:"Query" name:"InstanceId"` SourceIp string `position:"Query" name:"SourceIp"` Lang string `position:"Query" name:"Lang"` }
DisableInstancePublicAccessRequest is the request struct for api DisableInstancePublicAccess
func CreateDisableInstancePublicAccessRequest ¶
func CreateDisableInstancePublicAccessRequest() (request *DisableInstancePublicAccessRequest)
CreateDisableInstancePublicAccessRequest creates a request to invoke DisableInstancePublicAccess API
type DisableInstancePublicAccessResponse ¶
type DisableInstancePublicAccessResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DisableInstancePublicAccessResponse is the response struct for api DisableInstancePublicAccess
func CreateDisableInstancePublicAccessResponse ¶
func CreateDisableInstancePublicAccessResponse() (response *DisableInstancePublicAccessResponse)
CreateDisableInstancePublicAccessResponse creates a response to parse from DisableInstancePublicAccess response
type EnableInstancePublicAccessRequest ¶
type EnableInstancePublicAccessRequest struct { *requests.RpcRequest InstanceId string `position:"Query" name:"InstanceId"` SourceIp string `position:"Query" name:"SourceIp"` Lang string `position:"Query" name:"Lang"` }
EnableInstancePublicAccessRequest is the request struct for api EnableInstancePublicAccess
func CreateEnableInstancePublicAccessRequest ¶
func CreateEnableInstancePublicAccessRequest() (request *EnableInstancePublicAccessRequest)
CreateEnableInstancePublicAccessRequest creates a request to invoke EnableInstancePublicAccess API
type EnableInstancePublicAccessResponse ¶
type EnableInstancePublicAccessResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
EnableInstancePublicAccessResponse is the response struct for api EnableInstancePublicAccess
func CreateEnableInstancePublicAccessResponse ¶
func CreateEnableInstancePublicAccessResponse() (response *EnableInstancePublicAccessResponse)
CreateEnableInstancePublicAccessResponse creates a response to parse from EnableInstancePublicAccess response
type EventLogs ¶
type EventLogs struct {
Item []ItemInDescribeEventLogs `json:"Item" xml:"Item"`
}
EventLogs is a nested struct in yundun_dbaudit response
type Instance ¶
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"` SeriesCode string `json:"SeriesCode" xml:"SeriesCode"` PublicNetworkAccess bool `json:"PublicNetworkAccess" xml:"PublicNetworkAccess"` }
Instance is a nested struct in yundun_dbaudit response
type InstanceAttribue ¶
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"` }
InstanceAttribue is a nested struct in yundun_dbaudit response
type InstanceAttribute ¶
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"` 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"` }
InstanceAttribute is a nested struct in yundun_dbaudit response
type InstanceStorage ¶
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"` }
InstanceStorage is a nested struct in yundun_dbaudit response
type InstanceStorages ¶
type InstanceStorages struct {
InstanceStorage []InstanceStorage `json:"InstanceStorage" xml:"InstanceStorage"`
}
InstanceStorages is a nested struct in yundun_dbaudit response
type Instances ¶
type Instances struct {
Instance []Instance `json:"Instance" xml:"Instance"`
}
Instances is a nested struct in yundun_dbaudit response
type Item ¶
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"` }
Item is a nested struct in yundun_dbaudit response
type ItemInDescribeEventLogs ¶
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"` }
ItemInDescribeEventLogs is a nested struct in yundun_dbaudit response
type ListTagKeysRequest ¶
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"` }
ListTagKeysRequest is the request struct for api ListTagKeys
func CreateListTagKeysRequest ¶
func CreateListTagKeysRequest() (request *ListTagKeysRequest)
CreateListTagKeysRequest creates a request to invoke ListTagKeys API
type ListTagKeysResponse ¶
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"` }
ListTagKeysResponse is the response struct for api ListTagKeys
func CreateListTagKeysResponse ¶
func CreateListTagKeysResponse() (response *ListTagKeysResponse)
CreateListTagKeysResponse creates a response to parse from ListTagKeys response
type ListTagResourcesRequest ¶
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"` }
ListTagResourcesRequest is the request struct for api ListTagResources
func CreateListTagResourcesRequest ¶
func CreateListTagResourcesRequest() (request *ListTagResourcesRequest)
CreateListTagResourcesRequest creates a request to invoke ListTagResources API
type ListTagResourcesResponse ¶
type ListTagResourcesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` NextToken string `json:"NextToken" xml:"NextToken"` TagResources []TagResource `json:"TagResources" xml:"TagResources"` }
ListTagResourcesResponse is the response struct for api ListTagResources
func CreateListTagResourcesResponse ¶
func CreateListTagResourcesResponse() (response *ListTagResourcesResponse)
CreateListTagResourcesResponse creates a response to parse from ListTagResources response
type ListTagResourcesTag ¶
ListTagResourcesTag is a repeated param struct in ListTagResourcesRequest
type ModifyInstanceAttributeRequest ¶
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"` }
ModifyInstanceAttributeRequest is the request struct for api ModifyInstanceAttribute
func CreateModifyInstanceAttributeRequest ¶
func CreateModifyInstanceAttributeRequest() (request *ModifyInstanceAttributeRequest)
CreateModifyInstanceAttributeRequest creates a request to invoke ModifyInstanceAttribute API
type ModifyInstanceAttributeResponse ¶
type ModifyInstanceAttributeResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ModifyInstanceAttributeResponse is the response struct for api ModifyInstanceAttribute
func CreateModifyInstanceAttributeResponse ¶
func CreateModifyInstanceAttributeResponse() (response *ModifyInstanceAttributeResponse)
CreateModifyInstanceAttributeResponse creates a response to parse from ModifyInstanceAttribute response
type ModifyInstanceStorageRequest ¶
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"` }
ModifyInstanceStorageRequest is the request struct for api ModifyInstanceStorage
func CreateModifyInstanceStorageRequest ¶
func CreateModifyInstanceStorageRequest() (request *ModifyInstanceStorageRequest)
CreateModifyInstanceStorageRequest creates a request to invoke ModifyInstanceStorage API
type ModifyInstanceStorageResponse ¶
type ModifyInstanceStorageResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ModifyInstanceStorageResponse is the response struct for api ModifyInstanceStorage
func CreateModifyInstanceStorageResponse ¶
func CreateModifyInstanceStorageResponse() (response *ModifyInstanceStorageResponse)
CreateModifyInstanceStorageResponse creates a response to parse from ModifyInstanceStorage response
type MoveResourceGroupRequest ¶
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"` }
MoveResourceGroupRequest is the request struct for api MoveResourceGroup
func CreateMoveResourceGroupRequest ¶
func CreateMoveResourceGroupRequest() (request *MoveResourceGroupRequest)
CreateMoveResourceGroupRequest creates a request to invoke MoveResourceGroup API
type MoveResourceGroupResponse ¶
type MoveResourceGroupResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
MoveResourceGroupResponse is the response struct for api MoveResourceGroup
func CreateMoveResourceGroupResponse ¶
func CreateMoveResourceGroupResponse() (response *MoveResourceGroupResponse)
CreateMoveResourceGroupResponse creates a response to parse from MoveResourceGroup response
type RefundInstanceRequest ¶
type RefundInstanceRequest struct { *requests.RpcRequest InstanceId string `position:"Query" name:"InstanceId"` SourceIp string `position:"Query" name:"SourceIp"` }
RefundInstanceRequest is the request struct for api RefundInstance
func CreateRefundInstanceRequest ¶
func CreateRefundInstanceRequest() (request *RefundInstanceRequest)
CreateRefundInstanceRequest creates a request to invoke RefundInstance API
type RefundInstanceResponse ¶
type RefundInstanceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
RefundInstanceResponse is the response struct for api RefundInstance
func CreateRefundInstanceResponse ¶
func CreateRefundInstanceResponse() (response *RefundInstanceResponse)
CreateRefundInstanceResponse creates a response to parse from RefundInstance response
type Region ¶
type Region struct { RegionId string `json:"RegionId" xml:"RegionId"` LocalName string `json:"LocalName" xml:"LocalName"` RegionEndpoint string `json:"RegionEndpoint" xml:"RegionEndpoint"` }
Region is a nested struct in yundun_dbaudit response
type Regions ¶
type Regions struct {
Region []Region `json:"Region" xml:"Region"`
}
Regions is a nested struct in yundun_dbaudit response
type SessionLogs ¶
type SessionLogs struct {
Item []Item `json:"Item" xml:"Item"`
}
SessionLogs is a nested struct in yundun_dbaudit response
type StartInstanceRequest ¶
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"` }
StartInstanceRequest is the request struct for api StartInstance
func CreateStartInstanceRequest ¶
func CreateStartInstanceRequest() (request *StartInstanceRequest)
CreateStartInstanceRequest creates a request to invoke StartInstance API
type StartInstanceResponse ¶
type StartInstanceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
StartInstanceResponse is the response struct for api StartInstance
func CreateStartInstanceResponse ¶
func CreateStartInstanceResponse() (response *StartInstanceResponse)
CreateStartInstanceResponse creates a response to parse from StartInstance response
type TagKey ¶
type TagKey struct { TagKey string `json:"TagKey" xml:"TagKey"` TagCount int `json:"TagCount" xml:"TagCount"` }
TagKey is a nested struct in yundun_dbaudit response
type TagKeys ¶
type TagKeys struct {
TagKey []TagKey `json:"TagKey" xml:"TagKey"`
}
TagKeys is a nested struct in yundun_dbaudit response
type TagResource ¶
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"` }
TagResource is a nested struct in yundun_dbaudit response
type TagResources ¶
type TagResources struct {
TagResource []TagResource `json:"TagResource" xml:"TagResource"`
}
TagResources is a nested struct in yundun_dbaudit response
type TagResourcesRequest ¶
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"` }
TagResourcesRequest is the request struct for api TagResources
func CreateTagResourcesRequest ¶
func CreateTagResourcesRequest() (request *TagResourcesRequest)
CreateTagResourcesRequest creates a request to invoke TagResources API
type TagResourcesResponse ¶
type TagResourcesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
TagResourcesResponse is the response struct for api TagResources
func CreateTagResourcesResponse ¶
func CreateTagResourcesResponse() (response *TagResourcesResponse)
CreateTagResourcesResponse creates a response to parse from TagResources response
type TagResourcesTag ¶
TagResourcesTag is a repeated param struct in TagResourcesRequest
type UntagResourcesRequest ¶
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"` }
UntagResourcesRequest is the request struct for api UntagResources
func CreateUntagResourcesRequest ¶
func CreateUntagResourcesRequest() (request *UntagResourcesRequest)
CreateUntagResourcesRequest creates a request to invoke UntagResources API
type UntagResourcesResponse ¶
type UntagResourcesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
UntagResourcesResponse is the response struct for api UntagResources
func CreateUntagResourcesResponse ¶
func CreateUntagResourcesResponse() (response *UntagResourcesResponse)
CreateUntagResourcesResponse creates a response to parse from UntagResources response
type WhiteListInDescribeInstanceAttribue ¶
type WhiteListInDescribeInstanceAttribue struct {
Cidr []string `json:"Cidr" xml:"Cidr"`
}
WhiteListInDescribeInstanceAttribue is a nested struct in yundun_dbaudit response
type WhiteListInDescribeInstanceAttribute ¶
type WhiteListInDescribeInstanceAttribute struct {
Cidr []string `json:"Cidr" xml:"Cidr"`
}
WhiteListInDescribeInstanceAttribute is a nested struct in yundun_dbaudit response
Source Files ¶
- clear_instance_storage.go
- client.go
- config_instance_white_list.go
- delete_alarm_receive_config.go
- describe_audit_logs.go
- describe_event_logs.go
- describe_instance_attribue.go
- describe_instance_attribute.go
- describe_instance_storage.go
- describe_instances.go
- describe_regions.go
- describe_session_logs.go
- disable_instance_public_access.go
- enable_instance_public_access.go
- endpoint.go
- list_tag_keys.go
- list_tag_resources.go
- modify_instance_attribute.go
- modify_instance_storage.go
- move_resource_group.go
- refund_instance.go
- start_instance.go
- struct_audit_logs.go
- struct_event_logs.go
- struct_instance.go
- struct_instance_attribue.go
- struct_instance_attribute.go
- struct_instance_storage.go
- struct_instance_storages.go
- struct_instances.go
- struct_item.go
- struct_item_in_describe_event_logs.go
- struct_region.go
- struct_regions.go
- struct_session_logs.go
- struct_tag_key.go
- struct_tag_keys.go
- struct_tag_resource.go
- struct_tag_resources.go
- struct_white_list_in_describe_instance_attribue.go
- struct_white_list_in_describe_instance_attribute.go
- tag_resources.go
- untag_resources.go