rds

package
v0.0.0-...-0b043e4 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Product = "Rds"
	Style   = "RPC"
	Version = "2014-08-15"
)

Variables

This section is empty.

Functions

func NewParams

func NewParams() openapi.Params

Types

type API

type API struct {
	openapi.Service
}

func New

func New(accessKeyId, accessKeySecret string) API

func (API) AddTagsToResource

func (api API) AddTagsToResource(DBInstanceId string, optional openapi.M) (*openapi.Response, error)

AddTagsToResource version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: Tag.1.key, type: string
name: Tag.1.value, type: string
name: Tag.2.key, type: string
name: Tag.2.value, type: string
name: Tag.3.key, type: string
name: Tag.3.value, type: string
name: Tag.4.key, type: string
name: Tag.4.value, type: string
name: Tag.5.key, type: string
name: Tag.5.value, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https
name: proxyId, type: string

func (API) AllocateInstancePrivateConnection

func (api API) AllocateInstancePrivateConnection(ConnectionStringPrefix, DBInstanceId, Port string, optional openapi.M) (*openapi.Response, error)

AllocateInstancePrivateConnection version 2014-08-15

required parameters:

name: ConnectionStringPrefix, type: string
name: DBInstanceId, type: string
name: Port, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) AllocateInstancePublicConnection

func (api API) AllocateInstancePublicConnection(ConnectionStringPrefix, DBInstanceId, Port string, optional openapi.M) (*openapi.Response, error)

AllocateInstancePublicConnection version 2014-08-15

required parameters:

name: ConnectionStringPrefix, type: string
name: DBInstanceId, type: string
name: Port, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) BatchGrantAccountPrivilege

func (api API) BatchGrantAccountPrivilege(AccountName, AccountPrivilege, DBInstanceId, DBName string, optional openapi.M) (*openapi.Response, error)

BatchGrantAccountPrivilege version 2014-08-15

required parameters:

name: AccountName, type: string
name: AccountPrivilege, type: string
name: DBInstanceId, type: string
name: DBName, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) BatchRevokeAccountPrivilege

func (api API) BatchRevokeAccountPrivilege(AccountName, DBInstanceId, DBName string, optional openapi.M) (*openapi.Response, error)

BatchRevokeAccountPrivilege version 2014-08-15

required parameters:

name: AccountName, type: string
name: DBInstanceId, type: string
name: DBName, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) CancelImport

func (api API) CancelImport(DBInstanceId string, ImportId int, optional openapi.M) (*openapi.Response, error)

CancelImport version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: ImportId, type: int

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) CheckAccountNameAvailable

func (api API) CheckAccountNameAvailable(AccountName, DBInstanceId string, optional openapi.M) (*openapi.Response, error)

CheckAccountNameAvailable version 2014-08-15

required parameters:

name: AccountName, type: string
name: DBInstanceId, type: string

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) CheckDBNameAvailable

func (api API) CheckDBNameAvailable(DBInstanceId, DBName string, optional openapi.M) (*openapi.Response, error)

CheckDBNameAvailable version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: DBName, type: string

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) CreateAccount

func (api API) CreateAccount(AccountName, AccountPassword, DBInstanceId string, optional openapi.M) (*openapi.Response, error)

CreateAccount version 2014-08-15

required parameters:

name: AccountName, type: string
name: AccountPassword, type: string
name: DBInstanceId, type: string

optional parameters:

name: AccountDescription, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) CreateAccountForInner

func (api API) CreateAccountForInner(AccountName, AccountPassword, DBInstanceId string, optional openapi.M) (*openapi.Response, error)

CreateAccountForInner version 2014-08-15

required parameters:

name: AccountName, type: string
name: AccountPassword, type: string
name: DBInstanceId, type: string

optional parameters:

name: AccountDescription, type: string
name: AccountPrivilege, type: string
name: DBName, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) CreateBackup

func (api API) CreateBackup(DBInstanceId string, optional openapi.M) (*openapi.Response, error)

CreateBackup version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: BackupMethod, type: string
name: BackupType, type: string
name: DBName, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) CreateDBInstance

func (api API) CreateDBInstance(ClientToken, DBInstanceClass, DBInstanceNetType string, DBInstanceStorage int, Engine, EngineVersion, PayType, SecurityIPList string, optional openapi.M) (*CreateDBInstanceResponse, error)

CreateDBInstance version 2014-08-15

required parameters:

name: ClientToken, type: string
name: DBInstanceClass, type: string
name: DBInstanceNetType, type: string
name: DBInstanceStorage, type: int
name: Engine, type: string
name: EngineVersion, type: string
name: PayType, type: string
name: SecurityIPList, type: string

optional parameters:

name: ConnectionMode, type: string
name: DBInstanceDescription, type: string
name: InstanceNetworkType, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PrivateIpAddress, type: string
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: SystemDBCharset, type: string
name: VPCId, type: string
name: VSwitchId, type: string
name: ZoneId, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) CreateDBInstanceForChannel

func (api API) CreateDBInstanceForChannel(AccountName, AccountPassword, ClientToken, DBInstanceClass, DBInstanceNetType string, DBInstanceStorage int, Engine, EngineVersion, PayType, SecurityIPList string, optional openapi.M) (*CreateDBInstanceForChannelResponse, error)

CreateDBInstanceForChannel version 2014-08-15

required parameters:

name: AccountName, type: string
name: AccountPassword, type: string
name: ClientToken, type: string
name: DBInstanceClass, type: string
name: DBInstanceNetType, type: string
name: DBInstanceStorage, type: int
name: Engine, type: string
name: EngineVersion, type: string
name: PayType, type: string
name: SecurityIPList, type: string

optional parameters:

name: DBInstanceDescription, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: SystemDBCharset, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) CreateDBInstanceforFirstPay

func (api API) CreateDBInstanceforFirstPay(ClientToken, DBInstanceClass, DBInstanceNetType string, DBInstanceStorage int, Engine string, optional openapi.M) (*CreateDBInstanceforFirstPayResponse, error)

CreateDBInstanceforFirstPay version 2014-08-15

required parameters:

name: ClientToken, type: string
name: DBInstanceClass, type: string
name: DBInstanceNetType, type: string
name: DBInstanceStorage, type: int
name: Engine, type: string

optional parameters:

name: CharacterSetName, type: string
name: DBInstanceRemarks, type: string
name: EngineVersion, type: string
name: OwnerAccount, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https
name: bid, type: string
name: bidLoginEmail, type: string
name: uid, type: int64
name: uidLoginEmail, type: string

func (API) CreateDatabase

func (api API) CreateDatabase(CharacterSetName, DBInstanceId, DBName string, optional openapi.M) (*openapi.Response, error)

CreateDatabase version 2014-08-15

required parameters:

name: CharacterSetName, type: string
name: DBInstanceId, type: string
name: DBName, type: string

optional parameters:

name: DBDescription, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) CreateDatabaseForInner

func (api API) CreateDatabaseForInner(CharacterSetName, DBInstanceId, DBName string, optional openapi.M) (*openapi.Response, error)

CreateDatabaseForInner version 2014-08-15

required parameters:

name: CharacterSetName, type: string
name: DBInstanceId, type: string
name: DBName, type: string

optional parameters:

name: AccountName, type: string
name: AccountPassword, type: string
name: AccountPrivilege, type: string
name: DBDescription, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) CreatePostpaidDBInstance

func (api API) CreatePostpaidDBInstance(ClientToken, DBInstanceClass, DBInstanceNetType string, DBInstanceStorage int, Engine, EngineVersion, SecurityIPList string, optional openapi.M) (*CreatePostpaidDBInstanceResponse, error)

CreatePostpaidDBInstance version 2014-08-15

required parameters:

name: ClientToken, type: string
name: DBInstanceClass, type: string
name: DBInstanceNetType, type: string
name: DBInstanceStorage, type: int
name: Engine, type: string
name: EngineVersion, type: string
name: SecurityIPList, type: string

optional parameters:

name: DBInstanceDescription, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) CreatePostpaidDBInstanceForChannel

func (api API) CreatePostpaidDBInstanceForChannel(ClientToken, DBInstanceClass, DBInstanceNetType string, DBInstanceStorage int, Engine, EngineVersion, SecurityIPList string, optional openapi.M) (*CreatePostpaidDBInstanceForChannelResponse, error)

CreatePostpaidDBInstanceForChannel version 2014-08-15

required parameters:

name: ClientToken, type: string
name: DBInstanceClass, type: string
name: DBInstanceNetType, type: string
name: DBInstanceStorage, type: int
name: Engine, type: string
name: EngineVersion, type: string
name: SecurityIPList, type: string

optional parameters:

name: DBInstanceDescription, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) CreateReadOnlyDBInstance

func (api API) CreateReadOnlyDBInstance(ClientToken, DBInstanceClass, DBInstanceId string, DBInstanceStorage int, EngineVersion, PayType, ZoneId string, optional openapi.M) (*CreateReadOnlyDBInstanceResponse, error)

CreateReadOnlyDBInstance version 2014-08-15

required parameters:

name: ClientToken, type: string
name: DBInstanceClass, type: string
name: DBInstanceId, type: string
name: DBInstanceStorage, type: int
name: EngineVersion, type: string
name: PayType, type: string
name: ZoneId, type: string

optional parameters:

name: DBInstanceDescription, type: string
name: InstanceNetworkType, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PrivateIpAddress, type: string
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: VPCId, type: string
name: VSwitchId, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) CreateTempDBInstance

func (api API) CreateTempDBInstance(DBInstanceId string, optional openapi.M) (*CreateTempDBInstanceResponse, error)

CreateTempDBInstance version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: BackupId, type: int
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: RestoreTime, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) CreateUploadPathForSQLServer

func (api API) CreateUploadPathForSQLServer(DBInstanceId, DBName string, optional openapi.M) (*CreateUploadPathForSQLServerResponse, error)

CreateUploadPathForSQLServer version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: DBName, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DeleteAccount

func (api API) DeleteAccount(AccountName, DBInstanceId string, optional openapi.M) (*openapi.Response, error)

DeleteAccount version 2014-08-15

required parameters:

name: AccountName, type: string
name: DBInstanceId, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DeleteDBInstance

func (api API) DeleteDBInstance(DBInstanceId string, optional openapi.M) (*openapi.Response, error)

DeleteDBInstance version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DeleteDatabase

func (api API) DeleteDatabase(DBInstanceId, DBName string, optional openapi.M) (*openapi.Response, error)

DeleteDatabase version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: DBName, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescibeImportsFromDatabase

func (api API) DescibeImportsFromDatabase(DBInstanceId, EndTime, Engine, StartTime string, optional openapi.M) (*DescibeImportsFromDatabaseResponse, error)

DescibeImportsFromDatabase version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: EndTime, type: string
name: Engine, type: string
name: StartTime, type: string

optional parameters:

name: ClientToken, type: string
name: ImportId, type: int
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 1
name: PageSize, type: int
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeAbnormalDBInstances

func (api API) DescribeAbnormalDBInstances(optional openapi.M) (*DescribeAbnormalDBInstancesResponse, error)

DescribeAbnormalDBInstances version 2014-08-15

optional parameters:

name: ClientToken, type: string
name: DBInstanceId, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 1
name: PageSize, type: int, min value: 1, max value: 1000
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https
name: proxyId, type: string

func (API) DescribeAccounts

func (api API) DescribeAccounts(DBInstanceId string, optional openapi.M) (*DescribeAccountsResponse, error)

DescribeAccounts version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: AccountName, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeBackupPolicy

func (api API) DescribeBackupPolicy(DBInstanceId string, optional openapi.M) (*DescribeBackupPolicyResponse, error)

DescribeBackupPolicy version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeBackupTasks

func (api API) DescribeBackupTasks(DBInstanceId string, optional openapi.M) (*DescribeBackupTasksResponse, error)

DescribeBackupTasks version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: BackupJobId, type: string
name: BackupJobStatus, type: string
name: BackupMode, type: string
name: ClientToken, type: string
name: Flag, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeBackups

func (api API) DescribeBackups(DBInstanceId, EndTime, StartTime string, optional openapi.M) (*DescribeBackupsResponse, error)

DescribeBackups version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: EndTime, type: string
name: StartTime, type: string

optional parameters:

name: BackupId, type: string
name: BackupLocation, type: string
name: BackupMode, type: string
name: BackupStatus, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 1, max value: 2147483647
name: PageSize, type: int, min value: 30, max value: 100
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeBinlogFiles

func (api API) DescribeBinlogFiles(DBInstanceId, EndTime, StartTime string, optional openapi.M) (*DescribeBinlogFilesResponse, error)

DescribeBinlogFiles version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: EndTime, type: string
name: StartTime, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 1, max value: 2147483647
name: PageSize, type: int, min value: 30, max value: 1000
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeDBInstanceAttribute

func (api API) DescribeDBInstanceAttribute(DBInstanceId string, optional openapi.M) (*DescribeDBInstanceAttributeResponse, error)

DescribeDBInstanceAttribute version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeDBInstanceIPArrayList

func (api API) DescribeDBInstanceIPArrayList(DBInstanceId string, optional openapi.M) (*DescribeDBInstanceIPArrayListResponse, error)

DescribeDBInstanceIPArrayList version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeDBInstanceNetInfo

func (api API) DescribeDBInstanceNetInfo(DBInstanceId string, optional openapi.M) (*DescribeDBInstanceNetInfoResponse, error)

DescribeDBInstanceNetInfo version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: ClientToken, type: string
name: Flag, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeDBInstanceNetInfoForChannel

func (api API) DescribeDBInstanceNetInfoForChannel(DBInstanceId string, optional openapi.M) (*DescribeDBInstanceNetInfoForChannelResponse, error)

DescribeDBInstanceNetInfoForChannel version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: ClientToken, type: string
name: Flag, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeDBInstancePerformance

func (api API) DescribeDBInstancePerformance(DBInstanceId, EndTime, Key, StartTime string, optional openapi.M) (*DescribeDBInstancePerformanceResponse, error)

DescribeDBInstancePerformance version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: EndTime, type: string
name: Key, type: string
name: StartTime, type: string

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeDBInstances

func (api API) DescribeDBInstances(optional openapi.M) (*DescribeDBInstancesResponse, error)

DescribeDBInstances version 2014-08-15

optional parameters:

name: ClientToken, type: string
name: ConnectionMode, type: string
name: DBInstanceId, type: string
name: DBInstanceStatus, type: string
name: DBInstanceType, type: string
name: Engine, type: string
name: InstanceNetworkType, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 0, max value: 2147483647
name: PageSize, type: int, min value: 1, max value: 100
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: SearchKey, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https
name: proxyId, type: string

func (API) DescribeDBInstancesByExpireTime

func (api API) DescribeDBInstancesByExpireTime(ExpirePeriod int, optional openapi.M) (*DescribeDBInstancesByExpireTimeResponse, error)

DescribeDBInstancesByExpireTime version 2014-08-15

required parameters:

name: ExpirePeriod, type: int, min value: 1, max value: 180

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 1
name: PageSize, type: int, max value: 100
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https
name: proxyId, type: string

func (API) DescribeDBInstancesByPerformance

func (api API) DescribeDBInstancesByPerformance(optional openapi.M) (*DescribeDBInstancesByPerformanceResponse, error)

DescribeDBInstancesByPerformance version 2014-08-15

optional parameters:

name: ClientToken, type: string
name: DBInstanceId, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 0, max value: 2147483647
name: PageSize, type: int, min value: 1, max value: 100
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: SortKey, type: string
name: SortMethod, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https
name: proxyId, type: string

func (API) DescribeDatabases

func (api API) DescribeDatabases(DBInstanceId string, optional openapi.M) (*DescribeDatabasesResponse, error)

DescribeDatabases version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: DBName, type: string
name: DBStatus, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeErrorLogs

func (api API) DescribeErrorLogs(DBInstanceId, EndTime, StartTime string, optional openapi.M) (*DescribeErrorLogsResponse, error)

DescribeErrorLogs version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: EndTime, type: string
name: StartTime, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 1, max value: 2147483647
name: PageSize, type: int, min value: 30, max value: 100
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeFilesForSQLServer

func (api API) DescribeFilesForSQLServer(DBInstanceId, EndTime, StartTime string, optional openapi.M) (*DescribeFilesForSQLServerResponse, error)

DescribeFilesForSQLServer version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: EndTime, type: string
name: StartTime, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 1, max value: 2147483647
name: PageSize, type: int, min value: 1, max value: 100
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeImportsForSQLServer

func (api API) DescribeImportsForSQLServer(DBInstanceId, EndTime, StartTime string, optional openapi.M) (*DescribeImportsForSQLServerResponse, error)

DescribeImportsForSQLServer version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: EndTime, type: string
name: StartTime, type: string

optional parameters:

name: ImportId, type: int
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 1, max value: 2147483647
name: PageSize, type: int, min value: 30, max value: 100
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeModifyParameterLog

func (api API) DescribeModifyParameterLog(DBInstanceId, EndTime, StartTime string, optional openapi.M) (*DescribeModifyParameterLogResponse, error)

DescribeModifyParameterLog version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: EndTime, type: string
name: StartTime, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 1, max value: 2147483647
name: PageSize, type: int, min value: 30, max value: 100
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeOperationLogs

func (api API) DescribeOperationLogs(EndTime, StartTime string, optional openapi.M) (*DescribeOperationLogsResponse, error)

DescribeOperationLogs version 2014-08-15

required parameters:

name: EndTime, type: string
name: StartTime, type: string

optional parameters:

name: DBInstanceId, type: string
name: DBInstanceUseType, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 1, max value: 2147483647
name: PageSize, type: int, min value: 30, max value: 100
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: SearchKey, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeOptimizeAdviceByDBA

func (api API) DescribeOptimizeAdviceByDBA(DBInstanceId string, optional openapi.M) (*DescribeOptimizeAdviceByDBAResponse, error)

DescribeOptimizeAdviceByDBA version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 1, max value: 2147483647
name: PageSize, type: int, min value: 30, max value: 100
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeOptimizeAdviceOnBigTable

func (api API) DescribeOptimizeAdviceOnBigTable(DBInstanceId string, optional openapi.M) (*DescribeOptimizeAdviceOnBigTableResponse, error)

DescribeOptimizeAdviceOnBigTable version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 1, max value: 2147483647
name: PageSize, type: int, min value: 30, max value: 100
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeOptimizeAdviceOnExcessIndex

func (api API) DescribeOptimizeAdviceOnExcessIndex(DBInstanceId string, optional openapi.M) (*DescribeOptimizeAdviceOnExcessIndexResponse, error)

DescribeOptimizeAdviceOnExcessIndex version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 1, max value: 2147483647
name: PageSize, type: int, min value: 30, max value: 100
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeOptimizeAdviceOnMissIndex

func (api API) DescribeOptimizeAdviceOnMissIndex(DBInstanceId string, optional openapi.M) (*DescribeOptimizeAdviceOnMissIndexResponse, error)

DescribeOptimizeAdviceOnMissIndex version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 1, max value: 2147483647
name: PageSize, type: int, min value: 30, max value: 100
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeOptimizeAdviceOnMissPK

func (api API) DescribeOptimizeAdviceOnMissPK(DBInstanceId string, optional openapi.M) (*DescribeOptimizeAdviceOnMissPKResponse, error)

DescribeOptimizeAdviceOnMissPK version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 1, max value: 2147483647
name: PageSize, type: int, min value: 30, max value: 100
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeOptimizeAdviceOnStorage

func (api API) DescribeOptimizeAdviceOnStorage(DBInstanceId string, optional openapi.M) (*DescribeOptimizeAdviceOnStorageResponse, error)

DescribeOptimizeAdviceOnStorage version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 1, max value: 2147483647
name: PageSize, type: int, min value: 30, max value: 100
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeParameterTemplates

func (api API) DescribeParameterTemplates(Engine, EngineVersion string, optional openapi.M) (*DescribeParameterTemplatesResponse, error)

DescribeParameterTemplates version 2014-08-15

required parameters:

name: Engine, type: string
name: EngineVersion, type: string

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeParameters

func (api API) DescribeParameters(DBInstanceId string, optional openapi.M) (*DescribeParametersResponse, error)

DescribeParameters version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribePreCheckResults

func (api API) DescribePreCheckResults(DBInstanceId, PreCheckId string, optional openapi.M) (*DescribePreCheckResultsResponse, error)

DescribePreCheckResults version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: PreCheckId, type: string

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeRealtimeDiagnoses

func (api API) DescribeRealtimeDiagnoses(DBInstanceId, EndTime, StartTime string, optional openapi.M) (*DescribeRealtimeDiagnosesResponse, error)

DescribeRealtimeDiagnoses version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: EndTime, type: string
name: StartTime, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 1, max value: 2147483647
name: PageSize, type: int, min value: 30, max value: 100
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeRegions

func (api API) DescribeRegions(optional openapi.M) (*DescribeRegionsResponse, error)

DescribeRegions version 2014-08-15

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeResourceUsage

func (api API) DescribeResourceUsage(DBInstanceId string, optional openapi.M) (*DescribeResourceUsageResponse, error)

DescribeResourceUsage version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeSQLInjectionInfos

func (api API) DescribeSQLInjectionInfos(DBInstanceId, EndTime, StartTime string, optional openapi.M) (*DescribeSQLInjectionInfosResponse, error)

DescribeSQLInjectionInfos version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: EndTime, type: string
name: StartTime, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 1, max value: 2147483647
name: PageSize, type: int, min value: 30, max value: 100
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeSQLLogRecords

func (api API) DescribeSQLLogRecords(DBInstanceId, EndTime, StartTime string, optional openapi.M) (*DescribeSQLLogRecordsResponse, error)

DescribeSQLLogRecords version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: EndTime, type: string
name: StartTime, type: string

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 1, max value: 2147483647
name: PageSize, type: int, min value: 30, max value: 200
name: QueryKeywords, type: string
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: SQLId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeSQLLogReportList

func (api API) DescribeSQLLogReportList(DBInstanceId, EndTime, StartTime string, optional openapi.M) (*DescribeSQLLogReportListResponse, error)

DescribeSQLLogReportList version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: EndTime, type: string
name: StartTime, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 1, max value: 2147483647
name: PageSize, type: int, min value: 1, max value: 50
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeSQLLogReports

func (api API) DescribeSQLLogReports(DBInstanceId, EndTime, StartTime string, optional openapi.M) (*DescribeSQLLogReportsResponse, error)

DescribeSQLLogReports version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: EndTime, type: string
name: StartTime, type: string

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 1, max value: 2147483647
name: PageSize, type: int, min value: 30, max value: 100
name: ReportType, type: string
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeSlowLogRecords

func (api API) DescribeSlowLogRecords(DBInstanceId, EndTime, StartTime string, optional openapi.M) (*DescribeSlowLogRecordsResponse, error)

DescribeSlowLogRecords version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: EndTime, type: string
name: StartTime, type: string

optional parameters:

name: DBName, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 1, max value: 2147483647
name: PageSize, type: int, min value: 30, max value: 100
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: SQLId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeSlowLogs

func (api API) DescribeSlowLogs(DBInstanceId, EndTime, StartTime string, optional openapi.M) (*DescribeSlowLogsResponse, error)

DescribeSlowLogs version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: EndTime, type: string
name: StartTime, type: string

optional parameters:

name: DBName, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 1, max value: 65535
name: PageSize, type: int, min value: 30, max value: 100
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: SortKey, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeTasks

func (api API) DescribeTasks(DBInstanceId string, optional openapi.M) (*DescribeTasksResponse, error)

DescribeTasks version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: EndTime, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PageNumber, type: int, min value: 1, max value: 2147483647
name: PageSize, type: int, min value: 30, max value: 100
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: StartTime, type: string
name: Status, type: string
name: TaskAction, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeVpcZoneNos

func (api API) DescribeVpcZoneNos(optional openapi.M) (*DescribeVpcZoneNosResponse, error)

DescribeVpcZoneNos version 2014-08-15

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: Region, type: string
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: ZoneId, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ExtractBackupFromOAS

func (api API) ExtractBackupFromOAS(BackupId, DBInstanceId string, optional openapi.M) (*ExtractBackupFromOASResponse, error)

ExtractBackupFromOAS version 2014-08-15

required parameters:

name: BackupId, type: string
name: DBInstanceId, type: string

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) GrantAccountPrivilege

func (api API) GrantAccountPrivilege(AccountName, AccountPrivilege, DBInstanceId, DBName string, optional openapi.M) (*openapi.Response, error)

GrantAccountPrivilege version 2014-08-15

required parameters:

name: AccountName, type: string
name: AccountPrivilege, type: string
name: DBInstanceId, type: string
name: DBName, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ImportDataForSQLServer

func (api API) ImportDataForSQLServer(DBInstanceId, FileName string, optional openapi.M) (*ImportDataForSQLServerResponse, error)

ImportDataForSQLServer version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: FileName, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ImportDataFromDatabase

func (api API) ImportDataFromDatabase(DBInstanceId, ImportDataType, IsLockTable, SourceDatabaseDBNames, SourceDatabaseIp, SourceDatabasePassword, SourceDatabasePort, SourceDatabaseUserName string, optional openapi.M) (*ImportDataFromDatabaseResponse, error)

ImportDataFromDatabase version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: ImportDataType, type: string
name: IsLockTable, type: string
name: SourceDatabaseDBNames, type: string
name: SourceDatabaseIp, type: string
name: SourceDatabasePassword, type: string
name: SourceDatabasePort, type: string
name: SourceDatabaseUserName, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ImportDatabaseBetweenInstances

func (api API) ImportDatabaseBetweenInstances(DBInfo, DBInstanceId, SourceDBInstanceId string, optional openapi.M) (*ImportDatabaseBetweenInstancesResponse, error)

ImportDatabaseBetweenInstances version 2014-08-15

required parameters:

name: DBInfo, type: string
name: DBInstanceId, type: string
name: SourceDBInstanceId, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) LockDBInstance

func (api API) LockDBInstance(DBInstanceId, LockReason string, optional openapi.M) (*openapi.Response, error)

LockDBInstance version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: LockReason, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) MigrateToOtherZone

func (api API) MigrateToOtherZone(DBInstanceId, ZoneId string, optional openapi.M) (*openapi.Response, error)

MigrateToOtherZone version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: ZoneId, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ModifyAccountDescription

func (api API) ModifyAccountDescription(AccountDescription, AccountName, DBInstanceId string, optional openapi.M) (*openapi.Response, error)

ModifyAccountDescription version 2014-08-15

required parameters:

name: AccountDescription, type: string
name: AccountName, type: string
name: DBInstanceId, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ModifyBackupPolicy

func (api API) ModifyBackupPolicy(DBInstanceId, PreferredBackupPeriod, PreferredBackupTime string, optional openapi.M) (*openapi.Response, error)

ModifyBackupPolicy version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: PreferredBackupPeriod, type: string
name: PreferredBackupTime, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ModifyDBDescription

func (api API) ModifyDBDescription(DBDescription, DBInstanceId, DBName string, optional openapi.M) (*openapi.Response, error)

ModifyDBDescription version 2014-08-15

required parameters:

name: DBDescription, type: string
name: DBInstanceId, type: string
name: DBName, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ModifyDBInstanceConnectionMode

func (api API) ModifyDBInstanceConnectionMode(ConnectionMode, DBInstanceId string, optional openapi.M) (*openapi.Response, error)

ModifyDBInstanceConnectionMode version 2014-08-15

required parameters:

name: ConnectionMode, type: string
name: DBInstanceId, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ModifyDBInstanceConnectionString

func (api API) ModifyDBInstanceConnectionString(ConnectionStringPrefix, CurrentConnectionString, DBInstanceId, Port string, optional openapi.M) (*openapi.Response, error)

ModifyDBInstanceConnectionString version 2014-08-15

required parameters:

name: ConnectionStringPrefix, type: string
name: CurrentConnectionString, type: string
name: DBInstanceId, type: string
name: Port, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ModifyDBInstanceDescription

func (api API) ModifyDBInstanceDescription(DBInstanceDescription, DBInstanceId string, optional openapi.M) (*openapi.Response, error)

ModifyDBInstanceDescription version 2014-08-15

required parameters:

name: DBInstanceDescription, type: string
name: DBInstanceId, type: string

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ModifyDBInstanceMaintainTime

func (api API) ModifyDBInstanceMaintainTime(DBInstanceId, MaintainTime string, optional openapi.M) (*openapi.Response, error)

ModifyDBInstanceMaintainTime version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: MaintainTime, type: string

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ModifyDBInstanceNetworkType

func (api API) ModifyDBInstanceNetworkType(DBInstanceId, InstanceNetworkType string, optional openapi.M) (*openapi.Response, error)

ModifyDBInstanceNetworkType version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: InstanceNetworkType, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: PrivateIpAddress, type: string
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: VPCId, type: string
name: VSwitchId, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ModifyDBInstanceSpec

func (api API) ModifyDBInstanceSpec(DBInstanceId, PayType string, optional openapi.M) (*openapi.Response, error)

ModifyDBInstanceSpec version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: PayType, type: string

optional parameters:

name: ClientToken, type: string
name: DBInstanceClass, type: string
name: DBInstanceStorage, type: int, min value: 5, max value: 1000
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ModifyParameter

func (api API) ModifyParameter(DBInstanceId, Parameters string, optional openapi.M) (*openapi.Response, error)

ModifyParameter version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: Parameters, type: string

optional parameters:

name: ClientToken, type: string
name: Forcerestart, type: bool
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ModifyPostpaidDBInstanceSpec

func (api API) ModifyPostpaidDBInstanceSpec(DBInstanceId string, optional openapi.M) (*openapi.Response, error)

ModifyPostpaidDBInstanceSpec version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: ClientToken, type: string
name: DBInstanceClass, type: string
name: DBInstanceStorage, type: int, min value: 5, max value: 1000
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ModifySecurityIps

func (api API) ModifySecurityIps(DBInstanceId, SecurityIps string, optional openapi.M) (*openapi.Response, error)

ModifySecurityIps version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: SecurityIps, type: string

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) PreCheckBeforeImportData

func (api API) PreCheckBeforeImportData(DBInstanceId, ImportDataType, SourceDatabaseDBNames, SourceDatabaseIp, SourceDatabasePassword, SourceDatabasePort, SourceDatabaseUserName string, optional openapi.M) (*PreCheckBeforeImportDataResponse, error)

PreCheckBeforeImportData version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: ImportDataType, type: string
name: SourceDatabaseDBNames, type: string
name: SourceDatabaseIp, type: string
name: SourceDatabasePassword, type: string
name: SourceDatabasePort, type: string
name: SourceDatabaseUserName, type: string

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) PurgeDBInstanceLog

func (api API) PurgeDBInstanceLog(DBInstanceId string, optional openapi.M) (*openapi.Response, error)

PurgeDBInstanceLog version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ReleaseInstancePublicConnection

func (api API) ReleaseInstancePublicConnection(CurrentConnectionString, DBInstanceId string, optional openapi.M) (*openapi.Response, error)

ReleaseInstancePublicConnection version 2014-08-15

required parameters:

name: CurrentConnectionString, type: string
name: DBInstanceId, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) RemoveTagsFromResource

func (api API) RemoveTagsFromResource(DBInstanceId string, optional openapi.M) (*openapi.Response, error)

RemoveTagsFromResource version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: Tag.1.key, type: string
name: Tag.1.value, type: string
name: Tag.2.key, type: string
name: Tag.2.value, type: string
name: Tag.3.key, type: string
name: Tag.3.value, type: string
name: Tag.4.key, type: string
name: Tag.4.value, type: string
name: Tag.5.key, type: string
name: Tag.5.value, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https
name: proxyId, type: string

func (API) ResetAccountForPG

func (api API) ResetAccountForPG(AccountName, AccountPassword, DBInstanceId string, optional openapi.M) (*openapi.Response, error)

ResetAccountForPG version 2014-08-15

required parameters:

name: AccountName, type: string
name: AccountPassword, type: string
name: DBInstanceId, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ResetAccountPassword

func (api API) ResetAccountPassword(AccountName, AccountPassword, DBInstanceId string, optional openapi.M) (*openapi.Response, error)

ResetAccountPassword version 2014-08-15

required parameters:

name: AccountName, type: string
name: AccountPassword, type: string
name: DBInstanceId, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) RestartDBInstance

func (api API) RestartDBInstance(DBInstanceId string, optional openapi.M) (*openapi.Response, error)

RestartDBInstance version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) RestoreDBInstance

func (api API) RestoreDBInstance(BackupId, DBInstanceId string, optional openapi.M) (*openapi.Response, error)

RestoreDBInstance version 2014-08-15

required parameters:

name: BackupId, type: string
name: DBInstanceId, type: string

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) RevokeAccountPrivilege

func (api API) RevokeAccountPrivilege(AccountName, DBInstanceId, DBName string, optional openapi.M) (*openapi.Response, error)

RevokeAccountPrivilege version 2014-08-15

required parameters:

name: AccountName, type: string
name: DBInstanceId, type: string
name: DBName, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) StartDBInstanceDiagnose

func (api API) StartDBInstanceDiagnose(DBInstanceId string, optional openapi.M) (*StartDBInstanceDiagnoseResponse, error)

StartDBInstanceDiagnose version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https
name: proxyId, type: string

func (API) StopSyncing

func (api API) StopSyncing(DBInstanceId string, ImportId int, optional openapi.M) (*openapi.Response, error)

StopSyncing version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: ImportId, type: int

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) SwitchDBInstanceNetType

func (api API) SwitchDBInstanceNetType(ConnectionStringPrefix, DBInstanceId string, optional openapi.M) (*openapi.Response, error)

SwitchDBInstanceNetType version 2014-08-15

required parameters:

name: ConnectionStringPrefix, type: string
name: DBInstanceId, type: string

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: Port, type: string
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) UnlockDBInstance

func (api API) UnlockDBInstance(DBInstanceId string, optional openapi.M) (*openapi.Response, error)

UnlockDBInstance version 2014-08-15

required parameters:

name: DBInstanceId, type: string

optional parameters:

name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) UpgradeDBInstanceEngineVersion

func (api API) UpgradeDBInstanceEngineVersion(DBInstanceId, EngineVersion string, optional openapi.M) (*UpgradeDBInstanceEngineVersionResponse, error)

UpgradeDBInstanceEngineVersion version 2014-08-15

required parameters:

name: DBInstanceId, type: string
name: EngineVersion, type: string

optional parameters:

name: ClientToken, type: string
name: OwnerAccount, type: string
name: OwnerId, type: int64
name: ResourceOwnerAccount, type: string
name: ResourceOwnerId, type: int64
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

type CreateDBInstanceForChannelResponse

type CreateDBInstanceForChannelResponse struct {
	ConnectionString string
	DBInstanceId     string
	OrderId          string
	Port             string
}

CreateDBInstanceForChannelResponse represents the response of the api CreateDBInstanceForChannel.

type CreateDBInstanceResponse

type CreateDBInstanceResponse struct {
	ConnectionString string
	DBInstanceId     string
	OrderId          string
	Port             string
}

CreateDBInstanceResponse represents the response of the api CreateDBInstance.

type CreateDBInstanceforFirstPayResponse

type CreateDBInstanceforFirstPayResponse struct {
	ConnectionString string
	DBInstanceId     string
	Port             string
}

CreateDBInstanceforFirstPayResponse represents the response of the api CreateDBInstanceforFirstPay.

type CreatePostpaidDBInstanceForChannelResponse

type CreatePostpaidDBInstanceForChannelResponse struct {
	ConnectionString string
	DBInstanceId     string
	OrderId          string
	Port             string
}

CreatePostpaidDBInstanceForChannelResponse represents the response of the api CreatePostpaidDBInstanceForChannel.

type CreatePostpaidDBInstanceResponse

type CreatePostpaidDBInstanceResponse struct {
	ConnectionString string
	DBInstanceId     string
	OrderId          string
	Port             string
}

CreatePostpaidDBInstanceResponse represents the response of the api CreatePostpaidDBInstance.

type CreateReadOnlyDBInstanceResponse

type CreateReadOnlyDBInstanceResponse struct {
	ConnectionString string
	DBInstanceId     string
	OrderId          string
	Port             string
}

CreateReadOnlyDBInstanceResponse represents the response of the api CreateReadOnlyDBInstance.

type CreateTempDBInstanceResponse

type CreateTempDBInstanceResponse struct {
	TempDBInstanceId string
}

CreateTempDBInstanceResponse represents the response of the api CreateTempDBInstance.

type CreateUploadPathForSQLServerResponse

type CreateUploadPathForSQLServerResponse struct {
	FileName          string
	InternetFtpServer string
	InternetPort      int
	IntranetFtpserver string
	Intranetport      int
	Password          string
	UserName          string
}

CreateUploadPathForSQLServerResponse represents the response of the api CreateUploadPathForSQLServer.

type DescibeImportsFromDatabaseResponse

type DescibeImportsFromDatabaseResponse struct {
	Items struct {
		ImportResultFromDB []struct {
			ImportDataStatus            string // optional values: Canceled|Canceling|Failed|FullExporting|FullImporting|IncrementalImporting|IncrementalWaiting|NotStart|StopSyncing|Success
			ImportDataStatusDescription string
			ImportDataType              string // optional values: Full|Incremental
			ImportId                    int
			IncrementalImportingTime    string
		}
	}
	PageNumber       int
	PageRecordCount  int
	TotalRecordCount int
}

DescibeImportsFromDatabaseResponse represents the response of the api DescibeImportsFromDatabase.

type DescribeAbnormalDBInstancesResponse

type DescribeAbnormalDBInstancesResponse struct {
	Items struct {
		InstanceResult []struct {
			AbnormalItems struct {
				AbnormalItem []struct {
					AbnormalDetail string
					AbnormalReason string
					AbnormalValue  string
					AdviceKey      string
					CheckItem      string
					CheckTime      string
				}
			}
			DBInstanceDescription string
			DBInstanceId          string
		}
	}
	PageNumber       int
	PageRecordCount  int
	TotalRecordCount int
}

DescribeAbnormalDBInstancesResponse represents the response of the api DescribeAbnormalDBInstances.

type DescribeAccountsResponse

type DescribeAccountsResponse struct {
	Accounts struct {
		DBInstanceAccount []struct {
			AccountDescription string
			AccountName        string
			AccountStatus      string // optional values: Available|Unavailable
			DBInstanceId       string
			DatabasePrivileges struct {
				DatabasePrivilege []struct {
					AccountPrivilege string
					DBName           string
				}
			}
		}
	}
}

DescribeAccountsResponse represents the response of the api DescribeAccounts.

type DescribeBackupPolicyResponse

type DescribeBackupPolicyResponse struct {
	BackupRetentionPeriod   int
	PreferredBackupPeriod   string
	PreferredBackupTime     string
	PreferredNextBackupTime string
}

DescribeBackupPolicyResponse represents the response of the api DescribeBackupPolicy.

type DescribeBackupTasksResponse

type DescribeBackupTasksResponse struct {
	Items struct {
		BackupJob []struct {
			BackupProgressStatus string
			BackupjobId          string
			JobMode              string // optional values: Automated|Manual
			Process              string
			TaskAction           string
		}
	}
}

DescribeBackupTasksResponse represents the response of the api DescribeBackupTasks.

type DescribeBackupsResponse

type DescribeBackupsResponse struct {
	Items struct {
		Backup []struct {
			BackupDBNames          string
			BackupDownloadURL      string
			BackupEndTime          string
			BackupExtractionStatus string // optional values: Extracing|Failed|Nostart|Success
			BackupId               string
			BackupLocation         string
			BackupMethod           string // optional values: Logical|Physical
			BackupMode             string // optional values: Automated|Manual
			BackupScale            string // optional values: DBInstance|Database
			BackupSize             int64
			BackupStartTime        string
			BackupStatus           string // optional values: Failed|Success
			BackupType             string // optional values: FullBackup|IncrementalBackup
			DBInstanceId           string
		}
	}
	PageNumber       string
	PageRecordCount  string
	TotalRecordCount string
}

DescribeBackupsResponse represents the response of the api DescribeBackups.

type DescribeBinlogFilesResponse

type DescribeBinlogFilesResponse struct {
	Items struct {
		BinLogFile []struct {
			DownloadLink    string
			FileSize        int64
			LinkExpiredTime string
			LogBeginTime    string
			LogEndTime      string
		}
	}
	PageNumber       int
	PageRecordCount  int
	TotalRecordCount int
}

DescribeBinlogFilesResponse represents the response of the api DescribeBinlogFiles.

type DescribeDBInstanceAttributeResponse

type DescribeDBInstanceAttributeResponse struct {
	Items struct {
		DBInstanceAttribute []struct {
			AccountMaxQuantity          int
			AvailabilityValue           string
			ConnectionMode              string // optional values: Safe|Standard
			ConnectionString            string
			CreationTime                string
			DBInstanceClass             string
			DBInstanceClassType         string
			DBInstanceDescription       string
			DBInstanceId                string
			DBInstanceMemory            int64
			DBInstanceNetType           string // optional values: Internet|Intranet
			DBInstanceStatus            string // optional values: Creating|DBInstanceClassChanging|DBInstanceNetTypeChanging|Deleting|EngineVersionUpgrading|GuardDBInstanceCreating|GuardSwitching|Importing|ImportingFromOthers|LingSwitching|Rebooting|Restoring|Running|TempDBInstanceCreating|Transing|TransingToOthers
			DBInstanceStorage           int
			DBInstanceType              string // optional values: Guard|Primary|Readonly|Temp
			DBMaxQuantity               int
			Engine                      string
			EngineVersion               string
			ExpireTime                  string
			GuardDBInstanceId           string
			IncrementSourceDBInstanceId string
			InsId                       int
			InstanceNetworkType         string
			LockMode                    string // optional values: LockByDiskQuota|LockByExpiration|LockByRestoration|LockReadInstanceByDiskQuota|ManualLock|Unlock
			LockReason                  string
			MaintainTime                string
			MasterInstanceId            string
			MaxConnections              int
			MaxIOPS                     int
			PayType                     string
			Port                        string
			ReadDelayTime               string
			ReadOnlyDBInstanceIds       struct {
				ReadOnlyDBInstanceId []struct {
					DBInstanceId string
				}
			}
			RegionId         string
			SecurityIPList   string
			TempDBInstanceId string
			VpcId            string
			ZoneId           string
		}
	}
}

DescribeDBInstanceAttributeResponse represents the response of the api DescribeDBInstanceAttribute.

type DescribeDBInstanceIPArrayListResponse

type DescribeDBInstanceIPArrayListResponse struct {
	Items struct {
		DBInstanceIPArray []struct {
			DBInstanceIPArrayAttribute string
			DBInstanceIPArrayName      string
			SecurityIPList             string
		}
	}
}

DescribeDBInstanceIPArrayListResponse represents the response of the api DescribeDBInstanceIPArrayList.

type DescribeDBInstanceNetInfoForChannelResponse

type DescribeDBInstanceNetInfoForChannelResponse struct {
	DBInstanceNetInfos struct {
		DBInstanceNetInfo []struct {
			ConnectionString string
			IPAddress        string
			IPType           string
			Port             string
			SecurityIPGroups struct {
				SecurityIPGroups []struct {
					SecurityIPGroupName string
					SecurityIPs         string
				} `json:"securityIPGroups" xml:"securityIPGroups"`
			}
			VPCId     string
			VSwitchId string
		}
	}
	InstanceNetworkType string
}

DescribeDBInstanceNetInfoForChannelResponse represents the response of the api DescribeDBInstanceNetInfoForChannel.

type DescribeDBInstanceNetInfoResponse

type DescribeDBInstanceNetInfoResponse struct {
	DBInstanceNetInfos struct {
		DBInstanceNetInfo []struct {
			ConnectionString string
			IPAddress        string
			IPType           string
			Port             string
			SecurityIPGroups struct {
				SecurityIPGroups []struct {
					SecurityIPGroupName string
					SecurityIPs         string
				} `json:"securityIPGroups" xml:"securityIPGroups"`
			}
			VPCId     string
			VSwitchId string
		}
	}
	InstanceNetworkType string
}

DescribeDBInstanceNetInfoResponse represents the response of the api DescribeDBInstanceNetInfo.

type DescribeDBInstancePerformanceResponse

type DescribeDBInstancePerformanceResponse struct {
	DBInstanceId    string
	EndTime         string
	Engine          string
	PerformanceKeys struct {
		PerformanceKey []struct {
			Key         string
			Unit        string
			ValueFormat string
			Values      struct {
				PerformanceValue []struct {
					Date  string
					Value string
				}
			}
		}
	}
	StartTime string
}

DescribeDBInstancePerformanceResponse represents the response of the api DescribeDBInstancePerformance.

type DescribeDBInstancesByExpireTimeResponse

type DescribeDBInstancesByExpireTimeResponse struct {
	Items struct {
		DBInstanceExpireTime []struct {
			DBInstanceDescription string
			DBInstanceId          string
			ExpireTime            string
		}
	}
	PageNumber       int
	PageRecordCount  int
	TotalRecordCount int
}

DescribeDBInstancesByExpireTimeResponse represents the response of the api DescribeDBInstancesByExpireTime.

type DescribeDBInstancesByPerformanceResponse

type DescribeDBInstancesByPerformanceResponse struct {
	Items struct {
		DBInstancePerformance []struct {
			CPUUsage              string
			DBInstanceDescription string
			DBInstanceId          string
			DiskUsage             string
			IOPSUsage             string
			SessionUsage          string
		}
	}
	PageNumber       int
	PageRecordCount  int
	TotalRecordCount int
}

DescribeDBInstancesByPerformanceResponse represents the response of the api DescribeDBInstancesByPerformance.

type DescribeDBInstancesResponse

type DescribeDBInstancesResponse struct {
	Items struct {
		DBInstance []struct {
			ConnectionMode        string // optional values: Safe|Standard
			CreateTime            string
			DBInstanceDescription string
			DBInstanceId          string
			DBInstanceNetType     string // optional values: Internet|Intranet
			DBInstanceStatus      string // optional values: Creating|DBInstanceClassChanging|DBInstanceNetTypeChanging|Deleting|EngineVersionUpgrading|GuardSwitching|Importing|ImportingFromOthers|LingSwitching|Rebooting|Restoring|Running|TempDBInstanceCreating|Transing|TransingToOthers
			DBInstanceType        string // optional values: Guard|Primary|Readonly|Shared|Temp
			Engine                string
			EngineVersion         string
			ExpireTime            string
			GuardDBInstanceId     string
			InsId                 int
			InstanceNetworkType   string
			LockMode              string // optional values: LockByDiskQuota|LockByExpiration|LockByRestoration|LockReadInstanceByDiskQuota|ManualLock|Unlock
			LockReason            string
			MasterInstanceId      string
			MutriORsignle         bool
			PayType               string
			ReadOnlyDBInstanceIds struct {
				ReadOnlyDBInstanceId []struct {
					DBInstanceId string
				}
			}
			RegionId         string
			TempDBInstanceId string
			VpcId            string
			ZoneId           string
		}
	}
	PageNumber       int
	PageRecordCount  int
	TotalRecordCount int
}

DescribeDBInstancesResponse represents the response of the api DescribeDBInstances.

type DescribeDatabasesResponse

type DescribeDatabasesResponse struct {
	Databases struct {
		Database []struct {
			Accounts struct {
				AccountPrivilegeInfo []struct {
					Account          string
					AccountPrivilege string
				}
			}
			CharacterSetName string
			DBDescription    string
			DBInstanceId     string
			DBName           string
			DBStatus         string // optional values: Creating|Deleting|Running
			Engine           string
		}
	}
}

DescribeDatabasesResponse represents the response of the api DescribeDatabases.

type DescribeErrorLogsResponse

type DescribeErrorLogsResponse struct {
	Items struct {
		ErrorLog []struct {
			CreateTime string
			ErrorInfo  string
		}
	}
	PageNumber       int
	PageRecordCount  int
	TotalRecordCount int
}

DescribeErrorLogsResponse represents the response of the api DescribeErrorLogs.

type DescribeFilesForSQLServerResponse

type DescribeFilesForSQLServerResponse struct {
	DBInstanceId string
	Items        struct {
		SQLServerUploadFile []struct {
			CreationTime      string
			DBName            string
			Description       string
			FileName          string
			FileSize          int64
			FileStatus        string // optional values: Available|Unavailable
			InternetFtpServer string
			InternetPort      int
			IntranetFtpserver string
			Intranetport      int
			Password          string
			UserName          string
		}
	}
	PageNumber       int
	PageRecordCount  int
	TotalRecordCount int
}

DescribeFilesForSQLServerResponse represents the response of the api DescribeFilesForSQLServer.

type DescribeImportsForSQLServerResponse

type DescribeImportsForSQLServerResponse struct {
	Items struct {
		SQLServerImport []struct {
			DBName       string
			FileName     string
			ImportId     int
			ImportStatus string // optional values: Cancelled|Cancelling|Failed|Importing|Pending|Success
			StartTime    string
		}
	}
	PageNumber        int
	SQLItemsCounts    int
	TotalRecordCounts int
}

DescribeImportsForSQLServerResponse represents the response of the api DescribeImportsForSQLServer.

type DescribeModifyParameterLogResponse

type DescribeModifyParameterLogResponse struct {
	DBInstanceId  string
	Engine        string
	EngineVersion string
	Items         struct {
		ParameterChangeLog []struct {
			ModifyTime        string
			NewParameterValue string
			OldParameterValue string
			ParameterName     string
			Status            string // optional values: Applied|Syncing
		}
	}
	PageNumber       int
	PageRecordCount  int
	TotalRecordCount int
}

DescribeModifyParameterLogResponse represents the response of the api DescribeModifyParameterLog.

type DescribeOperationLogsResponse

type DescribeOperationLogsResponse struct {
	Engine string
	Items  struct {
		Operationlog []struct {
			DBInstanceDescription string
			DBInstanceId          string
			ExecutionTime         string `json:"executionTime" xml:"executionTime"`
			OperationItem         string
			OperationSource       string
		}
	}
	PageNumber       int
	PageRecordCount  int
	TotalRecordCount int
}

DescribeOperationLogsResponse represents the response of the api DescribeOperationLogs.

type DescribeOptimizeAdviceByDBAResponse

type DescribeOptimizeAdviceByDBAResponse struct {
	Items struct {
		AdviceByDBA []struct {
			OptimizationText string
		}
	}
	PageNumber        int
	PageRecordCount   int
	TotalRecordsCount int
}

DescribeOptimizeAdviceByDBAResponse represents the response of the api DescribeOptimizeAdviceByDBA.

type DescribeOptimizeAdviceOnBigTableResponse

type DescribeOptimizeAdviceOnBigTableResponse struct {
	Items struct {
		AdviceOnBigTable []struct {
			DBName    string
			DataSize  int64
			IndexSize int64
			TableName string
			TableSize int64
		}
	}
	PageNumber        int
	PageRecordCount   int
	TotalRecordsCount int
}

DescribeOptimizeAdviceOnBigTableResponse represents the response of the api DescribeOptimizeAdviceOnBigTable.

type DescribeOptimizeAdviceOnExcessIndexResponse

type DescribeOptimizeAdviceOnExcessIndexResponse struct {
	Items struct {
		AdviceOnExcessIndex []struct {
			DBName     string
			IndexCount int64
			TableName  string
		}
	}
	PageNumber        int
	PageRecordCount   int
	TotalRecordsCount int
}

DescribeOptimizeAdviceOnExcessIndexResponse represents the response of the api DescribeOptimizeAdviceOnExcessIndex.

type DescribeOptimizeAdviceOnMissIndexResponse

type DescribeOptimizeAdviceOnMissIndexResponse struct {
	DBInstanceId string
	Items        struct {
		AdviceOnMissIndex []struct {
			DBName      string
			QueryColumn string
			SQLText     string
			TableName   string
		}
	}
	PageNumber        int
	PageRecordCount   int
	TotalRecordsCount int
}

DescribeOptimizeAdviceOnMissIndexResponse represents the response of the api DescribeOptimizeAdviceOnMissIndex.

type DescribeOptimizeAdviceOnMissPKResponse

type DescribeOptimizeAdviceOnMissPKResponse struct {
	Items struct {
		AdviceOnMissPK []struct {
			DBName    string
			TableName string
		}
	}
	PageNumber        int
	PageRecordCount   int
	TotalRecordsCount int
}

DescribeOptimizeAdviceOnMissPKResponse represents the response of the api DescribeOptimizeAdviceOnMissPK.

type DescribeOptimizeAdviceOnStorageResponse

type DescribeOptimizeAdviceOnStorageResponse struct {
	DBInstanceId string
	Items        struct {
		AdviceOnStorage []struct {
			AdviseEngine  string
			CurrentEngine string
			DBName        string
			TableName     string
		}
	}
	PageNumber        int
	PageRecordCount   int
	TotalRecordsCount int
}

DescribeOptimizeAdviceOnStorageResponse represents the response of the api DescribeOptimizeAdviceOnStorage.

type DescribeParameterTemplatesResponse

type DescribeParameterTemplatesResponse struct {
	Engine         string
	EngineVersion  string
	ParameterCount string
	Parameters     struct {
		TemplateRecord []struct {
			CheckingCode         string
			ForceModify          string // optional values: false|true
			ForceRestart         string // optional values: false|true
			ParameterDescription string
			ParameterName        string
			ParameterValue       string
		}
	}
}

DescribeParameterTemplatesResponse represents the response of the api DescribeParameterTemplates.

type DescribeParametersResponse

type DescribeParametersResponse struct {
	ConfigParameters struct {
		DBInstanceParameter []struct {
			ParameterDescription string
			ParameterName        string
			ParameterValue       string
		}
	}
	Engine            string
	EngineVersion     string
	RunningParameters struct {
		DBInstanceParameter []struct {
			ParameterDescription string
			ParameterName        string
			ParameterValue       string
		}
	}
}

DescribeParametersResponse represents the response of the api DescribeParameters.

type DescribePreCheckResultsResponse

type DescribePreCheckResultsResponse struct {
	DBInstanceId string
	Items        struct {
		PreCheckResult []struct {
			FailReasion    string
			PreCheckName   string
			PreCheckResult string
			RepairMethod   string
		}
	}
}

DescribePreCheckResultsResponse represents the response of the api DescribePreCheckResults.

type DescribeRealtimeDiagnosesResponse

type DescribeRealtimeDiagnosesResponse struct {
	Engine          string
	PageNumber      int
	PageRecordCount int
	Tasks           struct {
		RealtimeDiagnoseTasks []struct {
			CreateTime  string
			HealthScore string
			Status      string // optional values: NoStart|Running|Success
			TaskId      string
		}
	}
	TotalRecordCount int
}

DescribeRealtimeDiagnosesResponse represents the response of the api DescribeRealtimeDiagnoses.

type DescribeRegionsResponse

type DescribeRegionsResponse struct {
	Regions struct {
		RDSRegion []struct {
			RegionId string
			ZoneId   string
		}
	}
}

DescribeRegionsResponse represents the response of the api DescribeRegions.

type DescribeResourceUsageResponse

type DescribeResourceUsageResponse struct {
	BackupSize     int64
	ColdBackupSize int64
	DBInstanceId   string
	DataSize       int64
	DiskUsed       int64
	Engine         string
	LogSize        int64
	SQLSize        int64
}

DescribeResourceUsageResponse represents the response of the api DescribeResourceUsage.

type DescribeSQLInjectionInfosResponse

type DescribeSQLInjectionInfosResponse struct {
	Engine string
	Items  struct {
		SQLInjectionInfo []struct {
			AccountName    string
			DBName         string
			EffectRowCount string
			ExecuteTime    string
			HostAddress    string
			LatencyTime    string
			SQLText        string
		}
	}
	PageNumber       int
	PageRecordCount  int
	TotalRecordCount int
}

DescribeSQLInjectionInfosResponse represents the response of the api DescribeSQLInjectionInfos.

type DescribeSQLLogRecordsResponse

type DescribeSQLLogRecordsResponse struct {
	Items struct {
		SQLRecord []struct {
			AccountName         string
			DBName              string
			ExecuteTime         string
			HostAddress         string
			ReturnRowCounts     int64
			SQLText             string
			TotalExecutionTimes int64
		}
	}
	PageNumber       int
	PageRecordCount  int
	TotalRecordCount int
}

DescribeSQLLogRecordsResponse represents the response of the api DescribeSQLLogRecords.

type DescribeSQLLogReportListResponse

type DescribeSQLLogReportListResponse struct {
	Items struct {
		Item []struct {
			LatencyTopNItems struct {
				LatencyTopNItem []struct {
					AvgLatency      int64
					SQLExecuteTimes int64
					SQLText         string
				}
			}
			QPSTopNItems struct {
				QPSTopNItem []struct {
					SQLExecuteTimes int64
					SQLText         string
				}
			}
			ReportTime string
		}
	}
	PageNumber       int
	PageRecordCount  int
	TotalRecordCount int
}

DescribeSQLLogReportListResponse represents the response of the api DescribeSQLLogReportList.

type DescribeSQLLogReportsResponse

type DescribeSQLLogReportsResponse struct {
	Items struct {
		SQLReport []struct {
			ReturnTotalRowCounts string
			SQLText              string
			TotalExecutionCounts string
			TotalExecutionTimes  string
		}
	}
	PageNumber       string
	PageRecordCount  string
	TotalRecordCount string
}

DescribeSQLLogReportsResponse represents the response of the api DescribeSQLLogReports.

type DescribeSlowLogRecordsResponse

type DescribeSlowLogRecordsResponse struct {
	Engine string
	Items  struct {
		SQLSlowRecord []struct {
			DBName             string
			ExecutionStartTime string
			HostAddress        string
			LockTimes          int64
			ParseRowCounts     int64
			QueryTimes         int64
			ReturnRowCounts    int64
			SQLText            string
		}
	}
	PageNumber       int
	PageRecordCount  int
	TotalRecordCount int
}

DescribeSlowLogRecordsResponse represents the response of the api DescribeSlowLogRecords.

type DescribeSlowLogsResponse

type DescribeSlowLogsResponse struct {
	EndTime string
	Engine  string
	Items   struct {
		SQLSlowLog []struct {
			AvgExecutionTime              int64
			CreateTime                    string
			DBName                        string
			MaxExecutionTime              int64
			MaxLockTime                   int64
			MySQLTotalExecutionCounts     int64
			MySQLTotalExecutionTimes      int64
			ParseMaxRowCount              int64
			ParseTotalRowCounts           int64
			ReportTime                    string
			ReturnMaxRowCount             int64
			ReturnTotalRowCounts          int64
			SQLId                         int64
			SQLServerTotalExecutionCounts int64
			SQLServerTotalExecutionTimes  int64
			SQLText                       string
			SlowLogId                     int64
			TotalLockTimes                int64
			TotalLogicalReadCounts        int64
			TotalPhysicalReadCounts       int64
		}
	}
	PageNumber       int
	PageRecordCount  int
	StartTime        string
	TotalRecordCount int
}

DescribeSlowLogsResponse represents the response of the api DescribeSlowLogs.

type DescribeTasksResponse

type DescribeTasksResponse struct {
	Items struct {
		TaskProgressInfo []struct {
			BeginTime          string
			DBName             string
			ExpectedFinishTime string
			FinishTime         string
			Progress           string
			ProgressInfo       string
			Status             string // optional values: Failed|NoStart|Pending|Processing|Success
			TaskAction         string
			TaskErrorCode      string
			TaskErrorMessage   string
			TaskId             string
		}
	}
	PageNumber       int
	PageRecordCount  int
	TotalRecordCount int
}

DescribeTasksResponse represents the response of the api DescribeTasks.

type DescribeVpcZoneNosResponse

type DescribeVpcZoneNosResponse struct {
	Items struct {
		VpcZoneId []struct {
			Region    string
			SubDomain string
			ZoneId    string
		}
	}
}

DescribeVpcZoneNosResponse represents the response of the api DescribeVpcZoneNos.

type ExtractBackupFromOASResponse

type ExtractBackupFromOASResponse struct {
	DataExtractionLastTime string
}

ExtractBackupFromOASResponse represents the response of the api ExtractBackupFromOAS.

type ImportDataForSQLServerResponse

type ImportDataForSQLServerResponse struct {
	ImportID int
}

ImportDataForSQLServerResponse represents the response of the api ImportDataForSQLServer.

type ImportDataFromDatabaseResponse

type ImportDataFromDatabaseResponse struct {
	ImportId int
}

ImportDataFromDatabaseResponse represents the response of the api ImportDataFromDatabase.

type ImportDatabaseBetweenInstancesResponse

type ImportDatabaseBetweenInstancesResponse struct {
	ImportId string
}

ImportDatabaseBetweenInstancesResponse represents the response of the api ImportDatabaseBetweenInstances.

type PreCheckBeforeImportDataResponse

type PreCheckBeforeImportDataResponse struct {
	PreCheckId string
}

PreCheckBeforeImportDataResponse represents the response of the api PreCheckBeforeImportData.

type StartDBInstanceDiagnoseResponse

type StartDBInstanceDiagnoseResponse struct {
	DBInstanceId   string
	DBInstanceName string
}

StartDBInstanceDiagnoseResponse represents the response of the api StartDBInstanceDiagnose.

type UpgradeDBInstanceEngineVersionResponse

type UpgradeDBInstanceEngineVersionResponse struct {
	TaskId string
}

UpgradeDBInstanceEngineVersionResponse represents the response of the api UpgradeDBInstanceEngineVersion.

Jump to

Keyboard shortcuts

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