Versions in this module Expand all Collapse all v0 v0.3.0 Jan 25, 2023 v0.2.0 Jan 25, 2023 v0.1.0 Jan 25, 2023 Changes in this version + type Account struct + AccountDescription string + AccountName string + AccountStatus string + AccountType string + DatabasePrivileges DatabasePrivileges + type AccountList struct + Account []Account + type AllocateInstancePublicConnectionRequest struct + ConnectionStringPrefix string + InstanceId string + OwnerAccount string + OwnerId requests.Integer + Port string + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + func CreateAllocateInstancePublicConnectionRequest() (request *AllocateInstancePublicConnectionRequest) + type AllocateInstancePublicConnectionResponse struct + RequestId string + func CreateAllocateInstancePublicConnectionResponse() (response *AllocateInstancePublicConnectionResponse) + type AlreadyHasResourceNum struct + EcsBought int + PetaDataBought int + type Backup struct + BackupDownloadURL string + BackupEndTime string + BackupId int + BackupMode string + BackupNodeClass string + BackupNodeNumber int + BackupSize int + BackupStartTime string + BackupStatus string + type BackupItems struct + Backup []Backup + type Client struct + func NewClient() (client *Client, err error) + func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error) + func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error) + func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error) + func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error) + func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error) + func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error) + func (client *Client) AllocateInstancePublicConnection(request *AllocateInstancePublicConnectionRequest) (response *AllocateInstancePublicConnectionResponse, err error) + func (client *Client) AllocateInstancePublicConnectionWithCallback(request *AllocateInstancePublicConnectionRequest, ...) <-chan int + func (client *Client) AllocateInstancePublicConnectionWithChan(request *AllocateInstancePublicConnectionRequest) (<-chan *AllocateInstancePublicConnectionResponse, <-chan error) + func (client *Client) CreateAccount(request *CreateAccountRequest) (response *CreateAccountResponse, err error) + func (client *Client) CreateAccountWithCallback(request *CreateAccountRequest, ...) <-chan int + func (client *Client) CreateAccountWithChan(request *CreateAccountRequest) (<-chan *CreateAccountResponse, <-chan error) + func (client *Client) CreateDatabase(request *CreateDatabaseRequest) (response *CreateDatabaseResponse, err error) + func (client *Client) CreateDatabaseBackup(request *CreateDatabaseBackupRequest) (response *CreateDatabaseBackupResponse, err error) + func (client *Client) CreateDatabaseBackupWithCallback(request *CreateDatabaseBackupRequest, ...) <-chan int + func (client *Client) CreateDatabaseBackupWithChan(request *CreateDatabaseBackupRequest) (<-chan *CreateDatabaseBackupResponse, <-chan error) + func (client *Client) CreateDatabaseWithCallback(request *CreateDatabaseRequest, ...) <-chan int + func (client *Client) CreateDatabaseWithChan(request *CreateDatabaseRequest) (<-chan *CreateDatabaseResponse, <-chan error) + func (client *Client) CreateInstance(request *CreateInstanceRequest) (response *CreateInstanceResponse, err error) + func (client *Client) CreateInstanceWithCallback(request *CreateInstanceRequest, ...) <-chan int + func (client *Client) CreateInstanceWithChan(request *CreateInstanceRequest) (<-chan *CreateInstanceResponse, <-chan error) + func (client *Client) DeleteAccount(request *DeleteAccountRequest) (response *DeleteAccountResponse, err error) + func (client *Client) DeleteAccountWithCallback(request *DeleteAccountRequest, ...) <-chan int + func (client *Client) DeleteAccountWithChan(request *DeleteAccountRequest) (<-chan *DeleteAccountResponse, <-chan error) + func (client *Client) DeleteDatabase(request *DeleteDatabaseRequest) (response *DeleteDatabaseResponse, err error) + func (client *Client) DeleteDatabaseWithCallback(request *DeleteDatabaseRequest, ...) <-chan int + func (client *Client) DeleteDatabaseWithChan(request *DeleteDatabaseRequest) (<-chan *DeleteDatabaseResponse, <-chan error) + func (client *Client) DeleteInstance(request *DeleteInstanceRequest) (response *DeleteInstanceResponse, err error) + func (client *Client) DeleteInstanceWithCallback(request *DeleteInstanceRequest, ...) <-chan int + func (client *Client) DeleteInstanceWithChan(request *DeleteInstanceRequest) (<-chan *DeleteInstanceResponse, <-chan error) + func (client *Client) DescribeAccounts(request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error) + func (client *Client) DescribeAccountsWithCallback(request *DescribeAccountsRequest, ...) <-chan int + func (client *Client) DescribeAccountsWithChan(request *DescribeAccountsRequest) (<-chan *DescribeAccountsResponse, <-chan error) + func (client *Client) DescribeBackupPolicy(request *DescribeBackupPolicyRequest) (response *DescribeBackupPolicyResponse, err error) + func (client *Client) DescribeBackupPolicyWithCallback(request *DescribeBackupPolicyRequest, ...) <-chan int + func (client *Client) DescribeBackupPolicyWithChan(request *DescribeBackupPolicyRequest) (<-chan *DescribeBackupPolicyResponse, <-chan error) + func (client *Client) DescribeDatabaseBackup(request *DescribeDatabaseBackupRequest) (response *DescribeDatabaseBackupResponse, err error) + func (client *Client) DescribeDatabaseBackupWithCallback(request *DescribeDatabaseBackupRequest, ...) <-chan int + func (client *Client) DescribeDatabaseBackupWithChan(request *DescribeDatabaseBackupRequest) (<-chan *DescribeDatabaseBackupResponse, <-chan error) + func (client *Client) DescribeDatabasePartitions(request *DescribeDatabasePartitionsRequest) (response *DescribeDatabasePartitionsResponse, err error) + func (client *Client) DescribeDatabasePartitionsWithCallback(request *DescribeDatabasePartitionsRequest, ...) <-chan int + func (client *Client) DescribeDatabasePartitionsWithChan(request *DescribeDatabasePartitionsRequest) (<-chan *DescribeDatabasePartitionsResponse, <-chan error) + func (client *Client) DescribeDatabasePerformance(request *DescribeDatabasePerformanceRequest) (response *DescribeDatabasePerformanceResponse, err error) + func (client *Client) DescribeDatabasePerformanceWithCallback(request *DescribeDatabasePerformanceRequest, ...) <-chan int + func (client *Client) DescribeDatabasePerformanceWithChan(request *DescribeDatabasePerformanceRequest) (<-chan *DescribeDatabasePerformanceResponse, <-chan error) + func (client *Client) DescribeDatabaseResourceUsage(request *DescribeDatabaseResourceUsageRequest) (response *DescribeDatabaseResourceUsageResponse, err error) + func (client *Client) DescribeDatabaseResourceUsageWithCallback(request *DescribeDatabaseResourceUsageRequest, ...) <-chan int + func (client *Client) DescribeDatabaseResourceUsageWithChan(request *DescribeDatabaseResourceUsageRequest) (<-chan *DescribeDatabaseResourceUsageResponse, <-chan error) + func (client *Client) DescribeDatabases(request *DescribeDatabasesRequest) (response *DescribeDatabasesResponse, err error) + func (client *Client) DescribeDatabasesWithCallback(request *DescribeDatabasesRequest, ...) <-chan int + func (client *Client) DescribeDatabasesWithChan(request *DescribeDatabasesRequest) (<-chan *DescribeDatabasesResponse, <-chan error) + func (client *Client) DescribeInstanceInfo(request *DescribeInstanceInfoRequest) (response *DescribeInstanceInfoResponse, err error) + func (client *Client) DescribeInstanceInfoWithCallback(request *DescribeInstanceInfoRequest, ...) <-chan int + func (client *Client) DescribeInstanceInfoWithChan(request *DescribeInstanceInfoRequest) (<-chan *DescribeInstanceInfoResponse, <-chan error) + func (client *Client) DescribeInstancePerformance(request *DescribeInstancePerformanceRequest) (response *DescribeInstancePerformanceResponse, err error) + func (client *Client) DescribeInstancePerformanceWithCallback(request *DescribeInstancePerformanceRequest, ...) <-chan int + func (client *Client) DescribeInstancePerformanceWithChan(request *DescribeInstancePerformanceRequest) (<-chan *DescribeInstancePerformanceResponse, <-chan error) + func (client *Client) DescribeInstanceResourceUsage(request *DescribeInstanceResourceUsageRequest) (response *DescribeInstanceResourceUsageResponse, err error) + func (client *Client) DescribeInstanceResourceUsageWithCallback(request *DescribeInstanceResourceUsageRequest, ...) <-chan int + func (client *Client) DescribeInstanceResourceUsageWithChan(request *DescribeInstanceResourceUsageRequest) (<-chan *DescribeInstanceResourceUsageResponse, <-chan error) + func (client *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error) + func (client *Client) DescribeInstancesWithCallback(request *DescribeInstancesRequest, ...) <-chan int + func (client *Client) DescribeInstancesWithChan(request *DescribeInstancesRequest) (<-chan *DescribeInstancesResponse, <-chan error) + func (client *Client) DescribeMonitorItems(request *DescribeMonitorItemsRequest) (response *DescribeMonitorItemsResponse, err error) + func (client *Client) DescribeMonitorItemsWithCallback(request *DescribeMonitorItemsRequest, ...) <-chan int + func (client *Client) DescribeMonitorItemsWithChan(request *DescribeMonitorItemsRequest) (<-chan *DescribeMonitorItemsResponse, <-chan error) + func (client *Client) DescribePrice(request *DescribePriceRequest) (response *DescribePriceResponse, err error) + func (client *Client) DescribePriceWithCallback(request *DescribePriceRequest, ...) <-chan int + func (client *Client) DescribePriceWithChan(request *DescribePriceRequest) (<-chan *DescribePriceResponse, <-chan error) + func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error) + func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, ...) <-chan int + func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error) + func (client *Client) DescribeSecurityIPs(request *DescribeSecurityIPsRequest) (response *DescribeSecurityIPsResponse, err error) + func (client *Client) DescribeSecurityIPsWithCallback(request *DescribeSecurityIPsRequest, ...) <-chan int + func (client *Client) DescribeSecurityIPsWithChan(request *DescribeSecurityIPsRequest) (<-chan *DescribeSecurityIPsResponse, <-chan error) + func (client *Client) DescribeTaskStatus(request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error) + func (client *Client) DescribeTaskStatusWithCallback(request *DescribeTaskStatusRequest, ...) <-chan int + func (client *Client) DescribeTaskStatusWithChan(request *DescribeTaskStatusRequest) (<-chan *DescribeTaskStatusResponse, <-chan error) + func (client *Client) DescribeTasks(request *DescribeTasksRequest) (response *DescribeTasksResponse, err error) + func (client *Client) DescribeTasksWithCallback(request *DescribeTasksRequest, ...) <-chan int + func (client *Client) DescribeTasksWithChan(request *DescribeTasksRequest) (<-chan *DescribeTasksResponse, <-chan error) + func (client *Client) DescribeUserInfo(request *DescribeUserInfoRequest) (response *DescribeUserInfoResponse, err error) + func (client *Client) DescribeUserInfoWithCallback(request *DescribeUserInfoRequest, ...) <-chan int + func (client *Client) DescribeUserInfoWithChan(request *DescribeUserInfoRequest) (<-chan *DescribeUserInfoResponse, <-chan error) + func (client *Client) GrantAccountPrivilege(request *GrantAccountPrivilegeRequest) (response *GrantAccountPrivilegeResponse, err error) + func (client *Client) GrantAccountPrivilegeWithCallback(request *GrantAccountPrivilegeRequest, ...) <-chan int + func (client *Client) GrantAccountPrivilegeWithChan(request *GrantAccountPrivilegeRequest) (<-chan *GrantAccountPrivilegeResponse, <-chan error) + func (client *Client) ModifyAccountDescription(request *ModifyAccountDescriptionRequest) (response *ModifyAccountDescriptionResponse, err error) + func (client *Client) ModifyAccountDescriptionWithCallback(request *ModifyAccountDescriptionRequest, ...) <-chan int + func (client *Client) ModifyAccountDescriptionWithChan(request *ModifyAccountDescriptionRequest) (<-chan *ModifyAccountDescriptionResponse, <-chan error) + func (client *Client) ModifyAccountPassword(request *ModifyAccountPasswordRequest) (response *ModifyAccountPasswordResponse, err error) + func (client *Client) ModifyAccountPasswordWithCallback(request *ModifyAccountPasswordRequest, ...) <-chan int + func (client *Client) ModifyAccountPasswordWithChan(request *ModifyAccountPasswordRequest) (<-chan *ModifyAccountPasswordResponse, <-chan error) + func (client *Client) ModifyBackupPolicy(request *ModifyBackupPolicyRequest) (response *ModifyBackupPolicyResponse, err error) + func (client *Client) ModifyBackupPolicyWithCallback(request *ModifyBackupPolicyRequest, ...) <-chan int + func (client *Client) ModifyBackupPolicyWithChan(request *ModifyBackupPolicyRequest) (<-chan *ModifyBackupPolicyResponse, <-chan error) + func (client *Client) ModifyInstanceName(request *ModifyInstanceNameRequest) (response *ModifyInstanceNameResponse, err error) + func (client *Client) ModifyInstanceNameWithCallback(request *ModifyInstanceNameRequest, ...) <-chan int + func (client *Client) ModifyInstanceNameWithChan(request *ModifyInstanceNameRequest) (<-chan *ModifyInstanceNameResponse, <-chan error) + func (client *Client) ModifySecurityIPs(request *ModifySecurityIPsRequest) (response *ModifySecurityIPsResponse, err error) + func (client *Client) ModifySecurityIPsWithCallback(request *ModifySecurityIPsRequest, ...) <-chan int + func (client *Client) ModifySecurityIPsWithChan(request *ModifySecurityIPsRequest) (<-chan *ModifySecurityIPsResponse, <-chan error) + func (client *Client) ReleaseInstancePublicConnection(request *ReleaseInstancePublicConnectionRequest) (response *ReleaseInstancePublicConnectionResponse, err error) + func (client *Client) ReleaseInstancePublicConnectionWithCallback(request *ReleaseInstancePublicConnectionRequest, ...) <-chan int + func (client *Client) ReleaseInstancePublicConnectionWithChan(request *ReleaseInstancePublicConnectionRequest) (<-chan *ReleaseInstancePublicConnectionResponse, <-chan error) + func (client *Client) ResetAccountPassword(request *ResetAccountPasswordRequest) (response *ResetAccountPasswordResponse, err error) + func (client *Client) ResetAccountPasswordWithCallback(request *ResetAccountPasswordRequest, ...) <-chan int + func (client *Client) ResetAccountPasswordWithChan(request *ResetAccountPasswordRequest) (<-chan *ResetAccountPasswordResponse, <-chan error) + func (client *Client) RestoreDatabase(request *RestoreDatabaseRequest) (response *RestoreDatabaseResponse, err error) + func (client *Client) RestoreDatabaseWithCallback(request *RestoreDatabaseRequest, ...) <-chan int + func (client *Client) RestoreDatabaseWithChan(request *RestoreDatabaseRequest) (<-chan *RestoreDatabaseResponse, <-chan error) + func (client *Client) RevokeAccountPrivilege(request *RevokeAccountPrivilegeRequest) (response *RevokeAccountPrivilegeResponse, err error) + func (client *Client) RevokeAccountPrivilegeWithCallback(request *RevokeAccountPrivilegeRequest, ...) <-chan int + func (client *Client) RevokeAccountPrivilegeWithChan(request *RevokeAccountPrivilegeRequest) (<-chan *RevokeAccountPrivilegeResponse, <-chan error) + func (client *Client) SwitchInstanceNetType(request *SwitchInstanceNetTypeRequest) (response *SwitchInstanceNetTypeResponse, err error) + func (client *Client) SwitchInstanceNetTypeWithCallback(request *SwitchInstanceNetTypeRequest, ...) <-chan int + func (client *Client) SwitchInstanceNetTypeWithChan(request *SwitchInstanceNetTypeRequest) (<-chan *SwitchInstanceNetTypeResponse, <-chan error) + type CreateAccountRequest struct + AccountDescription string + AccountName string + AccountPassword string + AccountPrivilege string + AccountType string + AccountVersion string + ClientToken string + DBInfo string + DBName string + InstanceId string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + func CreateCreateAccountRequest() (request *CreateAccountRequest) + type CreateAccountResponse struct + RequestId string + func CreateCreateAccountResponse() (response *CreateAccountResponse) + type CreateDatabaseBackupRequest struct + DBName string + InstanceId string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + func CreateCreateDatabaseBackupRequest() (request *CreateDatabaseBackupRequest) + type CreateDatabaseBackupResponse struct + BackupId string + RequestId string + func CreateCreateDatabaseBackupResponse() (response *CreateDatabaseBackupResponse) + type CreateDatabaseRequest struct + DBName string + InstanceId string + NodeNumber requests.Integer + NodeSpec string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + Token string + func CreateCreateDatabaseRequest() (request *CreateDatabaseRequest) + type CreateDatabaseResponse struct + OrderId string + RequestId string + func CreateCreateDatabaseResponse() (response *CreateDatabaseResponse) + type CreateInstanceRequest struct + AccountName string + AccountPassword string + ChargeType string + ClientToken string + DBName string + InstanceName string + NetworkType string + NodeNumber requests.Integer + NodeSpec string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityIPList string + SecurityToken string + VSwitchId string + VpcId string + ZoneId string + func CreateCreateInstanceRequest() (request *CreateInstanceRequest) + type CreateInstanceResponse struct + ConnectionString string + EndTime string + InstanceId string + InstanceName string + OrderId string + Port string + RequestId string + func CreateCreateInstanceResponse() (response *CreateInstanceResponse) + type Database struct + ChargeType string + CreateTime string + DBName string + DBStatus string + DBType string + EndTime string + InstanceId string + NodeNumber int + NodeSpec string + SourceInstanceId string + type DatabasePrivilege struct + AccountPrivilege string + AccountPrivilegeDetail string + DBName string + type DatabasePrivileges struct + DatabasePrivilege []DatabasePrivilege + type DatabasesInDescribeDatabases struct + Database []Database + type DatabasesInDescribeInstanceInfo struct + Database []Database + type DatabasesInDescribeInstances struct + Database []Database + type DeleteAccountRequest struct + AccountName string + InstanceId string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + func CreateDeleteAccountRequest() (request *DeleteAccountRequest) + type DeleteAccountResponse struct + RequestId string + func CreateDeleteAccountResponse() (response *DeleteAccountResponse) + type DeleteDatabaseRequest struct + ClientToken string + DBName string + InstanceId string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + func CreateDeleteDatabaseRequest() (request *DeleteDatabaseRequest) + type DeleteDatabaseResponse struct + RequestId string + func CreateDeleteDatabaseResponse() (response *DeleteDatabaseResponse) + type DeleteInstanceRequest struct + ClientToken string + InstanceId string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + func CreateDeleteInstanceRequest() (request *DeleteInstanceRequest) + type DeleteInstanceResponse struct + RequestId string + func CreateDeleteInstanceResponse() (response *DeleteInstanceResponse) + type DescribeAccountsRequest struct + InstanceId string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + func CreateDescribeAccountsRequest() (request *DescribeAccountsRequest) + type DescribeAccountsResponse struct + AccountList AccountList + InstanceId string + RequestId string + func CreateDescribeAccountsResponse() (response *DescribeAccountsResponse) + type DescribeBackupPolicyRequest struct + DBName string + InstanceId string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + func CreateDescribeBackupPolicyRequest() (request *DescribeBackupPolicyRequest) + type DescribeBackupPolicyResponse struct + BackupRetentionPeriod string + DBName string + EnableBinlogBackup bool + InstanceId string + PreferredBackupPeriod string + PreferredBackupTime string + RequestId string + func CreateDescribeBackupPolicyResponse() (response *DescribeBackupPolicyResponse) + type DescribeDatabaseBackupRequest struct + BackupId string + BackupMode string + BackupStatus string + DBName string + EndTime string + InstanceId string + OwnerAccount string + OwnerId requests.Integer + PageNumber string + PageSize string + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + StartTime string + func CreateDescribeDatabaseBackupRequest() (request *DescribeDatabaseBackupRequest) + type DescribeDatabaseBackupResponse struct + BackupItems BackupItems + BackupTotalSize int + DBName string + InstanceId string + PageNumber int + PageRecordCount int + RequestId string + TotalRecordCount int + func CreateDescribeDatabaseBackupResponse() (response *DescribeDatabaseBackupResponse) + type DescribeDatabasePartitionsRequest struct + DBName string + InstanceId string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + func CreateDescribeDatabasePartitionsRequest() (request *DescribeDatabasePartitionsRequest) + type DescribeDatabasePartitionsResponse struct + DBName string + InstanceId string + Partitions Partitions + RequestId string + func CreateDescribeDatabasePartitionsResponse() (response *DescribeDatabasePartitionsResponse) + type DescribeDatabasePerformanceRequest struct + DBName string + EndTime string + InstanceId string + Interval string + KeyList string + MonitorGroup string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + StartTime string + func CreateDescribeDatabasePerformanceRequest() (request *DescribeDatabasePerformanceRequest) + type DescribeDatabasePerformanceResponse struct + MonitorDatas MonitorDatasInDescribeDatabasePerformance + RequestId string + func CreateDescribeDatabasePerformanceResponse() (response *DescribeDatabasePerformanceResponse) + type DescribeDatabaseResourceUsageRequest struct + DBName string + EndTime string + InstanceId string + Interval string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + StartTime string + func CreateDescribeDatabaseResourceUsageRequest() (request *DescribeDatabaseResourceUsageRequest) + type DescribeDatabaseResourceUsageResponse struct + MonitorDatas MonitorDatasInDescribeDatabaseResourceUsage + RequestId string + func CreateDescribeDatabaseResourceUsageResponse() (response *DescribeDatabaseResourceUsageResponse) + type DescribeDatabasesRequest struct + DBName string + InstanceId string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + func CreateDescribeDatabasesRequest() (request *DescribeDatabasesRequest) + type DescribeDatabasesResponse struct + Databases DatabasesInDescribeDatabases + InstanceId string + RequestId string + func CreateDescribeDatabasesResponse() (response *DescribeDatabasesResponse) + type DescribeInstanceInfoRequest struct + InstanceId string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + func CreateDescribeInstanceInfoRequest() (request *DescribeInstanceInfoRequest) + type DescribeInstanceInfoResponse struct + Databases DatabasesInDescribeInstanceInfo + InstanceId string + InstanceName string + InstanceStatus string + NetworkInfoItems NetworkInfoItems + RegionId string + RequestId string + ZoneId string + func CreateDescribeInstanceInfoResponse() (response *DescribeInstanceInfoResponse) + type DescribeInstancePerformanceRequest struct + EndTime string + InstanceId string + Interval string + KeyList string + MonitorGroup string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + StartTime string + func CreateDescribeInstancePerformanceRequest() (request *DescribeInstancePerformanceRequest) + type DescribeInstancePerformanceResponse struct + MonitorDatas MonitorDatasInDescribeInstancePerformance + RequestId string + func CreateDescribeInstancePerformanceResponse() (response *DescribeInstancePerformanceResponse) + type DescribeInstanceResourceUsageRequest struct + EndTime string + InstanceId string + Interval string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + StartTime string + func CreateDescribeInstanceResourceUsageRequest() (request *DescribeInstanceResourceUsageRequest) + type DescribeInstanceResourceUsageResponse struct + MonitorDatas MonitorDatasInDescribeInstanceResourceUsage + RequestId string + func CreateDescribeInstanceResourceUsageResponse() (response *DescribeInstanceResourceUsageResponse) + type DescribeInstancesRequest struct + ChargeType string + InstanceId string + InstanceStatus string + OwnerAccount string + OwnerId requests.Integer + PageNumber requests.Integer + PageSize requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + func CreateDescribeInstancesRequest() (request *DescribeInstancesRequest) + type DescribeInstancesResponse struct + Instances Instances + PageNumber int + PageSize int + RequestId string + TotalCount int + func CreateDescribeInstancesResponse() (response *DescribeInstancesResponse) + type DescribeMonitorItemsRequest struct + InstanceId string + ItemLevel string + MonitorVersion string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + func CreateDescribeMonitorItemsRequest() (request *DescribeMonitorItemsRequest) + type DescribeMonitorItemsResponse struct + MonitorItems MonitorItems + RequestId string + func CreateDescribeMonitorItemsResponse() (response *DescribeMonitorItemsResponse) + type DescribePriceRequest struct + Commodities string + OrderType string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + func CreateDescribePriceRequest() (request *DescribePriceRequest) + type DescribePriceResponse struct + Order Order + RequestId string + Rules Rules + func CreateDescribePriceResponse() (response *DescribePriceResponse) + type DescribeRegionsRequest struct + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + func CreateDescribeRegionsRequest() (request *DescribeRegionsRequest) + type DescribeRegionsResponse struct + Regions Regions + RequestId string + func CreateDescribeRegionsResponse() (response *DescribeRegionsResponse) + type DescribeSecurityIPsRequest struct + InstanceId string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + func CreateDescribeSecurityIPsRequest() (request *DescribeSecurityIPsRequest) + type DescribeSecurityIPsResponse struct + InstanceId string + RequestId string + SecurityIPList string + SecurityIPs SecurityIPs + func CreateDescribeSecurityIPsResponse() (response *DescribeSecurityIPsResponse) + type DescribeTaskStatusRequest struct + InstanceId string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + TaskId string + func CreateDescribeTaskStatusRequest() (request *DescribeTaskStatusRequest) + type DescribeTaskStatusResponse struct + BeginTime string + FinishTime string + Message string + RequestId string + Status string + TaskId string + func CreateDescribeTaskStatusResponse() (response *DescribeTaskStatusResponse) + type DescribeTasksRequest struct + EndTime string + InstanceId string + MaxRecordsPerPage string + OwnerAccount string + OwnerId requests.Integer + PageNumbers string + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + StartTime string + Status string + TaskAction string + func CreateDescribeTasksRequest() (request *DescribeTasksRequest) + type DescribeTasksResponse struct + EndTime string + InstanceId string + MaxRecordsPerPage string + PageNumbers string + RequestId string + StartTime string + Tasks Tasks + TotalRecords string + func CreateDescribeTasksResponse() (response *DescribeTasksResponse) + type DescribeUserInfoRequest struct + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + func CreateDescribeUserInfoRequest() (request *DescribeUserInfoRequest) + type DescribeUserInfoResponse struct + AlreadyHasResourceNum AlreadyHasResourceNum + BalanceAmount int + IsAuthentication bool + IsFinance bool + RequestId string + func CreateDescribeUserInfoResponse() (response *DescribeUserInfoResponse) + type GrantAccountPrivilegeRequest struct + AccountName string + AccountPrivilege string + DBInstanceId string + DBName string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + func CreateGrantAccountPrivilegeRequest() (request *GrantAccountPrivilegeRequest) + type GrantAccountPrivilegeResponse struct + RequestId string + func CreateGrantAccountPrivilegeResponse() (response *GrantAccountPrivilegeResponse) + type GroupValue struct + MonitorItemModel []MonitorItemModel + type Instance struct + ConnectionString string + CreateTime string + Databases DatabasesInDescribeInstances + InstanceId string + InstanceName string + InstanceStatus string + NetworkType string + Port int + PrivateIpAddress string + RegionId string + VSwitchId string + VpcId string + ZoneId string + type Instances struct + Instance []Instance + type ModifyAccountDescriptionRequest struct + AccountDescription string + AccountName string + DBInstanceId string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + func CreateModifyAccountDescriptionRequest() (request *ModifyAccountDescriptionRequest) + type ModifyAccountDescriptionResponse struct + RequestId string + func CreateModifyAccountDescriptionResponse() (response *ModifyAccountDescriptionResponse) + type ModifyAccountPasswordRequest struct + AccountName string + InstanceId string + NewPassword string + OldPassword string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + func CreateModifyAccountPasswordRequest() (request *ModifyAccountPasswordRequest) + type ModifyAccountPasswordResponse struct + RequestId string + func CreateModifyAccountPasswordResponse() (response *ModifyAccountPasswordResponse) + type ModifyBackupPolicyRequest struct + BackupRetentionPeriod string + DBName string + EnableBinlogBackup requests.Boolean + InstanceId string + OwnerAccount string + OwnerId requests.Integer + PreferredBackupPeriod string + PreferredBackupTime string + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + func CreateModifyBackupPolicyRequest() (request *ModifyBackupPolicyRequest) + type ModifyBackupPolicyResponse struct + RequestId string + func CreateModifyBackupPolicyResponse() (response *ModifyBackupPolicyResponse) + type ModifyInstanceNameRequest struct + InstanceId string + NewInstanceName string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + func CreateModifyInstanceNameRequest() (request *ModifyInstanceNameRequest) + type ModifyInstanceNameResponse struct + RequestId string + func CreateModifyInstanceNameResponse() (response *ModifyInstanceNameResponse) + type ModifySecurityIPsRequest struct + InstanceId string + ModifyMode string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityIPList string + SecurityIPListAttribute string + SecurityIPListName string + SecurityToken string + func CreateModifySecurityIPsRequest() (request *ModifySecurityIPsRequest) + type ModifySecurityIPsResponse struct + InstanceId string + RequestId string + SecurityIPList string + func CreateModifySecurityIPsResponse() (response *ModifySecurityIPsResponse) + type MonitorData struct + BinlogSize int + DataSize int + Date string + Key string + OtherSize int + PerformanceValues PerformanceValuesInDescribeInstancePerformance + TotalSize int + Unit string + type MonitorDatasInDescribeDatabasePerformance struct + MonitorData []MonitorData + type MonitorDatasInDescribeDatabaseResourceUsage struct + MonitorData []MonitorData + type MonitorDatasInDescribeInstancePerformance struct + MonitorData []MonitorData + type MonitorDatasInDescribeInstanceResourceUsage struct + MonitorData []MonitorData + type MonitorItem struct + Desc string + DisplayName string + GroupName string + GroupValue GroupValue + Key string + Unit string + type MonitorItemModel struct + DisplayName string + Key string + Unit string + type MonitorItems struct + MonitorItem []MonitorItem + type NetworkInfoItem struct + ConnectionString string + NetworkType string + Port string + PrivateIpAddress string + VSwitchId string + VpcId string + type NetworkInfoItems struct + NetworkInfoItem []NetworkInfoItem + type Order struct + DiscountAmount float64 + OriginalAmount float64 + RuleIds RuleIds + TradeAmount float64 + type Partition struct + DiskCapacity int + DiskUsed string + PartitionId string + type Partitions struct + Partition []Partition + type PerformanceValue struct + Date string + Value string + type PerformanceValuesInDescribeDatabasePerformance struct + PerformanceValue []PerformanceValue + type PerformanceValuesInDescribeInstancePerformance struct + PerformanceValue []PerformanceValue + type Region struct + RegionId string + ZoneId string + Zones Zones + type Regions struct + Region []Region + type ReleaseInstancePublicConnectionRequest struct + CurrentConnectionString string + DBInstanceId string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + func CreateReleaseInstancePublicConnectionRequest() (request *ReleaseInstancePublicConnectionRequest) + type ReleaseInstancePublicConnectionResponse struct + RequestId string + func CreateReleaseInstancePublicConnectionResponse() (response *ReleaseInstancePublicConnectionResponse) + type ResetAccountPasswordRequest struct + AccountName string + InstanceId string + NewPassword string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + func CreateResetAccountPasswordRequest() (request *ResetAccountPasswordRequest) + type ResetAccountPasswordResponse struct + RequestId string + func CreateResetAccountPasswordResponse() (response *ResetAccountPasswordResponse) + type RestoreDatabaseRequest struct + BackupId string + ClientToken string + InstanceName string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + RestoreTime string + RestoreType string + SecurityToken string + SrcDBName string + SrcInstanceId string + func CreateRestoreDatabaseRequest() (request *RestoreDatabaseRequest) + type RestoreDatabaseResponse struct + DBName string + NewInstanceId string + OrderId string + RequestId string + func CreateRestoreDatabaseResponse() (response *RestoreDatabaseResponse) + type RevokeAccountPrivilegeRequest struct + AccountName string + DBInstanceId string + DBName string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + func CreateRevokeAccountPrivilegeRequest() (request *RevokeAccountPrivilegeRequest) + type RevokeAccountPrivilegeResponse struct + RequestId string + func CreateRevokeAccountPrivilegeResponse() (response *RevokeAccountPrivilegeResponse) + type Rule struct + Name string + RuleDescId int + Title string + type RuleIds struct + RuleId []string + type Rules struct + Rule []Rule + type SecurityIPs struct + SecurityIpGroup []SecurityIpGroup + type SecurityIpGroup struct + SecurityIPList string + SecurityIPListAttribute string + SecurityIPListName string + type SwitchInstanceNetTypeRequest struct + InstanceId string + OwnerAccount string + OwnerId requests.Integer + ResourceOwnerAccount string + ResourceOwnerId requests.Integer + SecurityToken string + TargetNetworkType string + VSwitchId string + VpcId string + func CreateSwitchInstanceNetTypeRequest() (request *SwitchInstanceNetTypeRequest) + type SwitchInstanceNetTypeResponse struct + RequestId string + func CreateSwitchInstanceNetTypeResponse() (response *SwitchInstanceNetTypeResponse) + type Task struct + BeginTime string + DBName string + ExpectedFinishTime string + FinishTime string + Progress string + ProgressInfo string + Status string + TaskAction string + TaskId string + type Tasks struct + Task []Task + type Zone struct + VpcEnabled bool + ZoneId string + type Zones struct + Zone []Zone