drds

package
v0.0.0-...-dd20015 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Child

type Child struct {
	InstanceId     string `json:"InstanceId" xml:"InstanceId"`
	InstanceName   string `json:"InstanceName" xml:"InstanceName"`
	ConnectUrl     string `json:"ConnectUrl" xml:"ConnectUrl"`
	Port           int    `json:"port" xml:"port"`
	InstanceStatus string `json:"InstanceStatus" xml:"InstanceStatus"`
	DbType         string `json:"DbType" xml:"DbType"`
	ReadWeight     int    `json:"ReadWeight" xml:"ReadWeight"`
}

Child is a nested struct in drds response

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

func NewClientWithAccessKey

func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)

NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://help.aliyun.com/document_detail/66217.html

func NewClientWithEcsRamRole

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://help.aliyun.com/document_detail/66223.html

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

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://help.aliyun.com/document_detail/66222.html

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 attention: rsa key pair auth is only Japan regions available

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://help.aliyun.com/document_detail/66222.html

func (*Client) CreateDrdsAccount

func (client *Client) CreateDrdsAccount(request *CreateDrdsAccountRequest) (response *CreateDrdsAccountResponse, err error)

CreateDrdsAccount invokes the drds.CreateDrdsAccount API synchronously api document: https://help.aliyun.com/api/drds/createdrdsaccount.html

func (*Client) CreateDrdsAccountWithCallback

func (client *Client) CreateDrdsAccountWithCallback(request *CreateDrdsAccountRequest, callback func(response *CreateDrdsAccountResponse, err error)) <-chan int

CreateDrdsAccountWithCallback invokes the drds.CreateDrdsAccount API asynchronously api document: https://help.aliyun.com/api/drds/createdrdsaccount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateDrdsAccountWithChan

func (client *Client) CreateDrdsAccountWithChan(request *CreateDrdsAccountRequest) (<-chan *CreateDrdsAccountResponse, <-chan error)

CreateDrdsAccountWithChan invokes the drds.CreateDrdsAccount API asynchronously api document: https://help.aliyun.com/api/drds/createdrdsaccount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateDrdsDB

func (client *Client) CreateDrdsDB(request *CreateDrdsDBRequest) (response *CreateDrdsDBResponse, err error)

CreateDrdsDB invokes the drds.CreateDrdsDB API synchronously api document: https://help.aliyun.com/api/drds/createdrdsdb.html

func (*Client) CreateDrdsDBWithCallback

func (client *Client) CreateDrdsDBWithCallback(request *CreateDrdsDBRequest, callback func(response *CreateDrdsDBResponse, err error)) <-chan int

CreateDrdsDBWithCallback invokes the drds.CreateDrdsDB API asynchronously api document: https://help.aliyun.com/api/drds/createdrdsdb.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateDrdsDBWithChan

func (client *Client) CreateDrdsDBWithChan(request *CreateDrdsDBRequest) (<-chan *CreateDrdsDBResponse, <-chan error)

CreateDrdsDBWithChan invokes the drds.CreateDrdsDB API asynchronously api document: https://help.aliyun.com/api/drds/createdrdsdb.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateDrdsInstance

func (client *Client) CreateDrdsInstance(request *CreateDrdsInstanceRequest) (response *CreateDrdsInstanceResponse, err error)

CreateDrdsInstance invokes the drds.CreateDrdsInstance API synchronously api document: https://help.aliyun.com/api/drds/createdrdsinstance.html

func (*Client) CreateDrdsInstanceWithCallback

func (client *Client) CreateDrdsInstanceWithCallback(request *CreateDrdsInstanceRequest, callback func(response *CreateDrdsInstanceResponse, err error)) <-chan int

CreateDrdsInstanceWithCallback invokes the drds.CreateDrdsInstance API asynchronously api document: https://help.aliyun.com/api/drds/createdrdsinstance.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateDrdsInstanceWithChan

func (client *Client) CreateDrdsInstanceWithChan(request *CreateDrdsInstanceRequest) (<-chan *CreateDrdsInstanceResponse, <-chan error)

CreateDrdsInstanceWithChan invokes the drds.CreateDrdsInstance API asynchronously api document: https://help.aliyun.com/api/drds/createdrdsinstance.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateReadOnlyAccount

func (client *Client) CreateReadOnlyAccount(request *CreateReadOnlyAccountRequest) (response *CreateReadOnlyAccountResponse, err error)

CreateReadOnlyAccount invokes the drds.CreateReadOnlyAccount API synchronously api document: https://help.aliyun.com/api/drds/createreadonlyaccount.html

func (*Client) CreateReadOnlyAccountWithCallback

func (client *Client) CreateReadOnlyAccountWithCallback(request *CreateReadOnlyAccountRequest, callback func(response *CreateReadOnlyAccountResponse, err error)) <-chan int

CreateReadOnlyAccountWithCallback invokes the drds.CreateReadOnlyAccount API asynchronously api document: https://help.aliyun.com/api/drds/createreadonlyaccount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateReadOnlyAccountWithChan

func (client *Client) CreateReadOnlyAccountWithChan(request *CreateReadOnlyAccountRequest) (<-chan *CreateReadOnlyAccountResponse, <-chan error)

CreateReadOnlyAccountWithChan invokes the drds.CreateReadOnlyAccount API asynchronously api document: https://help.aliyun.com/api/drds/createreadonlyaccount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteDrdsDB

func (client *Client) DeleteDrdsDB(request *DeleteDrdsDBRequest) (response *DeleteDrdsDBResponse, err error)

DeleteDrdsDB invokes the drds.DeleteDrdsDB API synchronously api document: https://help.aliyun.com/api/drds/deletedrdsdb.html

func (*Client) DeleteDrdsDBWithCallback

func (client *Client) DeleteDrdsDBWithCallback(request *DeleteDrdsDBRequest, callback func(response *DeleteDrdsDBResponse, err error)) <-chan int

DeleteDrdsDBWithCallback invokes the drds.DeleteDrdsDB API asynchronously api document: https://help.aliyun.com/api/drds/deletedrdsdb.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteDrdsDBWithChan

func (client *Client) DeleteDrdsDBWithChan(request *DeleteDrdsDBRequest) (<-chan *DeleteDrdsDBResponse, <-chan error)

DeleteDrdsDBWithChan invokes the drds.DeleteDrdsDB API asynchronously api document: https://help.aliyun.com/api/drds/deletedrdsdb.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteFailedDrdsDB

func (client *Client) DeleteFailedDrdsDB(request *DeleteFailedDrdsDBRequest) (response *DeleteFailedDrdsDBResponse, err error)

DeleteFailedDrdsDB invokes the drds.DeleteFailedDrdsDB API synchronously api document: https://help.aliyun.com/api/drds/deletefaileddrdsdb.html

func (*Client) DeleteFailedDrdsDBWithCallback

func (client *Client) DeleteFailedDrdsDBWithCallback(request *DeleteFailedDrdsDBRequest, callback func(response *DeleteFailedDrdsDBResponse, err error)) <-chan int

DeleteFailedDrdsDBWithCallback invokes the drds.DeleteFailedDrdsDB API asynchronously api document: https://help.aliyun.com/api/drds/deletefaileddrdsdb.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteFailedDrdsDBWithChan

func (client *Client) DeleteFailedDrdsDBWithChan(request *DeleteFailedDrdsDBRequest) (<-chan *DeleteFailedDrdsDBResponse, <-chan error)

DeleteFailedDrdsDBWithChan invokes the drds.DeleteFailedDrdsDB API asynchronously api document: https://help.aliyun.com/api/drds/deletefaileddrdsdb.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeCreateDrdsInstanceStatus

func (client *Client) DescribeCreateDrdsInstanceStatus(request *DescribeCreateDrdsInstanceStatusRequest) (response *DescribeCreateDrdsInstanceStatusResponse, err error)

DescribeCreateDrdsInstanceStatus invokes the drds.DescribeCreateDrdsInstanceStatus API synchronously api document: https://help.aliyun.com/api/drds/describecreatedrdsinstancestatus.html

func (*Client) DescribeCreateDrdsInstanceStatusWithCallback

func (client *Client) DescribeCreateDrdsInstanceStatusWithCallback(request *DescribeCreateDrdsInstanceStatusRequest, callback func(response *DescribeCreateDrdsInstanceStatusResponse, err error)) <-chan int

DescribeCreateDrdsInstanceStatusWithCallback invokes the drds.DescribeCreateDrdsInstanceStatus API asynchronously api document: https://help.aliyun.com/api/drds/describecreatedrdsinstancestatus.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeCreateDrdsInstanceStatusWithChan

func (client *Client) DescribeCreateDrdsInstanceStatusWithChan(request *DescribeCreateDrdsInstanceStatusRequest) (<-chan *DescribeCreateDrdsInstanceStatusResponse, <-chan error)

DescribeCreateDrdsInstanceStatusWithChan invokes the drds.DescribeCreateDrdsInstanceStatus API asynchronously api document: https://help.aliyun.com/api/drds/describecreatedrdsinstancestatus.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeDrdsDB

func (client *Client) DescribeDrdsDB(request *DescribeDrdsDBRequest) (response *DescribeDrdsDBResponse, err error)

DescribeDrdsDB invokes the drds.DescribeDrdsDB API synchronously api document: https://help.aliyun.com/api/drds/describedrdsdb.html

func (*Client) DescribeDrdsDBIpWhiteList

func (client *Client) DescribeDrdsDBIpWhiteList(request *DescribeDrdsDBIpWhiteListRequest) (response *DescribeDrdsDBIpWhiteListResponse, err error)

DescribeDrdsDBIpWhiteList invokes the drds.DescribeDrdsDBIpWhiteList API synchronously api document: https://help.aliyun.com/api/drds/describedrdsdbipwhitelist.html

func (*Client) DescribeDrdsDBIpWhiteListWithCallback

func (client *Client) DescribeDrdsDBIpWhiteListWithCallback(request *DescribeDrdsDBIpWhiteListRequest, callback func(response *DescribeDrdsDBIpWhiteListResponse, err error)) <-chan int

DescribeDrdsDBIpWhiteListWithCallback invokes the drds.DescribeDrdsDBIpWhiteList API asynchronously api document: https://help.aliyun.com/api/drds/describedrdsdbipwhitelist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeDrdsDBIpWhiteListWithChan

func (client *Client) DescribeDrdsDBIpWhiteListWithChan(request *DescribeDrdsDBIpWhiteListRequest) (<-chan *DescribeDrdsDBIpWhiteListResponse, <-chan error)

DescribeDrdsDBIpWhiteListWithChan invokes the drds.DescribeDrdsDBIpWhiteList API asynchronously api document: https://help.aliyun.com/api/drds/describedrdsdbipwhitelist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeDrdsDBWithCallback

func (client *Client) DescribeDrdsDBWithCallback(request *DescribeDrdsDBRequest, callback func(response *DescribeDrdsDBResponse, err error)) <-chan int

DescribeDrdsDBWithCallback invokes the drds.DescribeDrdsDB API asynchronously api document: https://help.aliyun.com/api/drds/describedrdsdb.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeDrdsDBWithChan

func (client *Client) DescribeDrdsDBWithChan(request *DescribeDrdsDBRequest) (<-chan *DescribeDrdsDBResponse, <-chan error)

DescribeDrdsDBWithChan invokes the drds.DescribeDrdsDB API asynchronously api document: https://help.aliyun.com/api/drds/describedrdsdb.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeDrdsDBs

func (client *Client) DescribeDrdsDBs(request *DescribeDrdsDBsRequest) (response *DescribeDrdsDBsResponse, err error)

DescribeDrdsDBs invokes the drds.DescribeDrdsDBs API synchronously api document: https://help.aliyun.com/api/drds/describedrdsdbs.html

func (*Client) DescribeDrdsDBsWithCallback

func (client *Client) DescribeDrdsDBsWithCallback(request *DescribeDrdsDBsRequest, callback func(response *DescribeDrdsDBsResponse, err error)) <-chan int

DescribeDrdsDBsWithCallback invokes the drds.DescribeDrdsDBs API asynchronously api document: https://help.aliyun.com/api/drds/describedrdsdbs.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeDrdsDBsWithChan

func (client *Client) DescribeDrdsDBsWithChan(request *DescribeDrdsDBsRequest) (<-chan *DescribeDrdsDBsResponse, <-chan error)

DescribeDrdsDBsWithChan invokes the drds.DescribeDrdsDBs API asynchronously api document: https://help.aliyun.com/api/drds/describedrdsdbs.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeDrdsInstance

func (client *Client) DescribeDrdsInstance(request *DescribeDrdsInstanceRequest) (response *DescribeDrdsInstanceResponse, err error)

DescribeDrdsInstance invokes the drds.DescribeDrdsInstance API synchronously api document: https://help.aliyun.com/api/drds/describedrdsinstance.html

func (*Client) DescribeDrdsInstanceNetInfoForInner

func (client *Client) DescribeDrdsInstanceNetInfoForInner(request *DescribeDrdsInstanceNetInfoForInnerRequest) (response *DescribeDrdsInstanceNetInfoForInnerResponse, err error)

DescribeDrdsInstanceNetInfoForInner invokes the drds.DescribeDrdsInstanceNetInfoForInner API synchronously api document: https://help.aliyun.com/api/drds/describedrdsinstancenetinfoforinner.html

func (*Client) DescribeDrdsInstanceNetInfoForInnerWithCallback

func (client *Client) DescribeDrdsInstanceNetInfoForInnerWithCallback(request *DescribeDrdsInstanceNetInfoForInnerRequest, callback func(response *DescribeDrdsInstanceNetInfoForInnerResponse, err error)) <-chan int

DescribeDrdsInstanceNetInfoForInnerWithCallback invokes the drds.DescribeDrdsInstanceNetInfoForInner API asynchronously api document: https://help.aliyun.com/api/drds/describedrdsinstancenetinfoforinner.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeDrdsInstanceNetInfoForInnerWithChan

func (client *Client) DescribeDrdsInstanceNetInfoForInnerWithChan(request *DescribeDrdsInstanceNetInfoForInnerRequest) (<-chan *DescribeDrdsInstanceNetInfoForInnerResponse, <-chan error)

DescribeDrdsInstanceNetInfoForInnerWithChan invokes the drds.DescribeDrdsInstanceNetInfoForInner API asynchronously api document: https://help.aliyun.com/api/drds/describedrdsinstancenetinfoforinner.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeDrdsInstanceWithCallback

func (client *Client) DescribeDrdsInstanceWithCallback(request *DescribeDrdsInstanceRequest, callback func(response *DescribeDrdsInstanceResponse, err error)) <-chan int

DescribeDrdsInstanceWithCallback invokes the drds.DescribeDrdsInstance API asynchronously api document: https://help.aliyun.com/api/drds/describedrdsinstance.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeDrdsInstanceWithChan

func (client *Client) DescribeDrdsInstanceWithChan(request *DescribeDrdsInstanceRequest) (<-chan *DescribeDrdsInstanceResponse, <-chan error)

DescribeDrdsInstanceWithChan invokes the drds.DescribeDrdsInstance API asynchronously api document: https://help.aliyun.com/api/drds/describedrdsinstance.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeDrdsInstances

func (client *Client) DescribeDrdsInstances(request *DescribeDrdsInstancesRequest) (response *DescribeDrdsInstancesResponse, err error)

DescribeDrdsInstances invokes the drds.DescribeDrdsInstances API synchronously api document: https://help.aliyun.com/api/drds/describedrdsinstances.html

func (*Client) DescribeDrdsInstancesWithCallback

func (client *Client) DescribeDrdsInstancesWithCallback(request *DescribeDrdsInstancesRequest, callback func(response *DescribeDrdsInstancesResponse, err error)) <-chan int

DescribeDrdsInstancesWithCallback invokes the drds.DescribeDrdsInstances API asynchronously api document: https://help.aliyun.com/api/drds/describedrdsinstances.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeDrdsInstancesWithChan

func (client *Client) DescribeDrdsInstancesWithChan(request *DescribeDrdsInstancesRequest) (<-chan *DescribeDrdsInstancesResponse, <-chan error)

DescribeDrdsInstancesWithChan invokes the drds.DescribeDrdsInstances API asynchronously api document: https://help.aliyun.com/api/drds/describedrdsinstances.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeRdsList

func (client *Client) DescribeRdsList(request *DescribeRdsListRequest) (response *DescribeRdsListResponse, err error)

DescribeRdsList invokes the drds.DescribeRdsList API synchronously api document: https://help.aliyun.com/api/drds/describerdslist.html

func (*Client) DescribeRdsListWithCallback

func (client *Client) DescribeRdsListWithCallback(request *DescribeRdsListRequest, callback func(response *DescribeRdsListResponse, err error)) <-chan int

DescribeRdsListWithCallback invokes the drds.DescribeRdsList API asynchronously api document: https://help.aliyun.com/api/drds/describerdslist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeRdsListWithChan

func (client *Client) DescribeRdsListWithChan(request *DescribeRdsListRequest) (<-chan *DescribeRdsListResponse, <-chan error)

DescribeRdsListWithChan invokes the drds.DescribeRdsList API asynchronously api document: https://help.aliyun.com/api/drds/describerdslist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeReadOnlyAccount

func (client *Client) DescribeReadOnlyAccount(request *DescribeReadOnlyAccountRequest) (response *DescribeReadOnlyAccountResponse, err error)

DescribeReadOnlyAccount invokes the drds.DescribeReadOnlyAccount API synchronously api document: https://help.aliyun.com/api/drds/describereadonlyaccount.html

func (*Client) DescribeReadOnlyAccountWithCallback

func (client *Client) DescribeReadOnlyAccountWithCallback(request *DescribeReadOnlyAccountRequest, callback func(response *DescribeReadOnlyAccountResponse, err error)) <-chan int

DescribeReadOnlyAccountWithCallback invokes the drds.DescribeReadOnlyAccount API asynchronously api document: https://help.aliyun.com/api/drds/describereadonlyaccount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeReadOnlyAccountWithChan

func (client *Client) DescribeReadOnlyAccountWithChan(request *DescribeReadOnlyAccountRequest) (<-chan *DescribeReadOnlyAccountResponse, <-chan error)

DescribeReadOnlyAccountWithChan invokes the drds.DescribeReadOnlyAccount API asynchronously api document: https://help.aliyun.com/api/drds/describereadonlyaccount.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 drds.DescribeRegions API synchronously api document: https://help.aliyun.com/api/drds/describeregions.html

func (*Client) DescribeRegionsWithCallback

func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, callback func(response *DescribeRegionsResponse, err error)) <-chan int

DescribeRegionsWithCallback invokes the drds.DescribeRegions API asynchronously api document: https://help.aliyun.com/api/drds/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 drds.DescribeRegions API asynchronously api document: https://help.aliyun.com/api/drds/describeregions.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeShardDBs

func (client *Client) DescribeShardDBs(request *DescribeShardDBsRequest) (response *DescribeShardDBsResponse, err error)

DescribeShardDBs invokes the drds.DescribeShardDBs API synchronously api document: https://help.aliyun.com/api/drds/describesharddbs.html

func (*Client) DescribeShardDBsWithCallback

func (client *Client) DescribeShardDBsWithCallback(request *DescribeShardDBsRequest, callback func(response *DescribeShardDBsResponse, err error)) <-chan int

DescribeShardDBsWithCallback invokes the drds.DescribeShardDBs API asynchronously api document: https://help.aliyun.com/api/drds/describesharddbs.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeShardDBsWithChan

func (client *Client) DescribeShardDBsWithChan(request *DescribeShardDBsRequest) (<-chan *DescribeShardDBsResponse, <-chan error)

DescribeShardDBsWithChan invokes the drds.DescribeShardDBs API asynchronously api document: https://help.aliyun.com/api/drds/describesharddbs.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeShardDbConnectionInfo

func (client *Client) DescribeShardDbConnectionInfo(request *DescribeShardDbConnectionInfoRequest) (response *DescribeShardDbConnectionInfoResponse, err error)

DescribeShardDbConnectionInfo invokes the drds.DescribeShardDbConnectionInfo API synchronously api document: https://help.aliyun.com/api/drds/describesharddbconnectioninfo.html

func (*Client) DescribeShardDbConnectionInfoWithCallback

func (client *Client) DescribeShardDbConnectionInfoWithCallback(request *DescribeShardDbConnectionInfoRequest, callback func(response *DescribeShardDbConnectionInfoResponse, err error)) <-chan int

DescribeShardDbConnectionInfoWithCallback invokes the drds.DescribeShardDbConnectionInfo API asynchronously api document: https://help.aliyun.com/api/drds/describesharddbconnectioninfo.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeShardDbConnectionInfoWithChan

func (client *Client) DescribeShardDbConnectionInfoWithChan(request *DescribeShardDbConnectionInfoRequest) (<-chan *DescribeShardDbConnectionInfoResponse, <-chan error)

DescribeShardDbConnectionInfoWithChan invokes the drds.DescribeShardDbConnectionInfo API asynchronously api document: https://help.aliyun.com/api/drds/describesharddbconnectioninfo.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyDrdsDBPasswd

func (client *Client) ModifyDrdsDBPasswd(request *ModifyDrdsDBPasswdRequest) (response *ModifyDrdsDBPasswdResponse, err error)

ModifyDrdsDBPasswd invokes the drds.ModifyDrdsDBPasswd API synchronously api document: https://help.aliyun.com/api/drds/modifydrdsdbpasswd.html

func (*Client) ModifyDrdsDBPasswdWithCallback

func (client *Client) ModifyDrdsDBPasswdWithCallback(request *ModifyDrdsDBPasswdRequest, callback func(response *ModifyDrdsDBPasswdResponse, err error)) <-chan int

ModifyDrdsDBPasswdWithCallback invokes the drds.ModifyDrdsDBPasswd API asynchronously api document: https://help.aliyun.com/api/drds/modifydrdsdbpasswd.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyDrdsDBPasswdWithChan

func (client *Client) ModifyDrdsDBPasswdWithChan(request *ModifyDrdsDBPasswdRequest) (<-chan *ModifyDrdsDBPasswdResponse, <-chan error)

ModifyDrdsDBPasswdWithChan invokes the drds.ModifyDrdsDBPasswd API asynchronously api document: https://help.aliyun.com/api/drds/modifydrdsdbpasswd.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyDrdsInstanceDescription

func (client *Client) ModifyDrdsInstanceDescription(request *ModifyDrdsInstanceDescriptionRequest) (response *ModifyDrdsInstanceDescriptionResponse, err error)

ModifyDrdsInstanceDescription invokes the drds.ModifyDrdsInstanceDescription API synchronously api document: https://help.aliyun.com/api/drds/modifydrdsinstancedescription.html

func (*Client) ModifyDrdsInstanceDescriptionWithCallback

func (client *Client) ModifyDrdsInstanceDescriptionWithCallback(request *ModifyDrdsInstanceDescriptionRequest, callback func(response *ModifyDrdsInstanceDescriptionResponse, err error)) <-chan int

ModifyDrdsInstanceDescriptionWithCallback invokes the drds.ModifyDrdsInstanceDescription API asynchronously api document: https://help.aliyun.com/api/drds/modifydrdsinstancedescription.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyDrdsInstanceDescriptionWithChan

func (client *Client) ModifyDrdsInstanceDescriptionWithChan(request *ModifyDrdsInstanceDescriptionRequest) (<-chan *ModifyDrdsInstanceDescriptionResponse, <-chan error)

ModifyDrdsInstanceDescriptionWithChan invokes the drds.ModifyDrdsInstanceDescription API asynchronously api document: https://help.aliyun.com/api/drds/modifydrdsinstancedescription.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyDrdsIpWhiteList

func (client *Client) ModifyDrdsIpWhiteList(request *ModifyDrdsIpWhiteListRequest) (response *ModifyDrdsIpWhiteListResponse, err error)

ModifyDrdsIpWhiteList invokes the drds.ModifyDrdsIpWhiteList API synchronously api document: https://help.aliyun.com/api/drds/modifydrdsipwhitelist.html

func (*Client) ModifyDrdsIpWhiteListWithCallback

func (client *Client) ModifyDrdsIpWhiteListWithCallback(request *ModifyDrdsIpWhiteListRequest, callback func(response *ModifyDrdsIpWhiteListResponse, err error)) <-chan int

ModifyDrdsIpWhiteListWithCallback invokes the drds.ModifyDrdsIpWhiteList API asynchronously api document: https://help.aliyun.com/api/drds/modifydrdsipwhitelist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyDrdsIpWhiteListWithChan

func (client *Client) ModifyDrdsIpWhiteListWithChan(request *ModifyDrdsIpWhiteListRequest) (<-chan *ModifyDrdsIpWhiteListResponse, <-chan error)

ModifyDrdsIpWhiteListWithChan invokes the drds.ModifyDrdsIpWhiteList API asynchronously api document: https://help.aliyun.com/api/drds/modifydrdsipwhitelist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyFullTableScan

func (client *Client) ModifyFullTableScan(request *ModifyFullTableScanRequest) (response *ModifyFullTableScanResponse, err error)

ModifyFullTableScan invokes the drds.ModifyFullTableScan API synchronously api document: https://help.aliyun.com/api/drds/modifyfulltablescan.html

func (*Client) ModifyFullTableScanWithCallback

func (client *Client) ModifyFullTableScanWithCallback(request *ModifyFullTableScanRequest, callback func(response *ModifyFullTableScanResponse, err error)) <-chan int

ModifyFullTableScanWithCallback invokes the drds.ModifyFullTableScan API asynchronously api document: https://help.aliyun.com/api/drds/modifyfulltablescan.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyFullTableScanWithChan

func (client *Client) ModifyFullTableScanWithChan(request *ModifyFullTableScanRequest) (<-chan *ModifyFullTableScanResponse, <-chan error)

ModifyFullTableScanWithChan invokes the drds.ModifyFullTableScan API asynchronously api document: https://help.aliyun.com/api/drds/modifyfulltablescan.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyRdsReadWeight

func (client *Client) ModifyRdsReadWeight(request *ModifyRdsReadWeightRequest) (response *ModifyRdsReadWeightResponse, err error)

ModifyRdsReadWeight invokes the drds.ModifyRdsReadWeight API synchronously api document: https://help.aliyun.com/api/drds/modifyrdsreadweight.html

func (*Client) ModifyRdsReadWeightWithCallback

func (client *Client) ModifyRdsReadWeightWithCallback(request *ModifyRdsReadWeightRequest, callback func(response *ModifyRdsReadWeightResponse, err error)) <-chan int

ModifyRdsReadWeightWithCallback invokes the drds.ModifyRdsReadWeight API asynchronously api document: https://help.aliyun.com/api/drds/modifyrdsreadweight.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyRdsReadWeightWithChan

func (client *Client) ModifyRdsReadWeightWithChan(request *ModifyRdsReadWeightRequest) (<-chan *ModifyRdsReadWeightResponse, <-chan error)

ModifyRdsReadWeightWithChan invokes the drds.ModifyRdsReadWeight API asynchronously api document: https://help.aliyun.com/api/drds/modifyrdsreadweight.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyReadOnlyAccountPassword

func (client *Client) ModifyReadOnlyAccountPassword(request *ModifyReadOnlyAccountPasswordRequest) (response *ModifyReadOnlyAccountPasswordResponse, err error)

ModifyReadOnlyAccountPassword invokes the drds.ModifyReadOnlyAccountPassword API synchronously api document: https://help.aliyun.com/api/drds/modifyreadonlyaccountpassword.html

func (*Client) ModifyReadOnlyAccountPasswordWithCallback

func (client *Client) ModifyReadOnlyAccountPasswordWithCallback(request *ModifyReadOnlyAccountPasswordRequest, callback func(response *ModifyReadOnlyAccountPasswordResponse, err error)) <-chan int

ModifyReadOnlyAccountPasswordWithCallback invokes the drds.ModifyReadOnlyAccountPassword API asynchronously api document: https://help.aliyun.com/api/drds/modifyreadonlyaccountpassword.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ModifyReadOnlyAccountPasswordWithChan

func (client *Client) ModifyReadOnlyAccountPasswordWithChan(request *ModifyReadOnlyAccountPasswordRequest) (<-chan *ModifyReadOnlyAccountPasswordResponse, <-chan error)

ModifyReadOnlyAccountPasswordWithChan invokes the drds.ModifyReadOnlyAccountPassword API asynchronously api document: https://help.aliyun.com/api/drds/modifyreadonlyaccountpassword.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) QueryInstanceInfoByConn

func (client *Client) QueryInstanceInfoByConn(request *QueryInstanceInfoByConnRequest) (response *QueryInstanceInfoByConnResponse, err error)

QueryInstanceInfoByConn invokes the drds.QueryInstanceInfoByConn API synchronously api document: https://help.aliyun.com/api/drds/queryinstanceinfobyconn.html

func (*Client) QueryInstanceInfoByConnWithCallback

func (client *Client) QueryInstanceInfoByConnWithCallback(request *QueryInstanceInfoByConnRequest, callback func(response *QueryInstanceInfoByConnResponse, err error)) <-chan int

QueryInstanceInfoByConnWithCallback invokes the drds.QueryInstanceInfoByConn API asynchronously api document: https://help.aliyun.com/api/drds/queryinstanceinfobyconn.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) QueryInstanceInfoByConnWithChan

func (client *Client) QueryInstanceInfoByConnWithChan(request *QueryInstanceInfoByConnRequest) (<-chan *QueryInstanceInfoByConnResponse, <-chan error)

QueryInstanceInfoByConnWithChan invokes the drds.QueryInstanceInfoByConn API asynchronously api document: https://help.aliyun.com/api/drds/queryinstanceinfobyconn.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RemoveDrdsInstance

func (client *Client) RemoveDrdsInstance(request *RemoveDrdsInstanceRequest) (response *RemoveDrdsInstanceResponse, err error)

RemoveDrdsInstance invokes the drds.RemoveDrdsInstance API synchronously api document: https://help.aliyun.com/api/drds/removedrdsinstance.html

func (*Client) RemoveDrdsInstanceWithCallback

func (client *Client) RemoveDrdsInstanceWithCallback(request *RemoveDrdsInstanceRequest, callback func(response *RemoveDrdsInstanceResponse, err error)) <-chan int

RemoveDrdsInstanceWithCallback invokes the drds.RemoveDrdsInstance API asynchronously api document: https://help.aliyun.com/api/drds/removedrdsinstance.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RemoveDrdsInstanceWithChan

func (client *Client) RemoveDrdsInstanceWithChan(request *RemoveDrdsInstanceRequest) (<-chan *RemoveDrdsInstanceResponse, <-chan error)

RemoveDrdsInstanceWithChan invokes the drds.RemoveDrdsInstance API asynchronously api document: https://help.aliyun.com/api/drds/removedrdsinstance.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RemoveReadOnlyAccount

func (client *Client) RemoveReadOnlyAccount(request *RemoveReadOnlyAccountRequest) (response *RemoveReadOnlyAccountResponse, err error)

RemoveReadOnlyAccount invokes the drds.RemoveReadOnlyAccount API synchronously api document: https://help.aliyun.com/api/drds/removereadonlyaccount.html

func (*Client) RemoveReadOnlyAccountWithCallback

func (client *Client) RemoveReadOnlyAccountWithCallback(request *RemoveReadOnlyAccountRequest, callback func(response *RemoveReadOnlyAccountResponse, err error)) <-chan int

RemoveReadOnlyAccountWithCallback invokes the drds.RemoveReadOnlyAccount API asynchronously api document: https://help.aliyun.com/api/drds/removereadonlyaccount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RemoveReadOnlyAccountWithChan

func (client *Client) RemoveReadOnlyAccountWithChan(request *RemoveReadOnlyAccountRequest) (<-chan *RemoveReadOnlyAccountResponse, <-chan error)

RemoveReadOnlyAccountWithChan invokes the drds.RemoveReadOnlyAccount API asynchronously api document: https://help.aliyun.com/api/drds/removereadonlyaccount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

type ConnectionInfo

type ConnectionInfo struct {
	InstanceName               string `json:"InstanceName" xml:"InstanceName"`
	InstanceUrl                string `json:"InstanceUrl" xml:"InstanceUrl"`
	SubDbName                  string `json:"subDbName" xml:"subDbName"`
	DbStatus                   string `json:"dbStatus" xml:"dbStatus"`
	DbType                     string `json:"dbType" xml:"dbType"`
	MinPoolSize                int    `json:"minPoolSize" xml:"minPoolSize"`
	MaxPoolSize                int    `json:"maxPoolSize" xml:"maxPoolSize"`
	IdleTimeOut                int    `json:"idleTimeOut" xml:"idleTimeOut"`
	BlockingTimeout            int    `json:"blockingTimeout" xml:"blockingTimeout"`
	ConnectionProperties       string `json:"connectionProperties" xml:"connectionProperties"`
	PreparedStatementCacheSize int    `json:"preparedStatementCacheSize" xml:"preparedStatementCacheSize"`
	UserName                   string `json:"userName" xml:"userName"`
}

ConnectionInfo is a nested struct in drds response

type CreateDrdsAccountRequest

type CreateDrdsAccountRequest struct {
	*requests.RpcRequest
	Password       string `position:"Query" name:"Password"`
	DbName         string `position:"Query" name:"DbName"`
	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
	UserName       string `position:"Query" name:"UserName"`
}

CreateDrdsAccountRequest is the request struct for api CreateDrdsAccount

func CreateCreateDrdsAccountRequest

func CreateCreateDrdsAccountRequest() (request *CreateDrdsAccountRequest)

CreateCreateDrdsAccountRequest creates a request to invoke CreateDrdsAccount API

type CreateDrdsAccountResponse

type CreateDrdsAccountResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

CreateDrdsAccountResponse is the response struct for api CreateDrdsAccount

func CreateCreateDrdsAccountResponse

func CreateCreateDrdsAccountResponse() (response *CreateDrdsAccountResponse)

CreateCreateDrdsAccountResponse creates a response to parse from CreateDrdsAccount response

type CreateDrdsDBRequest

type CreateDrdsDBRequest struct {
	*requests.RpcRequest
	Encode         string `position:"Query" name:"Encode"`
	Password       string `position:"Query" name:"Password"`
	DbName         string `position:"Query" name:"DbName"`
	RdsInstances   string `position:"Query" name:"RdsInstances"`
	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
}

CreateDrdsDBRequest is the request struct for api CreateDrdsDB

func CreateCreateDrdsDBRequest

func CreateCreateDrdsDBRequest() (request *CreateDrdsDBRequest)

CreateCreateDrdsDBRequest creates a request to invoke CreateDrdsDB API

type CreateDrdsDBResponse

type CreateDrdsDBResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

CreateDrdsDBResponse is the response struct for api CreateDrdsDB

func CreateCreateDrdsDBResponse

func CreateCreateDrdsDBResponse() (response *CreateDrdsDBResponse)

CreateCreateDrdsDBResponse creates a response to parse from CreateDrdsDB response

type CreateDrdsInstanceRequest

type CreateDrdsInstanceRequest struct {
	*requests.RpcRequest
	Quantity       requests.Integer `position:"Query" name:"Quantity"`
	Description    string           `position:"Query" name:"Description"`
	Specification  string           `position:"Query" name:"Specification"`
	Type           string           `position:"Query" name:"Type"`
	VswitchId      string           `position:"Query" name:"VswitchId"`
	IsHa           requests.Boolean `position:"Query" name:"isHa"`
	InstanceSeries string           `position:"Query" name:"instanceSeries"`
	VpcId          string           `position:"Query" name:"VpcId"`
	ZoneId         string           `position:"Query" name:"ZoneId"`
	PayType        string           `position:"Query" name:"PayType"`
}

CreateDrdsInstanceRequest is the request struct for api CreateDrdsInstance

func CreateCreateDrdsInstanceRequest

func CreateCreateDrdsInstanceRequest() (request *CreateDrdsInstanceRequest)

CreateCreateDrdsInstanceRequest creates a request to invoke CreateDrdsInstance API

type CreateDrdsInstanceResponse

type CreateDrdsInstanceResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Data      Data   `json:"Data" xml:"Data"`
}

CreateDrdsInstanceResponse is the response struct for api CreateDrdsInstance

func CreateCreateDrdsInstanceResponse

func CreateCreateDrdsInstanceResponse() (response *CreateDrdsInstanceResponse)

CreateCreateDrdsInstanceResponse creates a response to parse from CreateDrdsInstance response

type CreateReadOnlyAccountRequest

type CreateReadOnlyAccountRequest struct {
	*requests.RpcRequest
	Password       string `position:"Query" name:"password"`
	DbName         string `position:"Query" name:"DbName"`
	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
}

CreateReadOnlyAccountRequest is the request struct for api CreateReadOnlyAccount

func CreateCreateReadOnlyAccountRequest

func CreateCreateReadOnlyAccountRequest() (request *CreateReadOnlyAccountRequest)

CreateCreateReadOnlyAccountRequest creates a request to invoke CreateReadOnlyAccount API

type CreateReadOnlyAccountResponse

type CreateReadOnlyAccountResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Data      Data   `json:"Data" xml:"Data"`
}

CreateReadOnlyAccountResponse is the response struct for api CreateReadOnlyAccount

func CreateCreateReadOnlyAccountResponse

func CreateCreateReadOnlyAccountResponse() (response *CreateReadOnlyAccountResponse)

CreateCreateReadOnlyAccountResponse creates a response to parse from CreateReadOnlyAccount response

type Data

type Data struct {
	Version            int                           `json:"Version" xml:"Version"`
	SpecTypeName       string                        `json:"SpecTypeName" xml:"SpecTypeName"`
	OrderId            int                           `json:"OrderId" xml:"OrderId"`
	CreateTime         int                           `json:"CreateTime" xml:"CreateTime"`
	DrdsInstanceId     string                        `json:"DrdsInstanceId" xml:"DrdsInstanceId"`
	DbName             string                        `json:"DbName" xml:"DbName"`
	VpcCloudInstanceId string                        `json:"VpcCloudInstanceId" xml:"VpcCloudInstanceId"`
	RegionId           string                        `json:"RegionId" xml:"RegionId"`
	ZoneId             string                        `json:"ZoneId" xml:"ZoneId"`
	AccountName        string                        `json:"AccountName" xml:"AccountName"`
	SpecTypeId         string                        `json:"SpecTypeId" xml:"SpecTypeId"`
	NetworkType        string                        `json:"NetworkType" xml:"NetworkType"`
	Status             string                        `json:"Status" xml:"Status"`
	Description        string                        `json:"Description" xml:"Description"`
	Specification      string                        `json:"Specification" xml:"Specification"`
	Type               string                        `json:"Type" xml:"Type"`
	DrdsInstanceIdList DrdsInstanceIdList            `json:"DrdsInstanceIdList" xml:"DrdsInstanceIdList"`
	IpWhiteList        IpWhiteList                   `json:"IpWhiteList" xml:"IpWhiteList"`
	Vips               VipsInQueryInstanceInfoByConn `json:"Vips" xml:"Vips"`
}

Data is a nested struct in drds response

type DataInDescribeDrdsDB

type DataInDescribeDrdsDB struct {
	DbName     string `json:"DbName" xml:"DbName"`
	Status     int    `json:"Status" xml:"Status"`
	CreateTime string `json:"CreateTime" xml:"CreateTime"`
	Msg        string `json:"Msg" xml:"Msg"`
	Mode       string `json:"Mode" xml:"Mode"`
}

DataInDescribeDrdsDB is a nested struct in drds response

type DataInDescribeDrdsDBs

type DataInDescribeDrdsDBs struct {
	Db []Db `json:"Db" xml:"Db"`
}

DataInDescribeDrdsDBs is a nested struct in drds response

type DataInDescribeDrdsInstances

type DataInDescribeDrdsInstances struct {
	Instance []Instance `json:"Instance" xml:"Instance"`
}

DataInDescribeDrdsInstances is a nested struct in drds response

type DataInDescribeRdsList

type DataInDescribeRdsList struct {
	RdsInstance []RdsInstance `json:"RdsInstance" xml:"RdsInstance"`
}

DataInDescribeRdsList is a nested struct in drds response

type DataInDescribeShardDBs

type DataInDescribeShardDBs struct {
	DbIntancePair []DbIntancePair `json:"DbIntancePair" xml:"DbIntancePair"`
}

DataInDescribeShardDBs is a nested struct in drds response

type Db

type Db struct {
	DbName     string `json:"DbName" xml:"DbName"`
	Status     int    `json:"Status" xml:"Status"`
	CreateTime string `json:"CreateTime" xml:"CreateTime"`
	Msg        string `json:"Msg" xml:"Msg"`
	Mode       string `json:"Mode" xml:"Mode"`
}

Db is a nested struct in drds response

type DbIntancePair

type DbIntancePair struct {
	SubDbName    string `json:"SubDbName" xml:"SubDbName"`
	InstanceName string `json:"InstanceName" xml:"InstanceName"`
}

DbIntancePair is a nested struct in drds response

type DeleteDrdsDBRequest

type DeleteDrdsDBRequest struct {
	*requests.RpcRequest
	DbName         string `position:"Query" name:"DbName"`
	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
}

DeleteDrdsDBRequest is the request struct for api DeleteDrdsDB

func CreateDeleteDrdsDBRequest

func CreateDeleteDrdsDBRequest() (request *DeleteDrdsDBRequest)

CreateDeleteDrdsDBRequest creates a request to invoke DeleteDrdsDB API

type DeleteDrdsDBResponse

type DeleteDrdsDBResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

DeleteDrdsDBResponse is the response struct for api DeleteDrdsDB

func CreateDeleteDrdsDBResponse

func CreateDeleteDrdsDBResponse() (response *DeleteDrdsDBResponse)

CreateDeleteDrdsDBResponse creates a response to parse from DeleteDrdsDB response

type DeleteFailedDrdsDBRequest

type DeleteFailedDrdsDBRequest struct {
	*requests.RpcRequest
	DbName         string `position:"Query" name:"DbName"`
	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
}

DeleteFailedDrdsDBRequest is the request struct for api DeleteFailedDrdsDB

func CreateDeleteFailedDrdsDBRequest

func CreateDeleteFailedDrdsDBRequest() (request *DeleteFailedDrdsDBRequest)

CreateDeleteFailedDrdsDBRequest creates a request to invoke DeleteFailedDrdsDB API

type DeleteFailedDrdsDBResponse

type DeleteFailedDrdsDBResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

DeleteFailedDrdsDBResponse is the response struct for api DeleteFailedDrdsDB

func CreateDeleteFailedDrdsDBResponse

func CreateDeleteFailedDrdsDBResponse() (response *DeleteFailedDrdsDBResponse)

CreateDeleteFailedDrdsDBResponse creates a response to parse from DeleteFailedDrdsDB response

type DescribeCreateDrdsInstanceStatusRequest

type DescribeCreateDrdsInstanceStatusRequest struct {
	*requests.RpcRequest
	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
}

DescribeCreateDrdsInstanceStatusRequest is the request struct for api DescribeCreateDrdsInstanceStatus

func CreateDescribeCreateDrdsInstanceStatusRequest

func CreateDescribeCreateDrdsInstanceStatusRequest() (request *DescribeCreateDrdsInstanceStatusRequest)

CreateDescribeCreateDrdsInstanceStatusRequest creates a request to invoke DescribeCreateDrdsInstanceStatus API

type DescribeCreateDrdsInstanceStatusResponse

type DescribeCreateDrdsInstanceStatusResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Data      Data   `json:"Data" xml:"Data"`
}

DescribeCreateDrdsInstanceStatusResponse is the response struct for api DescribeCreateDrdsInstanceStatus

func CreateDescribeCreateDrdsInstanceStatusResponse

func CreateDescribeCreateDrdsInstanceStatusResponse() (response *DescribeCreateDrdsInstanceStatusResponse)

CreateDescribeCreateDrdsInstanceStatusResponse creates a response to parse from DescribeCreateDrdsInstanceStatus response

type DescribeDrdsDBIpWhiteListRequest

type DescribeDrdsDBIpWhiteListRequest struct {
	*requests.RpcRequest
	DbName         string `position:"Query" name:"DbName"`
	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
	GroupName      string `position:"Query" name:"GroupName"`
}

DescribeDrdsDBIpWhiteListRequest is the request struct for api DescribeDrdsDBIpWhiteList

func CreateDescribeDrdsDBIpWhiteListRequest

func CreateDescribeDrdsDBIpWhiteListRequest() (request *DescribeDrdsDBIpWhiteListRequest)

CreateDescribeDrdsDBIpWhiteListRequest creates a request to invoke DescribeDrdsDBIpWhiteList API

type DescribeDrdsDBIpWhiteListResponse

type DescribeDrdsDBIpWhiteListResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Data      Data   `json:"Data" xml:"Data"`
}

DescribeDrdsDBIpWhiteListResponse is the response struct for api DescribeDrdsDBIpWhiteList

func CreateDescribeDrdsDBIpWhiteListResponse

func CreateDescribeDrdsDBIpWhiteListResponse() (response *DescribeDrdsDBIpWhiteListResponse)

CreateDescribeDrdsDBIpWhiteListResponse creates a response to parse from DescribeDrdsDBIpWhiteList response

type DescribeDrdsDBRequest

type DescribeDrdsDBRequest struct {
	*requests.RpcRequest
	DbName         string `position:"Query" name:"DbName"`
	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
}

DescribeDrdsDBRequest is the request struct for api DescribeDrdsDB

func CreateDescribeDrdsDBRequest

func CreateDescribeDrdsDBRequest() (request *DescribeDrdsDBRequest)

CreateDescribeDrdsDBRequest creates a request to invoke DescribeDrdsDB API

type DescribeDrdsDBResponse

type DescribeDrdsDBResponse struct {
	*responses.BaseResponse
	RequestId string               `json:"RequestId" xml:"RequestId"`
	Success   bool                 `json:"Success" xml:"Success"`
	Data      DataInDescribeDrdsDB `json:"Data" xml:"Data"`
}

DescribeDrdsDBResponse is the response struct for api DescribeDrdsDB

func CreateDescribeDrdsDBResponse

func CreateDescribeDrdsDBResponse() (response *DescribeDrdsDBResponse)

CreateDescribeDrdsDBResponse creates a response to parse from DescribeDrdsDB response

type DescribeDrdsDBsRequest

type DescribeDrdsDBsRequest struct {
	*requests.RpcRequest
	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
}

DescribeDrdsDBsRequest is the request struct for api DescribeDrdsDBs

func CreateDescribeDrdsDBsRequest

func CreateDescribeDrdsDBsRequest() (request *DescribeDrdsDBsRequest)

CreateDescribeDrdsDBsRequest creates a request to invoke DescribeDrdsDBs API

type DescribeDrdsDBsResponse

type DescribeDrdsDBsResponse struct {
	*responses.BaseResponse
	RequestId string                `json:"RequestId" xml:"RequestId"`
	Success   bool                  `json:"Success" xml:"Success"`
	Data      DataInDescribeDrdsDBs `json:"Data" xml:"Data"`
}

DescribeDrdsDBsResponse is the response struct for api DescribeDrdsDBs

func CreateDescribeDrdsDBsResponse

func CreateDescribeDrdsDBsResponse() (response *DescribeDrdsDBsResponse)

CreateDescribeDrdsDBsResponse creates a response to parse from DescribeDrdsDBs response

type DescribeDrdsInstanceNetInfoForInnerRequest

type DescribeDrdsInstanceNetInfoForInnerRequest struct {
	*requests.RpcRequest
	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
}

DescribeDrdsInstanceNetInfoForInnerRequest is the request struct for api DescribeDrdsInstanceNetInfoForInner

func CreateDescribeDrdsInstanceNetInfoForInnerRequest

func CreateDescribeDrdsInstanceNetInfoForInnerRequest() (request *DescribeDrdsInstanceNetInfoForInnerRequest)

CreateDescribeDrdsInstanceNetInfoForInnerRequest creates a request to invoke DescribeDrdsInstanceNetInfoForInner API

type DescribeDrdsInstanceNetInfoForInnerResponse

type DescribeDrdsInstanceNetInfoForInnerResponse struct {
	*responses.BaseResponse
	RequestId      string   `json:"RequestId" xml:"RequestId"`
	Success        bool     `json:"Success" xml:"Success"`
	DrdsInstanceId string   `json:"DrdsInstanceId" xml:"DrdsInstanceId"`
	NetworkType    string   `json:"NetworkType" xml:"NetworkType"`
	NetInfos       NetInfos `json:"NetInfos" xml:"NetInfos"`
}

DescribeDrdsInstanceNetInfoForInnerResponse is the response struct for api DescribeDrdsInstanceNetInfoForInner

func CreateDescribeDrdsInstanceNetInfoForInnerResponse

func CreateDescribeDrdsInstanceNetInfoForInnerResponse() (response *DescribeDrdsInstanceNetInfoForInnerResponse)

CreateDescribeDrdsInstanceNetInfoForInnerResponse creates a response to parse from DescribeDrdsInstanceNetInfoForInner response

type DescribeDrdsInstanceRequest

type DescribeDrdsInstanceRequest struct {
	*requests.RpcRequest
	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
}

DescribeDrdsInstanceRequest is the request struct for api DescribeDrdsInstance

func CreateDescribeDrdsInstanceRequest

func CreateDescribeDrdsInstanceRequest() (request *DescribeDrdsInstanceRequest)

CreateDescribeDrdsInstanceRequest creates a request to invoke DescribeDrdsInstance API

type DescribeDrdsInstanceResponse

type DescribeDrdsInstanceResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Data      Data   `json:"Data" xml:"Data"`
}

DescribeDrdsInstanceResponse is the response struct for api DescribeDrdsInstance

func CreateDescribeDrdsInstanceResponse

func CreateDescribeDrdsInstanceResponse() (response *DescribeDrdsInstanceResponse)

CreateDescribeDrdsInstanceResponse creates a response to parse from DescribeDrdsInstance response

type DescribeDrdsInstancesRequest

type DescribeDrdsInstancesRequest struct {
	*requests.RpcRequest
	Type string `position:"Query" name:"Type"`
}

DescribeDrdsInstancesRequest is the request struct for api DescribeDrdsInstances

func CreateDescribeDrdsInstancesRequest

func CreateDescribeDrdsInstancesRequest() (request *DescribeDrdsInstancesRequest)

CreateDescribeDrdsInstancesRequest creates a request to invoke DescribeDrdsInstances API

type DescribeDrdsInstancesResponse

type DescribeDrdsInstancesResponse struct {
	*responses.BaseResponse
	RequestId string                      `json:"RequestId" xml:"RequestId"`
	Success   bool                        `json:"Success" xml:"Success"`
	Data      DataInDescribeDrdsInstances `json:"Data" xml:"Data"`
}

DescribeDrdsInstancesResponse is the response struct for api DescribeDrdsInstances

func CreateDescribeDrdsInstancesResponse

func CreateDescribeDrdsInstancesResponse() (response *DescribeDrdsInstancesResponse)

CreateDescribeDrdsInstancesResponse creates a response to parse from DescribeDrdsInstances response

type DescribeRdsListRequest

type DescribeRdsListRequest struct {
	*requests.RpcRequest
	DbName         string `position:"Query" name:"DbName"`
	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
}

DescribeRdsListRequest is the request struct for api DescribeRdsList

func CreateDescribeRdsListRequest

func CreateDescribeRdsListRequest() (request *DescribeRdsListRequest)

CreateDescribeRdsListRequest creates a request to invoke DescribeRdsList API

type DescribeRdsListResponse

type DescribeRdsListResponse struct {
	*responses.BaseResponse
	RequestId string                `json:"RequestId" xml:"RequestId"`
	Success   bool                  `json:"Success" xml:"Success"`
	Data      DataInDescribeRdsList `json:"Data" xml:"Data"`
}

DescribeRdsListResponse is the response struct for api DescribeRdsList

func CreateDescribeRdsListResponse

func CreateDescribeRdsListResponse() (response *DescribeRdsListResponse)

CreateDescribeRdsListResponse creates a response to parse from DescribeRdsList response

type DescribeReadOnlyAccountRequest

type DescribeReadOnlyAccountRequest struct {
	*requests.RpcRequest
	DbName         string `position:"Query" name:"DbName"`
	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
}

DescribeReadOnlyAccountRequest is the request struct for api DescribeReadOnlyAccount

func CreateDescribeReadOnlyAccountRequest

func CreateDescribeReadOnlyAccountRequest() (request *DescribeReadOnlyAccountRequest)

CreateDescribeReadOnlyAccountRequest creates a request to invoke DescribeReadOnlyAccount API

type DescribeReadOnlyAccountResponse

type DescribeReadOnlyAccountResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Data      Data   `json:"Data" xml:"Data"`
}

DescribeReadOnlyAccountResponse is the response struct for api DescribeReadOnlyAccount

func CreateDescribeReadOnlyAccountResponse

func CreateDescribeReadOnlyAccountResponse() (response *DescribeReadOnlyAccountResponse)

CreateDescribeReadOnlyAccountResponse creates a response to parse from DescribeReadOnlyAccount response

type DescribeRegionsRequest

type DescribeRegionsRequest struct {
	*requests.RpcRequest
}

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"`
	Success     bool        `json:"Success" xml:"Success"`
	DrdsRegions DrdsRegions `json:"DrdsRegions" xml:"DrdsRegions"`
}

DescribeRegionsResponse is the response struct for api DescribeRegions

func CreateDescribeRegionsResponse

func CreateDescribeRegionsResponse() (response *DescribeRegionsResponse)

CreateDescribeRegionsResponse creates a response to parse from DescribeRegions response

type DescribeShardDBsRequest

type DescribeShardDBsRequest struct {
	*requests.RpcRequest
	DbName         string `position:"Query" name:"DbName"`
	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
}

DescribeShardDBsRequest is the request struct for api DescribeShardDBs

func CreateDescribeShardDBsRequest

func CreateDescribeShardDBsRequest() (request *DescribeShardDBsRequest)

CreateDescribeShardDBsRequest creates a request to invoke DescribeShardDBs API

type DescribeShardDBsResponse

type DescribeShardDBsResponse struct {
	*responses.BaseResponse
	RequestId string                 `json:"RequestId" xml:"RequestId"`
	Success   bool                   `json:"Success" xml:"Success"`
	Data      DataInDescribeShardDBs `json:"Data" xml:"Data"`
}

DescribeShardDBsResponse is the response struct for api DescribeShardDBs

func CreateDescribeShardDBsResponse

func CreateDescribeShardDBsResponse() (response *DescribeShardDBsResponse)

CreateDescribeShardDBsResponse creates a response to parse from DescribeShardDBs response

type DescribeShardDbConnectionInfoRequest

type DescribeShardDbConnectionInfoRequest struct {
	*requests.RpcRequest
	DbName         string `position:"Query" name:"DbName"`
	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
	SubDbName      string `position:"Query" name:"SubDbName"`
}

DescribeShardDbConnectionInfoRequest is the request struct for api DescribeShardDbConnectionInfo

func CreateDescribeShardDbConnectionInfoRequest

func CreateDescribeShardDbConnectionInfoRequest() (request *DescribeShardDbConnectionInfoRequest)

CreateDescribeShardDbConnectionInfoRequest creates a request to invoke DescribeShardDbConnectionInfo API

type DescribeShardDbConnectionInfoResponse

type DescribeShardDbConnectionInfoResponse struct {
	*responses.BaseResponse
	RequestId      string         `json:"RequestId" xml:"RequestId"`
	Success        bool           `json:"Success" xml:"Success"`
	ConnectionInfo ConnectionInfo `json:"ConnectionInfo" xml:"ConnectionInfo"`
}

DescribeShardDbConnectionInfoResponse is the response struct for api DescribeShardDbConnectionInfo

func CreateDescribeShardDbConnectionInfoResponse

func CreateDescribeShardDbConnectionInfoResponse() (response *DescribeShardDbConnectionInfoResponse)

CreateDescribeShardDbConnectionInfoResponse creates a response to parse from DescribeShardDbConnectionInfo response

type DrdsInstanceIdList

type DrdsInstanceIdList struct {
	DrdsInstanceId []string `json:"DrdsInstanceId" xml:"DrdsInstanceId"`
}

DrdsInstanceIdList is a nested struct in drds response

type DrdsRegion

type DrdsRegion struct {
	RegionId           string             `json:"RegionId" xml:"RegionId"`
	RegionName         string             `json:"RegionName" xml:"RegionName"`
	ZoneId             string             `json:"ZoneId" xml:"ZoneId"`
	ZoneName           string             `json:"ZoneName" xml:"ZoneName"`
	InstanceSeriesList InstanceSeriesList `json:"InstanceSeriesList" xml:"InstanceSeriesList"`
}

DrdsRegion is a nested struct in drds response

type DrdsRegions

type DrdsRegions struct {
	DrdsRegion []DrdsRegion `json:"DrdsRegion" xml:"DrdsRegion"`
}

DrdsRegions is a nested struct in drds response

type Instance

type Instance struct {
	DrdsInstanceId     string                      `json:"DrdsInstanceId" xml:"DrdsInstanceId"`
	Type               string                      `json:"Type" xml:"Type"`
	RegionId           string                      `json:"RegionId" xml:"RegionId"`
	ZoneId             string                      `json:"ZoneId" xml:"ZoneId"`
	Description        string                      `json:"Description" xml:"Description"`
	NetworkType        string                      `json:"NetworkType" xml:"NetworkType"`
	Status             string                      `json:"Status" xml:"Status"`
	CreateTime         int                         `json:"CreateTime" xml:"CreateTime"`
	Version            int                         `json:"Version" xml:"Version"`
	VpcCloudInstanceId string                      `json:"VpcCloudInstanceId" xml:"VpcCloudInstanceId"`
	Vips               VipsInDescribeDrdsInstances `json:"Vips" xml:"Vips"`
}

Instance is a nested struct in drds response

type InstanceSeries

type InstanceSeries struct {
	SeriesId   string   `json:"SeriesId" xml:"SeriesId"`
	SeriesName string   `json:"SeriesName" xml:"SeriesName"`
	SpecList   SpecList `json:"SpecList" xml:"SpecList"`
}

InstanceSeries is a nested struct in drds response

type InstanceSeriesList

type InstanceSeriesList struct {
	InstanceSeries []InstanceSeries `json:"InstanceSeries" xml:"InstanceSeries"`
}

InstanceSeriesList is a nested struct in drds response

type IpWhiteList

type IpWhiteList struct {
	Ip []string `json:"Ip" xml:"Ip"`
}

IpWhiteList is a nested struct in drds response

type ModifyDrdsDBPasswdRequest

type ModifyDrdsDBPasswdRequest struct {
	*requests.RpcRequest
	NewPasswd      string `position:"Query" name:"NewPasswd"`
	DbName         string `position:"Query" name:"DbName"`
	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
}

ModifyDrdsDBPasswdRequest is the request struct for api ModifyDrdsDBPasswd

func CreateModifyDrdsDBPasswdRequest

func CreateModifyDrdsDBPasswdRequest() (request *ModifyDrdsDBPasswdRequest)

CreateModifyDrdsDBPasswdRequest creates a request to invoke ModifyDrdsDBPasswd API

type ModifyDrdsDBPasswdResponse

type ModifyDrdsDBPasswdResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

ModifyDrdsDBPasswdResponse is the response struct for api ModifyDrdsDBPasswd

func CreateModifyDrdsDBPasswdResponse

func CreateModifyDrdsDBPasswdResponse() (response *ModifyDrdsDBPasswdResponse)

CreateModifyDrdsDBPasswdResponse creates a response to parse from ModifyDrdsDBPasswd response

type ModifyDrdsInstanceDescriptionRequest

type ModifyDrdsInstanceDescriptionRequest struct {
	*requests.RpcRequest
	Description    string `position:"Query" name:"Description"`
	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
}

ModifyDrdsInstanceDescriptionRequest is the request struct for api ModifyDrdsInstanceDescription

func CreateModifyDrdsInstanceDescriptionRequest

func CreateModifyDrdsInstanceDescriptionRequest() (request *ModifyDrdsInstanceDescriptionRequest)

CreateModifyDrdsInstanceDescriptionRequest creates a request to invoke ModifyDrdsInstanceDescription API

type ModifyDrdsInstanceDescriptionResponse

type ModifyDrdsInstanceDescriptionResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

ModifyDrdsInstanceDescriptionResponse is the response struct for api ModifyDrdsInstanceDescription

func CreateModifyDrdsInstanceDescriptionResponse

func CreateModifyDrdsInstanceDescriptionResponse() (response *ModifyDrdsInstanceDescriptionResponse)

CreateModifyDrdsInstanceDescriptionResponse creates a response to parse from ModifyDrdsInstanceDescription response

type ModifyDrdsIpWhiteListRequest

type ModifyDrdsIpWhiteListRequest struct {
	*requests.RpcRequest
	Mode           requests.Boolean `position:"Query" name:"Mode"`
	DbName         string           `position:"Query" name:"DbName"`
	GroupAttribute string           `position:"Query" name:"GroupAttribute"`
	IpWhiteList    string           `position:"Query" name:"IpWhiteList"`
	DrdsInstanceId string           `position:"Query" name:"DrdsInstanceId"`
	GroupName      string           `position:"Query" name:"GroupName"`
}

ModifyDrdsIpWhiteListRequest is the request struct for api ModifyDrdsIpWhiteList

func CreateModifyDrdsIpWhiteListRequest

func CreateModifyDrdsIpWhiteListRequest() (request *ModifyDrdsIpWhiteListRequest)

CreateModifyDrdsIpWhiteListRequest creates a request to invoke ModifyDrdsIpWhiteList API

type ModifyDrdsIpWhiteListResponse

type ModifyDrdsIpWhiteListResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

ModifyDrdsIpWhiteListResponse is the response struct for api ModifyDrdsIpWhiteList

func CreateModifyDrdsIpWhiteListResponse

func CreateModifyDrdsIpWhiteListResponse() (response *ModifyDrdsIpWhiteListResponse)

CreateModifyDrdsIpWhiteListResponse creates a response to parse from ModifyDrdsIpWhiteList response

type ModifyFullTableScanRequest

type ModifyFullTableScanRequest struct {
	*requests.RpcRequest
	DbName         string           `position:"Query" name:"DbName"`
	TableNames     string           `position:"Query" name:"TableNames"`
	DrdsInstanceId string           `position:"Query" name:"DrdsInstanceId"`
	FullTableScan  requests.Boolean `position:"Query" name:"FullTableScan"`
}

ModifyFullTableScanRequest is the request struct for api ModifyFullTableScan

func CreateModifyFullTableScanRequest

func CreateModifyFullTableScanRequest() (request *ModifyFullTableScanRequest)

CreateModifyFullTableScanRequest creates a request to invoke ModifyFullTableScan API

type ModifyFullTableScanResponse

type ModifyFullTableScanResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

ModifyFullTableScanResponse is the response struct for api ModifyFullTableScan

func CreateModifyFullTableScanResponse

func CreateModifyFullTableScanResponse() (response *ModifyFullTableScanResponse)

CreateModifyFullTableScanResponse creates a response to parse from ModifyFullTableScan response

type ModifyRdsReadWeightRequest

type ModifyRdsReadWeightRequest struct {
	*requests.RpcRequest
	InstanceNames  string `position:"Query" name:"InstanceNames"`
	DbName         string `position:"Query" name:"DbName"`
	Weights        string `position:"Query" name:"Weights"`
	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
}

ModifyRdsReadWeightRequest is the request struct for api ModifyRdsReadWeight

func CreateModifyRdsReadWeightRequest

func CreateModifyRdsReadWeightRequest() (request *ModifyRdsReadWeightRequest)

CreateModifyRdsReadWeightRequest creates a request to invoke ModifyRdsReadWeight API

type ModifyRdsReadWeightResponse

type ModifyRdsReadWeightResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

ModifyRdsReadWeightResponse is the response struct for api ModifyRdsReadWeight

func CreateModifyRdsReadWeightResponse

func CreateModifyRdsReadWeightResponse() (response *ModifyRdsReadWeightResponse)

CreateModifyRdsReadWeightResponse creates a response to parse from ModifyRdsReadWeight response

type ModifyReadOnlyAccountPasswordRequest

type ModifyReadOnlyAccountPasswordRequest struct {
	*requests.RpcRequest
	NewPasswd      string `position:"Query" name:"NewPasswd"`
	DbName         string `position:"Query" name:"DbName"`
	AccountName    string `position:"Query" name:"AccountName"`
	OriginPassword string `position:"Query" name:"OriginPassword"`
	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
}

ModifyReadOnlyAccountPasswordRequest is the request struct for api ModifyReadOnlyAccountPassword

func CreateModifyReadOnlyAccountPasswordRequest

func CreateModifyReadOnlyAccountPasswordRequest() (request *ModifyReadOnlyAccountPasswordRequest)

CreateModifyReadOnlyAccountPasswordRequest creates a request to invoke ModifyReadOnlyAccountPassword API

type ModifyReadOnlyAccountPasswordResponse

type ModifyReadOnlyAccountPasswordResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

ModifyReadOnlyAccountPasswordResponse is the response struct for api ModifyReadOnlyAccountPassword

func CreateModifyReadOnlyAccountPasswordResponse

func CreateModifyReadOnlyAccountPasswordResponse() (response *ModifyReadOnlyAccountPasswordResponse)

CreateModifyReadOnlyAccountPasswordResponse creates a response to parse from ModifyReadOnlyAccountPassword response

type NetInfo

type NetInfo struct {
	IP       string `json:"IP" xml:"IP"`
	Port     string `json:"Port" xml:"Port"`
	Type     string `json:"Type" xml:"Type"`
	IsForVpc bool   `json:"IsForVpc" xml:"IsForVpc"`
}

NetInfo is a nested struct in drds response

type NetInfos

type NetInfos struct {
	NetInfo []NetInfo `json:"NetInfo" xml:"NetInfo"`
}

NetInfos is a nested struct in drds response

type QueryInstanceInfoByConnRequest

type QueryInstanceInfoByConnRequest struct {
	*requests.RpcRequest
	Port     requests.Integer `position:"Query" name:"Port"`
	Host     string           `position:"Query" name:"Host"`
	UserName string           `position:"Query" name:"UserName"`
}

QueryInstanceInfoByConnRequest is the request struct for api QueryInstanceInfoByConn

func CreateQueryInstanceInfoByConnRequest

func CreateQueryInstanceInfoByConnRequest() (request *QueryInstanceInfoByConnRequest)

CreateQueryInstanceInfoByConnRequest creates a request to invoke QueryInstanceInfoByConn API

type QueryInstanceInfoByConnResponse

type QueryInstanceInfoByConnResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Data      Data   `json:"Data" xml:"Data"`
}

QueryInstanceInfoByConnResponse is the response struct for api QueryInstanceInfoByConn

func CreateQueryInstanceInfoByConnResponse

func CreateQueryInstanceInfoByConnResponse() (response *QueryInstanceInfoByConnResponse)

CreateQueryInstanceInfoByConnResponse creates a response to parse from QueryInstanceInfoByConn response

type RdsInstance

type RdsInstance struct {
	InstanceId       int              `json:"InstanceId" xml:"InstanceId"`
	InstanceName     string           `json:"InstanceName" xml:"InstanceName"`
	ConnectUrl       string           `json:"ConnectUrl" xml:"ConnectUrl"`
	Port             int              `json:"Port" xml:"Port"`
	InstanceStatus   string           `json:"InstanceStatus" xml:"InstanceStatus"`
	DbType           string           `json:"DbType" xml:"DbType"`
	ReadWeight       int              `json:"ReadWeight" xml:"ReadWeight"`
	ReadOnlyChildren ReadOnlyChildren `json:"ReadOnlyChildren" xml:"ReadOnlyChildren"`
}

RdsInstance is a nested struct in drds response

type ReadOnlyChildren

type ReadOnlyChildren struct {
	Child []Child `json:"Child" xml:"Child"`
}

ReadOnlyChildren is a nested struct in drds response

type RemoveDrdsInstanceRequest

type RemoveDrdsInstanceRequest struct {
	*requests.RpcRequest
	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
}

RemoveDrdsInstanceRequest is the request struct for api RemoveDrdsInstance

func CreateRemoveDrdsInstanceRequest

func CreateRemoveDrdsInstanceRequest() (request *RemoveDrdsInstanceRequest)

CreateRemoveDrdsInstanceRequest creates a request to invoke RemoveDrdsInstance API

type RemoveDrdsInstanceResponse

type RemoveDrdsInstanceResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

RemoveDrdsInstanceResponse is the response struct for api RemoveDrdsInstance

func CreateRemoveDrdsInstanceResponse

func CreateRemoveDrdsInstanceResponse() (response *RemoveDrdsInstanceResponse)

CreateRemoveDrdsInstanceResponse creates a response to parse from RemoveDrdsInstance response

type RemoveReadOnlyAccountRequest

type RemoveReadOnlyAccountRequest struct {
	*requests.RpcRequest
	DbName         string `position:"Query" name:"DbName"`
	AccountName    string `position:"Query" name:"AccountName"`
	DrdsInstanceId string `position:"Query" name:"DrdsInstanceId"`
}

RemoveReadOnlyAccountRequest is the request struct for api RemoveReadOnlyAccount

func CreateRemoveReadOnlyAccountRequest

func CreateRemoveReadOnlyAccountRequest() (request *RemoveReadOnlyAccountRequest)

CreateRemoveReadOnlyAccountRequest creates a request to invoke RemoveReadOnlyAccount API

type RemoveReadOnlyAccountResponse

type RemoveReadOnlyAccountResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

RemoveReadOnlyAccountResponse is the response struct for api RemoveReadOnlyAccount

func CreateRemoveReadOnlyAccountResponse

func CreateRemoveReadOnlyAccountResponse() (response *RemoveReadOnlyAccountResponse)

CreateRemoveReadOnlyAccountResponse creates a response to parse from RemoveReadOnlyAccount response

type Spec

type Spec struct {
	SpecId   string `json:"SpecId" xml:"SpecId"`
	SpecName string `json:"SpecName" xml:"SpecName"`
}

Spec is a nested struct in drds response

type SpecList

type SpecList struct {
	Spec []Spec `json:"Spec" xml:"Spec"`
}

SpecList is a nested struct in drds response

type Vip

type Vip struct {
	Port      string `json:"Port" xml:"Port"`
	IP        string `json:"IP" xml:"IP"`
	VswitchId string `json:"VswitchId" xml:"VswitchId"`
	VpcId     string `json:"VpcId" xml:"VpcId"`
	Type      string `json:"Type" xml:"Type"`
}

Vip is a nested struct in drds response

type VipsInDescribeDrdsInstance

type VipsInDescribeDrdsInstance struct {
	Vip []Vip `json:"Vip" xml:"Vip"`
}

VipsInDescribeDrdsInstance is a nested struct in drds response

type VipsInDescribeDrdsInstances

type VipsInDescribeDrdsInstances struct {
	Vip []Vip `json:"Vip" xml:"Vip"`
}

VipsInDescribeDrdsInstances is a nested struct in drds response

type VipsInQueryInstanceInfoByConn

type VipsInQueryInstanceInfoByConn struct {
	Vip []Vip `json:"Vip" xml:"Vip"`
}

VipsInQueryInstanceInfoByConn is a nested struct in drds response

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL