Documentation ¶
Index ¶
- type Account
- type AccountList
- type AllocateInstancePublicConnectionRequest
- type AllocateInstancePublicConnectionResponse
- type AlreadyHasResourceNum
- type Backup
- type BackupItems
- 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) AllocateInstancePublicConnection(request *AllocateInstancePublicConnectionRequest) (response *AllocateInstancePublicConnectionResponse, err error)
- func (client *Client) AllocateInstancePublicConnectionWithCallback(request *AllocateInstancePublicConnectionRequest, ...) <-chan int
- func (client *Client) AllocateInstancePublicConnectionWithChan(request *AllocateInstancePublicConnectionRequest) (<-chan *AllocateInstancePublicConnectionResponse, <-chan error)
- func (client *Client) CreateAccount(request *CreateAccountRequest) (response *CreateAccountResponse, err error)
- func (client *Client) CreateAccountWithCallback(request *CreateAccountRequest, ...) <-chan int
- func (client *Client) CreateAccountWithChan(request *CreateAccountRequest) (<-chan *CreateAccountResponse, <-chan error)
- func (client *Client) CreateDatabase(request *CreateDatabaseRequest) (response *CreateDatabaseResponse, err error)
- func (client *Client) CreateDatabaseBackup(request *CreateDatabaseBackupRequest) (response *CreateDatabaseBackupResponse, err error)
- func (client *Client) CreateDatabaseBackupWithCallback(request *CreateDatabaseBackupRequest, ...) <-chan int
- func (client *Client) CreateDatabaseBackupWithChan(request *CreateDatabaseBackupRequest) (<-chan *CreateDatabaseBackupResponse, <-chan error)
- func (client *Client) CreateDatabaseWithCallback(request *CreateDatabaseRequest, ...) <-chan int
- func (client *Client) CreateDatabaseWithChan(request *CreateDatabaseRequest) (<-chan *CreateDatabaseResponse, <-chan error)
- func (client *Client) CreateInstance(request *CreateInstanceRequest) (response *CreateInstanceResponse, err error)
- func (client *Client) CreateInstanceWithCallback(request *CreateInstanceRequest, ...) <-chan int
- func (client *Client) CreateInstanceWithChan(request *CreateInstanceRequest) (<-chan *CreateInstanceResponse, <-chan error)
- func (client *Client) DeleteAccount(request *DeleteAccountRequest) (response *DeleteAccountResponse, err error)
- func (client *Client) DeleteAccountWithCallback(request *DeleteAccountRequest, ...) <-chan int
- func (client *Client) DeleteAccountWithChan(request *DeleteAccountRequest) (<-chan *DeleteAccountResponse, <-chan error)
- func (client *Client) DeleteDatabase(request *DeleteDatabaseRequest) (response *DeleteDatabaseResponse, err error)
- func (client *Client) DeleteDatabaseWithCallback(request *DeleteDatabaseRequest, ...) <-chan int
- func (client *Client) DeleteDatabaseWithChan(request *DeleteDatabaseRequest) (<-chan *DeleteDatabaseResponse, <-chan error)
- func (client *Client) DeleteInstance(request *DeleteInstanceRequest) (response *DeleteInstanceResponse, err error)
- func (client *Client) DeleteInstanceWithCallback(request *DeleteInstanceRequest, ...) <-chan int
- func (client *Client) DeleteInstanceWithChan(request *DeleteInstanceRequest) (<-chan *DeleteInstanceResponse, <-chan error)
- func (client *Client) DescribeAccounts(request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)
- func (client *Client) DescribeAccountsWithCallback(request *DescribeAccountsRequest, ...) <-chan int
- func (client *Client) DescribeAccountsWithChan(request *DescribeAccountsRequest) (<-chan *DescribeAccountsResponse, <-chan error)
- func (client *Client) DescribeBackupPolicy(request *DescribeBackupPolicyRequest) (response *DescribeBackupPolicyResponse, err error)
- func (client *Client) DescribeBackupPolicyWithCallback(request *DescribeBackupPolicyRequest, ...) <-chan int
- func (client *Client) DescribeBackupPolicyWithChan(request *DescribeBackupPolicyRequest) (<-chan *DescribeBackupPolicyResponse, <-chan error)
- func (client *Client) DescribeDatabaseBackup(request *DescribeDatabaseBackupRequest) (response *DescribeDatabaseBackupResponse, err error)
- func (client *Client) DescribeDatabaseBackupWithCallback(request *DescribeDatabaseBackupRequest, ...) <-chan int
- func (client *Client) DescribeDatabaseBackupWithChan(request *DescribeDatabaseBackupRequest) (<-chan *DescribeDatabaseBackupResponse, <-chan error)
- func (client *Client) DescribeDatabasePartitions(request *DescribeDatabasePartitionsRequest) (response *DescribeDatabasePartitionsResponse, err error)
- func (client *Client) DescribeDatabasePartitionsWithCallback(request *DescribeDatabasePartitionsRequest, ...) <-chan int
- func (client *Client) DescribeDatabasePartitionsWithChan(request *DescribeDatabasePartitionsRequest) (<-chan *DescribeDatabasePartitionsResponse, <-chan error)
- func (client *Client) DescribeDatabasePerformance(request *DescribeDatabasePerformanceRequest) (response *DescribeDatabasePerformanceResponse, err error)
- func (client *Client) DescribeDatabasePerformanceWithCallback(request *DescribeDatabasePerformanceRequest, ...) <-chan int
- func (client *Client) DescribeDatabasePerformanceWithChan(request *DescribeDatabasePerformanceRequest) (<-chan *DescribeDatabasePerformanceResponse, <-chan error)
- func (client *Client) DescribeDatabaseResourceUsage(request *DescribeDatabaseResourceUsageRequest) (response *DescribeDatabaseResourceUsageResponse, err error)
- func (client *Client) DescribeDatabaseResourceUsageWithCallback(request *DescribeDatabaseResourceUsageRequest, ...) <-chan int
- func (client *Client) DescribeDatabaseResourceUsageWithChan(request *DescribeDatabaseResourceUsageRequest) (<-chan *DescribeDatabaseResourceUsageResponse, <-chan error)
- func (client *Client) DescribeDatabases(request *DescribeDatabasesRequest) (response *DescribeDatabasesResponse, err error)
- func (client *Client) DescribeDatabasesWithCallback(request *DescribeDatabasesRequest, ...) <-chan int
- func (client *Client) DescribeDatabasesWithChan(request *DescribeDatabasesRequest) (<-chan *DescribeDatabasesResponse, <-chan error)
- func (client *Client) DescribeInstanceInfo(request *DescribeInstanceInfoRequest) (response *DescribeInstanceInfoResponse, err error)
- func (client *Client) DescribeInstanceInfoWithCallback(request *DescribeInstanceInfoRequest, ...) <-chan int
- func (client *Client) DescribeInstanceInfoWithChan(request *DescribeInstanceInfoRequest) (<-chan *DescribeInstanceInfoResponse, <-chan error)
- func (client *Client) DescribeInstancePerformance(request *DescribeInstancePerformanceRequest) (response *DescribeInstancePerformanceResponse, err error)
- func (client *Client) DescribeInstancePerformanceWithCallback(request *DescribeInstancePerformanceRequest, ...) <-chan int
- func (client *Client) DescribeInstancePerformanceWithChan(request *DescribeInstancePerformanceRequest) (<-chan *DescribeInstancePerformanceResponse, <-chan error)
- func (client *Client) DescribeInstanceResourceUsage(request *DescribeInstanceResourceUsageRequest) (response *DescribeInstanceResourceUsageResponse, err error)
- func (client *Client) DescribeInstanceResourceUsageWithCallback(request *DescribeInstanceResourceUsageRequest, ...) <-chan int
- func (client *Client) DescribeInstanceResourceUsageWithChan(request *DescribeInstanceResourceUsageRequest) (<-chan *DescribeInstanceResourceUsageResponse, <-chan error)
- func (client *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
- func (client *Client) DescribeInstancesWithCallback(request *DescribeInstancesRequest, ...) <-chan int
- func (client *Client) DescribeInstancesWithChan(request *DescribeInstancesRequest) (<-chan *DescribeInstancesResponse, <-chan error)
- func (client *Client) DescribeMonitorItems(request *DescribeMonitorItemsRequest) (response *DescribeMonitorItemsResponse, err error)
- func (client *Client) DescribeMonitorItemsWithCallback(request *DescribeMonitorItemsRequest, ...) <-chan int
- func (client *Client) DescribeMonitorItemsWithChan(request *DescribeMonitorItemsRequest) (<-chan *DescribeMonitorItemsResponse, <-chan error)
- func (client *Client) DescribePrice(request *DescribePriceRequest) (response *DescribePriceResponse, err error)
- func (client *Client) DescribePriceWithCallback(request *DescribePriceRequest, ...) <-chan int
- func (client *Client) DescribePriceWithChan(request *DescribePriceRequest) (<-chan *DescribePriceResponse, <-chan error)
- func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
- func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, ...) <-chan int
- func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error)
- func (client *Client) DescribeSecurityIPs(request *DescribeSecurityIPsRequest) (response *DescribeSecurityIPsResponse, err error)
- func (client *Client) DescribeSecurityIPsWithCallback(request *DescribeSecurityIPsRequest, ...) <-chan int
- func (client *Client) DescribeSecurityIPsWithChan(request *DescribeSecurityIPsRequest) (<-chan *DescribeSecurityIPsResponse, <-chan error)
- func (client *Client) DescribeTaskStatus(request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)
- func (client *Client) DescribeTaskStatusWithCallback(request *DescribeTaskStatusRequest, ...) <-chan int
- func (client *Client) DescribeTaskStatusWithChan(request *DescribeTaskStatusRequest) (<-chan *DescribeTaskStatusResponse, <-chan error)
- func (client *Client) DescribeTasks(request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
- func (client *Client) DescribeTasksWithCallback(request *DescribeTasksRequest, ...) <-chan int
- func (client *Client) DescribeTasksWithChan(request *DescribeTasksRequest) (<-chan *DescribeTasksResponse, <-chan error)
- func (client *Client) DescribeUserInfo(request *DescribeUserInfoRequest) (response *DescribeUserInfoResponse, err error)
- func (client *Client) DescribeUserInfoWithCallback(request *DescribeUserInfoRequest, ...) <-chan int
- func (client *Client) DescribeUserInfoWithChan(request *DescribeUserInfoRequest) (<-chan *DescribeUserInfoResponse, <-chan error)
- func (client *Client) GrantAccountPrivilege(request *GrantAccountPrivilegeRequest) (response *GrantAccountPrivilegeResponse, err error)
- func (client *Client) GrantAccountPrivilegeWithCallback(request *GrantAccountPrivilegeRequest, ...) <-chan int
- func (client *Client) GrantAccountPrivilegeWithChan(request *GrantAccountPrivilegeRequest) (<-chan *GrantAccountPrivilegeResponse, <-chan error)
- func (client *Client) ModifyAccountDescription(request *ModifyAccountDescriptionRequest) (response *ModifyAccountDescriptionResponse, err error)
- func (client *Client) ModifyAccountDescriptionWithCallback(request *ModifyAccountDescriptionRequest, ...) <-chan int
- func (client *Client) ModifyAccountDescriptionWithChan(request *ModifyAccountDescriptionRequest) (<-chan *ModifyAccountDescriptionResponse, <-chan error)
- func (client *Client) ModifyAccountPassword(request *ModifyAccountPasswordRequest) (response *ModifyAccountPasswordResponse, err error)
- func (client *Client) ModifyAccountPasswordWithCallback(request *ModifyAccountPasswordRequest, ...) <-chan int
- func (client *Client) ModifyAccountPasswordWithChan(request *ModifyAccountPasswordRequest) (<-chan *ModifyAccountPasswordResponse, <-chan error)
- func (client *Client) ModifyBackupPolicy(request *ModifyBackupPolicyRequest) (response *ModifyBackupPolicyResponse, err error)
- func (client *Client) ModifyBackupPolicyWithCallback(request *ModifyBackupPolicyRequest, ...) <-chan int
- func (client *Client) ModifyBackupPolicyWithChan(request *ModifyBackupPolicyRequest) (<-chan *ModifyBackupPolicyResponse, <-chan error)
- func (client *Client) ModifyInstanceName(request *ModifyInstanceNameRequest) (response *ModifyInstanceNameResponse, err error)
- func (client *Client) ModifyInstanceNameWithCallback(request *ModifyInstanceNameRequest, ...) <-chan int
- func (client *Client) ModifyInstanceNameWithChan(request *ModifyInstanceNameRequest) (<-chan *ModifyInstanceNameResponse, <-chan error)
- func (client *Client) ModifySecurityIPs(request *ModifySecurityIPsRequest) (response *ModifySecurityIPsResponse, err error)
- func (client *Client) ModifySecurityIPsWithCallback(request *ModifySecurityIPsRequest, ...) <-chan int
- func (client *Client) ModifySecurityIPsWithChan(request *ModifySecurityIPsRequest) (<-chan *ModifySecurityIPsResponse, <-chan error)
- func (client *Client) ReleaseInstancePublicConnection(request *ReleaseInstancePublicConnectionRequest) (response *ReleaseInstancePublicConnectionResponse, err error)
- func (client *Client) ReleaseInstancePublicConnectionWithCallback(request *ReleaseInstancePublicConnectionRequest, ...) <-chan int
- func (client *Client) ReleaseInstancePublicConnectionWithChan(request *ReleaseInstancePublicConnectionRequest) (<-chan *ReleaseInstancePublicConnectionResponse, <-chan error)
- func (client *Client) ResetAccountPassword(request *ResetAccountPasswordRequest) (response *ResetAccountPasswordResponse, err error)
- func (client *Client) ResetAccountPasswordWithCallback(request *ResetAccountPasswordRequest, ...) <-chan int
- func (client *Client) ResetAccountPasswordWithChan(request *ResetAccountPasswordRequest) (<-chan *ResetAccountPasswordResponse, <-chan error)
- func (client *Client) RestoreDatabase(request *RestoreDatabaseRequest) (response *RestoreDatabaseResponse, err error)
- func (client *Client) RestoreDatabaseWithCallback(request *RestoreDatabaseRequest, ...) <-chan int
- func (client *Client) RestoreDatabaseWithChan(request *RestoreDatabaseRequest) (<-chan *RestoreDatabaseResponse, <-chan error)
- func (client *Client) RevokeAccountPrivilege(request *RevokeAccountPrivilegeRequest) (response *RevokeAccountPrivilegeResponse, err error)
- func (client *Client) RevokeAccountPrivilegeWithCallback(request *RevokeAccountPrivilegeRequest, ...) <-chan int
- func (client *Client) RevokeAccountPrivilegeWithChan(request *RevokeAccountPrivilegeRequest) (<-chan *RevokeAccountPrivilegeResponse, <-chan error)
- func (client *Client) SwitchInstanceNetType(request *SwitchInstanceNetTypeRequest) (response *SwitchInstanceNetTypeResponse, err error)
- func (client *Client) SwitchInstanceNetTypeWithCallback(request *SwitchInstanceNetTypeRequest, ...) <-chan int
- func (client *Client) SwitchInstanceNetTypeWithChan(request *SwitchInstanceNetTypeRequest) (<-chan *SwitchInstanceNetTypeResponse, <-chan error)
- type CreateAccountRequest
- type CreateAccountResponse
- type CreateDatabaseBackupRequest
- type CreateDatabaseBackupResponse
- type CreateDatabaseRequest
- type CreateDatabaseResponse
- type CreateInstanceRequest
- type CreateInstanceResponse
- type Database
- type DatabasePrivilege
- type DatabasePrivileges
- type DatabasesInDescribeDatabases
- type DatabasesInDescribeInstanceInfo
- type DatabasesInDescribeInstances
- type DeleteAccountRequest
- type DeleteAccountResponse
- type DeleteDatabaseRequest
- type DeleteDatabaseResponse
- type DeleteInstanceRequest
- type DeleteInstanceResponse
- type DescribeAccountsRequest
- type DescribeAccountsResponse
- type DescribeBackupPolicyRequest
- type DescribeBackupPolicyResponse
- type DescribeDatabaseBackupRequest
- type DescribeDatabaseBackupResponse
- type DescribeDatabasePartitionsRequest
- type DescribeDatabasePartitionsResponse
- type DescribeDatabasePerformanceRequest
- type DescribeDatabasePerformanceResponse
- type DescribeDatabaseResourceUsageRequest
- type DescribeDatabaseResourceUsageResponse
- type DescribeDatabasesRequest
- type DescribeDatabasesResponse
- type DescribeInstanceInfoRequest
- type DescribeInstanceInfoResponse
- type DescribeInstancePerformanceRequest
- type DescribeInstancePerformanceResponse
- type DescribeInstanceResourceUsageRequest
- type DescribeInstanceResourceUsageResponse
- type DescribeInstancesRequest
- type DescribeInstancesResponse
- type DescribeMonitorItemsRequest
- type DescribeMonitorItemsResponse
- type DescribePriceRequest
- type DescribePriceResponse
- type DescribeRegionsRequest
- type DescribeRegionsResponse
- type DescribeSecurityIPsRequest
- type DescribeSecurityIPsResponse
- type DescribeTaskStatusRequest
- type DescribeTaskStatusResponse
- type DescribeTasksRequest
- type DescribeTasksResponse
- type DescribeUserInfoRequest
- type DescribeUserInfoResponse
- type GrantAccountPrivilegeRequest
- type GrantAccountPrivilegeResponse
- type GroupValue
- type Instance
- type Instances
- type ModifyAccountDescriptionRequest
- type ModifyAccountDescriptionResponse
- type ModifyAccountPasswordRequest
- type ModifyAccountPasswordResponse
- type ModifyBackupPolicyRequest
- type ModifyBackupPolicyResponse
- type ModifyInstanceNameRequest
- type ModifyInstanceNameResponse
- type ModifySecurityIPsRequest
- type ModifySecurityIPsResponse
- type MonitorData
- type MonitorDatasInDescribeDatabasePerformance
- type MonitorDatasInDescribeDatabaseResourceUsage
- type MonitorDatasInDescribeInstancePerformance
- type MonitorDatasInDescribeInstanceResourceUsage
- type MonitorItem
- type MonitorItemModel
- type MonitorItems
- type NetworkInfoItem
- type NetworkInfoItems
- type Order
- type Partition
- type Partitions
- type PerformanceValue
- type PerformanceValuesInDescribeDatabasePerformance
- type PerformanceValuesInDescribeInstancePerformance
- type Region
- type Regions
- type ReleaseInstancePublicConnectionRequest
- type ReleaseInstancePublicConnectionResponse
- type ResetAccountPasswordRequest
- type ResetAccountPasswordResponse
- type RestoreDatabaseRequest
- type RestoreDatabaseResponse
- type RevokeAccountPrivilegeRequest
- type RevokeAccountPrivilegeResponse
- type Rule
- type RuleIds
- type Rules
- type SecurityIPs
- type SecurityIpGroup
- type SwitchInstanceNetTypeRequest
- type SwitchInstanceNetTypeResponse
- type Task
- type Tasks
- 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"` AccountDescription string `json:"AccountDescription" xml:"AccountDescription"` AccountType string `json:"AccountType" xml:"AccountType"` DatabasePrivileges DatabasePrivileges `json:"DatabasePrivileges" xml:"DatabasePrivileges"` }
Account is a nested struct in petadata response
type AccountList ¶
type AccountList struct {
Account []Account `json:"Account" xml:"Account"`
}
AccountList is a nested struct in petadata response
type AllocateInstancePublicConnectionRequest ¶
type AllocateInstancePublicConnectionRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ConnectionStringPrefix string `position:"Query" name:"ConnectionStringPrefix"` InstanceId string `position:"Query" name:"InstanceId"` SecurityToken string `position:"Query" name:"SecurityToken"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` Port string `position:"Query" name:"Port"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
AllocateInstancePublicConnectionRequest is the request struct for api AllocateInstancePublicConnection
func CreateAllocateInstancePublicConnectionRequest ¶
func CreateAllocateInstancePublicConnectionRequest() (request *AllocateInstancePublicConnectionRequest)
CreateAllocateInstancePublicConnectionRequest creates a request to invoke AllocateInstancePublicConnection API
type AllocateInstancePublicConnectionResponse ¶
type AllocateInstancePublicConnectionResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
AllocateInstancePublicConnectionResponse is the response struct for api AllocateInstancePublicConnection
func CreateAllocateInstancePublicConnectionResponse ¶
func CreateAllocateInstancePublicConnectionResponse() (response *AllocateInstancePublicConnectionResponse)
CreateAllocateInstancePublicConnectionResponse creates a response to parse from AllocateInstancePublicConnection response
type AlreadyHasResourceNum ¶
type AlreadyHasResourceNum struct { EcsBought int `json:"EcsBought" xml:"EcsBought"` PetaDataBought int `json:"PetaDataBought" xml:"PetaDataBought"` }
AlreadyHasResourceNum is a nested struct in petadata response
type Backup ¶
type Backup struct { BackupId int `json:"BackupId" xml:"BackupId"` BackupStatus string `json:"BackupStatus" xml:"BackupStatus"` BackupStartTime string `json:"BackupStartTime" xml:"BackupStartTime"` BackupEndTime string `json:"BackupEndTime" xml:"BackupEndTime"` BackupMode string `json:"BackupMode" xml:"BackupMode"` BackupDownloadURL string `json:"BackupDownloadURL" xml:"BackupDownloadURL"` BackupSize int `json:"BackupSize" xml:"BackupSize"` BackupNodeNumber int `json:"BackupNodeNumber" xml:"BackupNodeNumber"` BackupNodeClass string `json:"BackupNodeClass" xml:"BackupNodeClass"` }
Backup is a nested struct in petadata response
type BackupItems ¶
type BackupItems struct {
Backup []Backup `json:"Backup" xml:"Backup"`
}
BackupItems is a nested struct in petadata 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) AllocateInstancePublicConnection ¶
func (client *Client) AllocateInstancePublicConnection(request *AllocateInstancePublicConnectionRequest) (response *AllocateInstancePublicConnectionResponse, err error)
AllocateInstancePublicConnection invokes the petadata.AllocateInstancePublicConnection API synchronously api document: https://help.aliyun.com/api/petadata/allocateinstancepublicconnection.html
func (*Client) AllocateInstancePublicConnectionWithCallback ¶
func (client *Client) AllocateInstancePublicConnectionWithCallback(request *AllocateInstancePublicConnectionRequest, callback func(response *AllocateInstancePublicConnectionResponse, err error)) <-chan int
AllocateInstancePublicConnectionWithCallback invokes the petadata.AllocateInstancePublicConnection API asynchronously api document: https://help.aliyun.com/api/petadata/allocateinstancepublicconnection.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) AllocateInstancePublicConnectionWithChan ¶
func (client *Client) AllocateInstancePublicConnectionWithChan(request *AllocateInstancePublicConnectionRequest) (<-chan *AllocateInstancePublicConnectionResponse, <-chan error)
AllocateInstancePublicConnectionWithChan invokes the petadata.AllocateInstancePublicConnection API asynchronously api document: https://help.aliyun.com/api/petadata/allocateinstancepublicconnection.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateAccount ¶
func (client *Client) CreateAccount(request *CreateAccountRequest) (response *CreateAccountResponse, err error)
CreateAccount invokes the petadata.CreateAccount API synchronously api document: https://help.aliyun.com/api/petadata/createaccount.html
func (*Client) CreateAccountWithCallback ¶
func (client *Client) CreateAccountWithCallback(request *CreateAccountRequest, callback func(response *CreateAccountResponse, err error)) <-chan int
CreateAccountWithCallback invokes the petadata.CreateAccount API asynchronously api document: https://help.aliyun.com/api/petadata/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 petadata.CreateAccount API asynchronously api document: https://help.aliyun.com/api/petadata/createaccount.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 petadata.CreateDatabase API synchronously api document: https://help.aliyun.com/api/petadata/createdatabase.html
func (*Client) CreateDatabaseBackup ¶
func (client *Client) CreateDatabaseBackup(request *CreateDatabaseBackupRequest) (response *CreateDatabaseBackupResponse, err error)
CreateDatabaseBackup invokes the petadata.CreateDatabaseBackup API synchronously api document: https://help.aliyun.com/api/petadata/createdatabasebackup.html
func (*Client) CreateDatabaseBackupWithCallback ¶
func (client *Client) CreateDatabaseBackupWithCallback(request *CreateDatabaseBackupRequest, callback func(response *CreateDatabaseBackupResponse, err error)) <-chan int
CreateDatabaseBackupWithCallback invokes the petadata.CreateDatabaseBackup API asynchronously api document: https://help.aliyun.com/api/petadata/createdatabasebackup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateDatabaseBackupWithChan ¶
func (client *Client) CreateDatabaseBackupWithChan(request *CreateDatabaseBackupRequest) (<-chan *CreateDatabaseBackupResponse, <-chan error)
CreateDatabaseBackupWithChan invokes the petadata.CreateDatabaseBackup API asynchronously api document: https://help.aliyun.com/api/petadata/createdatabasebackup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateDatabaseWithCallback ¶
func (client *Client) CreateDatabaseWithCallback(request *CreateDatabaseRequest, callback func(response *CreateDatabaseResponse, err error)) <-chan int
CreateDatabaseWithCallback invokes the petadata.CreateDatabase API asynchronously api document: https://help.aliyun.com/api/petadata/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 petadata.CreateDatabase API asynchronously api document: https://help.aliyun.com/api/petadata/createdatabase.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateInstance ¶
func (client *Client) CreateInstance(request *CreateInstanceRequest) (response *CreateInstanceResponse, err error)
CreateInstance invokes the petadata.CreateInstance API synchronously api document: https://help.aliyun.com/api/petadata/createinstance.html
func (*Client) CreateInstanceWithCallback ¶
func (client *Client) CreateInstanceWithCallback(request *CreateInstanceRequest, callback func(response *CreateInstanceResponse, err error)) <-chan int
CreateInstanceWithCallback invokes the petadata.CreateInstance API asynchronously api document: https://help.aliyun.com/api/petadata/createinstance.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateInstanceWithChan ¶
func (client *Client) CreateInstanceWithChan(request *CreateInstanceRequest) (<-chan *CreateInstanceResponse, <-chan error)
CreateInstanceWithChan invokes the petadata.CreateInstance API asynchronously api document: https://help.aliyun.com/api/petadata/createinstance.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 petadata.DeleteAccount API synchronously api document: https://help.aliyun.com/api/petadata/deleteaccount.html
func (*Client) DeleteAccountWithCallback ¶
func (client *Client) DeleteAccountWithCallback(request *DeleteAccountRequest, callback func(response *DeleteAccountResponse, err error)) <-chan int
DeleteAccountWithCallback invokes the petadata.DeleteAccount API asynchronously api document: https://help.aliyun.com/api/petadata/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 petadata.DeleteAccount API asynchronously api document: https://help.aliyun.com/api/petadata/deleteaccount.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 petadata.DeleteDatabase API synchronously api document: https://help.aliyun.com/api/petadata/deletedatabase.html
func (*Client) DeleteDatabaseWithCallback ¶
func (client *Client) DeleteDatabaseWithCallback(request *DeleteDatabaseRequest, callback func(response *DeleteDatabaseResponse, err error)) <-chan int
DeleteDatabaseWithCallback invokes the petadata.DeleteDatabase API asynchronously api document: https://help.aliyun.com/api/petadata/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 petadata.DeleteDatabase API asynchronously api document: https://help.aliyun.com/api/petadata/deletedatabase.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteInstance ¶
func (client *Client) DeleteInstance(request *DeleteInstanceRequest) (response *DeleteInstanceResponse, err error)
DeleteInstance invokes the petadata.DeleteInstance API synchronously api document: https://help.aliyun.com/api/petadata/deleteinstance.html
func (*Client) DeleteInstanceWithCallback ¶
func (client *Client) DeleteInstanceWithCallback(request *DeleteInstanceRequest, callback func(response *DeleteInstanceResponse, err error)) <-chan int
DeleteInstanceWithCallback invokes the petadata.DeleteInstance API asynchronously api document: https://help.aliyun.com/api/petadata/deleteinstance.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteInstanceWithChan ¶
func (client *Client) DeleteInstanceWithChan(request *DeleteInstanceRequest) (<-chan *DeleteInstanceResponse, <-chan error)
DeleteInstanceWithChan invokes the petadata.DeleteInstance API asynchronously api document: https://help.aliyun.com/api/petadata/deleteinstance.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 petadata.DescribeAccounts API synchronously api document: https://help.aliyun.com/api/petadata/describeaccounts.html
func (*Client) DescribeAccountsWithCallback ¶
func (client *Client) DescribeAccountsWithCallback(request *DescribeAccountsRequest, callback func(response *DescribeAccountsResponse, err error)) <-chan int
DescribeAccountsWithCallback invokes the petadata.DescribeAccounts API asynchronously api document: https://help.aliyun.com/api/petadata/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 petadata.DescribeAccounts API asynchronously api document: https://help.aliyun.com/api/petadata/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 petadata.DescribeBackupPolicy API synchronously api document: https://help.aliyun.com/api/petadata/describebackuppolicy.html
func (*Client) DescribeBackupPolicyWithCallback ¶
func (client *Client) DescribeBackupPolicyWithCallback(request *DescribeBackupPolicyRequest, callback func(response *DescribeBackupPolicyResponse, err error)) <-chan int
DescribeBackupPolicyWithCallback invokes the petadata.DescribeBackupPolicy API asynchronously api document: https://help.aliyun.com/api/petadata/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 petadata.DescribeBackupPolicy API asynchronously api document: https://help.aliyun.com/api/petadata/describebackuppolicy.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeDatabaseBackup ¶
func (client *Client) DescribeDatabaseBackup(request *DescribeDatabaseBackupRequest) (response *DescribeDatabaseBackupResponse, err error)
DescribeDatabaseBackup invokes the petadata.DescribeDatabaseBackup API synchronously api document: https://help.aliyun.com/api/petadata/describedatabasebackup.html
func (*Client) DescribeDatabaseBackupWithCallback ¶
func (client *Client) DescribeDatabaseBackupWithCallback(request *DescribeDatabaseBackupRequest, callback func(response *DescribeDatabaseBackupResponse, err error)) <-chan int
DescribeDatabaseBackupWithCallback invokes the petadata.DescribeDatabaseBackup API asynchronously api document: https://help.aliyun.com/api/petadata/describedatabasebackup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeDatabaseBackupWithChan ¶
func (client *Client) DescribeDatabaseBackupWithChan(request *DescribeDatabaseBackupRequest) (<-chan *DescribeDatabaseBackupResponse, <-chan error)
DescribeDatabaseBackupWithChan invokes the petadata.DescribeDatabaseBackup API asynchronously api document: https://help.aliyun.com/api/petadata/describedatabasebackup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeDatabasePartitions ¶
func (client *Client) DescribeDatabasePartitions(request *DescribeDatabasePartitionsRequest) (response *DescribeDatabasePartitionsResponse, err error)
DescribeDatabasePartitions invokes the petadata.DescribeDatabasePartitions API synchronously api document: https://help.aliyun.com/api/petadata/describedatabasepartitions.html
func (*Client) DescribeDatabasePartitionsWithCallback ¶
func (client *Client) DescribeDatabasePartitionsWithCallback(request *DescribeDatabasePartitionsRequest, callback func(response *DescribeDatabasePartitionsResponse, err error)) <-chan int
DescribeDatabasePartitionsWithCallback invokes the petadata.DescribeDatabasePartitions API asynchronously api document: https://help.aliyun.com/api/petadata/describedatabasepartitions.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeDatabasePartitionsWithChan ¶
func (client *Client) DescribeDatabasePartitionsWithChan(request *DescribeDatabasePartitionsRequest) (<-chan *DescribeDatabasePartitionsResponse, <-chan error)
DescribeDatabasePartitionsWithChan invokes the petadata.DescribeDatabasePartitions API asynchronously api document: https://help.aliyun.com/api/petadata/describedatabasepartitions.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeDatabasePerformance ¶
func (client *Client) DescribeDatabasePerformance(request *DescribeDatabasePerformanceRequest) (response *DescribeDatabasePerformanceResponse, err error)
DescribeDatabasePerformance invokes the petadata.DescribeDatabasePerformance API synchronously api document: https://help.aliyun.com/api/petadata/describedatabaseperformance.html
func (*Client) DescribeDatabasePerformanceWithCallback ¶
func (client *Client) DescribeDatabasePerformanceWithCallback(request *DescribeDatabasePerformanceRequest, callback func(response *DescribeDatabasePerformanceResponse, err error)) <-chan int
DescribeDatabasePerformanceWithCallback invokes the petadata.DescribeDatabasePerformance API asynchronously api document: https://help.aliyun.com/api/petadata/describedatabaseperformance.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeDatabasePerformanceWithChan ¶
func (client *Client) DescribeDatabasePerformanceWithChan(request *DescribeDatabasePerformanceRequest) (<-chan *DescribeDatabasePerformanceResponse, <-chan error)
DescribeDatabasePerformanceWithChan invokes the petadata.DescribeDatabasePerformance API asynchronously api document: https://help.aliyun.com/api/petadata/describedatabaseperformance.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeDatabaseResourceUsage ¶
func (client *Client) DescribeDatabaseResourceUsage(request *DescribeDatabaseResourceUsageRequest) (response *DescribeDatabaseResourceUsageResponse, err error)
DescribeDatabaseResourceUsage invokes the petadata.DescribeDatabaseResourceUsage API synchronously api document: https://help.aliyun.com/api/petadata/describedatabaseresourceusage.html
func (*Client) DescribeDatabaseResourceUsageWithCallback ¶
func (client *Client) DescribeDatabaseResourceUsageWithCallback(request *DescribeDatabaseResourceUsageRequest, callback func(response *DescribeDatabaseResourceUsageResponse, err error)) <-chan int
DescribeDatabaseResourceUsageWithCallback invokes the petadata.DescribeDatabaseResourceUsage API asynchronously api document: https://help.aliyun.com/api/petadata/describedatabaseresourceusage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeDatabaseResourceUsageWithChan ¶
func (client *Client) DescribeDatabaseResourceUsageWithChan(request *DescribeDatabaseResourceUsageRequest) (<-chan *DescribeDatabaseResourceUsageResponse, <-chan error)
DescribeDatabaseResourceUsageWithChan invokes the petadata.DescribeDatabaseResourceUsage API asynchronously api document: https://help.aliyun.com/api/petadata/describedatabaseresourceusage.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 petadata.DescribeDatabases API synchronously api document: https://help.aliyun.com/api/petadata/describedatabases.html
func (*Client) DescribeDatabasesWithCallback ¶
func (client *Client) DescribeDatabasesWithCallback(request *DescribeDatabasesRequest, callback func(response *DescribeDatabasesResponse, err error)) <-chan int
DescribeDatabasesWithCallback invokes the petadata.DescribeDatabases API asynchronously api document: https://help.aliyun.com/api/petadata/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 petadata.DescribeDatabases API asynchronously api document: https://help.aliyun.com/api/petadata/describedatabases.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeInstanceInfo ¶
func (client *Client) DescribeInstanceInfo(request *DescribeInstanceInfoRequest) (response *DescribeInstanceInfoResponse, err error)
DescribeInstanceInfo invokes the petadata.DescribeInstanceInfo API synchronously api document: https://help.aliyun.com/api/petadata/describeinstanceinfo.html
func (*Client) DescribeInstanceInfoWithCallback ¶
func (client *Client) DescribeInstanceInfoWithCallback(request *DescribeInstanceInfoRequest, callback func(response *DescribeInstanceInfoResponse, err error)) <-chan int
DescribeInstanceInfoWithCallback invokes the petadata.DescribeInstanceInfo API asynchronously api document: https://help.aliyun.com/api/petadata/describeinstanceinfo.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeInstanceInfoWithChan ¶
func (client *Client) DescribeInstanceInfoWithChan(request *DescribeInstanceInfoRequest) (<-chan *DescribeInstanceInfoResponse, <-chan error)
DescribeInstanceInfoWithChan invokes the petadata.DescribeInstanceInfo API asynchronously api document: https://help.aliyun.com/api/petadata/describeinstanceinfo.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeInstancePerformance ¶
func (client *Client) DescribeInstancePerformance(request *DescribeInstancePerformanceRequest) (response *DescribeInstancePerformanceResponse, err error)
DescribeInstancePerformance invokes the petadata.DescribeInstancePerformance API synchronously api document: https://help.aliyun.com/api/petadata/describeinstanceperformance.html
func (*Client) DescribeInstancePerformanceWithCallback ¶
func (client *Client) DescribeInstancePerformanceWithCallback(request *DescribeInstancePerformanceRequest, callback func(response *DescribeInstancePerformanceResponse, err error)) <-chan int
DescribeInstancePerformanceWithCallback invokes the petadata.DescribeInstancePerformance API asynchronously api document: https://help.aliyun.com/api/petadata/describeinstanceperformance.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeInstancePerformanceWithChan ¶
func (client *Client) DescribeInstancePerformanceWithChan(request *DescribeInstancePerformanceRequest) (<-chan *DescribeInstancePerformanceResponse, <-chan error)
DescribeInstancePerformanceWithChan invokes the petadata.DescribeInstancePerformance API asynchronously api document: https://help.aliyun.com/api/petadata/describeinstanceperformance.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeInstanceResourceUsage ¶
func (client *Client) DescribeInstanceResourceUsage(request *DescribeInstanceResourceUsageRequest) (response *DescribeInstanceResourceUsageResponse, err error)
DescribeInstanceResourceUsage invokes the petadata.DescribeInstanceResourceUsage API synchronously api document: https://help.aliyun.com/api/petadata/describeinstanceresourceusage.html
func (*Client) DescribeInstanceResourceUsageWithCallback ¶
func (client *Client) DescribeInstanceResourceUsageWithCallback(request *DescribeInstanceResourceUsageRequest, callback func(response *DescribeInstanceResourceUsageResponse, err error)) <-chan int
DescribeInstanceResourceUsageWithCallback invokes the petadata.DescribeInstanceResourceUsage API asynchronously api document: https://help.aliyun.com/api/petadata/describeinstanceresourceusage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeInstanceResourceUsageWithChan ¶
func (client *Client) DescribeInstanceResourceUsageWithChan(request *DescribeInstanceResourceUsageRequest) (<-chan *DescribeInstanceResourceUsageResponse, <-chan error)
DescribeInstanceResourceUsageWithChan invokes the petadata.DescribeInstanceResourceUsage API asynchronously api document: https://help.aliyun.com/api/petadata/describeinstanceresourceusage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeInstances ¶
func (client *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
DescribeInstances invokes the petadata.DescribeInstances API synchronously api document: https://help.aliyun.com/api/petadata/describeinstances.html
func (*Client) DescribeInstancesWithCallback ¶
func (client *Client) DescribeInstancesWithCallback(request *DescribeInstancesRequest, callback func(response *DescribeInstancesResponse, err error)) <-chan int
DescribeInstancesWithCallback invokes the petadata.DescribeInstances API asynchronously api document: https://help.aliyun.com/api/petadata/describeinstances.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeInstancesWithChan ¶
func (client *Client) DescribeInstancesWithChan(request *DescribeInstancesRequest) (<-chan *DescribeInstancesResponse, <-chan error)
DescribeInstancesWithChan invokes the petadata.DescribeInstances API asynchronously api document: https://help.aliyun.com/api/petadata/describeinstances.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeMonitorItems ¶
func (client *Client) DescribeMonitorItems(request *DescribeMonitorItemsRequest) (response *DescribeMonitorItemsResponse, err error)
DescribeMonitorItems invokes the petadata.DescribeMonitorItems API synchronously api document: https://help.aliyun.com/api/petadata/describemonitoritems.html
func (*Client) DescribeMonitorItemsWithCallback ¶
func (client *Client) DescribeMonitorItemsWithCallback(request *DescribeMonitorItemsRequest, callback func(response *DescribeMonitorItemsResponse, err error)) <-chan int
DescribeMonitorItemsWithCallback invokes the petadata.DescribeMonitorItems API asynchronously api document: https://help.aliyun.com/api/petadata/describemonitoritems.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeMonitorItemsWithChan ¶
func (client *Client) DescribeMonitorItemsWithChan(request *DescribeMonitorItemsRequest) (<-chan *DescribeMonitorItemsResponse, <-chan error)
DescribeMonitorItemsWithChan invokes the petadata.DescribeMonitorItems API asynchronously api document: https://help.aliyun.com/api/petadata/describemonitoritems.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribePrice ¶
func (client *Client) DescribePrice(request *DescribePriceRequest) (response *DescribePriceResponse, err error)
DescribePrice invokes the petadata.DescribePrice API synchronously api document: https://help.aliyun.com/api/petadata/describeprice.html
func (*Client) DescribePriceWithCallback ¶
func (client *Client) DescribePriceWithCallback(request *DescribePriceRequest, callback func(response *DescribePriceResponse, err error)) <-chan int
DescribePriceWithCallback invokes the petadata.DescribePrice API asynchronously api document: https://help.aliyun.com/api/petadata/describeprice.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribePriceWithChan ¶
func (client *Client) DescribePriceWithChan(request *DescribePriceRequest) (<-chan *DescribePriceResponse, <-chan error)
DescribePriceWithChan invokes the petadata.DescribePrice API asynchronously api document: https://help.aliyun.com/api/petadata/describeprice.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 petadata.DescribeRegions API synchronously api document: https://help.aliyun.com/api/petadata/describeregions.html
func (*Client) DescribeRegionsWithCallback ¶
func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, callback func(response *DescribeRegionsResponse, err error)) <-chan int
DescribeRegionsWithCallback invokes the petadata.DescribeRegions API asynchronously api document: https://help.aliyun.com/api/petadata/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 petadata.DescribeRegions API asynchronously api document: https://help.aliyun.com/api/petadata/describeregions.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeSecurityIPs ¶
func (client *Client) DescribeSecurityIPs(request *DescribeSecurityIPsRequest) (response *DescribeSecurityIPsResponse, err error)
DescribeSecurityIPs invokes the petadata.DescribeSecurityIPs API synchronously api document: https://help.aliyun.com/api/petadata/describesecurityips.html
func (*Client) DescribeSecurityIPsWithCallback ¶
func (client *Client) DescribeSecurityIPsWithCallback(request *DescribeSecurityIPsRequest, callback func(response *DescribeSecurityIPsResponse, err error)) <-chan int
DescribeSecurityIPsWithCallback invokes the petadata.DescribeSecurityIPs API asynchronously api document: https://help.aliyun.com/api/petadata/describesecurityips.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeSecurityIPsWithChan ¶
func (client *Client) DescribeSecurityIPsWithChan(request *DescribeSecurityIPsRequest) (<-chan *DescribeSecurityIPsResponse, <-chan error)
DescribeSecurityIPsWithChan invokes the petadata.DescribeSecurityIPs API asynchronously api document: https://help.aliyun.com/api/petadata/describesecurityips.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeTaskStatus ¶
func (client *Client) DescribeTaskStatus(request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)
DescribeTaskStatus invokes the petadata.DescribeTaskStatus API synchronously api document: https://help.aliyun.com/api/petadata/describetaskstatus.html
func (*Client) DescribeTaskStatusWithCallback ¶
func (client *Client) DescribeTaskStatusWithCallback(request *DescribeTaskStatusRequest, callback func(response *DescribeTaskStatusResponse, err error)) <-chan int
DescribeTaskStatusWithCallback invokes the petadata.DescribeTaskStatus API asynchronously api document: https://help.aliyun.com/api/petadata/describetaskstatus.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeTaskStatusWithChan ¶
func (client *Client) DescribeTaskStatusWithChan(request *DescribeTaskStatusRequest) (<-chan *DescribeTaskStatusResponse, <-chan error)
DescribeTaskStatusWithChan invokes the petadata.DescribeTaskStatus API asynchronously api document: https://help.aliyun.com/api/petadata/describetaskstatus.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeTasks ¶
func (client *Client) DescribeTasks(request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
DescribeTasks invokes the petadata.DescribeTasks API synchronously api document: https://help.aliyun.com/api/petadata/describetasks.html
func (*Client) DescribeTasksWithCallback ¶
func (client *Client) DescribeTasksWithCallback(request *DescribeTasksRequest, callback func(response *DescribeTasksResponse, err error)) <-chan int
DescribeTasksWithCallback invokes the petadata.DescribeTasks API asynchronously api document: https://help.aliyun.com/api/petadata/describetasks.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeTasksWithChan ¶
func (client *Client) DescribeTasksWithChan(request *DescribeTasksRequest) (<-chan *DescribeTasksResponse, <-chan error)
DescribeTasksWithChan invokes the petadata.DescribeTasks API asynchronously api document: https://help.aliyun.com/api/petadata/describetasks.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeUserInfo ¶
func (client *Client) DescribeUserInfo(request *DescribeUserInfoRequest) (response *DescribeUserInfoResponse, err error)
DescribeUserInfo invokes the petadata.DescribeUserInfo API synchronously api document: https://help.aliyun.com/api/petadata/describeuserinfo.html
func (*Client) DescribeUserInfoWithCallback ¶
func (client *Client) DescribeUserInfoWithCallback(request *DescribeUserInfoRequest, callback func(response *DescribeUserInfoResponse, err error)) <-chan int
DescribeUserInfoWithCallback invokes the petadata.DescribeUserInfo API asynchronously api document: https://help.aliyun.com/api/petadata/describeuserinfo.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeUserInfoWithChan ¶
func (client *Client) DescribeUserInfoWithChan(request *DescribeUserInfoRequest) (<-chan *DescribeUserInfoResponse, <-chan error)
DescribeUserInfoWithChan invokes the petadata.DescribeUserInfo API asynchronously api document: https://help.aliyun.com/api/petadata/describeuserinfo.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 petadata.GrantAccountPrivilege API synchronously api document: https://help.aliyun.com/api/petadata/grantaccountprivilege.html
func (*Client) GrantAccountPrivilegeWithCallback ¶
func (client *Client) GrantAccountPrivilegeWithCallback(request *GrantAccountPrivilegeRequest, callback func(response *GrantAccountPrivilegeResponse, err error)) <-chan int
GrantAccountPrivilegeWithCallback invokes the petadata.GrantAccountPrivilege API asynchronously api document: https://help.aliyun.com/api/petadata/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 petadata.GrantAccountPrivilege API asynchronously api document: https://help.aliyun.com/api/petadata/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 petadata.ModifyAccountDescription API synchronously api document: https://help.aliyun.com/api/petadata/modifyaccountdescription.html
func (*Client) ModifyAccountDescriptionWithCallback ¶
func (client *Client) ModifyAccountDescriptionWithCallback(request *ModifyAccountDescriptionRequest, callback func(response *ModifyAccountDescriptionResponse, err error)) <-chan int
ModifyAccountDescriptionWithCallback invokes the petadata.ModifyAccountDescription API asynchronously api document: https://help.aliyun.com/api/petadata/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 petadata.ModifyAccountDescription API asynchronously api document: https://help.aliyun.com/api/petadata/modifyaccountdescription.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ModifyAccountPassword ¶
func (client *Client) ModifyAccountPassword(request *ModifyAccountPasswordRequest) (response *ModifyAccountPasswordResponse, err error)
ModifyAccountPassword invokes the petadata.ModifyAccountPassword API synchronously api document: https://help.aliyun.com/api/petadata/modifyaccountpassword.html
func (*Client) ModifyAccountPasswordWithCallback ¶
func (client *Client) ModifyAccountPasswordWithCallback(request *ModifyAccountPasswordRequest, callback func(response *ModifyAccountPasswordResponse, err error)) <-chan int
ModifyAccountPasswordWithCallback invokes the petadata.ModifyAccountPassword API asynchronously api document: https://help.aliyun.com/api/petadata/modifyaccountpassword.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ModifyAccountPasswordWithChan ¶
func (client *Client) ModifyAccountPasswordWithChan(request *ModifyAccountPasswordRequest) (<-chan *ModifyAccountPasswordResponse, <-chan error)
ModifyAccountPasswordWithChan invokes the petadata.ModifyAccountPassword API asynchronously api document: https://help.aliyun.com/api/petadata/modifyaccountpassword.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 petadata.ModifyBackupPolicy API synchronously api document: https://help.aliyun.com/api/petadata/modifybackuppolicy.html
func (*Client) ModifyBackupPolicyWithCallback ¶
func (client *Client) ModifyBackupPolicyWithCallback(request *ModifyBackupPolicyRequest, callback func(response *ModifyBackupPolicyResponse, err error)) <-chan int
ModifyBackupPolicyWithCallback invokes the petadata.ModifyBackupPolicy API asynchronously api document: https://help.aliyun.com/api/petadata/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 petadata.ModifyBackupPolicy API asynchronously api document: https://help.aliyun.com/api/petadata/modifybackuppolicy.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ModifyInstanceName ¶
func (client *Client) ModifyInstanceName(request *ModifyInstanceNameRequest) (response *ModifyInstanceNameResponse, err error)
ModifyInstanceName invokes the petadata.ModifyInstanceName API synchronously api document: https://help.aliyun.com/api/petadata/modifyinstancename.html
func (*Client) ModifyInstanceNameWithCallback ¶
func (client *Client) ModifyInstanceNameWithCallback(request *ModifyInstanceNameRequest, callback func(response *ModifyInstanceNameResponse, err error)) <-chan int
ModifyInstanceNameWithCallback invokes the petadata.ModifyInstanceName API asynchronously api document: https://help.aliyun.com/api/petadata/modifyinstancename.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ModifyInstanceNameWithChan ¶
func (client *Client) ModifyInstanceNameWithChan(request *ModifyInstanceNameRequest) (<-chan *ModifyInstanceNameResponse, <-chan error)
ModifyInstanceNameWithChan invokes the petadata.ModifyInstanceName API asynchronously api document: https://help.aliyun.com/api/petadata/modifyinstancename.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ModifySecurityIPs ¶
func (client *Client) ModifySecurityIPs(request *ModifySecurityIPsRequest) (response *ModifySecurityIPsResponse, err error)
ModifySecurityIPs invokes the petadata.ModifySecurityIPs API synchronously api document: https://help.aliyun.com/api/petadata/modifysecurityips.html
func (*Client) ModifySecurityIPsWithCallback ¶
func (client *Client) ModifySecurityIPsWithCallback(request *ModifySecurityIPsRequest, callback func(response *ModifySecurityIPsResponse, err error)) <-chan int
ModifySecurityIPsWithCallback invokes the petadata.ModifySecurityIPs API asynchronously api document: https://help.aliyun.com/api/petadata/modifysecurityips.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ModifySecurityIPsWithChan ¶
func (client *Client) ModifySecurityIPsWithChan(request *ModifySecurityIPsRequest) (<-chan *ModifySecurityIPsResponse, <-chan error)
ModifySecurityIPsWithChan invokes the petadata.ModifySecurityIPs API asynchronously api document: https://help.aliyun.com/api/petadata/modifysecurityips.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ReleaseInstancePublicConnection ¶
func (client *Client) ReleaseInstancePublicConnection(request *ReleaseInstancePublicConnectionRequest) (response *ReleaseInstancePublicConnectionResponse, err error)
ReleaseInstancePublicConnection invokes the petadata.ReleaseInstancePublicConnection API synchronously api document: https://help.aliyun.com/api/petadata/releaseinstancepublicconnection.html
func (*Client) ReleaseInstancePublicConnectionWithCallback ¶
func (client *Client) ReleaseInstancePublicConnectionWithCallback(request *ReleaseInstancePublicConnectionRequest, callback func(response *ReleaseInstancePublicConnectionResponse, err error)) <-chan int
ReleaseInstancePublicConnectionWithCallback invokes the petadata.ReleaseInstancePublicConnection API asynchronously api document: https://help.aliyun.com/api/petadata/releaseinstancepublicconnection.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ReleaseInstancePublicConnectionWithChan ¶
func (client *Client) ReleaseInstancePublicConnectionWithChan(request *ReleaseInstancePublicConnectionRequest) (<-chan *ReleaseInstancePublicConnectionResponse, <-chan error)
ReleaseInstancePublicConnectionWithChan invokes the petadata.ReleaseInstancePublicConnection API asynchronously api document: https://help.aliyun.com/api/petadata/releaseinstancepublicconnection.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ResetAccountPassword ¶
func (client *Client) ResetAccountPassword(request *ResetAccountPasswordRequest) (response *ResetAccountPasswordResponse, err error)
ResetAccountPassword invokes the petadata.ResetAccountPassword API synchronously api document: https://help.aliyun.com/api/petadata/resetaccountpassword.html
func (*Client) ResetAccountPasswordWithCallback ¶
func (client *Client) ResetAccountPasswordWithCallback(request *ResetAccountPasswordRequest, callback func(response *ResetAccountPasswordResponse, err error)) <-chan int
ResetAccountPasswordWithCallback invokes the petadata.ResetAccountPassword API asynchronously api document: https://help.aliyun.com/api/petadata/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 petadata.ResetAccountPassword API asynchronously api document: https://help.aliyun.com/api/petadata/resetaccountpassword.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) RestoreDatabase ¶
func (client *Client) RestoreDatabase(request *RestoreDatabaseRequest) (response *RestoreDatabaseResponse, err error)
RestoreDatabase invokes the petadata.RestoreDatabase API synchronously api document: https://help.aliyun.com/api/petadata/restoredatabase.html
func (*Client) RestoreDatabaseWithCallback ¶
func (client *Client) RestoreDatabaseWithCallback(request *RestoreDatabaseRequest, callback func(response *RestoreDatabaseResponse, err error)) <-chan int
RestoreDatabaseWithCallback invokes the petadata.RestoreDatabase API asynchronously api document: https://help.aliyun.com/api/petadata/restoredatabase.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) RestoreDatabaseWithChan ¶
func (client *Client) RestoreDatabaseWithChan(request *RestoreDatabaseRequest) (<-chan *RestoreDatabaseResponse, <-chan error)
RestoreDatabaseWithChan invokes the petadata.RestoreDatabase API asynchronously api document: https://help.aliyun.com/api/petadata/restoredatabase.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 petadata.RevokeAccountPrivilege API synchronously api document: https://help.aliyun.com/api/petadata/revokeaccountprivilege.html
func (*Client) RevokeAccountPrivilegeWithCallback ¶
func (client *Client) RevokeAccountPrivilegeWithCallback(request *RevokeAccountPrivilegeRequest, callback func(response *RevokeAccountPrivilegeResponse, err error)) <-chan int
RevokeAccountPrivilegeWithCallback invokes the petadata.RevokeAccountPrivilege API asynchronously api document: https://help.aliyun.com/api/petadata/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 petadata.RevokeAccountPrivilege API asynchronously api document: https://help.aliyun.com/api/petadata/revokeaccountprivilege.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) SwitchInstanceNetType ¶
func (client *Client) SwitchInstanceNetType(request *SwitchInstanceNetTypeRequest) (response *SwitchInstanceNetTypeResponse, err error)
SwitchInstanceNetType invokes the petadata.SwitchInstanceNetType API synchronously api document: https://help.aliyun.com/api/petadata/switchinstancenettype.html
func (*Client) SwitchInstanceNetTypeWithCallback ¶
func (client *Client) SwitchInstanceNetTypeWithCallback(request *SwitchInstanceNetTypeRequest, callback func(response *SwitchInstanceNetTypeResponse, err error)) <-chan int
SwitchInstanceNetTypeWithCallback invokes the petadata.SwitchInstanceNetType API asynchronously api document: https://help.aliyun.com/api/petadata/switchinstancenettype.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) SwitchInstanceNetTypeWithChan ¶
func (client *Client) SwitchInstanceNetTypeWithChan(request *SwitchInstanceNetTypeRequest) (<-chan *SwitchInstanceNetTypeResponse, <-chan error)
SwitchInstanceNetTypeWithChan invokes the petadata.SwitchInstanceNetType API asynchronously api document: https://help.aliyun.com/api/petadata/switchinstancenettype.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"` ClientToken string `position:"Query" name:"ClientToken"` OwnerAccount string `position:"Query" name:"OwnerAccount"` AccountType string `position:"Query" name:"AccountType"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` AccountVersion string `position:"Query" name:"AccountVersion"` AccountDescription string `position:"Query" name:"AccountDescription"` AccountPrivilege string `position:"Query" name:"AccountPrivilege"` AccountPassword string `position:"Query" name:"AccountPassword"` InstanceId string `position:"Query" name:"InstanceId"` AccountName string `position:"Query" name:"AccountName"` DBName string `position:"Query" name:"DBName"` SecurityToken string `position:"Query" name:"SecurityToken"` DBInfo string `position:"Query" name:"DBInfo"` }
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 CreateDatabaseBackupRequest ¶
type CreateDatabaseBackupRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` InstanceId string `position:"Query" name:"InstanceId"` DBName string `position:"Query" name:"DBName"` SecurityToken string `position:"Query" name:"SecurityToken"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
CreateDatabaseBackupRequest is the request struct for api CreateDatabaseBackup
func CreateCreateDatabaseBackupRequest ¶
func CreateCreateDatabaseBackupRequest() (request *CreateDatabaseBackupRequest)
CreateCreateDatabaseBackupRequest creates a request to invoke CreateDatabaseBackup API
type CreateDatabaseBackupResponse ¶
type CreateDatabaseBackupResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` BackupId string `json:"BackupId" xml:"BackupId"` }
CreateDatabaseBackupResponse is the response struct for api CreateDatabaseBackup
func CreateCreateDatabaseBackupResponse ¶
func CreateCreateDatabaseBackupResponse() (response *CreateDatabaseBackupResponse)
CreateCreateDatabaseBackupResponse creates a response to parse from CreateDatabaseBackup response
type CreateDatabaseRequest ¶
type CreateDatabaseRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` NodeSpec string `position:"Query" name:"NodeSpec"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` Token string `position:"Query" name:"Token"` InstanceId string `position:"Query" name:"InstanceId"` DBName string `position:"Query" name:"DBName"` SecurityToken string `position:"Query" name:"SecurityToken"` NodeNumber requests.Integer `position:"Query" name:"NodeNumber"` }
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"` OrderId string `json:"OrderId" xml:"OrderId"` }
CreateDatabaseResponse is the response struct for api CreateDatabase
func CreateCreateDatabaseResponse ¶
func CreateCreateDatabaseResponse() (response *CreateDatabaseResponse)
CreateCreateDatabaseResponse creates a response to parse from CreateDatabase response
type CreateInstanceRequest ¶
type CreateInstanceRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` NodeSpec string `position:"Query" name:"NodeSpec"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` ClientToken string `position:"Query" name:"ClientToken"` OwnerAccount string `position:"Query" name:"OwnerAccount"` NetworkType string `position:"Query" name:"NetworkType"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` SecurityIPList string `position:"Query" name:"SecurityIPList"` VSwitchId string `position:"Query" name:"VSwitchId"` AccountPassword string `position:"Query" name:"AccountPassword"` InstanceName string `position:"Query" name:"InstanceName"` DBName string `position:"Query" name:"DBName"` AccountName string `position:"Query" name:"AccountName"` SecurityToken string `position:"Query" name:"SecurityToken"` NodeNumber requests.Integer `position:"Query" name:"NodeNumber"` VpcId string `position:"Query" name:"VpcId"` ZoneId string `position:"Query" name:"ZoneId"` ChargeType string `position:"Query" name:"ChargeType"` }
CreateInstanceRequest is the request struct for api CreateInstance
func CreateCreateInstanceRequest ¶
func CreateCreateInstanceRequest() (request *CreateInstanceRequest)
CreateCreateInstanceRequest creates a request to invoke CreateInstance API
type CreateInstanceResponse ¶
type CreateInstanceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` InstanceId string `json:"InstanceId" xml:"InstanceId"` OrderId string `json:"OrderId" xml:"OrderId"` ConnectionString string `json:"ConnectionString" xml:"ConnectionString"` Port string `json:"Port" xml:"Port"` InstanceName string `json:"InstanceName" xml:"InstanceName"` EndTime string `json:"EndTime" xml:"EndTime"` }
CreateInstanceResponse is the response struct for api CreateInstance
func CreateCreateInstanceResponse ¶
func CreateCreateInstanceResponse() (response *CreateInstanceResponse)
CreateCreateInstanceResponse creates a response to parse from CreateInstance response
type Database ¶
type Database struct { DBType string `json:"DBType" xml:"DBType"` DBStatus string `json:"DBStatus" xml:"DBStatus"` EndTime string `json:"EndTime" xml:"EndTime"` SourceInstanceId string `json:"SourceInstanceId" xml:"SourceInstanceId"` ChargeType string `json:"ChargeType" xml:"ChargeType"` InstanceId string `json:"InstanceId" xml:"InstanceId"` CreateTime string `json:"CreateTime" xml:"CreateTime"` DBName string `json:"DBName" xml:"DBName"` NodeSpec string `json:"NodeSpec" xml:"NodeSpec"` NodeNumber int `json:"NodeNumber" xml:"NodeNumber"` }
Database is a nested struct in petadata 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 petadata response
type DatabasePrivileges ¶
type DatabasePrivileges struct {
DatabasePrivilege []DatabasePrivilege `json:"DatabasePrivilege" xml:"DatabasePrivilege"`
}
DatabasePrivileges is a nested struct in petadata response
type DatabasesInDescribeDatabases ¶
type DatabasesInDescribeDatabases struct {
Database []Database `json:"Database" xml:"Database"`
}
DatabasesInDescribeDatabases is a nested struct in petadata response
type DatabasesInDescribeInstanceInfo ¶
type DatabasesInDescribeInstanceInfo struct {
Database []Database `json:"Database" xml:"Database"`
}
DatabasesInDescribeInstanceInfo is a nested struct in petadata response
type DatabasesInDescribeInstances ¶
type DatabasesInDescribeInstances struct {
Database []Database `json:"Database" xml:"Database"`
}
DatabasesInDescribeInstances is a nested struct in petadata response
type DeleteAccountRequest ¶
type DeleteAccountRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` InstanceId string `position:"Query" name:"InstanceId"` AccountName string `position:"Query" name:"AccountName"` SecurityToken string `position:"Query" name:"SecurityToken"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` 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 DeleteDatabaseRequest ¶
type DeleteDatabaseRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` InstanceId string `position:"Query" name:"InstanceId"` DBName string `position:"Query" name:"DBName"` SecurityToken string `position:"Query" name:"SecurityToken"` 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"` }
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 DeleteInstanceRequest ¶
type DeleteInstanceRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` InstanceId string `position:"Query" name:"InstanceId"` SecurityToken string `position:"Query" name:"SecurityToken"` 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"` }
DeleteInstanceRequest is the request struct for api DeleteInstance
func CreateDeleteInstanceRequest ¶
func CreateDeleteInstanceRequest() (request *DeleteInstanceRequest)
CreateDeleteInstanceRequest creates a request to invoke DeleteInstance API
type DeleteInstanceResponse ¶
type DeleteInstanceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteInstanceResponse is the response struct for api DeleteInstance
func CreateDeleteInstanceResponse ¶
func CreateDeleteInstanceResponse() (response *DeleteInstanceResponse)
CreateDeleteInstanceResponse creates a response to parse from DeleteInstance response
type DescribeAccountsRequest ¶
type DescribeAccountsRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` InstanceId string `position:"Query" name:"InstanceId"` SecurityToken string `position:"Query" name:"SecurityToken"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` 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"` InstanceId string `json:"InstanceId" xml:"InstanceId"` AccountList AccountList `json:"AccountList" xml:"AccountList"` }
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"` InstanceId string `position:"Query" name:"InstanceId"` DBName string `position:"Query" name:"DBName"` SecurityToken string `position:"Query" name:"SecurityToken"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` 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"` InstanceId string `json:"InstanceId" xml:"InstanceId"` DBName string `json:"DBName" xml:"DBName"` PreferredBackupPeriod string `json:"PreferredBackupPeriod" xml:"PreferredBackupPeriod"` PreferredBackupTime string `json:"PreferredBackupTime" xml:"PreferredBackupTime"` BackupRetentionPeriod string `json:"BackupRetentionPeriod" xml:"BackupRetentionPeriod"` EnableBinlogBackup bool `json:"EnableBinlogBackup" xml:"EnableBinlogBackup"` }
DescribeBackupPolicyResponse is the response struct for api DescribeBackupPolicy
func CreateDescribeBackupPolicyResponse ¶
func CreateDescribeBackupPolicyResponse() (response *DescribeBackupPolicyResponse)
CreateDescribeBackupPolicyResponse creates a response to parse from DescribeBackupPolicy response
type DescribeDatabaseBackupRequest ¶
type DescribeDatabaseBackupRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` 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 string `position:"Query" name:"PageNumber"` BackupStatus string `position:"Query" name:"BackupStatus"` InstanceId string `position:"Query" name:"InstanceId"` DBName string `position:"Query" name:"DBName"` SecurityToken string `position:"Query" name:"SecurityToken"` PageSize string `position:"Query" name:"PageSize"` BackupMode string `position:"Query" name:"BackupMode"` }
DescribeDatabaseBackupRequest is the request struct for api DescribeDatabaseBackup
func CreateDescribeDatabaseBackupRequest ¶
func CreateDescribeDatabaseBackupRequest() (request *DescribeDatabaseBackupRequest)
CreateDescribeDatabaseBackupRequest creates a request to invoke DescribeDatabaseBackup API
type DescribeDatabaseBackupResponse ¶
type DescribeDatabaseBackupResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` InstanceId string `json:"InstanceId" xml:"InstanceId"` DBName string `json:"DBName" xml:"DBName"` PageNumber int `json:"PageNumber" xml:"PageNumber"` PageRecordCount int `json:"PageRecordCount" xml:"PageRecordCount"` TotalRecordCount int `json:"TotalRecordCount" xml:"TotalRecordCount"` BackupTotalSize int `json:"BackupTotalSize" xml:"BackupTotalSize"` BackupItems BackupItems `json:"BackupItems" xml:"BackupItems"` }
DescribeDatabaseBackupResponse is the response struct for api DescribeDatabaseBackup
func CreateDescribeDatabaseBackupResponse ¶
func CreateDescribeDatabaseBackupResponse() (response *DescribeDatabaseBackupResponse)
CreateDescribeDatabaseBackupResponse creates a response to parse from DescribeDatabaseBackup response
type DescribeDatabasePartitionsRequest ¶
type DescribeDatabasePartitionsRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` InstanceId string `position:"Query" name:"InstanceId"` DBName string `position:"Query" name:"DBName"` SecurityToken string `position:"Query" name:"SecurityToken"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
DescribeDatabasePartitionsRequest is the request struct for api DescribeDatabasePartitions
func CreateDescribeDatabasePartitionsRequest ¶
func CreateDescribeDatabasePartitionsRequest() (request *DescribeDatabasePartitionsRequest)
CreateDescribeDatabasePartitionsRequest creates a request to invoke DescribeDatabasePartitions API
type DescribeDatabasePartitionsResponse ¶
type DescribeDatabasePartitionsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` InstanceId string `json:"InstanceId" xml:"InstanceId"` DBName string `json:"DBName" xml:"DBName"` Partitions Partitions `json:"Partitions" xml:"Partitions"` }
DescribeDatabasePartitionsResponse is the response struct for api DescribeDatabasePartitions
func CreateDescribeDatabasePartitionsResponse ¶
func CreateDescribeDatabasePartitionsResponse() (response *DescribeDatabasePartitionsResponse)
CreateDescribeDatabasePartitionsResponse creates a response to parse from DescribeDatabasePartitions response
type DescribeDatabasePerformanceRequest ¶
type DescribeDatabasePerformanceRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` 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"` KeyList string `position:"Query" name:"KeyList"` InstanceId string `position:"Query" name:"InstanceId"` DBName string `position:"Query" name:"DBName"` SecurityToken string `position:"Query" name:"SecurityToken"` MonitorGroup string `position:"Query" name:"MonitorGroup"` Interval string `position:"Query" name:"Interval"` }
DescribeDatabasePerformanceRequest is the request struct for api DescribeDatabasePerformance
func CreateDescribeDatabasePerformanceRequest ¶
func CreateDescribeDatabasePerformanceRequest() (request *DescribeDatabasePerformanceRequest)
CreateDescribeDatabasePerformanceRequest creates a request to invoke DescribeDatabasePerformance API
type DescribeDatabasePerformanceResponse ¶
type DescribeDatabasePerformanceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` MonitorDatas MonitorDatasInDescribeDatabasePerformance `json:"MonitorDatas" xml:"MonitorDatas"` }
DescribeDatabasePerformanceResponse is the response struct for api DescribeDatabasePerformance
func CreateDescribeDatabasePerformanceResponse ¶
func CreateDescribeDatabasePerformanceResponse() (response *DescribeDatabasePerformanceResponse)
CreateDescribeDatabasePerformanceResponse creates a response to parse from DescribeDatabasePerformance response
type DescribeDatabaseResourceUsageRequest ¶
type DescribeDatabaseResourceUsageRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` 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"` InstanceId string `position:"Query" name:"InstanceId"` DBName string `position:"Query" name:"DBName"` SecurityToken string `position:"Query" name:"SecurityToken"` Interval string `position:"Query" name:"Interval"` }
DescribeDatabaseResourceUsageRequest is the request struct for api DescribeDatabaseResourceUsage
func CreateDescribeDatabaseResourceUsageRequest ¶
func CreateDescribeDatabaseResourceUsageRequest() (request *DescribeDatabaseResourceUsageRequest)
CreateDescribeDatabaseResourceUsageRequest creates a request to invoke DescribeDatabaseResourceUsage API
type DescribeDatabaseResourceUsageResponse ¶
type DescribeDatabaseResourceUsageResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` MonitorDatas MonitorDatasInDescribeDatabaseResourceUsage `json:"MonitorDatas" xml:"MonitorDatas"` }
DescribeDatabaseResourceUsageResponse is the response struct for api DescribeDatabaseResourceUsage
func CreateDescribeDatabaseResourceUsageResponse ¶
func CreateDescribeDatabaseResourceUsageResponse() (response *DescribeDatabaseResourceUsageResponse)
CreateDescribeDatabaseResourceUsageResponse creates a response to parse from DescribeDatabaseResourceUsage response
type DescribeDatabasesRequest ¶
type DescribeDatabasesRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` InstanceId string `position:"Query" name:"InstanceId"` DBName string `position:"Query" name:"DBName"` SecurityToken string `position:"Query" name:"SecurityToken"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` 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"` InstanceId string `json:"InstanceId" xml:"InstanceId"` Databases DatabasesInDescribeDatabases `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 DescribeInstanceInfoRequest ¶
type DescribeInstanceInfoRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` InstanceId string `position:"Query" name:"InstanceId"` SecurityToken string `position:"Query" name:"SecurityToken"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
DescribeInstanceInfoRequest is the request struct for api DescribeInstanceInfo
func CreateDescribeInstanceInfoRequest ¶
func CreateDescribeInstanceInfoRequest() (request *DescribeInstanceInfoRequest)
CreateDescribeInstanceInfoRequest creates a request to invoke DescribeInstanceInfo API
type DescribeInstanceInfoResponse ¶
type DescribeInstanceInfoResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` InstanceId string `json:"InstanceId" xml:"InstanceId"` InstanceName string `json:"InstanceName" xml:"InstanceName"` RegionId string `json:"RegionId" xml:"RegionId"` ZoneId string `json:"ZoneId" xml:"ZoneId"` InstanceStatus string `json:"InstanceStatus" xml:"InstanceStatus"` NetworkInfoItems NetworkInfoItems `json:"NetworkInfoItems" xml:"NetworkInfoItems"` Databases DatabasesInDescribeInstanceInfo `json:"Databases" xml:"Databases"` }
DescribeInstanceInfoResponse is the response struct for api DescribeInstanceInfo
func CreateDescribeInstanceInfoResponse ¶
func CreateDescribeInstanceInfoResponse() (response *DescribeInstanceInfoResponse)
CreateDescribeInstanceInfoResponse creates a response to parse from DescribeInstanceInfo response
type DescribeInstancePerformanceRequest ¶
type DescribeInstancePerformanceRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` 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"` KeyList string `position:"Query" name:"KeyList"` InstanceId string `position:"Query" name:"InstanceId"` SecurityToken string `position:"Query" name:"SecurityToken"` MonitorGroup string `position:"Query" name:"MonitorGroup"` Interval string `position:"Query" name:"Interval"` }
DescribeInstancePerformanceRequest is the request struct for api DescribeInstancePerformance
func CreateDescribeInstancePerformanceRequest ¶
func CreateDescribeInstancePerformanceRequest() (request *DescribeInstancePerformanceRequest)
CreateDescribeInstancePerformanceRequest creates a request to invoke DescribeInstancePerformance API
type DescribeInstancePerformanceResponse ¶
type DescribeInstancePerformanceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` MonitorDatas MonitorDatasInDescribeInstancePerformance `json:"MonitorDatas" xml:"MonitorDatas"` }
DescribeInstancePerformanceResponse is the response struct for api DescribeInstancePerformance
func CreateDescribeInstancePerformanceResponse ¶
func CreateDescribeInstancePerformanceResponse() (response *DescribeInstancePerformanceResponse)
CreateDescribeInstancePerformanceResponse creates a response to parse from DescribeInstancePerformance response
type DescribeInstanceResourceUsageRequest ¶
type DescribeInstanceResourceUsageRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` InstanceId string `position:"Query" name:"InstanceId"` SecurityToken string `position:"Query" name:"SecurityToken"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerAccount string `position:"Query" name:"OwnerAccount"` EndTime string `position:"Query" name:"EndTime"` Interval string `position:"Query" name:"Interval"` StartTime string `position:"Query" name:"StartTime"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
DescribeInstanceResourceUsageRequest is the request struct for api DescribeInstanceResourceUsage
func CreateDescribeInstanceResourceUsageRequest ¶
func CreateDescribeInstanceResourceUsageRequest() (request *DescribeInstanceResourceUsageRequest)
CreateDescribeInstanceResourceUsageRequest creates a request to invoke DescribeInstanceResourceUsage API
type DescribeInstanceResourceUsageResponse ¶
type DescribeInstanceResourceUsageResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` MonitorDatas MonitorDatasInDescribeInstanceResourceUsage `json:"MonitorDatas" xml:"MonitorDatas"` }
DescribeInstanceResourceUsageResponse is the response struct for api DescribeInstanceResourceUsage
func CreateDescribeInstanceResourceUsageResponse ¶
func CreateDescribeInstanceResourceUsageResponse() (response *DescribeInstanceResourceUsageResponse)
CreateDescribeInstanceResourceUsageResponse creates a response to parse from DescribeInstanceResourceUsage response
type DescribeInstancesRequest ¶
type DescribeInstancesRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` InstanceStatus string `position:"Query" name:"InstanceStatus"` 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"` InstanceId string `position:"Query" name:"InstanceId"` SecurityToken string `position:"Query" name:"SecurityToken"` PageSize requests.Integer `position:"Query" name:"PageSize"` ChargeType string `position:"Query" name:"ChargeType"` }
DescribeInstancesRequest is the request struct for api DescribeInstances
func CreateDescribeInstancesRequest ¶
func CreateDescribeInstancesRequest() (request *DescribeInstancesRequest)
CreateDescribeInstancesRequest creates a request to invoke DescribeInstances API
type DescribeInstancesResponse ¶
type DescribeInstancesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` PageNumber int `json:"PageNumber" xml:"PageNumber"` PageSize int `json:"PageSize" xml:"PageSize"` TotalCount int `json:"TotalCount" xml:"TotalCount"` Instances Instances `json:"Instances" xml:"Instances"` }
DescribeInstancesResponse is the response struct for api DescribeInstances
func CreateDescribeInstancesResponse ¶
func CreateDescribeInstancesResponse() (response *DescribeInstancesResponse)
CreateDescribeInstancesResponse creates a response to parse from DescribeInstances response
type DescribeMonitorItemsRequest ¶
type DescribeMonitorItemsRequest struct { *requests.RpcRequest ItemLevel string `position:"Query" name:"ItemLevel"` MonitorVersion string `position:"Query" name:"MonitorVersion"` ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` InstanceId string `position:"Query" name:"InstanceId"` SecurityToken string `position:"Query" name:"SecurityToken"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
DescribeMonitorItemsRequest is the request struct for api DescribeMonitorItems
func CreateDescribeMonitorItemsRequest ¶
func CreateDescribeMonitorItemsRequest() (request *DescribeMonitorItemsRequest)
CreateDescribeMonitorItemsRequest creates a request to invoke DescribeMonitorItems API
type DescribeMonitorItemsResponse ¶
type DescribeMonitorItemsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` MonitorItems MonitorItems `json:"MonitorItems" xml:"MonitorItems"` }
DescribeMonitorItemsResponse is the response struct for api DescribeMonitorItems
func CreateDescribeMonitorItemsResponse ¶
func CreateDescribeMonitorItemsResponse() (response *DescribeMonitorItemsResponse)
CreateDescribeMonitorItemsResponse creates a response to parse from DescribeMonitorItems response
type DescribePriceRequest ¶
type DescribePriceRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` SecurityToken string `position:"Query" name:"SecurityToken"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerAccount string `position:"Query" name:"OwnerAccount"` Commodities string `position:"Query" name:"Commodities"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` OrderType string `position:"Query" name:"OrderType"` }
DescribePriceRequest is the request struct for api DescribePrice
func CreateDescribePriceRequest ¶
func CreateDescribePriceRequest() (request *DescribePriceRequest)
CreateDescribePriceRequest creates a request to invoke DescribePrice API
type DescribePriceResponse ¶
type DescribePriceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Order Order `json:"Order" xml:"Order"` Rules Rules `json:"Rules" xml:"Rules"` }
DescribePriceResponse is the response struct for api DescribePrice
func CreateDescribePriceResponse ¶
func CreateDescribePriceResponse() (response *DescribePriceResponse)
CreateDescribePriceResponse creates a response to parse from DescribePrice response
type DescribeRegionsRequest ¶
type DescribeRegionsRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` SecurityToken string `position:"Query" name:"SecurityToken"` 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 DescribeSecurityIPsRequest ¶
type DescribeSecurityIPsRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` InstanceId string `position:"Query" name:"InstanceId"` SecurityToken string `position:"Query" name:"SecurityToken"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
DescribeSecurityIPsRequest is the request struct for api DescribeSecurityIPs
func CreateDescribeSecurityIPsRequest ¶
func CreateDescribeSecurityIPsRequest() (request *DescribeSecurityIPsRequest)
CreateDescribeSecurityIPsRequest creates a request to invoke DescribeSecurityIPs API
type DescribeSecurityIPsResponse ¶
type DescribeSecurityIPsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` InstanceId string `json:"InstanceId" xml:"InstanceId"` SecurityIPList string `json:"SecurityIPList" xml:"SecurityIPList"` SecurityIPs SecurityIPs `json:"SecurityIPs" xml:"SecurityIPs"` }
DescribeSecurityIPsResponse is the response struct for api DescribeSecurityIPs
func CreateDescribeSecurityIPsResponse ¶
func CreateDescribeSecurityIPsResponse() (response *DescribeSecurityIPsResponse)
CreateDescribeSecurityIPsResponse creates a response to parse from DescribeSecurityIPs response
type DescribeTaskStatusRequest ¶
type DescribeTaskStatusRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` InstanceId string `position:"Query" name:"InstanceId"` SecurityToken string `position:"Query" name:"SecurityToken"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` TaskId string `position:"Query" name:"TaskId"` }
DescribeTaskStatusRequest is the request struct for api DescribeTaskStatus
func CreateDescribeTaskStatusRequest ¶
func CreateDescribeTaskStatusRequest() (request *DescribeTaskStatusRequest)
CreateDescribeTaskStatusRequest creates a request to invoke DescribeTaskStatus API
type DescribeTaskStatusResponse ¶
type DescribeTaskStatusResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TaskId string `json:"TaskId" xml:"TaskId"` Message string `json:"Message" xml:"Message"` BeginTime string `json:"BeginTime" xml:"BeginTime"` FinishTime string `json:"FinishTime" xml:"FinishTime"` Status string `json:"Status" xml:"Status"` }
DescribeTaskStatusResponse is the response struct for api DescribeTaskStatus
func CreateDescribeTaskStatusResponse ¶
func CreateDescribeTaskStatusResponse() (response *DescribeTaskStatusResponse)
CreateDescribeTaskStatusResponse creates a response to parse from DescribeTaskStatus response
type DescribeTasksRequest ¶
type DescribeTasksRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerAccount string `position:"Query" name:"OwnerAccount"` MaxRecordsPerPage string `position:"Query" name:"MaxRecordsPerPage"` EndTime string `position:"Query" name:"EndTime"` StartTime string `position:"Query" name:"StartTime"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` InstanceId string `position:"Query" name:"InstanceId"` SecurityToken string `position:"Query" name:"SecurityToken"` PageNumbers string `position:"Query" name:"PageNumbers"` TaskAction string `position:"Query" name:"TaskAction"` Status string `position:"Query" name:"Status"` }
DescribeTasksRequest is the request struct for api DescribeTasks
func CreateDescribeTasksRequest ¶
func CreateDescribeTasksRequest() (request *DescribeTasksRequest)
CreateDescribeTasksRequest creates a request to invoke DescribeTasks API
type DescribeTasksResponse ¶
type DescribeTasksResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` InstanceId string `json:"InstanceId" xml:"InstanceId"` StartTime string `json:"StartTime" xml:"StartTime"` EndTime string `json:"EndTime" xml:"EndTime"` TotalRecords string `json:"TotalRecords" xml:"TotalRecords"` MaxRecordsPerPage string `json:"MaxRecordsPerPage" xml:"MaxRecordsPerPage"` PageNumbers string `json:"PageNumbers" xml:"PageNumbers"` Tasks Tasks `json:"Tasks" xml:"Tasks"` }
DescribeTasksResponse is the response struct for api DescribeTasks
func CreateDescribeTasksResponse ¶
func CreateDescribeTasksResponse() (response *DescribeTasksResponse)
CreateDescribeTasksResponse creates a response to parse from DescribeTasks response
type DescribeUserInfoRequest ¶
type DescribeUserInfoRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` SecurityToken string `position:"Query" name:"SecurityToken"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
DescribeUserInfoRequest is the request struct for api DescribeUserInfo
func CreateDescribeUserInfoRequest ¶
func CreateDescribeUserInfoRequest() (request *DescribeUserInfoRequest)
CreateDescribeUserInfoRequest creates a request to invoke DescribeUserInfo API
type DescribeUserInfoResponse ¶
type DescribeUserInfoResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` IsAuthentication bool `json:"IsAuthentication" xml:"IsAuthentication"` IsFinance bool `json:"IsFinance" xml:"IsFinance"` BalanceAmount int `json:"BalanceAmount" xml:"BalanceAmount"` AlreadyHasResourceNum AlreadyHasResourceNum `json:"AlreadyHasResourceNum" xml:"AlreadyHasResourceNum"` }
DescribeUserInfoResponse is the response struct for api DescribeUserInfo
func CreateDescribeUserInfoResponse ¶
func CreateDescribeUserInfoResponse() (response *DescribeUserInfoResponse)
CreateDescribeUserInfoResponse creates a response to parse from DescribeUserInfo 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"` SecurityToken string `position:"Query" name:"SecurityToken"` 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"` 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 GroupValue ¶
type GroupValue struct {
MonitorItemModel []MonitorItemModel `json:"MonitorItemModel" xml:"MonitorItemModel"`
}
GroupValue is a nested struct in petadata response
type Instance ¶
type Instance struct { InstanceId string `json:"InstanceId" xml:"InstanceId"` InstanceName string `json:"InstanceName" xml:"InstanceName"` ConnectionString string `json:"ConnectionString" xml:"ConnectionString"` Port int `json:"Port" xml:"Port"` PrivateIpAddress string `json:"PrivateIpAddress" xml:"PrivateIpAddress"` CreateTime string `json:"CreateTime" xml:"CreateTime"` RegionId string `json:"RegionId" xml:"RegionId"` ZoneId string `json:"ZoneId" xml:"ZoneId"` InstanceStatus string `json:"InstanceStatus" xml:"InstanceStatus"` NetworkType string `json:"NetworkType" xml:"NetworkType"` VpcId string `json:"VpcId" xml:"VpcId"` VSwitchId string `json:"VSwitchId" xml:"VSwitchId"` Databases DatabasesInDescribeInstances `json:"Databases" xml:"Databases"` }
Instance is a nested struct in petadata response
type Instances ¶
type Instances struct {
Instance []Instance `json:"Instance" xml:"Instance"`
}
Instances is a nested struct in petadata response
type ModifyAccountDescriptionRequest ¶
type ModifyAccountDescriptionRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` AccountName string `position:"Query" name:"AccountName"` SecurityToken string `position:"Query" name:"SecurityToken"` 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"` 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 ModifyAccountPasswordRequest ¶
type ModifyAccountPasswordRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` InstanceId string `position:"Query" name:"InstanceId"` AccountName string `position:"Query" name:"AccountName"` SecurityToken string `position:"Query" name:"SecurityToken"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OldPassword string `position:"Query" name:"OldPassword"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` NewPassword string `position:"Query" name:"NewPassword"` }
ModifyAccountPasswordRequest is the request struct for api ModifyAccountPassword
func CreateModifyAccountPasswordRequest ¶
func CreateModifyAccountPasswordRequest() (request *ModifyAccountPasswordRequest)
CreateModifyAccountPasswordRequest creates a request to invoke ModifyAccountPassword API
type ModifyAccountPasswordResponse ¶
type ModifyAccountPasswordResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ModifyAccountPasswordResponse is the response struct for api ModifyAccountPassword
func CreateModifyAccountPasswordResponse ¶
func CreateModifyAccountPasswordResponse() (response *ModifyAccountPasswordResponse)
CreateModifyAccountPasswordResponse creates a response to parse from ModifyAccountPassword response
type ModifyBackupPolicyRequest ¶
type ModifyBackupPolicyRequest struct { *requests.RpcRequest PreferredBackupPeriod string `position:"Query" name:"PreferredBackupPeriod"` 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"` PreferredBackupTime string `position:"Query" name:"PreferredBackupTime"` BackupRetentionPeriod string `position:"Query" name:"BackupRetentionPeriod"` EnableBinlogBackup requests.Boolean `position:"Query" name:"EnableBinlogBackup"` InstanceId string `position:"Query" name:"InstanceId"` DBName string `position:"Query" name:"DBName"` SecurityToken string `position:"Query" name:"SecurityToken"` }
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 ModifyInstanceNameRequest ¶
type ModifyInstanceNameRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` InstanceId string `position:"Query" name:"InstanceId"` NewInstanceName string `position:"Query" name:"NewInstanceName"` SecurityToken string `position:"Query" name:"SecurityToken"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
ModifyInstanceNameRequest is the request struct for api ModifyInstanceName
func CreateModifyInstanceNameRequest ¶
func CreateModifyInstanceNameRequest() (request *ModifyInstanceNameRequest)
CreateModifyInstanceNameRequest creates a request to invoke ModifyInstanceName API
type ModifyInstanceNameResponse ¶
type ModifyInstanceNameResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ModifyInstanceNameResponse is the response struct for api ModifyInstanceName
func CreateModifyInstanceNameResponse ¶
func CreateModifyInstanceNameResponse() (response *ModifyInstanceNameResponse)
CreateModifyInstanceNameResponse creates a response to parse from ModifyInstanceName response
type ModifySecurityIPsRequest ¶
type ModifySecurityIPsRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ModifyMode string `position:"Query" name:"ModifyMode"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerAccount string `position:"Query" name:"OwnerAccount"` SecurityIPListAttribute string `position:"Query" name:"SecurityIPListAttribute"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` SecurityIPList string `position:"Query" name:"SecurityIPList"` InstanceId string `position:"Query" name:"InstanceId"` SecurityToken string `position:"Query" name:"SecurityToken"` SecurityIPListName string `position:"Query" name:"SecurityIPListName"` }
ModifySecurityIPsRequest is the request struct for api ModifySecurityIPs
func CreateModifySecurityIPsRequest ¶
func CreateModifySecurityIPsRequest() (request *ModifySecurityIPsRequest)
CreateModifySecurityIPsRequest creates a request to invoke ModifySecurityIPs API
type ModifySecurityIPsResponse ¶
type ModifySecurityIPsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` InstanceId string `json:"InstanceId" xml:"InstanceId"` SecurityIPList string `json:"SecurityIPList" xml:"SecurityIPList"` }
ModifySecurityIPsResponse is the response struct for api ModifySecurityIPs
func CreateModifySecurityIPsResponse ¶
func CreateModifySecurityIPsResponse() (response *ModifySecurityIPsResponse)
CreateModifySecurityIPsResponse creates a response to parse from ModifySecurityIPs response
type MonitorData ¶
type MonitorData struct { DataSize int `json:"DataSize" xml:"DataSize"` Key string `json:"Key" xml:"Key"` BinlogSize int `json:"BinlogSize" xml:"BinlogSize"` Unit string `json:"Unit" xml:"Unit"` OtherSize int `json:"OtherSize" xml:"OtherSize"` Date string `json:"Date" xml:"Date"` TotalSize int `json:"TotalSize" xml:"TotalSize"` PerformanceValues PerformanceValuesInDescribeInstancePerformance `json:"PerformanceValues" xml:"PerformanceValues"` }
MonitorData is a nested struct in petadata response
type MonitorDatasInDescribeDatabasePerformance ¶
type MonitorDatasInDescribeDatabasePerformance struct {
MonitorData []MonitorData `json:"MonitorData" xml:"MonitorData"`
}
MonitorDatasInDescribeDatabasePerformance is a nested struct in petadata response
type MonitorDatasInDescribeDatabaseResourceUsage ¶
type MonitorDatasInDescribeDatabaseResourceUsage struct {
MonitorData []MonitorData `json:"MonitorData" xml:"MonitorData"`
}
MonitorDatasInDescribeDatabaseResourceUsage is a nested struct in petadata response
type MonitorDatasInDescribeInstancePerformance ¶
type MonitorDatasInDescribeInstancePerformance struct {
MonitorData []MonitorData `json:"MonitorData" xml:"MonitorData"`
}
MonitorDatasInDescribeInstancePerformance is a nested struct in petadata response
type MonitorDatasInDescribeInstanceResourceUsage ¶
type MonitorDatasInDescribeInstanceResourceUsage struct {
MonitorData []MonitorData `json:"MonitorData" xml:"MonitorData"`
}
MonitorDatasInDescribeInstanceResourceUsage is a nested struct in petadata response
type MonitorItem ¶
type MonitorItem struct { DisplayName string `json:"DisplayName" xml:"DisplayName"` Key string `json:"Key" xml:"Key"` Unit string `json:"Unit" xml:"Unit"` GroupName string `json:"GroupName" xml:"GroupName"` Desc string `json:"Desc" xml:"Desc"` GroupValue GroupValue `json:"GroupValue" xml:"GroupValue"` }
MonitorItem is a nested struct in petadata response
type MonitorItemModel ¶
type MonitorItemModel struct { DisplayName string `json:"DisplayName" xml:"DisplayName"` Key string `json:"Key" xml:"Key"` Unit string `json:"Unit" xml:"Unit"` }
MonitorItemModel is a nested struct in petadata response
type MonitorItems ¶
type MonitorItems struct {
MonitorItem []MonitorItem `json:"MonitorItem" xml:"MonitorItem"`
}
MonitorItems is a nested struct in petadata response
type NetworkInfoItem ¶
type NetworkInfoItem struct { NetworkType string `json:"NetworkType" xml:"NetworkType"` ConnectionString string `json:"ConnectionString" xml:"ConnectionString"` Port string `json:"Port" xml:"Port"` VpcId string `json:"VpcId" xml:"VpcId"` VSwitchId string `json:"VSwitchId" xml:"VSwitchId"` PrivateIpAddress string `json:"PrivateIpAddress" xml:"PrivateIpAddress"` }
NetworkInfoItem is a nested struct in petadata response
type NetworkInfoItems ¶
type NetworkInfoItems struct {
NetworkInfoItem []NetworkInfoItem `json:"NetworkInfoItem" xml:"NetworkInfoItem"`
}
NetworkInfoItems is a nested struct in petadata response
type Order ¶
type Order struct { OriginalAmount float64 `json:"OriginalAmount" xml:"OriginalAmount"` TradeAmount float64 `json:"TradeAmount" xml:"TradeAmount"` DiscountAmount float64 `json:"DiscountAmount" xml:"DiscountAmount"` RuleIds RuleIds `json:"RuleIds" xml:"RuleIds"` }
Order is a nested struct in petadata response
type Partition ¶
type Partition struct { PartitionId string `json:"PartitionId" xml:"PartitionId"` DiskCapacity int `json:"DiskCapacity" xml:"DiskCapacity"` DiskUsed string `json:"DiskUsed" xml:"DiskUsed"` }
Partition is a nested struct in petadata response
type Partitions ¶
type Partitions struct {
Partition []Partition `json:"Partition" xml:"Partition"`
}
Partitions is a nested struct in petadata response
type PerformanceValue ¶
type PerformanceValue struct { Value string `json:"Value" xml:"Value"` Date string `json:"Date" xml:"Date"` }
PerformanceValue is a nested struct in petadata response
type PerformanceValuesInDescribeDatabasePerformance ¶
type PerformanceValuesInDescribeDatabasePerformance struct {
PerformanceValue []PerformanceValue `json:"PerformanceValue" xml:"PerformanceValue"`
}
PerformanceValuesInDescribeDatabasePerformance is a nested struct in petadata response
type PerformanceValuesInDescribeInstancePerformance ¶
type PerformanceValuesInDescribeInstancePerformance struct {
PerformanceValue []PerformanceValue `json:"PerformanceValue" xml:"PerformanceValue"`
}
PerformanceValuesInDescribeInstancePerformance is a nested struct in petadata response
type Region ¶
type Region struct { RegionId string `json:"RegionId" xml:"RegionId"` ZoneId string `json:"ZoneId" xml:"ZoneId"` Zones Zones `json:"Zones" xml:"Zones"` }
Region is a nested struct in petadata response
type Regions ¶
type Regions struct {
Region []Region `json:"Region" xml:"Region"`
}
Regions is a nested struct in petadata response
type ReleaseInstancePublicConnectionRequest ¶
type ReleaseInstancePublicConnectionRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` SecurityToken string `position:"Query" name:"SecurityToken"` 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"` CurrentConnectionString string `position:"Query" name:"CurrentConnectionString"` }
ReleaseInstancePublicConnectionRequest is the request struct for api ReleaseInstancePublicConnection
func CreateReleaseInstancePublicConnectionRequest ¶
func CreateReleaseInstancePublicConnectionRequest() (request *ReleaseInstancePublicConnectionRequest)
CreateReleaseInstancePublicConnectionRequest creates a request to invoke ReleaseInstancePublicConnection API
type ReleaseInstancePublicConnectionResponse ¶
type ReleaseInstancePublicConnectionResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ReleaseInstancePublicConnectionResponse is the response struct for api ReleaseInstancePublicConnection
func CreateReleaseInstancePublicConnectionResponse ¶
func CreateReleaseInstancePublicConnectionResponse() (response *ReleaseInstancePublicConnectionResponse)
CreateReleaseInstancePublicConnectionResponse creates a response to parse from ReleaseInstancePublicConnection response
type ResetAccountPasswordRequest ¶
type ResetAccountPasswordRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` InstanceId string `position:"Query" name:"InstanceId"` AccountName string `position:"Query" name:"AccountName"` SecurityToken string `position:"Query" name:"SecurityToken"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` NewPassword string `position:"Query" name:"NewPassword"` }
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 RestoreDatabaseRequest ¶
type RestoreDatabaseRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` RestoreTime string `position:"Query" name:"RestoreTime"` SrcDBName string `position:"Query" name:"SrcDBName"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` ClientToken string `position:"Query" name:"ClientToken"` OwnerAccount string `position:"Query" name:"OwnerAccount"` BackupId string `position:"Query" name:"BackupId"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` RestoreType string `position:"Query" name:"RestoreType"` InstanceName string `position:"Query" name:"InstanceName"` SecurityToken string `position:"Query" name:"SecurityToken"` SrcInstanceId string `position:"Query" name:"SrcInstanceId"` }
RestoreDatabaseRequest is the request struct for api RestoreDatabase
func CreateRestoreDatabaseRequest ¶
func CreateRestoreDatabaseRequest() (request *RestoreDatabaseRequest)
CreateRestoreDatabaseRequest creates a request to invoke RestoreDatabase API
type RestoreDatabaseResponse ¶
type RestoreDatabaseResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` NewInstanceId string `json:"NewInstanceId" xml:"NewInstanceId"` DBName string `json:"DBName" xml:"DBName"` OrderId string `json:"OrderId" xml:"OrderId"` }
RestoreDatabaseResponse is the response struct for api RestoreDatabase
func CreateRestoreDatabaseResponse ¶
func CreateRestoreDatabaseResponse() (response *RestoreDatabaseResponse)
CreateRestoreDatabaseResponse creates a response to parse from RestoreDatabase 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"` SecurityToken string `position:"Query" name:"SecurityToken"` 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"` }
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 Rule ¶
type Rule struct { RuleDescId int `json:"RuleDescId" xml:"RuleDescId"` Name string `json:"Name" xml:"Name"` Title string `json:"Title" xml:"Title"` }
Rule is a nested struct in petadata response
type RuleIds ¶
type RuleIds struct {
RuleId []string `json:"RuleId" xml:"RuleId"`
}
RuleIds is a nested struct in petadata response
type Rules ¶
type Rules struct {
Rule []Rule `json:"Rule" xml:"Rule"`
}
Rules is a nested struct in petadata response
type SecurityIPs ¶
type SecurityIPs struct {
SecurityIpGroup []SecurityIpGroup `json:"SecurityIpGroup" xml:"SecurityIpGroup"`
}
SecurityIPs is a nested struct in petadata response
type SecurityIpGroup ¶
type SecurityIpGroup struct { SecurityIPListName string `json:"SecurityIPListName" xml:"SecurityIPListName"` SecurityIPListAttribute string `json:"SecurityIPListAttribute" xml:"SecurityIPListAttribute"` SecurityIPList string `json:"SecurityIPList" xml:"SecurityIPList"` }
SecurityIpGroup is a nested struct in petadata response
type SwitchInstanceNetTypeRequest ¶
type SwitchInstanceNetTypeRequest struct { *requests.RpcRequest VSwitchId string `position:"Query" name:"VSwitchId"` ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` InstanceId string `position:"Query" name:"InstanceId"` SecurityToken string `position:"Query" name:"SecurityToken"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` TargetNetworkType string `position:"Query" name:"TargetNetworkType"` OwnerAccount string `position:"Query" name:"OwnerAccount"` VpcId string `position:"Query" name:"VpcId"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
SwitchInstanceNetTypeRequest is the request struct for api SwitchInstanceNetType
func CreateSwitchInstanceNetTypeRequest ¶
func CreateSwitchInstanceNetTypeRequest() (request *SwitchInstanceNetTypeRequest)
CreateSwitchInstanceNetTypeRequest creates a request to invoke SwitchInstanceNetType API
type SwitchInstanceNetTypeResponse ¶
type SwitchInstanceNetTypeResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
SwitchInstanceNetTypeResponse is the response struct for api SwitchInstanceNetType
func CreateSwitchInstanceNetTypeResponse ¶
func CreateSwitchInstanceNetTypeResponse() (response *SwitchInstanceNetTypeResponse)
CreateSwitchInstanceNetTypeResponse creates a response to parse from SwitchInstanceNetType response
type Task ¶
type Task struct { TaskId string `json:"TaskId" xml:"TaskId"` BeginTime string `json:"BeginTime" xml:"BeginTime"` FinishTime string `json:"FinishTime" xml:"FinishTime"` ExpectedFinishTime string `json:"ExpectedFinishTime" xml:"ExpectedFinishTime"` Status string `json:"Status" xml:"Status"` TaskAction string `json:"TaskAction" xml:"TaskAction"` Progress string `json:"Progress" xml:"Progress"` DBName string `json:"DBName" xml:"DBName"` ProgressInfo string `json:"ProgressInfo" xml:"ProgressInfo"` }
Task is a nested struct in petadata response
type Tasks ¶
type Tasks struct {
Task []Task `json:"Task" xml:"Task"`
}
Tasks is a nested struct in petadata response
Source Files ¶
- allocate_instance_public_connection.go
- client.go
- create_account.go
- create_database.go
- create_database_backup.go
- create_instance.go
- delete_account.go
- delete_database.go
- delete_instance.go
- describe_accounts.go
- describe_backup_policy.go
- describe_database_backup.go
- describe_database_partitions.go
- describe_database_performance.go
- describe_database_resource_usage.go
- describe_databases.go
- describe_instance_info.go
- describe_instance_performance.go
- describe_instance_resource_usage.go
- describe_instances.go
- describe_monitor_items.go
- describe_price.go
- describe_regions.go
- describe_security_i_ps.go
- describe_task_status.go
- describe_tasks.go
- describe_user_info.go
- grant_account_privilege.go
- modify_account_description.go
- modify_account_password.go
- modify_backup_policy.go
- modify_instance_name.go
- modify_security_i_ps.go
- release_instance_public_connection.go
- reset_account_password.go
- restore_database.go
- revoke_account_privilege.go
- struct_account.go
- struct_account_list.go
- struct_already_has_resource_num.go
- struct_backup.go
- struct_backup_items.go
- struct_database.go
- struct_database_privilege.go
- struct_database_privileges.go
- struct_databases_in_describe_databases.go
- struct_databases_in_describe_instance_info.go
- struct_databases_in_describe_instances.go
- struct_group_value.go
- struct_instance.go
- struct_instances.go
- struct_monitor_data.go
- struct_monitor_datas_in_describe_database_performance.go
- struct_monitor_datas_in_describe_database_resource_usage.go
- struct_monitor_datas_in_describe_instance_performance.go
- struct_monitor_datas_in_describe_instance_resource_usage.go
- struct_monitor_item.go
- struct_monitor_item_model.go
- struct_monitor_items.go
- struct_network_info_item.go
- struct_network_info_items.go
- struct_order.go
- struct_partition.go
- struct_partitions.go
- struct_performance_value.go
- struct_performance_values_in_describe_database_performance.go
- struct_performance_values_in_describe_instance_performance.go
- struct_region.go
- struct_regions.go
- struct_rule.go
- struct_rule_ids.go
- struct_rules.go
- struct_security_i_ps.go
- struct_security_ip_group.go
- struct_task.go
- struct_tasks.go
- struct_zone.go
- struct_zones.go
- switch_instance_net_type.go