Documentation ¶
Index ¶
- type Account
- type AccountsInDescribeAccounts
- type AccountsInDescribeDatabases
- type Backup
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func 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) 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) CreateBackup(request *CreateBackupRequest) (response *CreateBackupResponse, err error)
- func (client *Client) CreateBackupWithCallback(request *CreateBackupRequest, ...) <-chan int
- func (client *Client) CreateBackupWithChan(request *CreateBackupRequest) (<-chan *CreateBackupResponse, <-chan error)
- func (client *Client) CreateDatabase(request *CreateDatabaseRequest) (response *CreateDatabaseResponse, err error)
- func (client *Client) CreateDatabaseWithCallback(request *CreateDatabaseRequest, ...) <-chan int
- func (client *Client) CreateDatabaseWithChan(request *CreateDatabaseRequest) (<-chan *CreateDatabaseResponse, <-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) DeleteBackup(request *DeleteBackupRequest) (response *DeleteBackupResponse, err error)
- func (client *Client) DeleteBackupWithCallback(request *DeleteBackupRequest, ...) <-chan int
- func (client *Client) DeleteBackupWithChan(request *DeleteBackupRequest) (<-chan *DeleteBackupResponse, <-chan error)
- func (client *Client) DeleteDBCluster(request *DeleteDBClusterRequest) (response *DeleteDBClusterResponse, err error)
- func (client *Client) DeleteDBClusterWithCallback(request *DeleteDBClusterRequest, ...) <-chan int
- func (client *Client) DeleteDBClusterWithChan(request *DeleteDBClusterRequest) (<-chan *DeleteDBClusterResponse, <-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) 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) DescribeBackups(request *DescribeBackupsRequest) (response *DescribeBackupsResponse, err error)
- func (client *Client) DescribeBackupsWithCallback(request *DescribeBackupsRequest, ...) <-chan int
- func (client *Client) DescribeBackupsWithChan(request *DescribeBackupsRequest) (<-chan *DescribeBackupsResponse, <-chan error)
- func (client *Client) DescribeDBClusterAttribute(request *DescribeDBClusterAttributeRequest) (response *DescribeDBClusterAttributeResponse, err error)
- func (client *Client) DescribeDBClusterAttributeWithCallback(request *DescribeDBClusterAttributeRequest, ...) <-chan int
- func (client *Client) DescribeDBClusterAttributeWithChan(request *DescribeDBClusterAttributeRequest) (<-chan *DescribeDBClusterAttributeResponse, <-chan error)
- func (client *Client) DescribeDBClusters(request *DescribeDBClustersRequest) (response *DescribeDBClustersResponse, err error)
- func (client *Client) DescribeDBClustersWithCallback(request *DescribeDBClustersRequest, ...) <-chan int
- func (client *Client) DescribeDBClustersWithChan(request *DescribeDBClustersRequest) (<-chan *DescribeDBClustersResponse, <-chan error)
- func (client *Client) DescribeDBNodePerformance(request *DescribeDBNodePerformanceRequest) (response *DescribeDBNodePerformanceResponse, err error)
- func (client *Client) DescribeDBNodePerformanceWithCallback(request *DescribeDBNodePerformanceRequest, ...) <-chan int
- func (client *Client) DescribeDBNodePerformanceWithChan(request *DescribeDBNodePerformanceRequest) (<-chan *DescribeDBNodePerformanceResponse, <-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) DescribeErrorLogs(request *DescribeErrorLogsRequest) (response *DescribeErrorLogsResponse, err error)
- func (client *Client) DescribeErrorLogsWithCallback(request *DescribeErrorLogsRequest, ...) <-chan int
- func (client *Client) DescribeErrorLogsWithChan(request *DescribeErrorLogsRequest) (<-chan *DescribeErrorLogsResponse, <-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) DescribeSQLExplorerPolicy(request *DescribeSQLExplorerPolicyRequest) (response *DescribeSQLExplorerPolicyResponse, err error)
- func (client *Client) DescribeSQLExplorerPolicyWithCallback(request *DescribeSQLExplorerPolicyRequest, ...) <-chan int
- func (client *Client) DescribeSQLExplorerPolicyWithChan(request *DescribeSQLExplorerPolicyRequest) (<-chan *DescribeSQLExplorerPolicyResponse, <-chan error)
- func (client *Client) DescribeSlowLogRecords(request *DescribeSlowLogRecordsRequest) (response *DescribeSlowLogRecordsResponse, err error)
- func (client *Client) DescribeSlowLogRecordsWithCallback(request *DescribeSlowLogRecordsRequest, ...) <-chan int
- func (client *Client) DescribeSlowLogRecordsWithChan(request *DescribeSlowLogRecordsRequest) (<-chan *DescribeSlowLogRecordsResponse, <-chan error)
- func (client *Client) DescribeSlowLogs(request *DescribeSlowLogsRequest) (response *DescribeSlowLogsResponse, err error)
- func (client *Client) DescribeSlowLogsWithCallback(request *DescribeSlowLogsRequest, ...) <-chan int
- func (client *Client) DescribeSlowLogsWithChan(request *DescribeSlowLogsRequest) (<-chan *DescribeSlowLogsResponse, <-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) 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) ModifyDBClusterDescription(request *ModifyDBClusterDescriptionRequest) (response *ModifyDBClusterDescriptionResponse, err error)
- func (client *Client) ModifyDBClusterDescriptionWithCallback(request *ModifyDBClusterDescriptionRequest, ...) <-chan int
- func (client *Client) ModifyDBClusterDescriptionWithChan(request *ModifyDBClusterDescriptionRequest) (<-chan *ModifyDBClusterDescriptionResponse, <-chan error)
- func (client *Client) ModifyDBClusterMaintainTime(request *ModifyDBClusterMaintainTimeRequest) (response *ModifyDBClusterMaintainTimeResponse, err error)
- func (client *Client) ModifyDBClusterMaintainTimeWithCallback(request *ModifyDBClusterMaintainTimeRequest, ...) <-chan int
- func (client *Client) ModifyDBClusterMaintainTimeWithChan(request *ModifyDBClusterMaintainTimeRequest) (<-chan *ModifyDBClusterMaintainTimeResponse, <-chan error)
- func (client *Client) ModifySQLExplorerPolicy(request *ModifySQLExplorerPolicyRequest) (response *ModifySQLExplorerPolicyResponse, err error)
- func (client *Client) ModifySQLExplorerPolicyWithCallback(request *ModifySQLExplorerPolicyRequest, ...) <-chan int
- func (client *Client) ModifySQLExplorerPolicyWithChan(request *ModifySQLExplorerPolicyRequest) (<-chan *ModifySQLExplorerPolicyResponse, <-chan error)
- func (client *Client) ResetAccount(request *ResetAccountRequest) (response *ResetAccountResponse, err 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) ResetAccountWithCallback(request *ResetAccountRequest, ...) <-chan int
- func (client *Client) ResetAccountWithChan(request *ResetAccountRequest) (<-chan *ResetAccountResponse, <-chan error)
- func (client *Client) RestartDBNode(request *RestartDBNodeRequest) (response *RestartDBNodeResponse, err error)
- func (client *Client) RestartDBNodeWithCallback(request *RestartDBNodeRequest, ...) <-chan int
- func (client *Client) RestartDBNodeWithChan(request *RestartDBNodeRequest) (<-chan *RestartDBNodeResponse, <-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)
- type CreateAccountRequest
- type CreateAccountResponse
- type CreateBackupRequest
- type CreateBackupResponse
- type CreateDatabaseRequest
- type CreateDatabaseResponse
- type DBCluster
- type DBClusterAttribute
- type DBInstanceAccount
- type DBNode
- type DBNodes
- type Database
- type DatabasePrivilege
- type DatabasePrivileges
- type Databases
- type DbInstance
- type DbInstances
- type DeleteAccountRequest
- type DeleteAccountResponse
- type DeleteBackupRequest
- type DeleteBackupResponse
- type DeleteDBClusterRequest
- type DeleteDBClusterResponse
- type DeleteDatabaseRequest
- type DeleteDatabaseResponse
- type DescribeAccountsRequest
- type DescribeAccountsResponse
- type DescribeBackupPolicyRequest
- type DescribeBackupPolicyResponse
- type DescribeBackupsRequest
- type DescribeBackupsResponse
- type DescribeDBClusterAttributeRequest
- type DescribeDBClusterAttributeResponse
- type DescribeDBClustersRequest
- type DescribeDBClustersResponse
- type DescribeDBNodePerformanceRequest
- type DescribeDBNodePerformanceResponse
- type DescribeDatabasesRequest
- type DescribeDatabasesResponse
- type DescribeErrorLogsRequest
- type DescribeErrorLogsResponse
- type DescribeRegionsRequest
- type DescribeRegionsResponse
- type DescribeSQLExplorerPolicyRequest
- type DescribeSQLExplorerPolicyResponse
- type DescribeSlowLogRecordsRequest
- type DescribeSlowLogRecordsResponse
- type DescribeSlowLogsRequest
- type DescribeSlowLogsResponse
- type ErrorLog
- type GrantAccountPrivilegeRequest
- type GrantAccountPrivilegeResponse
- type ItemsInDescribeBackups
- type ItemsInDescribeDBClusterAttribute
- type ItemsInDescribeDBClusters
- type ItemsInDescribeErrorLogs
- type ItemsInDescribeSlowLogRecords
- type ItemsInDescribeSlowLogs
- type ModifyAccountDescriptionRequest
- type ModifyAccountDescriptionResponse
- type ModifyBackupPolicyRequest
- type ModifyBackupPolicyResponse
- type ModifyDBClusterDescriptionRequest
- type ModifyDBClusterDescriptionResponse
- type ModifyDBClusterMaintainTimeRequest
- type ModifyDBClusterMaintainTimeResponse
- type ModifySQLExplorerPolicyRequest
- type ModifySQLExplorerPolicyResponse
- type PerformanceItem
- type PerformanceItemValue
- type PerformanceKeys
- type Points
- type Region
- type Regions
- type ResetAccountPasswordRequest
- type ResetAccountPasswordResponse
- type ResetAccountRequest
- type ResetAccountResponse
- type RestartDBNodeRequest
- type RestartDBNodeResponse
- type RevokeAccountPrivilegeRequest
- type RevokeAccountPrivilegeResponse
- type SQLSlowLog
- type SQLSlowRecord
- type Zone
- type Zones
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { AccountName string `json:"AccountName" xml:"AccountName"` AccountStatus string `json:"AccountStatus" xml:"AccountStatus"` AccountPrivilege string `json:"AccountPrivilege" xml:"AccountPrivilege"` PrivilegeStatus string `json:"PrivilegeStatus" xml:"PrivilegeStatus"` }
Account is a nested struct in polardb response
type AccountsInDescribeAccounts ¶
type AccountsInDescribeAccounts struct {
DBInstanceAccount []DBInstanceAccount `json:"DBInstanceAccount" xml:"DBInstanceAccount"`
}
AccountsInDescribeAccounts is a nested struct in polardb response
type AccountsInDescribeDatabases ¶
type AccountsInDescribeDatabases struct {
Account []Account `json:"Account" xml:"Account"`
}
AccountsInDescribeDatabases is a nested struct in polardb response
type Backup ¶
type Backup struct { BackupId string `json:"BackupId" xml:"BackupId"` DBClusterId string `json:"DBClusterId" xml:"DBClusterId"` BackupStatus string `json:"BackupStatus" xml:"BackupStatus"` BackupStartTime string `json:"BackupStartTime" xml:"BackupStartTime"` BackupEndTime string `json:"BackupEndTime" xml:"BackupEndTime"` BackupType string `json:"BackupType" xml:"BackupType"` BackupMode string `json:"BackupMode" xml:"BackupMode"` BackupMethod string `json:"BackupMethod" xml:"BackupMethod"` StoreStatus string `json:"StoreStatus" xml:"StoreStatus"` }
Backup is a nested struct in polardb response
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
func NewClientWithAccessKey ¶
func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://help.aliyun.com/document_detail/66217.html
func NewClientWithEcsRamRole ¶
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://help.aliyun.com/document_detail/66223.html
func NewClientWithOptions ¶
func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client
func NewClientWithRamRoleArn ¶
func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://help.aliyun.com/document_detail/66222.html
func NewClientWithRsaKeyPair ¶
func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair attention: rsa key pair auth is only Japan regions available
func NewClientWithStsToken ¶
func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://help.aliyun.com/document_detail/66222.html
func (*Client) CreateAccount ¶
func (client *Client) CreateAccount(request *CreateAccountRequest) (response *CreateAccountResponse, err error)
CreateAccount invokes the polardb.CreateAccount API synchronously api document: https://help.aliyun.com/api/polardb/createaccount.html
func (*Client) CreateAccountWithCallback ¶
func (client *Client) CreateAccountWithCallback(request *CreateAccountRequest, callback func(response *CreateAccountResponse, err error)) <-chan int
CreateAccountWithCallback invokes the polardb.CreateAccount API asynchronously api document: https://help.aliyun.com/api/polardb/createaccount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateAccountWithChan ¶
func (client *Client) CreateAccountWithChan(request *CreateAccountRequest) (<-chan *CreateAccountResponse, <-chan error)
CreateAccountWithChan invokes the polardb.CreateAccount API asynchronously api document: https://help.aliyun.com/api/polardb/createaccount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateBackup ¶
func (client *Client) CreateBackup(request *CreateBackupRequest) (response *CreateBackupResponse, err error)
CreateBackup invokes the polardb.CreateBackup API synchronously api document: https://help.aliyun.com/api/polardb/createbackup.html
func (*Client) CreateBackupWithCallback ¶
func (client *Client) CreateBackupWithCallback(request *CreateBackupRequest, callback func(response *CreateBackupResponse, err error)) <-chan int
CreateBackupWithCallback invokes the polardb.CreateBackup API asynchronously api document: https://help.aliyun.com/api/polardb/createbackup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateBackupWithChan ¶
func (client *Client) CreateBackupWithChan(request *CreateBackupRequest) (<-chan *CreateBackupResponse, <-chan error)
CreateBackupWithChan invokes the polardb.CreateBackup API asynchronously api document: https://help.aliyun.com/api/polardb/createbackup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateDatabase ¶
func (client *Client) CreateDatabase(request *CreateDatabaseRequest) (response *CreateDatabaseResponse, err error)
CreateDatabase invokes the polardb.CreateDatabase API synchronously api document: https://help.aliyun.com/api/polardb/createdatabase.html
func (*Client) CreateDatabaseWithCallback ¶
func (client *Client) CreateDatabaseWithCallback(request *CreateDatabaseRequest, callback func(response *CreateDatabaseResponse, err error)) <-chan int
CreateDatabaseWithCallback invokes the polardb.CreateDatabase API asynchronously api document: https://help.aliyun.com/api/polardb/createdatabase.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateDatabaseWithChan ¶
func (client *Client) CreateDatabaseWithChan(request *CreateDatabaseRequest) (<-chan *CreateDatabaseResponse, <-chan error)
CreateDatabaseWithChan invokes the polardb.CreateDatabase API asynchronously api document: https://help.aliyun.com/api/polardb/createdatabase.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteAccount ¶
func (client *Client) DeleteAccount(request *DeleteAccountRequest) (response *DeleteAccountResponse, err error)
DeleteAccount invokes the polardb.DeleteAccount API synchronously api document: https://help.aliyun.com/api/polardb/deleteaccount.html
func (*Client) DeleteAccountWithCallback ¶
func (client *Client) DeleteAccountWithCallback(request *DeleteAccountRequest, callback func(response *DeleteAccountResponse, err error)) <-chan int
DeleteAccountWithCallback invokes the polardb.DeleteAccount API asynchronously api document: https://help.aliyun.com/api/polardb/deleteaccount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteAccountWithChan ¶
func (client *Client) DeleteAccountWithChan(request *DeleteAccountRequest) (<-chan *DeleteAccountResponse, <-chan error)
DeleteAccountWithChan invokes the polardb.DeleteAccount API asynchronously api document: https://help.aliyun.com/api/polardb/deleteaccount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteBackup ¶
func (client *Client) DeleteBackup(request *DeleteBackupRequest) (response *DeleteBackupResponse, err error)
DeleteBackup invokes the polardb.DeleteBackup API synchronously api document: https://help.aliyun.com/api/polardb/deletebackup.html
func (*Client) DeleteBackupWithCallback ¶
func (client *Client) DeleteBackupWithCallback(request *DeleteBackupRequest, callback func(response *DeleteBackupResponse, err error)) <-chan int
DeleteBackupWithCallback invokes the polardb.DeleteBackup API asynchronously api document: https://help.aliyun.com/api/polardb/deletebackup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteBackupWithChan ¶
func (client *Client) DeleteBackupWithChan(request *DeleteBackupRequest) (<-chan *DeleteBackupResponse, <-chan error)
DeleteBackupWithChan invokes the polardb.DeleteBackup API asynchronously api document: https://help.aliyun.com/api/polardb/deletebackup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteDBCluster ¶
func (client *Client) DeleteDBCluster(request *DeleteDBClusterRequest) (response *DeleteDBClusterResponse, err error)
DeleteDBCluster invokes the polardb.DeleteDBCluster API synchronously api document: https://help.aliyun.com/api/polardb/deletedbcluster.html
func (*Client) DeleteDBClusterWithCallback ¶
func (client *Client) DeleteDBClusterWithCallback(request *DeleteDBClusterRequest, callback func(response *DeleteDBClusterResponse, err error)) <-chan int
DeleteDBClusterWithCallback invokes the polardb.DeleteDBCluster API asynchronously api document: https://help.aliyun.com/api/polardb/deletedbcluster.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteDBClusterWithChan ¶
func (client *Client) DeleteDBClusterWithChan(request *DeleteDBClusterRequest) (<-chan *DeleteDBClusterResponse, <-chan error)
DeleteDBClusterWithChan invokes the polardb.DeleteDBCluster API asynchronously api document: https://help.aliyun.com/api/polardb/deletedbcluster.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteDatabase ¶
func (client *Client) DeleteDatabase(request *DeleteDatabaseRequest) (response *DeleteDatabaseResponse, err error)
DeleteDatabase invokes the polardb.DeleteDatabase API synchronously api document: https://help.aliyun.com/api/polardb/deletedatabase.html
func (*Client) DeleteDatabaseWithCallback ¶
func (client *Client) DeleteDatabaseWithCallback(request *DeleteDatabaseRequest, callback func(response *DeleteDatabaseResponse, err error)) <-chan int
DeleteDatabaseWithCallback invokes the polardb.DeleteDatabase API asynchronously api document: https://help.aliyun.com/api/polardb/deletedatabase.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteDatabaseWithChan ¶
func (client *Client) DeleteDatabaseWithChan(request *DeleteDatabaseRequest) (<-chan *DeleteDatabaseResponse, <-chan error)
DeleteDatabaseWithChan invokes the polardb.DeleteDatabase API asynchronously api document: https://help.aliyun.com/api/polardb/deletedatabase.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeAccounts ¶
func (client *Client) DescribeAccounts(request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)
DescribeAccounts invokes the polardb.DescribeAccounts API synchronously api document: https://help.aliyun.com/api/polardb/describeaccounts.html
func (*Client) DescribeAccountsWithCallback ¶
func (client *Client) DescribeAccountsWithCallback(request *DescribeAccountsRequest, callback func(response *DescribeAccountsResponse, err error)) <-chan int
DescribeAccountsWithCallback invokes the polardb.DescribeAccounts API asynchronously api document: https://help.aliyun.com/api/polardb/describeaccounts.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeAccountsWithChan ¶
func (client *Client) DescribeAccountsWithChan(request *DescribeAccountsRequest) (<-chan *DescribeAccountsResponse, <-chan error)
DescribeAccountsWithChan invokes the polardb.DescribeAccounts API asynchronously api document: https://help.aliyun.com/api/polardb/describeaccounts.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeBackupPolicy ¶
func (client *Client) DescribeBackupPolicy(request *DescribeBackupPolicyRequest) (response *DescribeBackupPolicyResponse, err error)
DescribeBackupPolicy invokes the polardb.DescribeBackupPolicy API synchronously api document: https://help.aliyun.com/api/polardb/describebackuppolicy.html
func (*Client) DescribeBackupPolicyWithCallback ¶
func (client *Client) DescribeBackupPolicyWithCallback(request *DescribeBackupPolicyRequest, callback func(response *DescribeBackupPolicyResponse, err error)) <-chan int
DescribeBackupPolicyWithCallback invokes the polardb.DescribeBackupPolicy API asynchronously api document: https://help.aliyun.com/api/polardb/describebackuppolicy.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeBackupPolicyWithChan ¶
func (client *Client) DescribeBackupPolicyWithChan(request *DescribeBackupPolicyRequest) (<-chan *DescribeBackupPolicyResponse, <-chan error)
DescribeBackupPolicyWithChan invokes the polardb.DescribeBackupPolicy API asynchronously api document: https://help.aliyun.com/api/polardb/describebackuppolicy.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeBackups ¶
func (client *Client) DescribeBackups(request *DescribeBackupsRequest) (response *DescribeBackupsResponse, err error)
DescribeBackups invokes the polardb.DescribeBackups API synchronously api document: https://help.aliyun.com/api/polardb/describebackups.html
func (*Client) DescribeBackupsWithCallback ¶
func (client *Client) DescribeBackupsWithCallback(request *DescribeBackupsRequest, callback func(response *DescribeBackupsResponse, err error)) <-chan int
DescribeBackupsWithCallback invokes the polardb.DescribeBackups API asynchronously api document: https://help.aliyun.com/api/polardb/describebackups.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeBackupsWithChan ¶
func (client *Client) DescribeBackupsWithChan(request *DescribeBackupsRequest) (<-chan *DescribeBackupsResponse, <-chan error)
DescribeBackupsWithChan invokes the polardb.DescribeBackups API asynchronously api document: https://help.aliyun.com/api/polardb/describebackups.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeDBClusterAttribute ¶
func (client *Client) DescribeDBClusterAttribute(request *DescribeDBClusterAttributeRequest) (response *DescribeDBClusterAttributeResponse, err error)
DescribeDBClusterAttribute invokes the polardb.DescribeDBClusterAttribute API synchronously api document: https://help.aliyun.com/api/polardb/describedbclusterattribute.html
func (*Client) DescribeDBClusterAttributeWithCallback ¶
func (client *Client) DescribeDBClusterAttributeWithCallback(request *DescribeDBClusterAttributeRequest, callback func(response *DescribeDBClusterAttributeResponse, err error)) <-chan int
DescribeDBClusterAttributeWithCallback invokes the polardb.DescribeDBClusterAttribute API asynchronously api document: https://help.aliyun.com/api/polardb/describedbclusterattribute.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeDBClusterAttributeWithChan ¶
func (client *Client) DescribeDBClusterAttributeWithChan(request *DescribeDBClusterAttributeRequest) (<-chan *DescribeDBClusterAttributeResponse, <-chan error)
DescribeDBClusterAttributeWithChan invokes the polardb.DescribeDBClusterAttribute API asynchronously api document: https://help.aliyun.com/api/polardb/describedbclusterattribute.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeDBClusters ¶
func (client *Client) DescribeDBClusters(request *DescribeDBClustersRequest) (response *DescribeDBClustersResponse, err error)
DescribeDBClusters invokes the polardb.DescribeDBClusters API synchronously api document: https://help.aliyun.com/api/polardb/describedbclusters.html
func (*Client) DescribeDBClustersWithCallback ¶
func (client *Client) DescribeDBClustersWithCallback(request *DescribeDBClustersRequest, callback func(response *DescribeDBClustersResponse, err error)) <-chan int
DescribeDBClustersWithCallback invokes the polardb.DescribeDBClusters API asynchronously api document: https://help.aliyun.com/api/polardb/describedbclusters.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeDBClustersWithChan ¶
func (client *Client) DescribeDBClustersWithChan(request *DescribeDBClustersRequest) (<-chan *DescribeDBClustersResponse, <-chan error)
DescribeDBClustersWithChan invokes the polardb.DescribeDBClusters API asynchronously api document: https://help.aliyun.com/api/polardb/describedbclusters.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeDBNodePerformance ¶
func (client *Client) DescribeDBNodePerformance(request *DescribeDBNodePerformanceRequest) (response *DescribeDBNodePerformanceResponse, err error)
DescribeDBNodePerformance invokes the polardb.DescribeDBNodePerformance API synchronously api document: https://help.aliyun.com/api/polardb/describedbnodeperformance.html
func (*Client) DescribeDBNodePerformanceWithCallback ¶
func (client *Client) DescribeDBNodePerformanceWithCallback(request *DescribeDBNodePerformanceRequest, callback func(response *DescribeDBNodePerformanceResponse, err error)) <-chan int
DescribeDBNodePerformanceWithCallback invokes the polardb.DescribeDBNodePerformance API asynchronously api document: https://help.aliyun.com/api/polardb/describedbnodeperformance.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeDBNodePerformanceWithChan ¶
func (client *Client) DescribeDBNodePerformanceWithChan(request *DescribeDBNodePerformanceRequest) (<-chan *DescribeDBNodePerformanceResponse, <-chan error)
DescribeDBNodePerformanceWithChan invokes the polardb.DescribeDBNodePerformance API asynchronously api document: https://help.aliyun.com/api/polardb/describedbnodeperformance.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeDatabases ¶
func (client *Client) DescribeDatabases(request *DescribeDatabasesRequest) (response *DescribeDatabasesResponse, err error)
DescribeDatabases invokes the polardb.DescribeDatabases API synchronously api document: https://help.aliyun.com/api/polardb/describedatabases.html
func (*Client) DescribeDatabasesWithCallback ¶
func (client *Client) DescribeDatabasesWithCallback(request *DescribeDatabasesRequest, callback func(response *DescribeDatabasesResponse, err error)) <-chan int
DescribeDatabasesWithCallback invokes the polardb.DescribeDatabases API asynchronously api document: https://help.aliyun.com/api/polardb/describedatabases.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeDatabasesWithChan ¶
func (client *Client) DescribeDatabasesWithChan(request *DescribeDatabasesRequest) (<-chan *DescribeDatabasesResponse, <-chan error)
DescribeDatabasesWithChan invokes the polardb.DescribeDatabases API asynchronously api document: https://help.aliyun.com/api/polardb/describedatabases.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeErrorLogs ¶
func (client *Client) DescribeErrorLogs(request *DescribeErrorLogsRequest) (response *DescribeErrorLogsResponse, err error)
DescribeErrorLogs invokes the polardb.DescribeErrorLogs API synchronously api document: https://help.aliyun.com/api/polardb/describeerrorlogs.html
func (*Client) DescribeErrorLogsWithCallback ¶
func (client *Client) DescribeErrorLogsWithCallback(request *DescribeErrorLogsRequest, callback func(response *DescribeErrorLogsResponse, err error)) <-chan int
DescribeErrorLogsWithCallback invokes the polardb.DescribeErrorLogs API asynchronously api document: https://help.aliyun.com/api/polardb/describeerrorlogs.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeErrorLogsWithChan ¶
func (client *Client) DescribeErrorLogsWithChan(request *DescribeErrorLogsRequest) (<-chan *DescribeErrorLogsResponse, <-chan error)
DescribeErrorLogsWithChan invokes the polardb.DescribeErrorLogs API asynchronously api document: https://help.aliyun.com/api/polardb/describeerrorlogs.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeRegions ¶
func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
DescribeRegions invokes the polardb.DescribeRegions API synchronously api document: https://help.aliyun.com/api/polardb/describeregions.html
func (*Client) DescribeRegionsWithCallback ¶
func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, callback func(response *DescribeRegionsResponse, err error)) <-chan int
DescribeRegionsWithCallback invokes the polardb.DescribeRegions API asynchronously api document: https://help.aliyun.com/api/polardb/describeregions.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeRegionsWithChan ¶
func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error)
DescribeRegionsWithChan invokes the polardb.DescribeRegions API asynchronously api document: https://help.aliyun.com/api/polardb/describeregions.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeSQLExplorerPolicy ¶
func (client *Client) DescribeSQLExplorerPolicy(request *DescribeSQLExplorerPolicyRequest) (response *DescribeSQLExplorerPolicyResponse, err error)
DescribeSQLExplorerPolicy invokes the polardb.DescribeSQLExplorerPolicy API synchronously api document: https://help.aliyun.com/api/polardb/describesqlexplorerpolicy.html
func (*Client) DescribeSQLExplorerPolicyWithCallback ¶
func (client *Client) DescribeSQLExplorerPolicyWithCallback(request *DescribeSQLExplorerPolicyRequest, callback func(response *DescribeSQLExplorerPolicyResponse, err error)) <-chan int
DescribeSQLExplorerPolicyWithCallback invokes the polardb.DescribeSQLExplorerPolicy API asynchronously api document: https://help.aliyun.com/api/polardb/describesqlexplorerpolicy.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeSQLExplorerPolicyWithChan ¶
func (client *Client) DescribeSQLExplorerPolicyWithChan(request *DescribeSQLExplorerPolicyRequest) (<-chan *DescribeSQLExplorerPolicyResponse, <-chan error)
DescribeSQLExplorerPolicyWithChan invokes the polardb.DescribeSQLExplorerPolicy API asynchronously api document: https://help.aliyun.com/api/polardb/describesqlexplorerpolicy.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeSlowLogRecords ¶
func (client *Client) DescribeSlowLogRecords(request *DescribeSlowLogRecordsRequest) (response *DescribeSlowLogRecordsResponse, err error)
DescribeSlowLogRecords invokes the polardb.DescribeSlowLogRecords API synchronously api document: https://help.aliyun.com/api/polardb/describeslowlogrecords.html
func (*Client) DescribeSlowLogRecordsWithCallback ¶
func (client *Client) DescribeSlowLogRecordsWithCallback(request *DescribeSlowLogRecordsRequest, callback func(response *DescribeSlowLogRecordsResponse, err error)) <-chan int
DescribeSlowLogRecordsWithCallback invokes the polardb.DescribeSlowLogRecords API asynchronously api document: https://help.aliyun.com/api/polardb/describeslowlogrecords.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeSlowLogRecordsWithChan ¶
func (client *Client) DescribeSlowLogRecordsWithChan(request *DescribeSlowLogRecordsRequest) (<-chan *DescribeSlowLogRecordsResponse, <-chan error)
DescribeSlowLogRecordsWithChan invokes the polardb.DescribeSlowLogRecords API asynchronously api document: https://help.aliyun.com/api/polardb/describeslowlogrecords.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeSlowLogs ¶
func (client *Client) DescribeSlowLogs(request *DescribeSlowLogsRequest) (response *DescribeSlowLogsResponse, err error)
DescribeSlowLogs invokes the polardb.DescribeSlowLogs API synchronously api document: https://help.aliyun.com/api/polardb/describeslowlogs.html
func (*Client) DescribeSlowLogsWithCallback ¶
func (client *Client) DescribeSlowLogsWithCallback(request *DescribeSlowLogsRequest, callback func(response *DescribeSlowLogsResponse, err error)) <-chan int
DescribeSlowLogsWithCallback invokes the polardb.DescribeSlowLogs API asynchronously api document: https://help.aliyun.com/api/polardb/describeslowlogs.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeSlowLogsWithChan ¶
func (client *Client) DescribeSlowLogsWithChan(request *DescribeSlowLogsRequest) (<-chan *DescribeSlowLogsResponse, <-chan error)
DescribeSlowLogsWithChan invokes the polardb.DescribeSlowLogs API asynchronously api document: https://help.aliyun.com/api/polardb/describeslowlogs.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) GrantAccountPrivilege ¶
func (client *Client) GrantAccountPrivilege(request *GrantAccountPrivilegeRequest) (response *GrantAccountPrivilegeResponse, err error)
GrantAccountPrivilege invokes the polardb.GrantAccountPrivilege API synchronously api document: https://help.aliyun.com/api/polardb/grantaccountprivilege.html
func (*Client) GrantAccountPrivilegeWithCallback ¶
func (client *Client) GrantAccountPrivilegeWithCallback(request *GrantAccountPrivilegeRequest, callback func(response *GrantAccountPrivilegeResponse, err error)) <-chan int
GrantAccountPrivilegeWithCallback invokes the polardb.GrantAccountPrivilege API asynchronously api document: https://help.aliyun.com/api/polardb/grantaccountprivilege.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) GrantAccountPrivilegeWithChan ¶
func (client *Client) GrantAccountPrivilegeWithChan(request *GrantAccountPrivilegeRequest) (<-chan *GrantAccountPrivilegeResponse, <-chan error)
GrantAccountPrivilegeWithChan invokes the polardb.GrantAccountPrivilege API asynchronously api document: https://help.aliyun.com/api/polardb/grantaccountprivilege.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ModifyAccountDescription ¶
func (client *Client) ModifyAccountDescription(request *ModifyAccountDescriptionRequest) (response *ModifyAccountDescriptionResponse, err error)
ModifyAccountDescription invokes the polardb.ModifyAccountDescription API synchronously api document: https://help.aliyun.com/api/polardb/modifyaccountdescription.html
func (*Client) ModifyAccountDescriptionWithCallback ¶
func (client *Client) ModifyAccountDescriptionWithCallback(request *ModifyAccountDescriptionRequest, callback func(response *ModifyAccountDescriptionResponse, err error)) <-chan int
ModifyAccountDescriptionWithCallback invokes the polardb.ModifyAccountDescription API asynchronously api document: https://help.aliyun.com/api/polardb/modifyaccountdescription.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ModifyAccountDescriptionWithChan ¶
func (client *Client) ModifyAccountDescriptionWithChan(request *ModifyAccountDescriptionRequest) (<-chan *ModifyAccountDescriptionResponse, <-chan error)
ModifyAccountDescriptionWithChan invokes the polardb.ModifyAccountDescription API asynchronously api document: https://help.aliyun.com/api/polardb/modifyaccountdescription.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ModifyBackupPolicy ¶
func (client *Client) ModifyBackupPolicy(request *ModifyBackupPolicyRequest) (response *ModifyBackupPolicyResponse, err error)
ModifyBackupPolicy invokes the polardb.ModifyBackupPolicy API synchronously api document: https://help.aliyun.com/api/polardb/modifybackuppolicy.html
func (*Client) ModifyBackupPolicyWithCallback ¶
func (client *Client) ModifyBackupPolicyWithCallback(request *ModifyBackupPolicyRequest, callback func(response *ModifyBackupPolicyResponse, err error)) <-chan int
ModifyBackupPolicyWithCallback invokes the polardb.ModifyBackupPolicy API asynchronously api document: https://help.aliyun.com/api/polardb/modifybackuppolicy.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ModifyBackupPolicyWithChan ¶
func (client *Client) ModifyBackupPolicyWithChan(request *ModifyBackupPolicyRequest) (<-chan *ModifyBackupPolicyResponse, <-chan error)
ModifyBackupPolicyWithChan invokes the polardb.ModifyBackupPolicy API asynchronously api document: https://help.aliyun.com/api/polardb/modifybackuppolicy.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ModifyDBClusterDescription ¶
func (client *Client) ModifyDBClusterDescription(request *ModifyDBClusterDescriptionRequest) (response *ModifyDBClusterDescriptionResponse, err error)
ModifyDBClusterDescription invokes the polardb.ModifyDBClusterDescription API synchronously api document: https://help.aliyun.com/api/polardb/modifydbclusterdescription.html
func (*Client) ModifyDBClusterDescriptionWithCallback ¶
func (client *Client) ModifyDBClusterDescriptionWithCallback(request *ModifyDBClusterDescriptionRequest, callback func(response *ModifyDBClusterDescriptionResponse, err error)) <-chan int
ModifyDBClusterDescriptionWithCallback invokes the polardb.ModifyDBClusterDescription API asynchronously api document: https://help.aliyun.com/api/polardb/modifydbclusterdescription.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ModifyDBClusterDescriptionWithChan ¶
func (client *Client) ModifyDBClusterDescriptionWithChan(request *ModifyDBClusterDescriptionRequest) (<-chan *ModifyDBClusterDescriptionResponse, <-chan error)
ModifyDBClusterDescriptionWithChan invokes the polardb.ModifyDBClusterDescription API asynchronously api document: https://help.aliyun.com/api/polardb/modifydbclusterdescription.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ModifyDBClusterMaintainTime ¶
func (client *Client) ModifyDBClusterMaintainTime(request *ModifyDBClusterMaintainTimeRequest) (response *ModifyDBClusterMaintainTimeResponse, err error)
ModifyDBClusterMaintainTime invokes the polardb.ModifyDBClusterMaintainTime API synchronously api document: https://help.aliyun.com/api/polardb/modifydbclustermaintaintime.html
func (*Client) ModifyDBClusterMaintainTimeWithCallback ¶
func (client *Client) ModifyDBClusterMaintainTimeWithCallback(request *ModifyDBClusterMaintainTimeRequest, callback func(response *ModifyDBClusterMaintainTimeResponse, err error)) <-chan int
ModifyDBClusterMaintainTimeWithCallback invokes the polardb.ModifyDBClusterMaintainTime API asynchronously api document: https://help.aliyun.com/api/polardb/modifydbclustermaintaintime.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ModifyDBClusterMaintainTimeWithChan ¶
func (client *Client) ModifyDBClusterMaintainTimeWithChan(request *ModifyDBClusterMaintainTimeRequest) (<-chan *ModifyDBClusterMaintainTimeResponse, <-chan error)
ModifyDBClusterMaintainTimeWithChan invokes the polardb.ModifyDBClusterMaintainTime API asynchronously api document: https://help.aliyun.com/api/polardb/modifydbclustermaintaintime.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ModifySQLExplorerPolicy ¶
func (client *Client) ModifySQLExplorerPolicy(request *ModifySQLExplorerPolicyRequest) (response *ModifySQLExplorerPolicyResponse, err error)
ModifySQLExplorerPolicy invokes the polardb.ModifySQLExplorerPolicy API synchronously api document: https://help.aliyun.com/api/polardb/modifysqlexplorerpolicy.html
func (*Client) ModifySQLExplorerPolicyWithCallback ¶
func (client *Client) ModifySQLExplorerPolicyWithCallback(request *ModifySQLExplorerPolicyRequest, callback func(response *ModifySQLExplorerPolicyResponse, err error)) <-chan int
ModifySQLExplorerPolicyWithCallback invokes the polardb.ModifySQLExplorerPolicy API asynchronously api document: https://help.aliyun.com/api/polardb/modifysqlexplorerpolicy.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ModifySQLExplorerPolicyWithChan ¶
func (client *Client) ModifySQLExplorerPolicyWithChan(request *ModifySQLExplorerPolicyRequest) (<-chan *ModifySQLExplorerPolicyResponse, <-chan error)
ModifySQLExplorerPolicyWithChan invokes the polardb.ModifySQLExplorerPolicy API asynchronously api document: https://help.aliyun.com/api/polardb/modifysqlexplorerpolicy.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ResetAccount ¶
func (client *Client) ResetAccount(request *ResetAccountRequest) (response *ResetAccountResponse, err error)
ResetAccount invokes the polardb.ResetAccount API synchronously api document: https://help.aliyun.com/api/polardb/resetaccount.html
func (*Client) ResetAccountPassword ¶
func (client *Client) ResetAccountPassword(request *ResetAccountPasswordRequest) (response *ResetAccountPasswordResponse, err error)
ResetAccountPassword invokes the polardb.ResetAccountPassword API synchronously api document: https://help.aliyun.com/api/polardb/resetaccountpassword.html
func (*Client) ResetAccountPasswordWithCallback ¶
func (client *Client) ResetAccountPasswordWithCallback(request *ResetAccountPasswordRequest, callback func(response *ResetAccountPasswordResponse, err error)) <-chan int
ResetAccountPasswordWithCallback invokes the polardb.ResetAccountPassword API asynchronously api document: https://help.aliyun.com/api/polardb/resetaccountpassword.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ResetAccountPasswordWithChan ¶
func (client *Client) ResetAccountPasswordWithChan(request *ResetAccountPasswordRequest) (<-chan *ResetAccountPasswordResponse, <-chan error)
ResetAccountPasswordWithChan invokes the polardb.ResetAccountPassword API asynchronously api document: https://help.aliyun.com/api/polardb/resetaccountpassword.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ResetAccountWithCallback ¶
func (client *Client) ResetAccountWithCallback(request *ResetAccountRequest, callback func(response *ResetAccountResponse, err error)) <-chan int
ResetAccountWithCallback invokes the polardb.ResetAccount API asynchronously api document: https://help.aliyun.com/api/polardb/resetaccount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ResetAccountWithChan ¶
func (client *Client) ResetAccountWithChan(request *ResetAccountRequest) (<-chan *ResetAccountResponse, <-chan error)
ResetAccountWithChan invokes the polardb.ResetAccount API asynchronously api document: https://help.aliyun.com/api/polardb/resetaccount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) RestartDBNode ¶
func (client *Client) RestartDBNode(request *RestartDBNodeRequest) (response *RestartDBNodeResponse, err error)
RestartDBNode invokes the polardb.RestartDBNode API synchronously api document: https://help.aliyun.com/api/polardb/restartdbnode.html
func (*Client) RestartDBNodeWithCallback ¶
func (client *Client) RestartDBNodeWithCallback(request *RestartDBNodeRequest, callback func(response *RestartDBNodeResponse, err error)) <-chan int
RestartDBNodeWithCallback invokes the polardb.RestartDBNode API asynchronously api document: https://help.aliyun.com/api/polardb/restartdbnode.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) RestartDBNodeWithChan ¶
func (client *Client) RestartDBNodeWithChan(request *RestartDBNodeRequest) (<-chan *RestartDBNodeResponse, <-chan error)
RestartDBNodeWithChan invokes the polardb.RestartDBNode API asynchronously api document: https://help.aliyun.com/api/polardb/restartdbnode.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) RevokeAccountPrivilege ¶
func (client *Client) RevokeAccountPrivilege(request *RevokeAccountPrivilegeRequest) (response *RevokeAccountPrivilegeResponse, err error)
RevokeAccountPrivilege invokes the polardb.RevokeAccountPrivilege API synchronously api document: https://help.aliyun.com/api/polardb/revokeaccountprivilege.html
func (*Client) RevokeAccountPrivilegeWithCallback ¶
func (client *Client) RevokeAccountPrivilegeWithCallback(request *RevokeAccountPrivilegeRequest, callback func(response *RevokeAccountPrivilegeResponse, err error)) <-chan int
RevokeAccountPrivilegeWithCallback invokes the polardb.RevokeAccountPrivilege API asynchronously api document: https://help.aliyun.com/api/polardb/revokeaccountprivilege.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) RevokeAccountPrivilegeWithChan ¶
func (client *Client) RevokeAccountPrivilegeWithChan(request *RevokeAccountPrivilegeRequest) (<-chan *RevokeAccountPrivilegeResponse, <-chan error)
RevokeAccountPrivilegeWithChan invokes the polardb.RevokeAccountPrivilege API asynchronously api document: https://help.aliyun.com/api/polardb/revokeaccountprivilege.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
type CreateAccountRequest ¶
type CreateAccountRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` DBClusterId string `position:"Query" name:"DBClusterId"` OwnerAccount string `position:"Query" name:"OwnerAccount"` AccountType string `position:"Query" name:"AccountType"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` AccountDescription string `position:"Query" name:"AccountDescription"` AccountPrivilege string `position:"Query" name:"AccountPrivilege"` AccountPassword string `position:"Query" name:"AccountPassword"` AccountName string `position:"Query" name:"AccountName"` DBName string `position:"Query" name:"DBName"` }
CreateAccountRequest is the request struct for api CreateAccount
func CreateCreateAccountRequest ¶
func CreateCreateAccountRequest() (request *CreateAccountRequest)
CreateCreateAccountRequest creates a request to invoke CreateAccount API
type CreateAccountResponse ¶
type CreateAccountResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
CreateAccountResponse is the response struct for api CreateAccount
func CreateCreateAccountResponse ¶
func CreateCreateAccountResponse() (response *CreateAccountResponse)
CreateCreateAccountResponse creates a response to parse from CreateAccount response
type CreateBackupRequest ¶
type CreateBackupRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` DBClusterId string `position:"Query" name:"DBClusterId"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
CreateBackupRequest is the request struct for api CreateBackup
func CreateCreateBackupRequest ¶
func CreateCreateBackupRequest() (request *CreateBackupRequest)
CreateCreateBackupRequest creates a request to invoke CreateBackup API
type CreateBackupResponse ¶
type CreateBackupResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
CreateBackupResponse is the response struct for api CreateBackup
func CreateCreateBackupResponse ¶
func CreateCreateBackupResponse() (response *CreateBackupResponse)
CreateCreateBackupResponse creates a response to parse from CreateBackup response
type CreateDatabaseRequest ¶
type CreateDatabaseRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` DBName string `position:"Query" name:"DBName"` AccountName string `position:"Query" name:"AccountName"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` DBClusterId string `position:"Query" name:"DBClusterId"` OwnerAccount string `position:"Query" name:"OwnerAccount"` DBDescription string `position:"Query" name:"DBDescription"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` CharacterSetName string `position:"Query" name:"CharacterSetName"` AccountPrivilege string `position:"Query" name:"AccountPrivilege"` }
CreateDatabaseRequest is the request struct for api CreateDatabase
func CreateCreateDatabaseRequest ¶
func CreateCreateDatabaseRequest() (request *CreateDatabaseRequest)
CreateCreateDatabaseRequest creates a request to invoke CreateDatabase API
type CreateDatabaseResponse ¶
type CreateDatabaseResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
CreateDatabaseResponse is the response struct for api CreateDatabase
func CreateCreateDatabaseResponse ¶
func CreateCreateDatabaseResponse() (response *CreateDatabaseResponse)
CreateCreateDatabaseResponse creates a response to parse from CreateDatabase response
type DBCluster ¶
type DBCluster struct { DBClusterId string `json:"DBClusterId" xml:"DBClusterId"` DBClusterDescription string `json:"DBClusterDescription" xml:"DBClusterDescription"` PayType string `json:"PayType" xml:"PayType"` DBClusterNetworkType string `json:"DBClusterNetworkType" xml:"DBClusterNetworkType"` RegionId string `json:"RegionId" xml:"RegionId"` ExpireTime string `json:"ExpireTime" xml:"ExpireTime"` DBClusterStatus string `json:"DBClusterStatus" xml:"DBClusterStatus"` Engine string `json:"Engine" xml:"Engine"` DBType string `json:"DBType" xml:"DBType"` DBVersion string `json:"DBVersion" xml:"DBVersion"` LockMode string `json:"LockMode" xml:"LockMode"` LockReason string `json:"LockReason" xml:"LockReason"` CreateTime string `json:"CreateTime" xml:"CreateTime"` VpcId string `json:"VpcId" xml:"VpcId"` DBNodeNumber string `json:"DBNodeNumber" xml:"DBNodeNumber"` DBNodeClass string `json:"DBNodeClass" xml:"DBNodeClass"` StorageUsed string `json:"StorageUsed" xml:"StorageUsed"` DBNodes DBNodes `json:"DBNodes" xml:"DBNodes"` }
DBCluster is a nested struct in polardb response
type DBClusterAttribute ¶
type DBClusterAttribute struct { RegionId string `json:"RegionId" xml:"RegionId"` DBClusterNetworkType string `json:"DBClusterNetworkType" xml:"DBClusterNetworkType"` VPCId string `json:"VPCId" xml:"VPCId"` VSwitchId string `json:"VSwitchId" xml:"VSwitchId"` PayType string `json:"PayType" xml:"PayType"` DBClusterId string `json:"DBClusterId" xml:"DBClusterId"` DBClusterStatus string `json:"DBClusterStatus" xml:"DBClusterStatus"` DBClusterDescription string `json:"DBClusterDescription" xml:"DBClusterDescription"` Engine string `json:"Engine" xml:"Engine"` DBType string `json:"DBType" xml:"DBType"` DBVersion string `json:"DBVersion" xml:"DBVersion"` DBClusterStorage int `json:"DBClusterStorage" xml:"DBClusterStorage"` ConnectionString int `json:"ConnectionString" xml:"ConnectionString"` Port int `json:"Port" xml:"Port"` DBClusterNetType string `json:"DBClusterNetType" xml:"DBClusterNetType"` LockMode string `json:"LockMode" xml:"LockMode"` LockReason string `json:"LockReason" xml:"LockReason"` CreationTime string `json:"CreationTime" xml:"CreationTime"` ExpireTime string `json:"ExpireTime" xml:"ExpireTime"` IsLatestVersion bool `json:"IsLatestVersion" xml:"IsLatestVersion"` DbInstances DbInstances `json:"DbInstances" xml:"DbInstances"` }
DBClusterAttribute is a nested struct in polardb response
type DBInstanceAccount ¶
type DBInstanceAccount struct { DBClusterId string `json:"DBClusterId" xml:"DBClusterId"` AccountName string `json:"AccountName" xml:"AccountName"` AccountStatus string `json:"AccountStatus" xml:"AccountStatus"` AccountDescription string `json:"AccountDescription" xml:"AccountDescription"` AccountType string `json:"AccountType" xml:"AccountType"` PrivExceeded string `json:"PrivExceeded" xml:"PrivExceeded"` DatabasePrivileges DatabasePrivileges `json:"DatabasePrivileges" xml:"DatabasePrivileges"` }
DBInstanceAccount is a nested struct in polardb response
type DBNode ¶
type DBNode struct { DBNodeId string `json:"DBNodeId" xml:"DBNodeId"` DBNodeClass string `json:"DBNodeClass" xml:"DBNodeClass"` }
DBNode is a nested struct in polardb response
type DBNodes ¶
type DBNodes struct {
DBNode []DBNode `json:"DBNode" xml:"DBNode"`
}
DBNodes is a nested struct in polardb response
type Database ¶
type Database struct { DBClusterId string `json:"DBClusterId" xml:"DBClusterId"` DBName string `json:"DBName" xml:"DBName"` DBStatus string `json:"DBStatus" xml:"DBStatus"` DBDescription string `json:"DBDescription" xml:"DBDescription"` CharacterSetName string `json:"CharacterSetName" xml:"CharacterSetName"` Engine string `json:"Engine" xml:"Engine"` Accounts AccountsInDescribeDatabases `json:"Accounts" xml:"Accounts"` }
Database is a nested struct in polardb response
type DatabasePrivilege ¶
type DatabasePrivilege struct { DBName string `json:"DBName" xml:"DBName"` AccountPrivilege string `json:"AccountPrivilege" xml:"AccountPrivilege"` AccountPrivilegeDetail string `json:"AccountPrivilegeDetail" xml:"AccountPrivilegeDetail"` }
DatabasePrivilege is a nested struct in polardb response
type DatabasePrivileges ¶
type DatabasePrivileges struct {
DatabasePrivilege []DatabasePrivilege `json:"DatabasePrivilege" xml:"DatabasePrivilege"`
}
DatabasePrivileges is a nested struct in polardb response
type Databases ¶
type Databases struct {
Database []Database `json:"Database" xml:"Database"`
}
Databases is a nested struct in polardb response
type DbInstance ¶
type DbInstance struct { DBInstanceId string `json:"DBInstanceId" xml:"DBInstanceId"` DBInstanceStatus string `json:"DBInstanceStatus" xml:"DBInstanceStatus"` DBInstanceDescription string `json:"DBInstanceDescription" xml:"DBInstanceDescription"` Engine string `json:"Engine" xml:"Engine"` DBType string `json:"DBType" xml:"DBType"` DBVersion string `json:"DBVersion" xml:"DBVersion"` DBInstanceStorage string `json:"DBInstanceStorage" xml:"DBInstanceStorage"` LockMode string `json:"LockMode" xml:"LockMode"` LockReason string `json:"LockReason" xml:"LockReason"` MaintainStartTime string `json:"MaintainStartTime" xml:"MaintainStartTime"` MaintainEndTime string `json:"MaintainEndTime" xml:"MaintainEndTime"` CreationTime string `json:"CreationTime" xml:"CreationTime"` DBInstanceClass string `json:"DBInstanceClass" xml:"DBInstanceClass"` SecurityIPList string `json:"SecurityIPList" xml:"SecurityIPList"` CurrentMinorVersion string `json:"CurrentMinorVersion" xml:"CurrentMinorVersion"` LatestMinorVersion string `json:"LatestMinorVersion" xml:"LatestMinorVersion"` DBInstanceType string `json:"DBInstanceType" xml:"DBInstanceType"` }
DbInstance is a nested struct in polardb response
type DbInstances ¶
type DbInstances struct {
DbInstance []DbInstance `json:"DbInstance" xml:"DbInstance"`
}
DbInstances is a nested struct in polardb response
type DeleteAccountRequest ¶
type DeleteAccountRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` AccountName string `position:"Query" name:"AccountName"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` DBClusterId string `position:"Query" name:"DBClusterId"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
DeleteAccountRequest is the request struct for api DeleteAccount
func CreateDeleteAccountRequest ¶
func CreateDeleteAccountRequest() (request *DeleteAccountRequest)
CreateDeleteAccountRequest creates a request to invoke DeleteAccount API
type DeleteAccountResponse ¶
type DeleteAccountResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteAccountResponse is the response struct for api DeleteAccount
func CreateDeleteAccountResponse ¶
func CreateDeleteAccountResponse() (response *DeleteAccountResponse)
CreateDeleteAccountResponse creates a response to parse from DeleteAccount response
type DeleteBackupRequest ¶
type DeleteBackupRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` DBClusterId string `position:"Query" name:"DBClusterId"` OwnerAccount string `position:"Query" name:"OwnerAccount"` BackupId string `position:"Query" name:"BackupId"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
DeleteBackupRequest is the request struct for api DeleteBackup
func CreateDeleteBackupRequest ¶
func CreateDeleteBackupRequest() (request *DeleteBackupRequest)
CreateDeleteBackupRequest creates a request to invoke DeleteBackup API
type DeleteBackupResponse ¶
type DeleteBackupResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteBackupResponse is the response struct for api DeleteBackup
func CreateDeleteBackupResponse ¶
func CreateDeleteBackupResponse() (response *DeleteBackupResponse)
CreateDeleteBackupResponse creates a response to parse from DeleteBackup response
type DeleteDBClusterRequest ¶
type DeleteDBClusterRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` ClientToken string `position:"Query" name:"ClientToken"` DBClusterId string `position:"Query" name:"DBClusterId"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
DeleteDBClusterRequest is the request struct for api DeleteDBCluster
func CreateDeleteDBClusterRequest ¶
func CreateDeleteDBClusterRequest() (request *DeleteDBClusterRequest)
CreateDeleteDBClusterRequest creates a request to invoke DeleteDBCluster API
type DeleteDBClusterResponse ¶
type DeleteDBClusterResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteDBClusterResponse is the response struct for api DeleteDBCluster
func CreateDeleteDBClusterResponse ¶
func CreateDeleteDBClusterResponse() (response *DeleteDBClusterResponse)
CreateDeleteDBClusterResponse creates a response to parse from DeleteDBCluster response
type DeleteDatabaseRequest ¶
type DeleteDatabaseRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` DBName string `position:"Query" name:"DBName"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` DBClusterId string `position:"Query" name:"DBClusterId"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
DeleteDatabaseRequest is the request struct for api DeleteDatabase
func CreateDeleteDatabaseRequest ¶
func CreateDeleteDatabaseRequest() (request *DeleteDatabaseRequest)
CreateDeleteDatabaseRequest creates a request to invoke DeleteDatabase API
type DeleteDatabaseResponse ¶
type DeleteDatabaseResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteDatabaseResponse is the response struct for api DeleteDatabase
func CreateDeleteDatabaseResponse ¶
func CreateDeleteDatabaseResponse() (response *DeleteDatabaseResponse)
CreateDeleteDatabaseResponse creates a response to parse from DeleteDatabase response
type DescribeAccountsRequest ¶
type DescribeAccountsRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` AccountName string `position:"Query" name:"AccountName"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` DBClusterId string `position:"Query" name:"DBClusterId"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
DescribeAccountsRequest is the request struct for api DescribeAccounts
func CreateDescribeAccountsRequest ¶
func CreateDescribeAccountsRequest() (request *DescribeAccountsRequest)
CreateDescribeAccountsRequest creates a request to invoke DescribeAccounts API
type DescribeAccountsResponse ¶
type DescribeAccountsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Accounts AccountsInDescribeAccounts `json:"Accounts" xml:"Accounts"` }
DescribeAccountsResponse is the response struct for api DescribeAccounts
func CreateDescribeAccountsResponse ¶
func CreateDescribeAccountsResponse() (response *DescribeAccountsResponse)
CreateDescribeAccountsResponse creates a response to parse from DescribeAccounts response
type DescribeBackupPolicyRequest ¶
type DescribeBackupPolicyRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` DBClusterId string `position:"Query" name:"DBClusterId"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
DescribeBackupPolicyRequest is the request struct for api DescribeBackupPolicy
func CreateDescribeBackupPolicyRequest ¶
func CreateDescribeBackupPolicyRequest() (request *DescribeBackupPolicyRequest)
CreateDescribeBackupPolicyRequest creates a request to invoke DescribeBackupPolicy API
type DescribeBackupPolicyResponse ¶
type DescribeBackupPolicyResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` BackupRetentionPeriod int `json:"BackupRetentionPeriod" xml:"BackupRetentionPeriod"` PreferredNextBackupTime string `json:"PreferredNextBackupTime" xml:"PreferredNextBackupTime"` PreferredBackupTime string `json:"PreferredBackupTime" xml:"PreferredBackupTime"` PreferredBackupPeriod string `json:"PreferredBackupPeriod" xml:"PreferredBackupPeriod"` }
DescribeBackupPolicyResponse is the response struct for api DescribeBackupPolicy
func CreateDescribeBackupPolicyResponse ¶
func CreateDescribeBackupPolicyResponse() (response *DescribeBackupPolicyResponse)
CreateDescribeBackupPolicyResponse creates a response to parse from DescribeBackupPolicy response
type DescribeBackupsRequest ¶
type DescribeBackupsRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` DBClusterId string `position:"Query" name:"DBClusterId"` OwnerAccount string `position:"Query" name:"OwnerAccount"` BackupId string `position:"Query" name:"BackupId"` EndTime string `position:"Query" name:"EndTime"` StartTime string `position:"Query" name:"StartTime"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` PageNumber requests.Integer `position:"Query" name:"PageNumber"` BackupStatus string `position:"Query" name:"BackupStatus"` PageSize requests.Integer `position:"Query" name:"PageSize"` BackupMode string `position:"Query" name:"BackupMode"` }
DescribeBackupsRequest is the request struct for api DescribeBackups
func CreateDescribeBackupsRequest ¶
func CreateDescribeBackupsRequest() (request *DescribeBackupsRequest)
CreateDescribeBackupsRequest creates a request to invoke DescribeBackups API
type DescribeBackupsResponse ¶
type DescribeBackupsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TotalRecordCount string `json:"TotalRecordCount" xml:"TotalRecordCount"` PageNumber string `json:"PageNumber" xml:"PageNumber"` PageRecordCount string `json:"PageRecordCount" xml:"PageRecordCount"` Items ItemsInDescribeBackups `json:"Items" xml:"Items"` }
DescribeBackupsResponse is the response struct for api DescribeBackups
func CreateDescribeBackupsResponse ¶
func CreateDescribeBackupsResponse() (response *DescribeBackupsResponse)
CreateDescribeBackupsResponse creates a response to parse from DescribeBackups response
type DescribeDBClusterAttributeRequest ¶
type DescribeDBClusterAttributeRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` DBClusterId string `position:"Query" name:"DBClusterId"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
DescribeDBClusterAttributeRequest is the request struct for api DescribeDBClusterAttribute
func CreateDescribeDBClusterAttributeRequest ¶
func CreateDescribeDBClusterAttributeRequest() (request *DescribeDBClusterAttributeRequest)
CreateDescribeDBClusterAttributeRequest creates a request to invoke DescribeDBClusterAttribute API
type DescribeDBClusterAttributeResponse ¶
type DescribeDBClusterAttributeResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Items ItemsInDescribeDBClusterAttribute `json:"Items" xml:"Items"` }
DescribeDBClusterAttributeResponse is the response struct for api DescribeDBClusterAttribute
func CreateDescribeDBClusterAttributeResponse ¶
func CreateDescribeDBClusterAttributeResponse() (response *DescribeDBClusterAttributeResponse)
CreateDescribeDBClusterAttributeResponse creates a response to parse from DescribeDBClusterAttribute response
type DescribeDBClustersRequest ¶
type DescribeDBClustersRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` DBClusterDescription string `position:"Query" name:"DBClusterDescription"` DBClusterStatus string `position:"Query" name:"DBClusterStatus"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` PageNumber requests.Integer `position:"Query" name:"PageNumber"` DBType string `position:"Query" name:"DBType"` PageSize requests.Integer `position:"Query" name:"PageSize"` DBClusterIds string `position:"Query" name:"DBClusterIds"` }
DescribeDBClustersRequest is the request struct for api DescribeDBClusters
func CreateDescribeDBClustersRequest ¶
func CreateDescribeDBClustersRequest() (request *DescribeDBClustersRequest)
CreateDescribeDBClustersRequest creates a request to invoke DescribeDBClusters API
type DescribeDBClustersResponse ¶
type DescribeDBClustersResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` PageNumber int `json:"PageNumber" xml:"PageNumber"` TotalRecordCount int `json:"TotalRecordCount" xml:"TotalRecordCount"` PageRecordCount int `json:"PageRecordCount" xml:"PageRecordCount"` Items ItemsInDescribeDBClusters `json:"Items" xml:"Items"` }
DescribeDBClustersResponse is the response struct for api DescribeDBClusters
func CreateDescribeDBClustersResponse ¶
func CreateDescribeDBClustersResponse() (response *DescribeDBClustersResponse)
CreateDescribeDBClustersResponse creates a response to parse from DescribeDBClusters response
type DescribeDBNodePerformanceRequest ¶
type DescribeDBNodePerformanceRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` DBNodeId string `position:"Query" name:"DBNodeId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerAccount string `position:"Query" name:"OwnerAccount"` EndTime string `position:"Query" name:"EndTime"` StartTime string `position:"Query" name:"StartTime"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` Key string `position:"Query" name:"Key"` }
DescribeDBNodePerformanceRequest is the request struct for api DescribeDBNodePerformance
func CreateDescribeDBNodePerformanceRequest ¶
func CreateDescribeDBNodePerformanceRequest() (request *DescribeDBNodePerformanceRequest)
CreateDescribeDBNodePerformanceRequest creates a request to invoke DescribeDBNodePerformance API
type DescribeDBNodePerformanceResponse ¶
type DescribeDBNodePerformanceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` DBNodeId string `json:"DBNodeId" xml:"DBNodeId"` Engine string `json:"Engine" xml:"Engine"` DBType string `json:"DBType" xml:"DBType"` DBVersion string `json:"DBVersion" xml:"DBVersion"` StartTime string `json:"StartTime" xml:"StartTime"` EndTime string `json:"EndTime" xml:"EndTime"` PerformanceKeys PerformanceKeys `json:"PerformanceKeys" xml:"PerformanceKeys"` }
DescribeDBNodePerformanceResponse is the response struct for api DescribeDBNodePerformance
func CreateDescribeDBNodePerformanceResponse ¶
func CreateDescribeDBNodePerformanceResponse() (response *DescribeDBNodePerformanceResponse)
CreateDescribeDBNodePerformanceResponse creates a response to parse from DescribeDBNodePerformance response
type DescribeDatabasesRequest ¶
type DescribeDatabasesRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` DBName string `position:"Query" name:"DBName"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` DBClusterId string `position:"Query" name:"DBClusterId"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
DescribeDatabasesRequest is the request struct for api DescribeDatabases
func CreateDescribeDatabasesRequest ¶
func CreateDescribeDatabasesRequest() (request *DescribeDatabasesRequest)
CreateDescribeDatabasesRequest creates a request to invoke DescribeDatabases API
type DescribeDatabasesResponse ¶
type DescribeDatabasesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Databases Databases `json:"Databases" xml:"Databases"` }
DescribeDatabasesResponse is the response struct for api DescribeDatabases
func CreateDescribeDatabasesResponse ¶
func CreateDescribeDatabasesResponse() (response *DescribeDatabasesResponse)
CreateDescribeDatabasesResponse creates a response to parse from DescribeDatabases response
type DescribeErrorLogsRequest ¶
type DescribeErrorLogsRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` DBNodeId string `position:"Query" name:"DBNodeId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerAccount string `position:"Query" name:"OwnerAccount"` PageSize requests.Integer `position:"Query" name:"PageSize"` EndTime string `position:"Query" name:"EndTime"` DBInstanceId string `position:"Query" name:"DBInstanceId"` StartTime string `position:"Query" name:"StartTime"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` PageNumber requests.Integer `position:"Query" name:"PageNumber"` }
DescribeErrorLogsRequest is the request struct for api DescribeErrorLogs
func CreateDescribeErrorLogsRequest ¶
func CreateDescribeErrorLogsRequest() (request *DescribeErrorLogsRequest)
CreateDescribeErrorLogsRequest creates a request to invoke DescribeErrorLogs API
type DescribeErrorLogsResponse ¶
type DescribeErrorLogsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TotalRecordCount int `json:"TotalRecordCount" xml:"TotalRecordCount"` PageNumber int `json:"PageNumber" xml:"PageNumber"` PageRecordCount int `json:"PageRecordCount" xml:"PageRecordCount"` Items ItemsInDescribeErrorLogs `json:"Items" xml:"Items"` }
DescribeErrorLogsResponse is the response struct for api DescribeErrorLogs
func CreateDescribeErrorLogsResponse ¶
func CreateDescribeErrorLogsResponse() (response *DescribeErrorLogsResponse)
CreateDescribeErrorLogsResponse creates a response to parse from DescribeErrorLogs response
type DescribeRegionsRequest ¶
type DescribeRegionsRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
DescribeRegionsRequest is the request struct for api DescribeRegions
func CreateDescribeRegionsRequest ¶
func CreateDescribeRegionsRequest() (request *DescribeRegionsRequest)
CreateDescribeRegionsRequest creates a request to invoke DescribeRegions API
type DescribeRegionsResponse ¶
type DescribeRegionsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Regions Regions `json:"Regions" xml:"Regions"` }
DescribeRegionsResponse is the response struct for api DescribeRegions
func CreateDescribeRegionsResponse ¶
func CreateDescribeRegionsResponse() (response *DescribeRegionsResponse)
CreateDescribeRegionsResponse creates a response to parse from DescribeRegions response
type DescribeSQLExplorerPolicyRequest ¶
type DescribeSQLExplorerPolicyRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` DBNodeId string `position:"Query" name:"DBNodeId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerAccount string `position:"Query" name:"OwnerAccount"` DBInstanceId string `position:"Query" name:"DBInstanceId"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
DescribeSQLExplorerPolicyRequest is the request struct for api DescribeSQLExplorerPolicy
func CreateDescribeSQLExplorerPolicyRequest ¶
func CreateDescribeSQLExplorerPolicyRequest() (request *DescribeSQLExplorerPolicyRequest)
CreateDescribeSQLExplorerPolicyRequest creates a request to invoke DescribeSQLExplorerPolicy API
type DescribeSQLExplorerPolicyResponse ¶
type DescribeSQLExplorerPolicyResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` SQLCollectorStatus string `json:"SQLCollectorStatus" xml:"SQLCollectorStatus"` }
DescribeSQLExplorerPolicyResponse is the response struct for api DescribeSQLExplorerPolicy
func CreateDescribeSQLExplorerPolicyResponse ¶
func CreateDescribeSQLExplorerPolicyResponse() (response *DescribeSQLExplorerPolicyResponse)
CreateDescribeSQLExplorerPolicyResponse creates a response to parse from DescribeSQLExplorerPolicy response
type DescribeSlowLogRecordsRequest ¶
type DescribeSlowLogRecordsRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` DBNodeId string `position:"Query" name:"DBNodeId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerAccount string `position:"Query" name:"OwnerAccount"` PageSize requests.Integer `position:"Query" name:"PageSize"` EndTime string `position:"Query" name:"EndTime"` DBInstanceId string `position:"Query" name:"DBInstanceId"` StartTime string `position:"Query" name:"StartTime"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` PageNumber requests.Integer `position:"Query" name:"PageNumber"` }
DescribeSlowLogRecordsRequest is the request struct for api DescribeSlowLogRecords
func CreateDescribeSlowLogRecordsRequest ¶
func CreateDescribeSlowLogRecordsRequest() (request *DescribeSlowLogRecordsRequest)
CreateDescribeSlowLogRecordsRequest creates a request to invoke DescribeSlowLogRecords API
type DescribeSlowLogRecordsResponse ¶
type DescribeSlowLogRecordsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Engine string `json:"Engine" xml:"Engine"` TotalRecordCount int `json:"TotalRecordCount" xml:"TotalRecordCount"` PageNumber int `json:"PageNumber" xml:"PageNumber"` PageRecordCount int `json:"PageRecordCount" xml:"PageRecordCount"` Items ItemsInDescribeSlowLogRecords `json:"Items" xml:"Items"` }
DescribeSlowLogRecordsResponse is the response struct for api DescribeSlowLogRecords
func CreateDescribeSlowLogRecordsResponse ¶
func CreateDescribeSlowLogRecordsResponse() (response *DescribeSlowLogRecordsResponse)
CreateDescribeSlowLogRecordsResponse creates a response to parse from DescribeSlowLogRecords response
type DescribeSlowLogsRequest ¶
type DescribeSlowLogsRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` DBNodeId string `position:"Query" name:"DBNodeId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerAccount string `position:"Query" name:"OwnerAccount"` PageSize requests.Integer `position:"Query" name:"PageSize"` EndTime string `position:"Query" name:"EndTime"` DBInstanceId string `position:"Query" name:"DBInstanceId"` StartTime string `position:"Query" name:"StartTime"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` PageNumber requests.Integer `position:"Query" name:"PageNumber"` }
DescribeSlowLogsRequest is the request struct for api DescribeSlowLogs
func CreateDescribeSlowLogsRequest ¶
func CreateDescribeSlowLogsRequest() (request *DescribeSlowLogsRequest)
CreateDescribeSlowLogsRequest creates a request to invoke DescribeSlowLogs API
type DescribeSlowLogsResponse ¶
type DescribeSlowLogsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Engine string `json:"Engine" xml:"Engine"` StartTime string `json:"StartTime" xml:"StartTime"` EndTime string `json:"EndTime" xml:"EndTime"` TotalRecordCount int `json:"TotalRecordCount" xml:"TotalRecordCount"` PageNumber int `json:"PageNumber" xml:"PageNumber"` PageRecordCount int `json:"PageRecordCount" xml:"PageRecordCount"` Items ItemsInDescribeSlowLogs `json:"Items" xml:"Items"` }
DescribeSlowLogsResponse is the response struct for api DescribeSlowLogs
func CreateDescribeSlowLogsResponse ¶
func CreateDescribeSlowLogsResponse() (response *DescribeSlowLogsResponse)
CreateDescribeSlowLogsResponse creates a response to parse from DescribeSlowLogs response
type ErrorLog ¶
type ErrorLog struct { ErrorInfo string `json:"ErrorInfo" xml:"ErrorInfo"` CreateTime string `json:"CreateTime" xml:"CreateTime"` }
ErrorLog is a nested struct in polardb response
type GrantAccountPrivilegeRequest ¶
type GrantAccountPrivilegeRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` AccountName string `position:"Query" name:"AccountName"` DBName string `position:"Query" name:"DBName"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` DBClusterId string `position:"Query" name:"DBClusterId"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` AccountPrivilege string `position:"Query" name:"AccountPrivilege"` }
GrantAccountPrivilegeRequest is the request struct for api GrantAccountPrivilege
func CreateGrantAccountPrivilegeRequest ¶
func CreateGrantAccountPrivilegeRequest() (request *GrantAccountPrivilegeRequest)
CreateGrantAccountPrivilegeRequest creates a request to invoke GrantAccountPrivilege API
type GrantAccountPrivilegeResponse ¶
type GrantAccountPrivilegeResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
GrantAccountPrivilegeResponse is the response struct for api GrantAccountPrivilege
func CreateGrantAccountPrivilegeResponse ¶
func CreateGrantAccountPrivilegeResponse() (response *GrantAccountPrivilegeResponse)
CreateGrantAccountPrivilegeResponse creates a response to parse from GrantAccountPrivilege response
type ItemsInDescribeBackups ¶
type ItemsInDescribeBackups struct {
Backup []Backup `json:"Backup" xml:"Backup"`
}
ItemsInDescribeBackups is a nested struct in polardb response
type ItemsInDescribeDBClusterAttribute ¶
type ItemsInDescribeDBClusterAttribute struct {
DBClusterAttribute []DBClusterAttribute `json:"DBClusterAttribute" xml:"DBClusterAttribute"`
}
ItemsInDescribeDBClusterAttribute is a nested struct in polardb response
type ItemsInDescribeDBClusters ¶
type ItemsInDescribeDBClusters struct {
DBCluster []DBCluster `json:"DBCluster" xml:"DBCluster"`
}
ItemsInDescribeDBClusters is a nested struct in polardb response
type ItemsInDescribeErrorLogs ¶
type ItemsInDescribeErrorLogs struct {
ErrorLog []ErrorLog `json:"ErrorLog" xml:"ErrorLog"`
}
ItemsInDescribeErrorLogs is a nested struct in polardb response
type ItemsInDescribeSlowLogRecords ¶
type ItemsInDescribeSlowLogRecords struct {
SQLSlowRecord []SQLSlowRecord `json:"SQLSlowRecord" xml:"SQLSlowRecord"`
}
ItemsInDescribeSlowLogRecords is a nested struct in polardb response
type ItemsInDescribeSlowLogs ¶
type ItemsInDescribeSlowLogs struct {
SQLSlowLog []SQLSlowLog `json:"SQLSlowLog" xml:"SQLSlowLog"`
}
ItemsInDescribeSlowLogs is a nested struct in polardb response
type ModifyAccountDescriptionRequest ¶
type ModifyAccountDescriptionRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` AccountName string `position:"Query" name:"AccountName"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` DBClusterId string `position:"Query" name:"DBClusterId"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` AccountDescription string `position:"Query" name:"AccountDescription"` }
ModifyAccountDescriptionRequest is the request struct for api ModifyAccountDescription
func CreateModifyAccountDescriptionRequest ¶
func CreateModifyAccountDescriptionRequest() (request *ModifyAccountDescriptionRequest)
CreateModifyAccountDescriptionRequest creates a request to invoke ModifyAccountDescription API
type ModifyAccountDescriptionResponse ¶
type ModifyAccountDescriptionResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ModifyAccountDescriptionResponse is the response struct for api ModifyAccountDescription
func CreateModifyAccountDescriptionResponse ¶
func CreateModifyAccountDescriptionResponse() (response *ModifyAccountDescriptionResponse)
CreateModifyAccountDescriptionResponse creates a response to parse from ModifyAccountDescription response
type ModifyBackupPolicyRequest ¶
type ModifyBackupPolicyRequest struct { *requests.RpcRequest PreferredBackupTime string `position:"Query" name:"PreferredBackupTime"` PreferredBackupPeriod string `position:"Query" name:"PreferredBackupPeriod"` BackupRetentionPeriod string `position:"Query" name:"BackupRetentionPeriod"` ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` DBClusterId string `position:"Query" name:"DBClusterId"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
ModifyBackupPolicyRequest is the request struct for api ModifyBackupPolicy
func CreateModifyBackupPolicyRequest ¶
func CreateModifyBackupPolicyRequest() (request *ModifyBackupPolicyRequest)
CreateModifyBackupPolicyRequest creates a request to invoke ModifyBackupPolicy API
type ModifyBackupPolicyResponse ¶
type ModifyBackupPolicyResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ModifyBackupPolicyResponse is the response struct for api ModifyBackupPolicy
func CreateModifyBackupPolicyResponse ¶
func CreateModifyBackupPolicyResponse() (response *ModifyBackupPolicyResponse)
CreateModifyBackupPolicyResponse creates a response to parse from ModifyBackupPolicy response
type ModifyDBClusterDescriptionRequest ¶
type ModifyDBClusterDescriptionRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` DBClusterDescription string `position:"Query" name:"DBClusterDescription"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` DBClusterId string `position:"Query" name:"DBClusterId"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
ModifyDBClusterDescriptionRequest is the request struct for api ModifyDBClusterDescription
func CreateModifyDBClusterDescriptionRequest ¶
func CreateModifyDBClusterDescriptionRequest() (request *ModifyDBClusterDescriptionRequest)
CreateModifyDBClusterDescriptionRequest creates a request to invoke ModifyDBClusterDescription API
type ModifyDBClusterDescriptionResponse ¶
type ModifyDBClusterDescriptionResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ModifyDBClusterDescriptionResponse is the response struct for api ModifyDBClusterDescription
func CreateModifyDBClusterDescriptionResponse ¶
func CreateModifyDBClusterDescriptionResponse() (response *ModifyDBClusterDescriptionResponse)
CreateModifyDBClusterDescriptionResponse creates a response to parse from ModifyDBClusterDescription response
type ModifyDBClusterMaintainTimeRequest ¶
type ModifyDBClusterMaintainTimeRequest struct { *requests.RpcRequest MaintainTime string `position:"Query" name:"MaintainTime"` ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` DBClusterId string `position:"Query" name:"DBClusterId"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
ModifyDBClusterMaintainTimeRequest is the request struct for api ModifyDBClusterMaintainTime
func CreateModifyDBClusterMaintainTimeRequest ¶
func CreateModifyDBClusterMaintainTimeRequest() (request *ModifyDBClusterMaintainTimeRequest)
CreateModifyDBClusterMaintainTimeRequest creates a request to invoke ModifyDBClusterMaintainTime API
type ModifyDBClusterMaintainTimeResponse ¶
type ModifyDBClusterMaintainTimeResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ModifyDBClusterMaintainTimeResponse is the response struct for api ModifyDBClusterMaintainTime
func CreateModifyDBClusterMaintainTimeResponse ¶
func CreateModifyDBClusterMaintainTimeResponse() (response *ModifyDBClusterMaintainTimeResponse)
CreateModifyDBClusterMaintainTimeResponse creates a response to parse from ModifyDBClusterMaintainTime response
type ModifySQLExplorerPolicyRequest ¶
type ModifySQLExplorerPolicyRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` DBNodeId string `position:"Query" name:"DBNodeId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` SQLCollectorStatus string `position:"Query" name:"SQLCollectorStatus"` OwnerAccount string `position:"Query" name:"OwnerAccount"` DBInstanceId string `position:"Query" name:"DBInstanceId"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
ModifySQLExplorerPolicyRequest is the request struct for api ModifySQLExplorerPolicy
func CreateModifySQLExplorerPolicyRequest ¶
func CreateModifySQLExplorerPolicyRequest() (request *ModifySQLExplorerPolicyRequest)
CreateModifySQLExplorerPolicyRequest creates a request to invoke ModifySQLExplorerPolicy API
type ModifySQLExplorerPolicyResponse ¶
type ModifySQLExplorerPolicyResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ModifySQLExplorerPolicyResponse is the response struct for api ModifySQLExplorerPolicy
func CreateModifySQLExplorerPolicyResponse ¶
func CreateModifySQLExplorerPolicyResponse() (response *ModifySQLExplorerPolicyResponse)
CreateModifySQLExplorerPolicyResponse creates a response to parse from ModifySQLExplorerPolicy response
type PerformanceItem ¶
type PerformanceItem struct { MetricName string `json:"MetricName" xml:"MetricName"` Measurement string `json:"Measurement" xml:"Measurement"` Points Points `json:"Points" xml:"Points"` }
PerformanceItem is a nested struct in polardb response
type PerformanceItemValue ¶
type PerformanceItemValue struct { Value string `json:"Value" xml:"Value"` Timestamp int `json:"Timestamp" xml:"Timestamp"` }
PerformanceItemValue is a nested struct in polardb response
type PerformanceKeys ¶
type PerformanceKeys struct {
PerformanceItem []PerformanceItem `json:"PerformanceItem" xml:"PerformanceItem"`
}
PerformanceKeys is a nested struct in polardb response
type Points ¶
type Points struct {
PerformanceItemValue []PerformanceItemValue `json:"PerformanceItemValue" xml:"PerformanceItemValue"`
}
Points is a nested struct in polardb response
type Region ¶
type Region struct { RegionId string `json:"RegionId" xml:"RegionId"` Zones Zones `json:"Zones" xml:"Zones"` }
Region is a nested struct in polardb response
type Regions ¶
type Regions struct {
Region []Region `json:"Region" xml:"Region"`
}
Regions is a nested struct in polardb response
type ResetAccountPasswordRequest ¶
type ResetAccountPasswordRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` AccountPassword string `position:"Query" name:"AccountPassword"` AccountName string `position:"Query" name:"AccountName"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` DBClusterId string `position:"Query" name:"DBClusterId"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
ResetAccountPasswordRequest is the request struct for api ResetAccountPassword
func CreateResetAccountPasswordRequest ¶
func CreateResetAccountPasswordRequest() (request *ResetAccountPasswordRequest)
CreateResetAccountPasswordRequest creates a request to invoke ResetAccountPassword API
type ResetAccountPasswordResponse ¶
type ResetAccountPasswordResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ResetAccountPasswordResponse is the response struct for api ResetAccountPassword
func CreateResetAccountPasswordResponse ¶
func CreateResetAccountPasswordResponse() (response *ResetAccountPasswordResponse)
CreateResetAccountPasswordResponse creates a response to parse from ResetAccountPassword response
type ResetAccountRequest ¶
type ResetAccountRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` AccountPassword string `position:"Query" name:"AccountPassword"` AccountName string `position:"Query" name:"AccountName"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` DBClusterId string `position:"Query" name:"DBClusterId"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
ResetAccountRequest is the request struct for api ResetAccount
func CreateResetAccountRequest ¶
func CreateResetAccountRequest() (request *ResetAccountRequest)
CreateResetAccountRequest creates a request to invoke ResetAccount API
type ResetAccountResponse ¶
type ResetAccountResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ResetAccountResponse is the response struct for api ResetAccount
func CreateResetAccountResponse ¶
func CreateResetAccountResponse() (response *ResetAccountResponse)
CreateResetAccountResponse creates a response to parse from ResetAccount response
type RestartDBNodeRequest ¶
type RestartDBNodeRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` DBNodeId string `position:"Query" name:"DBNodeId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` ClientToken string `position:"Query" name:"ClientToken"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
RestartDBNodeRequest is the request struct for api RestartDBNode
func CreateRestartDBNodeRequest ¶
func CreateRestartDBNodeRequest() (request *RestartDBNodeRequest)
CreateRestartDBNodeRequest creates a request to invoke RestartDBNode API
type RestartDBNodeResponse ¶
type RestartDBNodeResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
RestartDBNodeResponse is the response struct for api RestartDBNode
func CreateRestartDBNodeResponse ¶
func CreateRestartDBNodeResponse() (response *RestartDBNodeResponse)
CreateRestartDBNodeResponse creates a response to parse from RestartDBNode response
type RevokeAccountPrivilegeRequest ¶
type RevokeAccountPrivilegeRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` AccountName string `position:"Query" name:"AccountName"` DBName string `position:"Query" name:"DBName"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` DBClusterId string `position:"Query" name:"DBClusterId"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
RevokeAccountPrivilegeRequest is the request struct for api RevokeAccountPrivilege
func CreateRevokeAccountPrivilegeRequest ¶
func CreateRevokeAccountPrivilegeRequest() (request *RevokeAccountPrivilegeRequest)
CreateRevokeAccountPrivilegeRequest creates a request to invoke RevokeAccountPrivilege API
type RevokeAccountPrivilegeResponse ¶
type RevokeAccountPrivilegeResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
RevokeAccountPrivilegeResponse is the response struct for api RevokeAccountPrivilege
func CreateRevokeAccountPrivilegeResponse ¶
func CreateRevokeAccountPrivilegeResponse() (response *RevokeAccountPrivilegeResponse)
CreateRevokeAccountPrivilegeResponse creates a response to parse from RevokeAccountPrivilege response
type SQLSlowLog ¶
type SQLSlowLog struct { SlowLogId int `json:"SlowLogId" xml:"SlowLogId"` SQLId int `json:"SQLId" xml:"SQLId"` DBName string `json:"DBName" xml:"DBName"` SQLText string `json:"SQLText" xml:"SQLText"` MySQLTotalExecutionCounts int `json:"MySQLTotalExecutionCounts" xml:"MySQLTotalExecutionCounts"` MySQLTotalExecutionTimes int `json:"MySQLTotalExecutionTimes" xml:"MySQLTotalExecutionTimes"` MaxExecutionTime int `json:"MaxExecutionTime" xml:"MaxExecutionTime"` TotalLockTimes int `json:"TotalLockTimes" xml:"TotalLockTimes"` MaxLockTime int `json:"MaxLockTime" xml:"MaxLockTime"` ParseTotalRowCounts int `json:"ParseTotalRowCounts" xml:"ParseTotalRowCounts"` ParseMaxRowCount int `json:"ParseMaxRowCount" xml:"ParseMaxRowCount"` ReturnTotalRowCounts int `json:"ReturnTotalRowCounts" xml:"ReturnTotalRowCounts"` ReturnMaxRowCount int `json:"ReturnMaxRowCount" xml:"ReturnMaxRowCount"` CreateTime string `json:"CreateTime" xml:"CreateTime"` SQLServerTotalExecutionCounts int `json:"SQLServerTotalExecutionCounts" xml:"SQLServerTotalExecutionCounts"` SQLServerTotalExecutionTimes int `json:"SQLServerTotalExecutionTimes" xml:"SQLServerTotalExecutionTimes"` TotalLogicalReadCounts int `json:"TotalLogicalReadCounts" xml:"TotalLogicalReadCounts"` TotalPhysicalReadCounts int `json:"TotalPhysicalReadCounts" xml:"TotalPhysicalReadCounts"` ReportTime string `json:"ReportTime" xml:"ReportTime"` AvgExecutionTime int `json:"AvgExecutionTime" xml:"AvgExecutionTime"` }
SQLSlowLog is a nested struct in polardb response
type SQLSlowRecord ¶
type SQLSlowRecord struct { HostAddress string `json:"HostAddress" xml:"HostAddress"` DBName string `json:"DBName" xml:"DBName"` SQLText string `json:"SQLText" xml:"SQLText"` QueryTimes int `json:"QueryTimes" xml:"QueryTimes"` LockTimes int `json:"LockTimes" xml:"LockTimes"` ParseRowCounts int `json:"ParseRowCounts" xml:"ParseRowCounts"` ReturnRowCounts int `json:"ReturnRowCounts" xml:"ReturnRowCounts"` ExecutionStartTime string `json:"ExecutionStartTime" xml:"ExecutionStartTime"` }
SQLSlowRecord is a nested struct in polardb response
Source Files ¶
- client.go
- create_account.go
- create_backup.go
- create_database.go
- delete_account.go
- delete_backup.go
- delete_database.go
- delete_db_cluster.go
- describe_accounts.go
- describe_backup_policy.go
- describe_backups.go
- describe_databases.go
- describe_db_cluster_attribute.go
- describe_db_clusters.go
- describe_db_node_performance.go
- describe_error_logs.go
- describe_regions.go
- describe_slow_log_records.go
- describe_slow_logs.go
- describe_sql_explorer_policy.go
- grant_account_privilege.go
- modify_account_description.go
- modify_backup_policy.go
- modify_db_cluster_description.go
- modify_db_cluster_maintain_time.go
- modify_sql_explorer_policy.go
- reset_account.go
- reset_account_password.go
- restart_db_node.go
- revoke_account_privilege.go
- struct_account.go
- struct_accounts_in_describe_accounts.go
- struct_accounts_in_describe_databases.go
- struct_backup.go
- struct_database.go
- struct_database_privilege.go
- struct_database_privileges.go
- struct_databases.go
- struct_db_cluster.go
- struct_db_cluster_attribute.go
- struct_db_instance.go
- struct_db_instance_account.go
- struct_db_instances.go
- struct_db_node.go
- struct_db_nodes.go
- struct_error_log.go
- struct_items_in_describe_backups.go
- struct_items_in_describe_db_cluster_attribute.go
- struct_items_in_describe_db_clusters.go
- struct_items_in_describe_error_logs.go
- struct_items_in_describe_slow_log_records.go
- struct_items_in_describe_slow_logs.go
- struct_performance_item.go
- struct_performance_item_value.go
- struct_performance_keys.go
- struct_points.go
- struct_region.go
- struct_regions.go
- struct_sql_slow_log.go
- struct_sql_slow_record.go
- struct_zone.go
- struct_zones.go