Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) CloneAccount(request *CloneAccountRequest) (response *CloneAccountResponse, err error)
- func (c *Client) CloseDBExtranetAccess(request *CloseDBExtranetAccessRequest) (response *CloseDBExtranetAccessResponse, err error)
- func (c *Client) CopyAccountPrivileges(request *CopyAccountPrivilegesRequest) (response *CopyAccountPrivilegesResponse, err error)
- func (c *Client) CreateAccount(request *CreateAccountRequest) (response *CreateAccountResponse, err error)
- func (c *Client) CreateDBInstance(request *CreateDBInstanceRequest) (response *CreateDBInstanceResponse, err error)
- func (c *Client) CreateTmpInstances(request *CreateTmpInstancesRequest) (response *CreateTmpInstancesResponse, err error)
- func (c *Client) DeleteAccount(request *DeleteAccountRequest) (response *DeleteAccountResponse, err error)
- func (c *Client) DescribeAccountPrivileges(request *DescribeAccountPrivilegesRequest) (response *DescribeAccountPrivilegesResponse, err error)
- func (c *Client) DescribeAccounts(request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)
- func (c *Client) DescribeBackupTime(request *DescribeBackupTimeRequest) (response *DescribeBackupTimeResponse, err error)
- func (c *Client) DescribeDBInstanceSpecs(request *DescribeDBInstanceSpecsRequest) (response *DescribeDBInstanceSpecsResponse, err error)
- func (c *Client) DescribeDBInstances(request *DescribeDBInstancesRequest) (response *DescribeDBInstancesResponse, err error)
- func (c *Client) DescribeDBLogFiles(request *DescribeDBLogFilesRequest) (response *DescribeDBLogFilesResponse, err error)
- func (c *Client) DescribeDBParameters(request *DescribeDBParametersRequest) (response *DescribeDBParametersResponse, err error)
- func (c *Client) DescribeDBPerformance(request *DescribeDBPerformanceRequest) (response *DescribeDBPerformanceResponse, err error)
- func (c *Client) DescribeDBPerformanceDetails(request *DescribeDBPerformanceDetailsRequest) (response *DescribeDBPerformanceDetailsResponse, err error)
- func (c *Client) DescribeDBResourceUsage(request *DescribeDBResourceUsageRequest) (response *DescribeDBResourceUsageResponse, err error)
- func (c *Client) DescribeDBResourceUsageDetails(request *DescribeDBResourceUsageDetailsRequest) (response *DescribeDBResourceUsageDetailsResponse, err error)
- func (c *Client) DescribeDBSlowLogs(request *DescribeDBSlowLogsRequest) (response *DescribeDBSlowLogsResponse, err error)
- func (c *Client) DescribeDatabases(request *DescribeDatabasesRequest) (response *DescribeDatabasesResponse, err error)
- func (c *Client) DescribeFlow(request *DescribeFlowRequest) (response *DescribeFlowResponse, err error)
- func (c *Client) DescribeLogFileRetentionPeriod(request *DescribeLogFileRetentionPeriodRequest) (response *DescribeLogFileRetentionPeriodResponse, err error)
- func (c *Client) DescribeOrders(request *DescribeOrdersRequest) (response *DescribeOrdersResponse, err error)
- func (c *Client) DescribePrice(request *DescribePriceRequest) (response *DescribePriceResponse, err error)
- func (c *Client) DescribeRenewalPrice(request *DescribeRenewalPriceRequest) (response *DescribeRenewalPriceResponse, err error)
- func (c *Client) DescribeSaleInfo(request *DescribeSaleInfoRequest) (response *DescribeSaleInfoResponse, err error)
- func (c *Client) DescribeSqlLogs(request *DescribeSqlLogsRequest) (response *DescribeSqlLogsResponse, err error)
- func (c *Client) DescribeUpgradePrice(request *DescribeUpgradePriceRequest) (response *DescribeUpgradePriceResponse, err error)
- func (c *Client) GrantAccountPrivileges(request *GrantAccountPrivilegesRequest) (response *GrantAccountPrivilegesResponse, err error)
- func (c *Client) InitDBInstances(request *InitDBInstancesRequest) (response *InitDBInstancesResponse, err error)
- func (c *Client) ModifyAccountDescription(request *ModifyAccountDescriptionRequest) (response *ModifyAccountDescriptionResponse, err error)
- func (c *Client) ModifyBackupTime(request *ModifyBackupTimeRequest) (response *ModifyBackupTimeResponse, err error)
- func (c *Client) ModifyDBInstanceName(request *ModifyDBInstanceNameRequest) (response *ModifyDBInstanceNameResponse, err error)
- func (c *Client) ModifyDBInstancesProject(request *ModifyDBInstancesProjectRequest) (response *ModifyDBInstancesProjectResponse, err error)
- func (c *Client) ModifyDBParameters(request *ModifyDBParametersRequest) (response *ModifyDBParametersResponse, err error)
- func (c *Client) ModifyLogFileRetentionPeriod(request *ModifyLogFileRetentionPeriodRequest) (response *ModifyLogFileRetentionPeriodResponse, err error)
- func (c *Client) OpenDBExtranetAccess(request *OpenDBExtranetAccessRequest) (response *OpenDBExtranetAccessResponse, err error)
- func (c *Client) RenewDBInstance(request *RenewDBInstanceRequest) (response *RenewDBInstanceResponse, err error)
- func (c *Client) ResetAccountPassword(request *ResetAccountPasswordRequest) (response *ResetAccountPasswordResponse, err error)
- func (c *Client) RestartDBInstances(request *RestartDBInstancesRequest) (response *RestartDBInstancesResponse, err error)
- func (c *Client) UpgradeDBInstance(request *UpgradeDBInstanceRequest) (response *UpgradeDBInstanceResponse, err error)
- type CloneAccountRequest
- type CloneAccountResponse
- type CloseDBExtranetAccessRequest
- type CloseDBExtranetAccessResponse
- type ConstraintRange
- type CopyAccountPrivilegesRequest
- type CopyAccountPrivilegesResponse
- type CreateAccountRequest
- type CreateAccountResponse
- type CreateDBInstanceRequest
- type CreateDBInstanceResponse
- type CreateTmpInstancesRequest
- type CreateTmpInstancesResponse
- type DBAccount
- type DBBackupTimeConfig
- type DBInstance
- type DBParamValue
- type Database
- type Deal
- type DeleteAccountRequest
- type DeleteAccountResponse
- type DescribeAccountPrivilegesRequest
- type DescribeAccountPrivilegesResponse
- type DescribeAccountsRequest
- type DescribeAccountsResponse
- type DescribeBackupTimeRequest
- type DescribeBackupTimeResponse
- type DescribeDBInstanceSpecsRequest
- type DescribeDBInstanceSpecsResponse
- type DescribeDBInstancesRequest
- type DescribeDBInstancesResponse
- type DescribeDBLogFilesRequest
- type DescribeDBLogFilesResponse
- type DescribeDBParametersRequest
- type DescribeDBParametersResponse
- type DescribeDBPerformanceDetailsRequest
- type DescribeDBPerformanceDetailsResponse
- type DescribeDBPerformanceRequest
- type DescribeDBPerformanceResponse
- type DescribeDBResourceUsageDetailsRequest
- type DescribeDBResourceUsageDetailsResponse
- type DescribeDBResourceUsageRequest
- type DescribeDBResourceUsageResponse
- type DescribeDBSlowLogsRequest
- type DescribeDBSlowLogsResponse
- type DescribeDatabasesRequest
- type DescribeDatabasesResponse
- type DescribeFlowRequest
- type DescribeFlowResponse
- type DescribeLogFileRetentionPeriodRequest
- type DescribeLogFileRetentionPeriodResponse
- type DescribeOrdersRequest
- type DescribeOrdersResponse
- type DescribePriceRequest
- type DescribePriceResponse
- type DescribeRenewalPriceRequest
- type DescribeRenewalPriceResponse
- type DescribeSaleInfoRequest
- type DescribeSaleInfoResponse
- type DescribeSqlLogsRequest
- type DescribeSqlLogsResponse
- type DescribeUpgradePriceRequest
- type DescribeUpgradePriceResponse
- type GrantAccountPrivilegesRequest
- type GrantAccountPrivilegesResponse
- type InitDBInstancesRequest
- type InitDBInstancesResponse
- type InstanceSpec
- type LogFileInfo
- type ModifyAccountDescriptionRequest
- type ModifyAccountDescriptionResponse
- type ModifyBackupTimeRequest
- type ModifyBackupTimeResponse
- type ModifyDBInstanceNameRequest
- type ModifyDBInstanceNameResponse
- type ModifyDBInstancesProjectRequest
- type ModifyDBInstancesProjectResponse
- type ModifyDBParametersRequest
- type ModifyDBParametersResponse
- type ModifyLogFileRetentionPeriodRequest
- type ModifyLogFileRetentionPeriodResponse
- type MonitorData
- type OpenDBExtranetAccessRequest
- type OpenDBExtranetAccessResponse
- type ParamConstraint
- type ParamDesc
- type ParamModifyResult
- type PerformanceMonitorSet
- type RegionInfo
- type RenewDBInstanceRequest
- type RenewDBInstanceResponse
- type ResetAccountPasswordRequest
- type ResetAccountPasswordResponse
- type ResourceUsageMonitorSet
- type RestartDBInstancesRequest
- type RestartDBInstancesResponse
- type SlowLogData
- type SpecConfigInfo
- type SqlLogItem
- type UpgradeDBInstanceRequest
- type UpgradeDBInstanceResponse
- type ZoneChooseInfo
- type ZonesInfo
Constants ¶
const APIVersion = "2017-03-12"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CloneAccount ¶
func (c *Client) CloneAccount(request *CloneAccountRequest) (response *CloneAccountResponse, err error)
本接口(CloneAccount)用于克隆实例账户。
func (*Client) CloseDBExtranetAccess ¶
func (c *Client) CloseDBExtranetAccess(request *CloseDBExtranetAccessRequest) (response *CloseDBExtranetAccessResponse, err error)
本接口(CloseDBExtranetAccess)用于关闭云数据库实例的外网访问。关闭外网访问后,外网地址将不可访问,查询实例列表接口将不返回对应实例的外网域名和端口信息。
func (*Client) CopyAccountPrivileges ¶
func (c *Client) CopyAccountPrivileges(request *CopyAccountPrivilegesRequest) (response *CopyAccountPrivilegesResponse, err error)
本接口(CopyAccountPrivileges)用于复制云数据库账号的权限。 注意:相同用户名,不同Host是不同的账号,Readonly属性相同的账号之间才能复制权限。
func (*Client) CreateAccount ¶
func (c *Client) CreateAccount(request *CreateAccountRequest) (response *CreateAccountResponse, err error)
本接口(CreateAccount)用于创建云数据库账号。一个实例可以创建多个不同的账号,相同的用户名+不同的host是不同的账号。
func (*Client) CreateDBInstance ¶
func (c *Client) CreateDBInstance(request *CreateDBInstanceRequest) (response *CreateDBInstanceResponse, err error)
本接口(CreateDBInstance)用于创建包年包月的云数据库实例,可通过传入实例规格、数据库版本号、购买时长和数量等信息创建云数据库实例。
func (*Client) CreateTmpInstances ¶
func (c *Client) CreateTmpInstances(request *CreateTmpInstancesRequest) (response *CreateTmpInstancesResponse, err error)
本接口(CreateTmpInstances)用于创建临时实例。
func (*Client) DeleteAccount ¶
func (c *Client) DeleteAccount(request *DeleteAccountRequest) (response *DeleteAccountResponse, err error)
本接口(DeleteAccount)用于删除云数据库账号。用户名+host唯一确定一个账号。
func (*Client) DescribeAccountPrivileges ¶
func (c *Client) DescribeAccountPrivileges(request *DescribeAccountPrivilegesRequest) (response *DescribeAccountPrivilegesResponse, err error)
本接口(DescribeAccountPrivileges)用于查询云数据库账号权限。 注意:注意:相同用户名,不同Host是不同的账号。
func (*Client) DescribeAccounts ¶
func (c *Client) DescribeAccounts(request *DescribeAccountsRequest) (response *DescribeAccountsResponse, err error)
本接口(DescribeAccounts)用于查询指定云数据库实例的账号列表。
func (*Client) DescribeBackupTime ¶
func (c *Client) DescribeBackupTime(request *DescribeBackupTimeRequest) (response *DescribeBackupTimeResponse, err error)
本接口(DescribeBackupTime)用于获取云数据库的备份时间。后台系统将根据此配置定期进行实例备份。
func (*Client) DescribeDBInstanceSpecs ¶
func (c *Client) DescribeDBInstanceSpecs(request *DescribeDBInstanceSpecsRequest) (response *DescribeDBInstanceSpecsResponse, err error)
本接口(DescribeDBInstanceSpecs)用于查询可创建的云数据库可售卖的规格配置。
func (*Client) DescribeDBInstances ¶
func (c *Client) DescribeDBInstances(request *DescribeDBInstancesRequest) (response *DescribeDBInstancesResponse, err error)
本接口(DescribeDBInstances)用于查询云数据库实例列表,支持通过项目ID、实例ID、内网地址、实例名称等来筛选实例。 如果不指定任何筛选条件,则默认返回20条实例记录,单次请求最多支持返回100条实例记录。
func (*Client) DescribeDBLogFiles ¶
func (c *Client) DescribeDBLogFiles(request *DescribeDBLogFilesRequest) (response *DescribeDBLogFilesResponse, err error)
本接口(DescribeDBLogFiles)用于获取数据库的各种日志列表,包括冷备、binlog、errlog和slowlog。
func (*Client) DescribeDBParameters ¶
func (c *Client) DescribeDBParameters(request *DescribeDBParametersRequest) (response *DescribeDBParametersResponse, err error)
本接口(DescribeDBParameters)用于获取数据库的当前参数设置。
func (*Client) DescribeDBPerformance ¶
func (c *Client) DescribeDBPerformance(request *DescribeDBPerformanceRequest) (response *DescribeDBPerformanceResponse, err error)
本接口(DescribeDBPerformance)用于查看数据库实例当前性能数据。
func (*Client) DescribeDBPerformanceDetails ¶
func (c *Client) DescribeDBPerformanceDetails(request *DescribeDBPerformanceDetailsRequest) (response *DescribeDBPerformanceDetailsResponse, err error)
本接口(DescribeDBPerformanceDetails)用于查看实例性能数据详情。
func (*Client) DescribeDBResourceUsage ¶
func (c *Client) DescribeDBResourceUsage(request *DescribeDBResourceUsageRequest) (response *DescribeDBResourceUsageResponse, err error)
本接口(DescribeDBResourceUsage)用于查看数据库实例资源的使用情况。
func (*Client) DescribeDBResourceUsageDetails ¶
func (c *Client) DescribeDBResourceUsageDetails(request *DescribeDBResourceUsageDetailsRequest) (response *DescribeDBResourceUsageDetailsResponse, err error)
本接口(DescribeDBResourceUsageDetails)用于查看数据库实例当前性能数据。
func (*Client) DescribeDBSlowLogs ¶
func (c *Client) DescribeDBSlowLogs(request *DescribeDBSlowLogsRequest) (response *DescribeDBSlowLogsResponse, err error)
本接口(DescribeDBSlowLogs)用于查询慢查询日志列表。
func (*Client) DescribeDatabases ¶
func (c *Client) DescribeDatabases(request *DescribeDatabasesRequest) (response *DescribeDatabasesResponse, err error)
本接口(DescribeDatabases)用于查询云数据库实例的数据库列表。
func (*Client) DescribeFlow ¶
func (c *Client) DescribeFlow(request *DescribeFlowRequest) (response *DescribeFlowResponse, err error)
本接口(DescribeFlow)用于查询流程状态。
func (*Client) DescribeLogFileRetentionPeriod ¶
func (c *Client) DescribeLogFileRetentionPeriod(request *DescribeLogFileRetentionPeriodRequest) (response *DescribeLogFileRetentionPeriodResponse, err error)
本接口(DescribeLogFileRetentionPeriod)用于查看数据库备份日志的备份天数的设置情况。
func (*Client) DescribeOrders ¶
func (c *Client) DescribeOrders(request *DescribeOrdersRequest) (response *DescribeOrdersResponse, err error)
本接口(DescribeOrders)用于查询云数据库订单信息。传入订单ID来查询订单关联的云数据库实例,和对应的任务流程ID。
func (*Client) DescribePrice ¶
func (c *Client) DescribePrice(request *DescribePriceRequest) (response *DescribePriceResponse, err error)
本接口(DescribePrice)用于在购买实例前,查询实例的价格。
func (*Client) DescribeRenewalPrice ¶
func (c *Client) DescribeRenewalPrice(request *DescribeRenewalPriceRequest) (response *DescribeRenewalPriceResponse, err error)
本接口(DescribeRenewalPrice)用于在续费云数据库实例时,查询续费的价格。
func (*Client) DescribeSaleInfo ¶
func (c *Client) DescribeSaleInfo(request *DescribeSaleInfoRequest) (response *DescribeSaleInfoResponse, err error)
本接口(DescribeSaleInfo)用于查询云数据库可售卖的地域和可用区信息。
func (*Client) DescribeSqlLogs ¶
func (c *Client) DescribeSqlLogs(request *DescribeSqlLogsRequest) (response *DescribeSqlLogsResponse, err error)
本接口(DescribeSqlLogs)用于获取实例SQL日志。
func (*Client) DescribeUpgradePrice ¶
func (c *Client) DescribeUpgradePrice(request *DescribeUpgradePriceRequest) (response *DescribeUpgradePriceResponse, err error)
本接口(DescribeUpgradePrice)用于在扩容云数据库实例时,查询扩容的价格。
func (*Client) GrantAccountPrivileges ¶
func (c *Client) GrantAccountPrivileges(request *GrantAccountPrivilegesRequest) (response *GrantAccountPrivilegesResponse, err error)
本接口(GrantAccountPrivileges)用于给云数据库账号赋权。 注意:相同用户名,不同Host是不同的账号。
func (*Client) InitDBInstances ¶
func (c *Client) InitDBInstances(request *InitDBInstancesRequest) (response *InitDBInstancesResponse, err error)
本接口(InitDBInstances)用于初始化云数据库实例,包括设置默认字符集、表名大小写敏感等。
func (*Client) ModifyAccountDescription ¶
func (c *Client) ModifyAccountDescription(request *ModifyAccountDescriptionRequest) (response *ModifyAccountDescriptionResponse, err error)
本接口(ModifyAccountDescription)用于修改云数据库账号备注。 注意:相同用户名,不同Host是不同的账号。
func (*Client) ModifyBackupTime ¶
func (c *Client) ModifyBackupTime(request *ModifyBackupTimeRequest) (response *ModifyBackupTimeResponse, err error)
本接口(ModifyBackupTime)用于设置云数据库实例的备份时间。后台系统将根据此配置定期进行实例备份。
func (*Client) ModifyDBInstanceName ¶
func (c *Client) ModifyDBInstanceName(request *ModifyDBInstanceNameRequest) (response *ModifyDBInstanceNameResponse, err error)
本接口(ModifyDBInstanceName)用于修改云数据库实例的名称。
func (*Client) ModifyDBInstancesProject ¶
func (c *Client) ModifyDBInstancesProject(request *ModifyDBInstancesProjectRequest) (response *ModifyDBInstancesProjectResponse, err error)
本接口(ModifyDBInstancesProject)用于修改云数据库实例所属项目。
func (*Client) ModifyDBParameters ¶
func (c *Client) ModifyDBParameters(request *ModifyDBParametersRequest) (response *ModifyDBParametersResponse, err error)
本接口(ModifyDBParameters)用于修改数据库参数。
func (*Client) ModifyLogFileRetentionPeriod ¶
func (c *Client) ModifyLogFileRetentionPeriod(request *ModifyLogFileRetentionPeriodRequest) (response *ModifyLogFileRetentionPeriodResponse, err error)
本接口(ModifyLogFileRetentionPeriod)用于修改数据库备份日志保存天数。
func (*Client) OpenDBExtranetAccess ¶
func (c *Client) OpenDBExtranetAccess(request *OpenDBExtranetAccessRequest) (response *OpenDBExtranetAccessResponse, err error)
本接口(OpenDBExtranetAccess)用于开通云数据库实例的外网访问。开通外网访问后,您可通过外网域名和端口访问实例,可使用查询实例列表接口获取外网域名和端口信息。
func (*Client) RenewDBInstance ¶
func (c *Client) RenewDBInstance(request *RenewDBInstanceRequest) (response *RenewDBInstanceResponse, err error)
本接口(RenewDBInstance)用于续费云数据库实例。
func (*Client) ResetAccountPassword ¶
func (c *Client) ResetAccountPassword(request *ResetAccountPasswordRequest) (response *ResetAccountPasswordResponse, err error)
本接口(ResetAccountPassword)用于重置云数据库账号的密码。 注意:相同用户名,不同Host是不同的账号。
func (*Client) RestartDBInstances ¶
func (c *Client) RestartDBInstances(request *RestartDBInstancesRequest) (response *RestartDBInstancesResponse, err error)
本接口(RestartDBInstances)用于重启数据库实例
func (*Client) UpgradeDBInstance ¶
func (c *Client) UpgradeDBInstance(request *UpgradeDBInstanceRequest) (response *UpgradeDBInstanceResponse, err error)
本接口(UpgradeDBInstance)用于扩容云数据库实例。本接口完成下单和支付两个动作,如果发生支付失败的错误,调用用户账户相关接口中的支付订单接口(PayDeals)重新支付即可。
type CloneAccountRequest ¶
type CloneAccountRequest struct { *tchttp.BaseRequest // 实例ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 源用户账户名 SrcUser *string `json:"SrcUser,omitempty" name:"SrcUser"` // 源用户HOST SrcHost *string `json:"SrcHost,omitempty" name:"SrcHost"` // 目的用户账户名 DstUser *string `json:"DstUser,omitempty" name:"DstUser"` // 目的用户HOST DstHost *string `json:"DstHost,omitempty" name:"DstHost"` // 目的用户账户描述 DstDesc *string `json:"DstDesc,omitempty" name:"DstDesc"` }
func NewCloneAccountRequest ¶
func NewCloneAccountRequest() (request *CloneAccountRequest)
func (*CloneAccountRequest) FromJsonString ¶
func (r *CloneAccountRequest) FromJsonString(s string) error
func (*CloneAccountRequest) ToJsonString ¶
func (r *CloneAccountRequest) ToJsonString() string
type CloneAccountResponse ¶
type CloneAccountResponse struct { *tchttp.BaseResponse Response *struct { // 异步任务流程ID。 FlowId *uint64 `json:"FlowId,omitempty" name:"FlowId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCloneAccountResponse ¶
func NewCloneAccountResponse() (response *CloneAccountResponse)
func (*CloneAccountResponse) FromJsonString ¶
func (r *CloneAccountResponse) FromJsonString(s string) error
func (*CloneAccountResponse) ToJsonString ¶
func (r *CloneAccountResponse) ToJsonString() string
type CloseDBExtranetAccessRequest ¶
type CloseDBExtranetAccessRequest struct { *tchttp.BaseRequest // 待关闭外网访问的实例ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewCloseDBExtranetAccessRequest ¶
func NewCloseDBExtranetAccessRequest() (request *CloseDBExtranetAccessRequest)
func (*CloseDBExtranetAccessRequest) FromJsonString ¶
func (r *CloseDBExtranetAccessRequest) FromJsonString(s string) error
func (*CloseDBExtranetAccessRequest) ToJsonString ¶
func (r *CloseDBExtranetAccessRequest) ToJsonString() string
type CloseDBExtranetAccessResponse ¶
type CloseDBExtranetAccessResponse struct { *tchttp.BaseResponse Response *struct { // 异步任务ID,可通过 DescribeFlow 查询任务状态。 FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCloseDBExtranetAccessResponse ¶
func NewCloseDBExtranetAccessResponse() (response *CloseDBExtranetAccessResponse)
func (*CloseDBExtranetAccessResponse) FromJsonString ¶
func (r *CloseDBExtranetAccessResponse) FromJsonString(s string) error
func (*CloseDBExtranetAccessResponse) ToJsonString ¶
func (r *CloseDBExtranetAccessResponse) ToJsonString() string
type ConstraintRange ¶
type CopyAccountPrivilegesRequest ¶
type CopyAccountPrivilegesRequest struct { *tchttp.BaseRequest // 实例 ID,形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 源用户名 SrcUserName *string `json:"SrcUserName,omitempty" name:"SrcUserName"` // 源用户允许的访问 host SrcHost *string `json:"SrcHost,omitempty" name:"SrcHost"` // 目的用户名 DstUserName *string `json:"DstUserName,omitempty" name:"DstUserName"` // 目的用户允许的访问 host DstHost *string `json:"DstHost,omitempty" name:"DstHost"` // 源账号的 ReadOnly 属性 SrcReadOnly *string `json:"SrcReadOnly,omitempty" name:"SrcReadOnly"` // 目的账号的 ReadOnly 属性 DstReadOnly *string `json:"DstReadOnly,omitempty" name:"DstReadOnly"` }
func NewCopyAccountPrivilegesRequest ¶
func NewCopyAccountPrivilegesRequest() (request *CopyAccountPrivilegesRequest)
func (*CopyAccountPrivilegesRequest) FromJsonString ¶
func (r *CopyAccountPrivilegesRequest) FromJsonString(s string) error
func (*CopyAccountPrivilegesRequest) ToJsonString ¶
func (r *CopyAccountPrivilegesRequest) ToJsonString() string
type CopyAccountPrivilegesResponse ¶
type CopyAccountPrivilegesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCopyAccountPrivilegesResponse ¶
func NewCopyAccountPrivilegesResponse() (response *CopyAccountPrivilegesResponse)
func (*CopyAccountPrivilegesResponse) FromJsonString ¶
func (r *CopyAccountPrivilegesResponse) FromJsonString(s string) error
func (*CopyAccountPrivilegesResponse) ToJsonString ¶
func (r *CopyAccountPrivilegesResponse) ToJsonString() string
type CreateAccountRequest ¶
type CreateAccountRequest struct { *tchttp.BaseRequest // 实例 ID,形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 登录用户名,由字母、数字、下划线和连字符组成,长度为1~32位。 UserName *string `json:"UserName,omitempty" name:"UserName"` // 可以登录的主机,与mysql 账号的 host 格式一致,可以支持通配符,例如 %,10.%,10.20.%。 Host *string `json:"Host,omitempty" name:"Host"` // 账号密码,由字母、数字或常见符号组成,不能包含分号、单引号和双引号,长度为6~32位。 Password *string `json:"Password,omitempty" name:"Password"` // 是否创建为只读账号,0:否, 1:该账号的sql请求优先选择备机执行,备机不可用时选择主机执行,2:优先选择备机执行,备机不可用时操作失败。 ReadOnly *int64 `json:"ReadOnly,omitempty" name:"ReadOnly"` // 账号备注,可以包含中文、英文字符、常见符号和数字,长度为0~256字符 Description *string `json:"Description,omitempty" name:"Description"` // 根据传入时间判断备机不可用 DelayThresh *int64 `json:"DelayThresh,omitempty" name:"DelayThresh"` }
func NewCreateAccountRequest ¶
func NewCreateAccountRequest() (request *CreateAccountRequest)
func (*CreateAccountRequest) FromJsonString ¶
func (r *CreateAccountRequest) FromJsonString(s string) error
func (*CreateAccountRequest) ToJsonString ¶
func (r *CreateAccountRequest) ToJsonString() string
type CreateAccountResponse ¶
type CreateAccountResponse struct { *tchttp.BaseResponse Response *struct { // 实例ID,透传入参。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 用户名,透传入参。 UserName *string `json:"UserName,omitempty" name:"UserName"` // 允许访问的 host,透传入参。 Host *string `json:"Host,omitempty" name:"Host"` // 透传入参。 ReadOnly *int64 `json:"ReadOnly,omitempty" name:"ReadOnly"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateAccountResponse ¶
func NewCreateAccountResponse() (response *CreateAccountResponse)
func (*CreateAccountResponse) FromJsonString ¶
func (r *CreateAccountResponse) FromJsonString(s string) error
func (*CreateAccountResponse) ToJsonString ¶
func (r *CreateAccountResponse) ToJsonString() string
type CreateDBInstanceRequest ¶
type CreateDBInstanceRequest struct { *tchttp.BaseRequest // 实例节点可用区分布,最多可填两个可用区。当分片规格为一主两从时,其中两个节点在第一个可用区。 Zones []*string `json:"Zones,omitempty" name:"Zones" list` // 节点个数大小,可以通过 DescribeDBInstanceSpecs // 查询实例规格获得。 NodeCount *int64 `json:"NodeCount,omitempty" name:"NodeCount"` // 内存大小,单位:GB,可以通过 DescribeDBInstanceSpecs // 查询实例规格获得。 Memory *int64 `json:"Memory,omitempty" name:"Memory"` // 存储空间大小,单位:GB,可以通过 DescribeDBInstanceSpecs // 查询实例规格获得不同内存大小对应的磁盘规格下限和上限。 Storage *int64 `json:"Storage,omitempty" name:"Storage"` // 欲购买的时长,单位:月。 Period *int64 `json:"Period,omitempty" name:"Period"` // 欲购买的数量,默认查询购买1个实例的价格。 Count *int64 `json:"Count,omitempty" name:"Count"` // 是否自动使用代金券进行支付,默认不使用。 AutoVoucher *bool `json:"AutoVoucher,omitempty" name:"AutoVoucher"` // 代金券ID列表,目前仅支持指定一张代金券。 VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds" list` // 虚拟私有网络 ID,不传表示创建为基础网络 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 虚拟私有网络子网 ID,VpcId 不为空时必填 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // 项目 ID,可以通过查看项目列表获取,不传则关联到默认项目 ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // 数据库引擎版本,当前可选:10.0.10,10.1.9,5.7.17。如果不传的话,默认为 Mariadb 10.1.9。 DbVersionId *string `json:"DbVersionId,omitempty" name:"DbVersionId"` }
func NewCreateDBInstanceRequest ¶
func NewCreateDBInstanceRequest() (request *CreateDBInstanceRequest)
func (*CreateDBInstanceRequest) FromJsonString ¶
func (r *CreateDBInstanceRequest) FromJsonString(s string) error
func (*CreateDBInstanceRequest) ToJsonString ¶
func (r *CreateDBInstanceRequest) ToJsonString() string
type CreateDBInstanceResponse ¶
type CreateDBInstanceResponse struct { *tchttp.BaseResponse Response *struct { // 长订单号。可以据此调用 DescribeOrders // 查询订单详细信息,或在支付失败时调用用户账号相关接口进行支付。 DealName *string `json:"DealName,omitempty" name:"DealName"` // 订单对应的实例 ID 列表,如果此处没有返回实例 ID,可以通过订单查询接口获取。还可通过实例查询接口查询实例是否创建完成。 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateDBInstanceResponse ¶
func NewCreateDBInstanceResponse() (response *CreateDBInstanceResponse)
func (*CreateDBInstanceResponse) FromJsonString ¶
func (r *CreateDBInstanceResponse) FromJsonString(s string) error
func (*CreateDBInstanceResponse) ToJsonString ¶
func (r *CreateDBInstanceResponse) ToJsonString() string
type CreateTmpInstancesRequest ¶
type CreateTmpInstancesRequest struct { *tchttp.BaseRequest // 回档实例的ID列表,形如:tdsql-ow728lmc。 InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds" list` // 回档时间点 RollbackTime *string `json:"RollbackTime,omitempty" name:"RollbackTime"` }
func NewCreateTmpInstancesRequest ¶
func NewCreateTmpInstancesRequest() (request *CreateTmpInstancesRequest)
func (*CreateTmpInstancesRequest) FromJsonString ¶
func (r *CreateTmpInstancesRequest) FromJsonString(s string) error
func (*CreateTmpInstancesRequest) ToJsonString ¶
func (r *CreateTmpInstancesRequest) ToJsonString() string
type CreateTmpInstancesResponse ¶
type CreateTmpInstancesResponse struct { *tchttp.BaseResponse Response *struct { // 异步任务流程ID。 FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateTmpInstancesResponse ¶
func NewCreateTmpInstancesResponse() (response *CreateTmpInstancesResponse)
func (*CreateTmpInstancesResponse) FromJsonString ¶
func (r *CreateTmpInstancesResponse) FromJsonString(s string) error
func (*CreateTmpInstancesResponse) ToJsonString ¶
func (r *CreateTmpInstancesResponse) ToJsonString() string
type DBAccount ¶
type DBAccount struct { // 用户名 UserName *string `json:"UserName,omitempty" name:"UserName"` // 用户可以从哪台主机登录(对应 MySQL 用户的 host 字段,UserName + Host 唯一标识一个用户,IP形式,IP段以%结尾;支持填入%;为空默认等于%) Host *string `json:"Host,omitempty" name:"Host"` // 用户备注信息 Description *string `json:"Description,omitempty" name:"Description"` // 创建时间 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 最后更新时间 UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // 只读标记,0:否, 1:该账号的sql请求优先选择备机执行,备机不可用时选择主机执行,2:优先选择备机执行,备机不可用时操作失败。 ReadOnly *int64 `json:"ReadOnly,omitempty" name:"ReadOnly"` // 该字段对只读帐号有意义,表示选择主备延迟小于该值的备机 // 注意:此字段可能返回 null,表示取不到有效值。 DelayThresh *int64 `json:"DelayThresh,omitempty" name:"DelayThresh"` }
type DBBackupTimeConfig ¶
type DBBackupTimeConfig struct { // 实例 ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 每天备份执行的区间的开始时间,格式 mm:ss,形如 22:00 StartBackupTime *string `json:"StartBackupTime,omitempty" name:"StartBackupTime"` // 每天备份执行的区间的结束时间,格式 mm:ss,形如 23:00 EndBackupTime *string `json:"EndBackupTime,omitempty" name:"EndBackupTime"` }
type DBInstance ¶
type DBInstance struct { // 实例 ID,唯一标识一个 TDSQL 实例 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 实例名称,用户可修改 InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // 实例所属应用 ID AppId *int64 `json:"AppId,omitempty" name:"AppId"` // 实例所属项目 ID ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // 实例所在地域名称,如 ap-shanghai Region *string `json:"Region,omitempty" name:"Region"` // 实例所在可用区名称,如 ap-shanghai-1 Zone *string `json:"Zone,omitempty" name:"Zone"` // 私有网络 ID,基础网络时为 0 VpcId *int64 `json:"VpcId,omitempty" name:"VpcId"` // 子网 ID,基础网络时为 0 SubnetId *int64 `json:"SubnetId,omitempty" name:"SubnetId"` // 实例状态:0 创建中,1 流程处理中, 2 运行中,3 实例未初始化,-1 实例已隔离,-2 实例已删除 Status *int64 `json:"Status,omitempty" name:"Status"` // 内网 IP 地址 Vip *string `json:"Vip,omitempty" name:"Vip"` // 内网端口 Vport *int64 `json:"Vport,omitempty" name:"Vport"` // 外网访问的域名,公网可解析 WanDomain *string `json:"WanDomain,omitempty" name:"WanDomain"` // 外网 IP 地址,公网可访问 WanVip *string `json:"WanVip,omitempty" name:"WanVip"` // 外网端口 WanPort *int64 `json:"WanPort,omitempty" name:"WanPort"` // 实例创建时间,格式为 2006-01-02 15:04:05 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 实例最后更新时间,格式为 2006-01-02 15:04:05 UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // 自动续费标志:0 否,1 是 AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"` // 实例到期时间,格式为 2006-01-02 15:04:05 PeriodEndTime *string `json:"PeriodEndTime,omitempty" name:"PeriodEndTime"` // 实例所属账号 Uin *string `json:"Uin,omitempty" name:"Uin"` // TDSQL 版本信息 TdsqlVersion *string `json:"TdsqlVersion,omitempty" name:"TdsqlVersion"` // 实例内存大小,单位 GB Memory *int64 `json:"Memory,omitempty" name:"Memory"` // 实例存储大小,单位 GB Storage *int64 `json:"Storage,omitempty" name:"Storage"` // 字符串型的私有网络ID UniqueVpcId *string `json:"UniqueVpcId,omitempty" name:"UniqueVpcId"` // 字符串型的私有网络子网ID UniqueSubnetId *string `json:"UniqueSubnetId,omitempty" name:"UniqueSubnetId"` // 原始实例ID(过时字段,请勿依赖该值) OriginSerialId *string `json:"OriginSerialId,omitempty" name:"OriginSerialId"` // 节点数,2为一主一从,3为一主二从 NodeCount *uint64 `json:"NodeCount,omitempty" name:"NodeCount"` // 是否临时实例,0为否,非0为是 IsTmp *uint64 `json:"IsTmp,omitempty" name:"IsTmp"` // 独享集群ID,为空表示为普通实例 ExclusterId *string `json:"ExclusterId,omitempty" name:"ExclusterId"` // 数字实例ID(过时字段,请勿依赖该值) Id *uint64 `json:"Id,omitempty" name:"Id"` // 产品类型 ID Pid *int64 `json:"Pid,omitempty" name:"Pid"` // 最大 Qps 值 Qps *int64 `json:"Qps,omitempty" name:"Qps"` // 付费模式 // 注意:此字段可能返回 null,表示取不到有效值。 Paymode *string `json:"Paymode,omitempty" name:"Paymode"` // 实例处于异步任务时的异步任务流程ID // 注意:此字段可能返回 null,表示取不到有效值。 Locker *int64 `json:"Locker,omitempty" name:"Locker"` // 实例目前运行状态描述 // 注意:此字段可能返回 null,表示取不到有效值。 StatusDesc *string `json:"StatusDesc,omitempty" name:"StatusDesc"` // 外网状态,0-未开通;1-已开通;2-关闭;3-开通中 WanStatus *int64 `json:"WanStatus,omitempty" name:"WanStatus"` // 该实例是否支持审计。1-支持;0-不支持 IsAuditSupported *uint64 `json:"IsAuditSupported,omitempty" name:"IsAuditSupported"` // 机器型号 Machine *string `json:"Machine,omitempty" name:"Machine"` // 是否支持数据加密。1-支持;0-不支持 IsEncryptSupported *int64 `json:"IsEncryptSupported,omitempty" name:"IsEncryptSupported"` // 实例CPU核数 Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` }
type DBParamValue ¶
type Database ¶
type Database struct { // 数据库名称 DbName *string `json:"DbName,omitempty" name:"DbName"` }
type Deal ¶
type Deal struct { // 订单号 DealName *string `json:"DealName,omitempty" name:"DealName"` // 所属账号 OwnerUin *string `json:"OwnerUin,omitempty" name:"OwnerUin"` // 商品数量 Count *int64 `json:"Count,omitempty" name:"Count"` // 关联的流程 Id,可用于查询流程执行状态 FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // 只有创建实例的订单会填充该字段,表示该订单创建的实例的 ID。 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds" list` // 付费模式,0后付费/1预付费 PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"` }
type DeleteAccountRequest ¶
type DeleteAccountRequest struct { *tchttp.BaseRequest // 实例ID,形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 用户名 UserName *string `json:"UserName,omitempty" name:"UserName"` // 用户允许的访问 host Host *string `json:"Host,omitempty" name:"Host"` }
func NewDeleteAccountRequest ¶
func NewDeleteAccountRequest() (request *DeleteAccountRequest)
func (*DeleteAccountRequest) FromJsonString ¶
func (r *DeleteAccountRequest) FromJsonString(s string) error
func (*DeleteAccountRequest) ToJsonString ¶
func (r *DeleteAccountRequest) ToJsonString() string
type DeleteAccountResponse ¶
type DeleteAccountResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteAccountResponse ¶
func NewDeleteAccountResponse() (response *DeleteAccountResponse)
func (*DeleteAccountResponse) FromJsonString ¶
func (r *DeleteAccountResponse) FromJsonString(s string) error
func (*DeleteAccountResponse) ToJsonString ¶
func (r *DeleteAccountResponse) ToJsonString() string
type DescribeAccountPrivilegesRequest ¶
type DescribeAccountPrivilegesRequest struct { *tchttp.BaseRequest // 实例 ID,形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 登录用户名。 UserName *string `json:"UserName,omitempty" name:"UserName"` // 用户允许的访问 host,用户名+host唯一确定一个账号。 Host *string `json:"Host,omitempty" name:"Host"` // 数据库名。如果为 \*,表示查询全局权限(即 \*.\*),此时忽略 Type 和 Object 参数 DbName *string `json:"DbName,omitempty" name:"DbName"` // 类型,可以填入 table 、 view 、 proc 、 func 和 \*。当 DbName 为具体数据库名,Type为 \* 时,表示查询该数据库权限(即db.\*),此时忽略 Object 参数 Type *string `json:"Type,omitempty" name:"Type"` // 具体的 Type 的名称,例如 Type 为 table 时就是具体的表名。DbName 和 Type 都为具体名称,则 Object 表示具体对象名,不能为 \* 或者为空 Object *string `json:"Object,omitempty" name:"Object"` // 当 Type=table 时,ColName 为 \* 表示查询表的权限,如果为具体字段名,表示查询对应字段的权限 ColName *string `json:"ColName,omitempty" name:"ColName"` }
func NewDescribeAccountPrivilegesRequest ¶
func NewDescribeAccountPrivilegesRequest() (request *DescribeAccountPrivilegesRequest)
func (*DescribeAccountPrivilegesRequest) FromJsonString ¶
func (r *DescribeAccountPrivilegesRequest) FromJsonString(s string) error
func (*DescribeAccountPrivilegesRequest) ToJsonString ¶
func (r *DescribeAccountPrivilegesRequest) ToJsonString() string
type DescribeAccountPrivilegesResponse ¶
type DescribeAccountPrivilegesResponse struct { *tchttp.BaseResponse Response *struct { // 实例ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 权限列表。 Privileges []*string `json:"Privileges,omitempty" name:"Privileges" list` // 数据库账号用户名 UserName *string `json:"UserName,omitempty" name:"UserName"` // 数据库账号Host Host *string `json:"Host,omitempty" name:"Host"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAccountPrivilegesResponse ¶
func NewDescribeAccountPrivilegesResponse() (response *DescribeAccountPrivilegesResponse)
func (*DescribeAccountPrivilegesResponse) FromJsonString ¶
func (r *DescribeAccountPrivilegesResponse) FromJsonString(s string) error
func (*DescribeAccountPrivilegesResponse) ToJsonString ¶
func (r *DescribeAccountPrivilegesResponse) ToJsonString() string
type DescribeAccountsRequest ¶
type DescribeAccountsRequest struct { *tchttp.BaseRequest // 实例ID,形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeAccountsRequest ¶
func NewDescribeAccountsRequest() (request *DescribeAccountsRequest)
func (*DescribeAccountsRequest) FromJsonString ¶
func (r *DescribeAccountsRequest) FromJsonString(s string) error
func (*DescribeAccountsRequest) ToJsonString ¶
func (r *DescribeAccountsRequest) ToJsonString() string
type DescribeAccountsResponse ¶
type DescribeAccountsResponse struct { *tchttp.BaseResponse Response *struct { // 实例ID,透传入参。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 实例用户列表。 Users []*DBAccount `json:"Users,omitempty" name:"Users" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAccountsResponse ¶
func NewDescribeAccountsResponse() (response *DescribeAccountsResponse)
func (*DescribeAccountsResponse) FromJsonString ¶
func (r *DescribeAccountsResponse) FromJsonString(s string) error
func (*DescribeAccountsResponse) ToJsonString ¶
func (r *DescribeAccountsResponse) ToJsonString() string
type DescribeBackupTimeRequest ¶
type DescribeBackupTimeRequest struct { *tchttp.BaseRequest // 实例ID,形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。 InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds" list` }
func NewDescribeBackupTimeRequest ¶
func NewDescribeBackupTimeRequest() (request *DescribeBackupTimeRequest)
func (*DescribeBackupTimeRequest) FromJsonString ¶
func (r *DescribeBackupTimeRequest) FromJsonString(s string) error
func (*DescribeBackupTimeRequest) ToJsonString ¶
func (r *DescribeBackupTimeRequest) ToJsonString() string
type DescribeBackupTimeResponse ¶
type DescribeBackupTimeResponse struct { *tchttp.BaseResponse Response *struct { // 返回的配置数量 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 实例备份时间配置信息 // 注意:此字段可能返回 null,表示取不到有效值。 Items []*DBBackupTimeConfig `json:"Items,omitempty" name:"Items" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeBackupTimeResponse ¶
func NewDescribeBackupTimeResponse() (response *DescribeBackupTimeResponse)
func (*DescribeBackupTimeResponse) FromJsonString ¶
func (r *DescribeBackupTimeResponse) FromJsonString(s string) error
func (*DescribeBackupTimeResponse) ToJsonString ¶
func (r *DescribeBackupTimeResponse) ToJsonString() string
type DescribeDBInstanceSpecsRequest ¶
type DescribeDBInstanceSpecsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeDBInstanceSpecsRequest ¶
func NewDescribeDBInstanceSpecsRequest() (request *DescribeDBInstanceSpecsRequest)
func (*DescribeDBInstanceSpecsRequest) FromJsonString ¶
func (r *DescribeDBInstanceSpecsRequest) FromJsonString(s string) error
func (*DescribeDBInstanceSpecsRequest) ToJsonString ¶
func (r *DescribeDBInstanceSpecsRequest) ToJsonString() string
type DescribeDBInstanceSpecsResponse ¶
type DescribeDBInstanceSpecsResponse struct { *tchttp.BaseResponse Response *struct { // 按机型分类的可售卖规格列表 Specs []*InstanceSpec `json:"Specs,omitempty" name:"Specs" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDBInstanceSpecsResponse ¶
func NewDescribeDBInstanceSpecsResponse() (response *DescribeDBInstanceSpecsResponse)
func (*DescribeDBInstanceSpecsResponse) FromJsonString ¶
func (r *DescribeDBInstanceSpecsResponse) FromJsonString(s string) error
func (*DescribeDBInstanceSpecsResponse) ToJsonString ¶
func (r *DescribeDBInstanceSpecsResponse) ToJsonString() string
type DescribeDBInstancesRequest ¶
type DescribeDBInstancesRequest struct { *tchttp.BaseRequest // 按照一个或者多个实例 ID 查询。实例 ID 形如:tdsql-ow728lmc。每次请求的实例的上限为100。 InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds" list` // 搜索的字段名,当前支持的值有:instancename、vip、all。传 instancename 表示按实例名进行搜索;传 vip 表示按内网IP进行搜索;传 all 将会按实例ID、实例名和内网IP进行搜索。 SearchName *string `json:"SearchName,omitempty" name:"SearchName"` // 搜索的关键字,支持模糊搜索。多个关键字使用换行符('\n')分割。 SearchKey *string `json:"SearchKey,omitempty" name:"SearchKey"` // 按项目 ID 查询 ProjectIds []*int64 `json:"ProjectIds,omitempty" name:"ProjectIds" list` // 是否根据 VPC 网络来搜索 IsFilterVpc *bool `json:"IsFilterVpc,omitempty" name:"IsFilterVpc"` // 私有网络 ID, IsFilterVpc 为 1 时有效 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 私有网络的子网 ID, IsFilterVpc 为 1 时有效 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // 排序字段, projectId, createtime, instancename 三者之一 OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // 排序类型, desc 或者 asc OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` // 偏移量,默认为 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为 20,最大值为 100。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 按 OriginSerialId 查询 OriginSerialIds []*string `json:"OriginSerialIds,omitempty" name:"OriginSerialIds" list` // 标识是否使用ExclusterType字段, false不使用,true使用 IsFilterExcluster *bool `json:"IsFilterExcluster,omitempty" name:"IsFilterExcluster"` // 实例所属独享集群类型。取值范围:1-非独享集群,2-独享集群, 0-全部 ExclusterType *int64 `json:"ExclusterType,omitempty" name:"ExclusterType"` // 按独享集群ID过滤实例,独享集群ID形如dbdc-4ih6uct9 ExclusterIds []*string `json:"ExclusterIds,omitempty" name:"ExclusterIds" list` }
func NewDescribeDBInstancesRequest ¶
func NewDescribeDBInstancesRequest() (request *DescribeDBInstancesRequest)
func (*DescribeDBInstancesRequest) FromJsonString ¶
func (r *DescribeDBInstancesRequest) FromJsonString(s string) error
func (*DescribeDBInstancesRequest) ToJsonString ¶
func (r *DescribeDBInstancesRequest) ToJsonString() string
type DescribeDBInstancesResponse ¶
type DescribeDBInstancesResponse struct { *tchttp.BaseResponse Response *struct { // 符合条件的实例数量 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 实例详细信息列表 Instances []*DBInstance `json:"Instances,omitempty" name:"Instances" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDBInstancesResponse ¶
func NewDescribeDBInstancesResponse() (response *DescribeDBInstancesResponse)
func (*DescribeDBInstancesResponse) FromJsonString ¶
func (r *DescribeDBInstancesResponse) FromJsonString(s string) error
func (*DescribeDBInstancesResponse) ToJsonString ¶
func (r *DescribeDBInstancesResponse) ToJsonString() string
type DescribeDBLogFilesRequest ¶
type DescribeDBLogFilesRequest struct { *tchttp.BaseRequest // 实例 ID,形如:tdsql-ow728lmc。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 请求日志类型,取值只能为1、2、3或者4。1-binlog,2-冷备,3-errlog,4-slowlog。 Type *uint64 `json:"Type,omitempty" name:"Type"` }
func NewDescribeDBLogFilesRequest ¶
func NewDescribeDBLogFilesRequest() (request *DescribeDBLogFilesRequest)
func (*DescribeDBLogFilesRequest) FromJsonString ¶
func (r *DescribeDBLogFilesRequest) FromJsonString(s string) error
func (*DescribeDBLogFilesRequest) ToJsonString ¶
func (r *DescribeDBLogFilesRequest) ToJsonString() string
type DescribeDBLogFilesResponse ¶
type DescribeDBLogFilesResponse struct { *tchttp.BaseResponse Response *struct { // 实例 ID,形如:tdsql-ow728lmc。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 请求日志类型,取值只能为1、2、3或者4。1-binlog,2-冷备,3-errlog,4-slowlog。 Type *uint64 `json:"Type,omitempty" name:"Type"` // 请求日志总数 Total *uint64 `json:"Total,omitempty" name:"Total"` // 包含uri、length、mtime(修改时间)等信息 Files []*LogFileInfo `json:"Files,omitempty" name:"Files" list` // 如果是VPC网络的实例,做用本前缀加上URI为下载地址 VpcPrefix *string `json:"VpcPrefix,omitempty" name:"VpcPrefix"` // 如果是普通网络的实例,做用本前缀加上URI为下载地址 NormalPrefix *string `json:"NormalPrefix,omitempty" name:"NormalPrefix"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDBLogFilesResponse ¶
func NewDescribeDBLogFilesResponse() (response *DescribeDBLogFilesResponse)
func (*DescribeDBLogFilesResponse) FromJsonString ¶
func (r *DescribeDBLogFilesResponse) FromJsonString(s string) error
func (*DescribeDBLogFilesResponse) ToJsonString ¶
func (r *DescribeDBLogFilesResponse) ToJsonString() string
type DescribeDBParametersRequest ¶
type DescribeDBParametersRequest struct { *tchttp.BaseRequest // 实例 ID,形如:tdsql-ow728lmc。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeDBParametersRequest ¶
func NewDescribeDBParametersRequest() (request *DescribeDBParametersRequest)
func (*DescribeDBParametersRequest) FromJsonString ¶
func (r *DescribeDBParametersRequest) FromJsonString(s string) error
func (*DescribeDBParametersRequest) ToJsonString ¶
func (r *DescribeDBParametersRequest) ToJsonString() string
type DescribeDBParametersResponse ¶
type DescribeDBParametersResponse struct { *tchttp.BaseResponse Response *struct { // 实例 ID,形如:tdsql-ow728lmc。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 请求DB的当前参数值 Params []*ParamDesc `json:"Params,omitempty" name:"Params" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDBParametersResponse ¶
func NewDescribeDBParametersResponse() (response *DescribeDBParametersResponse)
func (*DescribeDBParametersResponse) FromJsonString ¶
func (r *DescribeDBParametersResponse) FromJsonString(s string) error
func (*DescribeDBParametersResponse) ToJsonString ¶
func (r *DescribeDBParametersResponse) ToJsonString() string
type DescribeDBPerformanceDetailsRequest ¶
type DescribeDBPerformanceDetailsRequest struct { *tchttp.BaseRequest // 实例 ID,形如:tdsql-ow728lmc。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 开始日期,格式yyyy-mm-dd StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束日期,格式yyyy-mm-dd EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 拉取的指标名,支持的值为:long_query,select_total,update_total,insert_total,delete_total,mem_hit_rate,disk_iops,conn_active,is_master_switched,slave_delay MetricName *string `json:"MetricName,omitempty" name:"MetricName"` }
func NewDescribeDBPerformanceDetailsRequest ¶
func NewDescribeDBPerformanceDetailsRequest() (request *DescribeDBPerformanceDetailsRequest)
func (*DescribeDBPerformanceDetailsRequest) FromJsonString ¶
func (r *DescribeDBPerformanceDetailsRequest) FromJsonString(s string) error
func (*DescribeDBPerformanceDetailsRequest) ToJsonString ¶
func (r *DescribeDBPerformanceDetailsRequest) ToJsonString() string
type DescribeDBPerformanceDetailsResponse ¶
type DescribeDBPerformanceDetailsResponse struct { *tchttp.BaseResponse Response *struct { // 主节点性能监控数据 Master *PerformanceMonitorSet `json:"Master,omitempty" name:"Master"` // 备机1性能监控数据 // 注意:此字段可能返回 null,表示取不到有效值。 Slave1 *PerformanceMonitorSet `json:"Slave1,omitempty" name:"Slave1"` // 备机2性能监控数据,如果实例是一主一从,则没有该字段 // 注意:此字段可能返回 null,表示取不到有效值。 Slave2 *PerformanceMonitorSet `json:"Slave2,omitempty" name:"Slave2"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDBPerformanceDetailsResponse ¶
func NewDescribeDBPerformanceDetailsResponse() (response *DescribeDBPerformanceDetailsResponse)
func (*DescribeDBPerformanceDetailsResponse) FromJsonString ¶
func (r *DescribeDBPerformanceDetailsResponse) FromJsonString(s string) error
func (*DescribeDBPerformanceDetailsResponse) ToJsonString ¶
func (r *DescribeDBPerformanceDetailsResponse) ToJsonString() string
type DescribeDBPerformanceRequest ¶
type DescribeDBPerformanceRequest struct { *tchttp.BaseRequest // 实例 ID,形如:tdsql-ow728lmc。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 开始日期,格式yyyy-mm-dd StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束日期,格式yyyy-mm-dd EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 拉取的指标名,支持的值为:long_query,select_total,update_total,insert_total,delete_total,mem_hit_rate,disk_iops,conn_active,is_master_switched,slave_delay MetricName *string `json:"MetricName,omitempty" name:"MetricName"` }
func NewDescribeDBPerformanceRequest ¶
func NewDescribeDBPerformanceRequest() (request *DescribeDBPerformanceRequest)
func (*DescribeDBPerformanceRequest) FromJsonString ¶
func (r *DescribeDBPerformanceRequest) FromJsonString(s string) error
func (*DescribeDBPerformanceRequest) ToJsonString ¶
func (r *DescribeDBPerformanceRequest) ToJsonString() string
type DescribeDBPerformanceResponse ¶
type DescribeDBPerformanceResponse struct { *tchttp.BaseResponse Response *struct { // 慢查询数 LongQuery *MonitorData `json:"LongQuery,omitempty" name:"LongQuery"` // 查询操作数SELECT SelectTotal *MonitorData `json:"SelectTotal,omitempty" name:"SelectTotal"` // 更新操作数UPDATE UpdateTotal *MonitorData `json:"UpdateTotal,omitempty" name:"UpdateTotal"` // 插入操作数INSERT InsertTotal *MonitorData `json:"InsertTotal,omitempty" name:"InsertTotal"` // 删除操作数DELETE DeleteTotal *MonitorData `json:"DeleteTotal,omitempty" name:"DeleteTotal"` // 缓存命中率 MemHitRate *MonitorData `json:"MemHitRate,omitempty" name:"MemHitRate"` // 磁盘每秒IO次数 DiskIops *MonitorData `json:"DiskIops,omitempty" name:"DiskIops"` // 活跃连接数 ConnActive *MonitorData `json:"ConnActive,omitempty" name:"ConnActive"` // 是否发生主备切换,1为发生,0否 IsMasterSwitched *MonitorData `json:"IsMasterSwitched,omitempty" name:"IsMasterSwitched"` // 主备延迟 SlaveDelay *MonitorData `json:"SlaveDelay,omitempty" name:"SlaveDelay"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDBPerformanceResponse ¶
func NewDescribeDBPerformanceResponse() (response *DescribeDBPerformanceResponse)
func (*DescribeDBPerformanceResponse) FromJsonString ¶
func (r *DescribeDBPerformanceResponse) FromJsonString(s string) error
func (*DescribeDBPerformanceResponse) ToJsonString ¶
func (r *DescribeDBPerformanceResponse) ToJsonString() string
type DescribeDBResourceUsageDetailsRequest ¶
type DescribeDBResourceUsageDetailsRequest struct { *tchttp.BaseRequest // 实例 ID,形如:tdsql-ow728lmc。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 开始日期,格式yyyy-mm-dd StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束日期,格式yyyy-mm-dd EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 拉取的指标名称,支持的值为:data_disk_available,binlog_disk_available,mem_available,cpu_usage_rate MetricName *string `json:"MetricName,omitempty" name:"MetricName"` }
func NewDescribeDBResourceUsageDetailsRequest ¶
func NewDescribeDBResourceUsageDetailsRequest() (request *DescribeDBResourceUsageDetailsRequest)
func (*DescribeDBResourceUsageDetailsRequest) FromJsonString ¶
func (r *DescribeDBResourceUsageDetailsRequest) FromJsonString(s string) error
func (*DescribeDBResourceUsageDetailsRequest) ToJsonString ¶
func (r *DescribeDBResourceUsageDetailsRequest) ToJsonString() string
type DescribeDBResourceUsageDetailsResponse ¶
type DescribeDBResourceUsageDetailsResponse struct { *tchttp.BaseResponse Response *struct { // 主节点资源使用情况监控数据 Master *ResourceUsageMonitorSet `json:"Master,omitempty" name:"Master"` // 备机1资源使用情况监控数据 // 注意:此字段可能返回 null,表示取不到有效值。 Slave1 *ResourceUsageMonitorSet `json:"Slave1,omitempty" name:"Slave1"` // 备机2资源使用情况监控数据 // 注意:此字段可能返回 null,表示取不到有效值。 Slave2 *ResourceUsageMonitorSet `json:"Slave2,omitempty" name:"Slave2"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDBResourceUsageDetailsResponse ¶
func NewDescribeDBResourceUsageDetailsResponse() (response *DescribeDBResourceUsageDetailsResponse)
func (*DescribeDBResourceUsageDetailsResponse) FromJsonString ¶
func (r *DescribeDBResourceUsageDetailsResponse) FromJsonString(s string) error
func (*DescribeDBResourceUsageDetailsResponse) ToJsonString ¶
func (r *DescribeDBResourceUsageDetailsResponse) ToJsonString() string
type DescribeDBResourceUsageRequest ¶
type DescribeDBResourceUsageRequest struct { *tchttp.BaseRequest // 实例 ID,形如:tdsql-ow728lmc。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 开始日期,格式yyyy-mm-dd StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束日期,格式yyyy-mm-dd EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 拉取的指标名称,支持的值为:data_disk_available,binlog_disk_available,mem_available,cpu_usage_rate MetricName *string `json:"MetricName,omitempty" name:"MetricName"` }
func NewDescribeDBResourceUsageRequest ¶
func NewDescribeDBResourceUsageRequest() (request *DescribeDBResourceUsageRequest)
func (*DescribeDBResourceUsageRequest) FromJsonString ¶
func (r *DescribeDBResourceUsageRequest) FromJsonString(s string) error
func (*DescribeDBResourceUsageRequest) ToJsonString ¶
func (r *DescribeDBResourceUsageRequest) ToJsonString() string
type DescribeDBResourceUsageResponse ¶
type DescribeDBResourceUsageResponse struct { *tchttp.BaseResponse Response *struct { // binlog日志磁盘可用空间,单位GB BinlogDiskAvailable *MonitorData `json:"BinlogDiskAvailable,omitempty" name:"BinlogDiskAvailable"` // 磁盘可用空间,单位GB DataDiskAvailable *MonitorData `json:"DataDiskAvailable,omitempty" name:"DataDiskAvailable"` // CPU利用率 CpuUsageRate *MonitorData `json:"CpuUsageRate,omitempty" name:"CpuUsageRate"` // 内存可用空间,单位GB MemAvailable *MonitorData `json:"MemAvailable,omitempty" name:"MemAvailable"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDBResourceUsageResponse ¶
func NewDescribeDBResourceUsageResponse() (response *DescribeDBResourceUsageResponse)
func (*DescribeDBResourceUsageResponse) FromJsonString ¶
func (r *DescribeDBResourceUsageResponse) FromJsonString(s string) error
func (*DescribeDBResourceUsageResponse) ToJsonString ¶
func (r *DescribeDBResourceUsageResponse) ToJsonString() string
type DescribeDBSlowLogsRequest ¶
type DescribeDBSlowLogsRequest struct { *tchttp.BaseRequest // 实例 ID,形如:tdsql-ow728lmc。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 从结果的第几条数据开始返回 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回的结果条数 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 查询的起始时间,形如2016-07-23 14:55:20 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 查询的结束时间,形如2016-08-22 14:55:20 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 要查询的具体数据库名称 Db *string `json:"Db,omitempty" name:"Db"` // 排序指标,取值为query_time_sum或者query_count OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // 排序类型,desc或者asc OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` // 是否查询从机的慢查询,0-主机; 1-从机 Slave *int64 `json:"Slave,omitempty" name:"Slave"` }
func NewDescribeDBSlowLogsRequest ¶
func NewDescribeDBSlowLogsRequest() (request *DescribeDBSlowLogsRequest)
func (*DescribeDBSlowLogsRequest) FromJsonString ¶
func (r *DescribeDBSlowLogsRequest) FromJsonString(s string) error
func (*DescribeDBSlowLogsRequest) ToJsonString ¶
func (r *DescribeDBSlowLogsRequest) ToJsonString() string
type DescribeDBSlowLogsResponse ¶
type DescribeDBSlowLogsResponse struct { *tchttp.BaseResponse Response *struct { // 慢查询日志数据 Data []*SlowLogData `json:"Data,omitempty" name:"Data" list` // 所有语句锁时间总和 LockTimeSum *float64 `json:"LockTimeSum,omitempty" name:"LockTimeSum"` // 所有语句查询总次数 QueryCount *int64 `json:"QueryCount,omitempty" name:"QueryCount"` // 总记录数 Total *int64 `json:"Total,omitempty" name:"Total"` // 所有语句查询时间总和 QueryTimeSum *float64 `json:"QueryTimeSum,omitempty" name:"QueryTimeSum"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDBSlowLogsResponse ¶
func NewDescribeDBSlowLogsResponse() (response *DescribeDBSlowLogsResponse)
func (*DescribeDBSlowLogsResponse) FromJsonString ¶
func (r *DescribeDBSlowLogsResponse) FromJsonString(s string) error
func (*DescribeDBSlowLogsResponse) ToJsonString ¶
func (r *DescribeDBSlowLogsResponse) ToJsonString() string
type DescribeDatabasesRequest ¶
type DescribeDatabasesRequest struct { *tchttp.BaseRequest // 实例 ID,形如:dcdbt-ow7t8lmc。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeDatabasesRequest ¶
func NewDescribeDatabasesRequest() (request *DescribeDatabasesRequest)
func (*DescribeDatabasesRequest) FromJsonString ¶
func (r *DescribeDatabasesRequest) FromJsonString(s string) error
func (*DescribeDatabasesRequest) ToJsonString ¶
func (r *DescribeDatabasesRequest) ToJsonString() string
type DescribeDatabasesResponse ¶
type DescribeDatabasesResponse struct { *tchttp.BaseResponse Response *struct { // 该实例上的数据库列表。 Databases []*Database `json:"Databases,omitempty" name:"Databases" list` // 透传入参。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDatabasesResponse ¶
func NewDescribeDatabasesResponse() (response *DescribeDatabasesResponse)
func (*DescribeDatabasesResponse) FromJsonString ¶
func (r *DescribeDatabasesResponse) FromJsonString(s string) error
func (*DescribeDatabasesResponse) ToJsonString ¶
func (r *DescribeDatabasesResponse) ToJsonString() string
type DescribeFlowRequest ¶
type DescribeFlowRequest struct { *tchttp.BaseRequest // 异步请求接口返回的任务流程号。 FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` }
func NewDescribeFlowRequest ¶
func NewDescribeFlowRequest() (request *DescribeFlowRequest)
func (*DescribeFlowRequest) FromJsonString ¶
func (r *DescribeFlowRequest) FromJsonString(s string) error
func (*DescribeFlowRequest) ToJsonString ¶
func (r *DescribeFlowRequest) ToJsonString() string
type DescribeFlowResponse ¶
type DescribeFlowResponse struct { *tchttp.BaseResponse Response *struct { // 流程状态,0:成功,1:失败,2:运行中 Status *int64 `json:"Status,omitempty" name:"Status"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeFlowResponse ¶
func NewDescribeFlowResponse() (response *DescribeFlowResponse)
func (*DescribeFlowResponse) FromJsonString ¶
func (r *DescribeFlowResponse) FromJsonString(s string) error
func (*DescribeFlowResponse) ToJsonString ¶
func (r *DescribeFlowResponse) ToJsonString() string
type DescribeLogFileRetentionPeriodRequest ¶
type DescribeLogFileRetentionPeriodRequest struct { *tchttp.BaseRequest // 实例 ID,形如:tdsql-ow728lmc。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeLogFileRetentionPeriodRequest ¶
func NewDescribeLogFileRetentionPeriodRequest() (request *DescribeLogFileRetentionPeriodRequest)
func (*DescribeLogFileRetentionPeriodRequest) FromJsonString ¶
func (r *DescribeLogFileRetentionPeriodRequest) FromJsonString(s string) error
func (*DescribeLogFileRetentionPeriodRequest) ToJsonString ¶
func (r *DescribeLogFileRetentionPeriodRequest) ToJsonString() string
type DescribeLogFileRetentionPeriodResponse ¶
type DescribeLogFileRetentionPeriodResponse struct { *tchttp.BaseResponse Response *struct { // 实例 ID,形如:tdsql-ow728lmc。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 日志备份天数 Days *uint64 `json:"Days,omitempty" name:"Days"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeLogFileRetentionPeriodResponse ¶
func NewDescribeLogFileRetentionPeriodResponse() (response *DescribeLogFileRetentionPeriodResponse)
func (*DescribeLogFileRetentionPeriodResponse) FromJsonString ¶
func (r *DescribeLogFileRetentionPeriodResponse) FromJsonString(s string) error
func (*DescribeLogFileRetentionPeriodResponse) ToJsonString ¶
func (r *DescribeLogFileRetentionPeriodResponse) ToJsonString() string
type DescribeOrdersRequest ¶
type DescribeOrdersRequest struct { *tchttp.BaseRequest // 待查询的长订单号列表,创建实例、续费实例、扩容实例接口返回。 DealNames []*string `json:"DealNames,omitempty" name:"DealNames" list` }
func NewDescribeOrdersRequest ¶
func NewDescribeOrdersRequest() (request *DescribeOrdersRequest)
func (*DescribeOrdersRequest) FromJsonString ¶
func (r *DescribeOrdersRequest) FromJsonString(s string) error
func (*DescribeOrdersRequest) ToJsonString ¶
func (r *DescribeOrdersRequest) ToJsonString() string
type DescribeOrdersResponse ¶
type DescribeOrdersResponse struct { *tchttp.BaseResponse Response *struct { // 返回的订单数量。 TotalCount []*int64 `json:"TotalCount,omitempty" name:"TotalCount" list` // 订单信息列表。 Deals []*Deal `json:"Deals,omitempty" name:"Deals" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeOrdersResponse ¶
func NewDescribeOrdersResponse() (response *DescribeOrdersResponse)
func (*DescribeOrdersResponse) FromJsonString ¶
func (r *DescribeOrdersResponse) FromJsonString(s string) error
func (*DescribeOrdersResponse) ToJsonString ¶
func (r *DescribeOrdersResponse) ToJsonString() string
type DescribePriceRequest ¶
type DescribePriceRequest struct { *tchttp.BaseRequest // 欲新购实例的可用区ID。 Zone *string `json:"Zone,omitempty" name:"Zone"` // 实例节点个数,可以通过 DescribeDBInstanceSpecs // 查询实例规格获得。 NodeCount *int64 `json:"NodeCount,omitempty" name:"NodeCount"` // 内存大小,单位:GB,可以通过 DescribeDBInstanceSpecs // 查询实例规格获得。 Memory *int64 `json:"Memory,omitempty" name:"Memory"` // 存储空间大小,单位:GB,可以通过 DescribeDBInstanceSpecs // 查询实例规格获得不同内存大小对应的磁盘规格下限和上限。 Storage *int64 `json:"Storage,omitempty" name:"Storage"` // 欲购买的时长,单位:月。 Period *int64 `json:"Period,omitempty" name:"Period"` // 欲购买的数量,默认查询购买1个实例的价格。 Count *int64 `json:"Count,omitempty" name:"Count"` }
func NewDescribePriceRequest ¶
func NewDescribePriceRequest() (request *DescribePriceRequest)
func (*DescribePriceRequest) FromJsonString ¶
func (r *DescribePriceRequest) FromJsonString(s string) error
func (*DescribePriceRequest) ToJsonString ¶
func (r *DescribePriceRequest) ToJsonString() string
type DescribePriceResponse ¶
type DescribePriceResponse struct { *tchttp.BaseResponse Response *struct { // 原价,单位:分 OriginalPrice *int64 `json:"OriginalPrice,omitempty" name:"OriginalPrice"` // 实际价格,单位:分。受折扣等影响,可能和原价不同。 Price *int64 `json:"Price,omitempty" name:"Price"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribePriceResponse ¶
func NewDescribePriceResponse() (response *DescribePriceResponse)
func (*DescribePriceResponse) FromJsonString ¶
func (r *DescribePriceResponse) FromJsonString(s string) error
func (*DescribePriceResponse) ToJsonString ¶
func (r *DescribePriceResponse) ToJsonString() string
type DescribeRenewalPriceRequest ¶
type DescribeRenewalPriceRequest struct { *tchttp.BaseRequest // 待续费的实例ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 续费时长,单位:月。不传则默认为1个月。 Period *int64 `json:"Period,omitempty" name:"Period"` }
func NewDescribeRenewalPriceRequest ¶
func NewDescribeRenewalPriceRequest() (request *DescribeRenewalPriceRequest)
func (*DescribeRenewalPriceRequest) FromJsonString ¶
func (r *DescribeRenewalPriceRequest) FromJsonString(s string) error
func (*DescribeRenewalPriceRequest) ToJsonString ¶
func (r *DescribeRenewalPriceRequest) ToJsonString() string
type DescribeRenewalPriceResponse ¶
type DescribeRenewalPriceResponse struct { *tchttp.BaseResponse Response *struct { // 原价,单位:分 OriginalPrice *int64 `json:"OriginalPrice,omitempty" name:"OriginalPrice"` // 实际价格,单位:分。受折扣等影响,可能和原价不同。 Price *int64 `json:"Price,omitempty" name:"Price"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeRenewalPriceResponse ¶
func NewDescribeRenewalPriceResponse() (response *DescribeRenewalPriceResponse)
func (*DescribeRenewalPriceResponse) FromJsonString ¶
func (r *DescribeRenewalPriceResponse) FromJsonString(s string) error
func (*DescribeRenewalPriceResponse) ToJsonString ¶
func (r *DescribeRenewalPriceResponse) ToJsonString() string
type DescribeSaleInfoRequest ¶
type DescribeSaleInfoRequest struct {
*tchttp.BaseRequest
}
func NewDescribeSaleInfoRequest ¶
func NewDescribeSaleInfoRequest() (request *DescribeSaleInfoRequest)
func (*DescribeSaleInfoRequest) FromJsonString ¶
func (r *DescribeSaleInfoRequest) FromJsonString(s string) error
func (*DescribeSaleInfoRequest) ToJsonString ¶
func (r *DescribeSaleInfoRequest) ToJsonString() string
type DescribeSaleInfoResponse ¶
type DescribeSaleInfoResponse struct { *tchttp.BaseResponse Response *struct { // 可售卖地域信息列表 RegionList []*RegionInfo `json:"RegionList,omitempty" name:"RegionList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeSaleInfoResponse ¶
func NewDescribeSaleInfoResponse() (response *DescribeSaleInfoResponse)
func (*DescribeSaleInfoResponse) FromJsonString ¶
func (r *DescribeSaleInfoResponse) FromJsonString(s string) error
func (*DescribeSaleInfoResponse) ToJsonString ¶
func (r *DescribeSaleInfoResponse) ToJsonString() string
type DescribeSqlLogsRequest ¶
type DescribeSqlLogsRequest struct { *tchttp.BaseRequest // 实例 ID,形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // SQL日志偏移。 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 拉取数量(0-10000,为0时拉取总数信息)。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeSqlLogsRequest ¶
func NewDescribeSqlLogsRequest() (request *DescribeSqlLogsRequest)
func (*DescribeSqlLogsRequest) FromJsonString ¶
func (r *DescribeSqlLogsRequest) FromJsonString(s string) error
func (*DescribeSqlLogsRequest) ToJsonString ¶
func (r *DescribeSqlLogsRequest) ToJsonString() string
type DescribeSqlLogsResponse ¶
type DescribeSqlLogsResponse struct { *tchttp.BaseResponse Response *struct { // 当前消息队列中的sql日志条目数。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 消息队列中的sql日志起始偏移。 StartOffset *uint64 `json:"StartOffset,omitempty" name:"StartOffset"` // 消息队列中的sql日志结束偏移。 EndOffset *uint64 `json:"EndOffset,omitempty" name:"EndOffset"` // 返回的第一条sql日志的偏移。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回的sql日志数量。 Count *uint64 `json:"Count,omitempty" name:"Count"` // Sql日志列表。 SqlItems []*SqlLogItem `json:"SqlItems,omitempty" name:"SqlItems" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeSqlLogsResponse ¶
func NewDescribeSqlLogsResponse() (response *DescribeSqlLogsResponse)
func (*DescribeSqlLogsResponse) FromJsonString ¶
func (r *DescribeSqlLogsResponse) FromJsonString(s string) error
func (*DescribeSqlLogsResponse) ToJsonString ¶
func (r *DescribeSqlLogsResponse) ToJsonString() string
type DescribeUpgradePriceRequest ¶
type DescribeUpgradePriceRequest struct { *tchttp.BaseRequest // 待升级的实例ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 内存大小,单位:GB,可以通过 DescribeDBInstanceSpecs // 查询实例规格获得。 Memory *int64 `json:"Memory,omitempty" name:"Memory"` // 存储空间大小,单位:GB,可以通过 DescribeDBInstanceSpecs // 查询实例规格获得不同内存大小对应的磁盘规格下限和上限。 Storage *int64 `json:"Storage,omitempty" name:"Storage"` }
func NewDescribeUpgradePriceRequest ¶
func NewDescribeUpgradePriceRequest() (request *DescribeUpgradePriceRequest)
func (*DescribeUpgradePriceRequest) FromJsonString ¶
func (r *DescribeUpgradePriceRequest) FromJsonString(s string) error
func (*DescribeUpgradePriceRequest) ToJsonString ¶
func (r *DescribeUpgradePriceRequest) ToJsonString() string
type DescribeUpgradePriceResponse ¶
type DescribeUpgradePriceResponse struct { *tchttp.BaseResponse Response *struct { // 原价,单位:分 OriginalPrice *int64 `json:"OriginalPrice,omitempty" name:"OriginalPrice"` // 实际价格,单位:分。受折扣等影响,可能和原价不同。 Price *int64 `json:"Price,omitempty" name:"Price"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeUpgradePriceResponse ¶
func NewDescribeUpgradePriceResponse() (response *DescribeUpgradePriceResponse)
func (*DescribeUpgradePriceResponse) FromJsonString ¶
func (r *DescribeUpgradePriceResponse) FromJsonString(s string) error
func (*DescribeUpgradePriceResponse) ToJsonString ¶
func (r *DescribeUpgradePriceResponse) ToJsonString() string
type GrantAccountPrivilegesRequest ¶
type GrantAccountPrivilegesRequest struct { *tchttp.BaseRequest // 实例 ID,形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 登录用户名。 UserName *string `json:"UserName,omitempty" name:"UserName"` // 用户允许的访问 host,用户名+host唯一确定一个账号。 Host *string `json:"Host,omitempty" name:"Host"` // 数据库名。如果为 \*,表示设置全局权限(即 \*.\*),此时忽略 Type 和 Object 参数。当DbName不为\*时,需要传入参 Type。 DbName *string `json:"DbName,omitempty" name:"DbName"` // 全局权限: SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,REFERENCES,INDEX,ALTER,CREATE TEMPORARY TABLES,LOCK TABLES,EXECUTE,CREATE VIEW,SHOW VIEW,CREATE ROUTINE,ALTER ROUTINE,EVENT,TRIGGER,SHOW DATABASES // 库权限: SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,REFERENCES,INDEX,ALTER,CREATE TEMPORARY TABLES,LOCK TABLES,EXECUTE,CREATE VIEW,SHOW VIEW,CREATE ROUTINE,ALTER ROUTINE,EVENT,TRIGGER // 表/视图权限: SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,REFERENCES,INDEX,ALTER,CREATE VIEW,SHOW VIEW,TRIGGER // 存储过程/函数权限: ALTER ROUTINE,EXECUTE // 字段权限: INSERT,REFERENCES,SELECT,UPDATE Privileges []*string `json:"Privileges,omitempty" name:"Privileges" list` // 类型,可以填入 table 、 view 、 proc 、 func 和 \*。当 DbName 为具体数据库名,Type为 \* 时,表示设置该数据库权限(即db.\*),此时忽略 Object 参数 Type *string `json:"Type,omitempty" name:"Type"` // 具体的 Type 的名称,例如 Type 为 table 时就是具体的表名。DbName 和 Type 都为具体名称,则 Object 表示具体对象名,不能为 \* 或者为空 Object *string `json:"Object,omitempty" name:"Object"` // 当 Type=table 时,ColName 为 \* 表示对表授权,如果为具体字段名,表示对字段授权 ColName *string `json:"ColName,omitempty" name:"ColName"` }
func NewGrantAccountPrivilegesRequest ¶
func NewGrantAccountPrivilegesRequest() (request *GrantAccountPrivilegesRequest)
func (*GrantAccountPrivilegesRequest) FromJsonString ¶
func (r *GrantAccountPrivilegesRequest) FromJsonString(s string) error
func (*GrantAccountPrivilegesRequest) ToJsonString ¶
func (r *GrantAccountPrivilegesRequest) ToJsonString() string
type GrantAccountPrivilegesResponse ¶
type GrantAccountPrivilegesResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGrantAccountPrivilegesResponse ¶
func NewGrantAccountPrivilegesResponse() (response *GrantAccountPrivilegesResponse)
func (*GrantAccountPrivilegesResponse) FromJsonString ¶
func (r *GrantAccountPrivilegesResponse) FromJsonString(s string) error
func (*GrantAccountPrivilegesResponse) ToJsonString ¶
func (r *GrantAccountPrivilegesResponse) ToJsonString() string
type InitDBInstancesRequest ¶
type InitDBInstancesRequest struct { *tchttp.BaseRequest // 待初始化的实例ID列表,形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。 InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds" list` // 参数列表。本接口的可选值为:character_set_server(字符集,必传),lower_case_table_names(表名大小写敏感,必传,0 - 敏感;1-不敏感),innodb_page_size(innodb数据页,默认16K),sync_mode(同步模式:0 - 异步; 1 - 强同步;2 - 强同步可退化。默认为强同步)。 Params []*DBParamValue `json:"Params,omitempty" name:"Params" list` }
func NewInitDBInstancesRequest ¶
func NewInitDBInstancesRequest() (request *InitDBInstancesRequest)
func (*InitDBInstancesRequest) FromJsonString ¶
func (r *InitDBInstancesRequest) FromJsonString(s string) error
func (*InitDBInstancesRequest) ToJsonString ¶
func (r *InitDBInstancesRequest) ToJsonString() string
type InitDBInstancesResponse ¶
type InitDBInstancesResponse struct { *tchttp.BaseResponse Response *struct { // 异步任务ID,可通过 DescribeFlow 查询任务状态。 FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // 透传入参。 InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewInitDBInstancesResponse ¶
func NewInitDBInstancesResponse() (response *InitDBInstancesResponse)
func (*InitDBInstancesResponse) FromJsonString ¶
func (r *InitDBInstancesResponse) FromJsonString(s string) error
func (*InitDBInstancesResponse) ToJsonString ¶
func (r *InitDBInstancesResponse) ToJsonString() string
type InstanceSpec ¶
type InstanceSpec struct { // 设备型号 Machine *string `json:"Machine,omitempty" name:"Machine"` // 该机型对应的可售卖规格列表 SpecInfos []*SpecConfigInfo `json:"SpecInfos,omitempty" name:"SpecInfos" list` }
type LogFileInfo ¶
type ModifyAccountDescriptionRequest ¶
type ModifyAccountDescriptionRequest struct { *tchttp.BaseRequest // 实例 ID,形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 登录用户名。 UserName *string `json:"UserName,omitempty" name:"UserName"` // 用户允许的访问 host,用户名+host唯一确定一个账号。 Host *string `json:"Host,omitempty" name:"Host"` // 新的账号备注,长度 0~256。 Description *string `json:"Description,omitempty" name:"Description"` }
func NewModifyAccountDescriptionRequest ¶
func NewModifyAccountDescriptionRequest() (request *ModifyAccountDescriptionRequest)
func (*ModifyAccountDescriptionRequest) FromJsonString ¶
func (r *ModifyAccountDescriptionRequest) FromJsonString(s string) error
func (*ModifyAccountDescriptionRequest) ToJsonString ¶
func (r *ModifyAccountDescriptionRequest) ToJsonString() string
type ModifyAccountDescriptionResponse ¶
type ModifyAccountDescriptionResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyAccountDescriptionResponse ¶
func NewModifyAccountDescriptionResponse() (response *ModifyAccountDescriptionResponse)
func (*ModifyAccountDescriptionResponse) FromJsonString ¶
func (r *ModifyAccountDescriptionResponse) FromJsonString(s string) error
func (*ModifyAccountDescriptionResponse) ToJsonString ¶
func (r *ModifyAccountDescriptionResponse) ToJsonString() string
type ModifyBackupTimeRequest ¶
type ModifyBackupTimeRequest struct { *tchttp.BaseRequest // 实例ID,形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 每天备份执行的区间的开始时间,格式 mm:ss,形如 22:00 StartBackupTime *string `json:"StartBackupTime,omitempty" name:"StartBackupTime"` // 每天备份执行的区间的结束时间,格式 mm:ss,形如 23:59 EndBackupTime *string `json:"EndBackupTime,omitempty" name:"EndBackupTime"` }
func NewModifyBackupTimeRequest ¶
func NewModifyBackupTimeRequest() (request *ModifyBackupTimeRequest)
func (*ModifyBackupTimeRequest) FromJsonString ¶
func (r *ModifyBackupTimeRequest) FromJsonString(s string) error
func (*ModifyBackupTimeRequest) ToJsonString ¶
func (r *ModifyBackupTimeRequest) ToJsonString() string
type ModifyBackupTimeResponse ¶
type ModifyBackupTimeResponse struct { *tchttp.BaseResponse Response *struct { // 设置的状态,0 表示成功 Status *int64 `json:"Status,omitempty" name:"Status"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyBackupTimeResponse ¶
func NewModifyBackupTimeResponse() (response *ModifyBackupTimeResponse)
func (*ModifyBackupTimeResponse) FromJsonString ¶
func (r *ModifyBackupTimeResponse) FromJsonString(s string) error
func (*ModifyBackupTimeResponse) ToJsonString ¶
func (r *ModifyBackupTimeResponse) ToJsonString() string
type ModifyDBInstanceNameRequest ¶
type ModifyDBInstanceNameRequest struct { *tchttp.BaseRequest // 待修改的实例 ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 新的实例名称。允许的字符为字母、数字、下划线、连字符和中文。 InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` }
func NewModifyDBInstanceNameRequest ¶
func NewModifyDBInstanceNameRequest() (request *ModifyDBInstanceNameRequest)
func (*ModifyDBInstanceNameRequest) FromJsonString ¶
func (r *ModifyDBInstanceNameRequest) FromJsonString(s string) error
func (*ModifyDBInstanceNameRequest) ToJsonString ¶
func (r *ModifyDBInstanceNameRequest) ToJsonString() string
type ModifyDBInstanceNameResponse ¶
type ModifyDBInstanceNameResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyDBInstanceNameResponse ¶
func NewModifyDBInstanceNameResponse() (response *ModifyDBInstanceNameResponse)
func (*ModifyDBInstanceNameResponse) FromJsonString ¶
func (r *ModifyDBInstanceNameResponse) FromJsonString(s string) error
func (*ModifyDBInstanceNameResponse) ToJsonString ¶
func (r *ModifyDBInstanceNameResponse) ToJsonString() string
type ModifyDBInstancesProjectRequest ¶
type ModifyDBInstancesProjectRequest struct { *tchttp.BaseRequest // 待修改的实例ID列表。实例 ID 形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。 InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds" list` // 要分配的项目 ID,可以通过 DescribeProjects 查询项目列表接口获取。 ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` }
func NewModifyDBInstancesProjectRequest ¶
func NewModifyDBInstancesProjectRequest() (request *ModifyDBInstancesProjectRequest)
func (*ModifyDBInstancesProjectRequest) FromJsonString ¶
func (r *ModifyDBInstancesProjectRequest) FromJsonString(s string) error
func (*ModifyDBInstancesProjectRequest) ToJsonString ¶
func (r *ModifyDBInstancesProjectRequest) ToJsonString() string
type ModifyDBInstancesProjectResponse ¶
type ModifyDBInstancesProjectResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyDBInstancesProjectResponse ¶
func NewModifyDBInstancesProjectResponse() (response *ModifyDBInstancesProjectResponse)
func (*ModifyDBInstancesProjectResponse) FromJsonString ¶
func (r *ModifyDBInstancesProjectResponse) FromJsonString(s string) error
func (*ModifyDBInstancesProjectResponse) ToJsonString ¶
func (r *ModifyDBInstancesProjectResponse) ToJsonString() string
type ModifyDBParametersRequest ¶
type ModifyDBParametersRequest struct { *tchttp.BaseRequest // 实例 ID,形如:tdsql-ow728lmc。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 参数列表,每一个元素是Param和Value的组合 Params []*DBParamValue `json:"Params,omitempty" name:"Params" list` }
func NewModifyDBParametersRequest ¶
func NewModifyDBParametersRequest() (request *ModifyDBParametersRequest)
func (*ModifyDBParametersRequest) FromJsonString ¶
func (r *ModifyDBParametersRequest) FromJsonString(s string) error
func (*ModifyDBParametersRequest) ToJsonString ¶
func (r *ModifyDBParametersRequest) ToJsonString() string
type ModifyDBParametersResponse ¶
type ModifyDBParametersResponse struct { *tchttp.BaseResponse Response *struct { // 实例 ID,形如:tdsql-ow728lmc。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 参数修改结果 Result []*ParamModifyResult `json:"Result,omitempty" name:"Result" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyDBParametersResponse ¶
func NewModifyDBParametersResponse() (response *ModifyDBParametersResponse)
func (*ModifyDBParametersResponse) FromJsonString ¶
func (r *ModifyDBParametersResponse) FromJsonString(s string) error
func (*ModifyDBParametersResponse) ToJsonString ¶
func (r *ModifyDBParametersResponse) ToJsonString() string
type ModifyLogFileRetentionPeriodRequest ¶
type ModifyLogFileRetentionPeriodRequest struct { *tchttp.BaseRequest // 实例 ID,形如:tdsql-ow728lmc。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 保存的天数,不能超过30 Days *uint64 `json:"Days,omitempty" name:"Days"` }
func NewModifyLogFileRetentionPeriodRequest ¶
func NewModifyLogFileRetentionPeriodRequest() (request *ModifyLogFileRetentionPeriodRequest)
func (*ModifyLogFileRetentionPeriodRequest) FromJsonString ¶
func (r *ModifyLogFileRetentionPeriodRequest) FromJsonString(s string) error
func (*ModifyLogFileRetentionPeriodRequest) ToJsonString ¶
func (r *ModifyLogFileRetentionPeriodRequest) ToJsonString() string
type ModifyLogFileRetentionPeriodResponse ¶
type ModifyLogFileRetentionPeriodResponse struct { *tchttp.BaseResponse Response *struct { // 实例 ID,形如:tdsql-ow728lmc。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyLogFileRetentionPeriodResponse ¶
func NewModifyLogFileRetentionPeriodResponse() (response *ModifyLogFileRetentionPeriodResponse)
func (*ModifyLogFileRetentionPeriodResponse) FromJsonString ¶
func (r *ModifyLogFileRetentionPeriodResponse) FromJsonString(s string) error
func (*ModifyLogFileRetentionPeriodResponse) ToJsonString ¶
func (r *ModifyLogFileRetentionPeriodResponse) ToJsonString() string
type MonitorData ¶
type OpenDBExtranetAccessRequest ¶
type OpenDBExtranetAccessRequest struct { *tchttp.BaseRequest // 待开放外网访问的实例ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewOpenDBExtranetAccessRequest ¶
func NewOpenDBExtranetAccessRequest() (request *OpenDBExtranetAccessRequest)
func (*OpenDBExtranetAccessRequest) FromJsonString ¶
func (r *OpenDBExtranetAccessRequest) FromJsonString(s string) error
func (*OpenDBExtranetAccessRequest) ToJsonString ¶
func (r *OpenDBExtranetAccessRequest) ToJsonString() string
type OpenDBExtranetAccessResponse ¶
type OpenDBExtranetAccessResponse struct { *tchttp.BaseResponse Response *struct { // 异步任务ID,可通过 DescribeFlow 查询任务状态。 FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewOpenDBExtranetAccessResponse ¶
func NewOpenDBExtranetAccessResponse() (response *OpenDBExtranetAccessResponse)
func (*OpenDBExtranetAccessResponse) FromJsonString ¶
func (r *OpenDBExtranetAccessResponse) FromJsonString(s string) error
func (*OpenDBExtranetAccessResponse) ToJsonString ¶
func (r *OpenDBExtranetAccessResponse) ToJsonString() string
type ParamConstraint ¶
type ParamConstraint struct { // 约束类型,如枚举enum,区间section Type *string `json:"Type,omitempty" name:"Type"` // 约束类型为enum时的可选值列表 Enum *string `json:"Enum,omitempty" name:"Enum"` // 约束类型为section时的范围 // 注意:此字段可能返回 null,表示取不到有效值。 Range *ConstraintRange `json:"Range,omitempty" name:"Range"` // 约束类型为string时的可选值列表 String *string `json:"String,omitempty" name:"String"` }
type ParamDesc ¶
type ParamDesc struct { // 参数名字 Param *string `json:"Param,omitempty" name:"Param"` // 当前参数值 Value *string `json:"Value,omitempty" name:"Value"` // 设置过的值,参数生效后,该值和value一样。 // 注意:此字段可能返回 null,表示取不到有效值。 SetValue *string `json:"SetValue,omitempty" name:"SetValue"` // 系统默认值 Default *string `json:"Default,omitempty" name:"Default"` // 参数限制 Constraint *ParamConstraint `json:"Constraint,omitempty" name:"Constraint"` // 是否有设置过值,false:没有设置过值,true:有设置过值。 HaveSetValue *bool `json:"HaveSetValue,omitempty" name:"HaveSetValue"` }
type ParamModifyResult ¶
type PerformanceMonitorSet ¶
type PerformanceMonitorSet struct { // 更新操作数UPDATE UpdateTotal *MonitorData `json:"UpdateTotal,omitempty" name:"UpdateTotal"` // 磁盘每秒IO次数 DiskIops *MonitorData `json:"DiskIops,omitempty" name:"DiskIops"` // 活跃连接数 ConnActive *MonitorData `json:"ConnActive,omitempty" name:"ConnActive"` // 缓存命中率 MemHitRate *MonitorData `json:"MemHitRate,omitempty" name:"MemHitRate"` // 主备延迟 SlaveDelay *MonitorData `json:"SlaveDelay,omitempty" name:"SlaveDelay"` // 查询操作数SELECT SelectTotal *MonitorData `json:"SelectTotal,omitempty" name:"SelectTotal"` // 慢查询数 LongQuery *MonitorData `json:"LongQuery,omitempty" name:"LongQuery"` // 删除操作数DELETE DeleteTotal *MonitorData `json:"DeleteTotal,omitempty" name:"DeleteTotal"` // 插入操作数INSERT InsertTotal *MonitorData `json:"InsertTotal,omitempty" name:"InsertTotal"` // 是否发生主备切换,1为发生,0否 IsMasterSwitched *MonitorData `json:"IsMasterSwitched,omitempty" name:"IsMasterSwitched"` }
type RegionInfo ¶
type RegionInfo struct { // 地域英文ID Region *string `json:"Region,omitempty" name:"Region"` // 地域数字ID RegionId *int64 `json:"RegionId,omitempty" name:"RegionId"` // 地域中文名 RegionName *string `json:"RegionName,omitempty" name:"RegionName"` // 可用区列表 ZoneList []*ZonesInfo `json:"ZoneList,omitempty" name:"ZoneList" list` // 可选择的主可用区和从可用区 AvailableChoice []*ZoneChooseInfo `json:"AvailableChoice,omitempty" name:"AvailableChoice" list` }
type RenewDBInstanceRequest ¶
type RenewDBInstanceRequest struct { *tchttp.BaseRequest // 待续费的实例ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 续费时长,单位:月。 Period *int64 `json:"Period,omitempty" name:"Period"` // 是否自动使用代金券进行支付,默认不使用。 AutoVoucher *bool `json:"AutoVoucher,omitempty" name:"AutoVoucher"` // 代金券ID列表,目前仅支持指定一张代金券。 VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds" list` }
func NewRenewDBInstanceRequest ¶
func NewRenewDBInstanceRequest() (request *RenewDBInstanceRequest)
func (*RenewDBInstanceRequest) FromJsonString ¶
func (r *RenewDBInstanceRequest) FromJsonString(s string) error
func (*RenewDBInstanceRequest) ToJsonString ¶
func (r *RenewDBInstanceRequest) ToJsonString() string
type RenewDBInstanceResponse ¶
type RenewDBInstanceResponse struct { *tchttp.BaseResponse Response *struct { // 长订单号。可以据此调用 DescribeOrders // 查询订单详细信息,或在支付失败时调用用户账号相关接口进行支付。 DealName *string `json:"DealName,omitempty" name:"DealName"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewRenewDBInstanceResponse ¶
func NewRenewDBInstanceResponse() (response *RenewDBInstanceResponse)
func (*RenewDBInstanceResponse) FromJsonString ¶
func (r *RenewDBInstanceResponse) FromJsonString(s string) error
func (*RenewDBInstanceResponse) ToJsonString ¶
func (r *RenewDBInstanceResponse) ToJsonString() string
type ResetAccountPasswordRequest ¶
type ResetAccountPasswordRequest struct { *tchttp.BaseRequest // 实例 ID,形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 登录用户名。 UserName *string `json:"UserName,omitempty" name:"UserName"` // 用户允许的访问 host,用户名+host唯一确定一个账号。 Host *string `json:"Host,omitempty" name:"Host"` // 新密码,由字母、数字或常见符号组成,不能包含分号、单引号和双引号,长度为6~32位。 Password *string `json:"Password,omitempty" name:"Password"` }
func NewResetAccountPasswordRequest ¶
func NewResetAccountPasswordRequest() (request *ResetAccountPasswordRequest)
func (*ResetAccountPasswordRequest) FromJsonString ¶
func (r *ResetAccountPasswordRequest) FromJsonString(s string) error
func (*ResetAccountPasswordRequest) ToJsonString ¶
func (r *ResetAccountPasswordRequest) ToJsonString() string
type ResetAccountPasswordResponse ¶
type ResetAccountPasswordResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewResetAccountPasswordResponse ¶
func NewResetAccountPasswordResponse() (response *ResetAccountPasswordResponse)
func (*ResetAccountPasswordResponse) FromJsonString ¶
func (r *ResetAccountPasswordResponse) FromJsonString(s string) error
func (*ResetAccountPasswordResponse) ToJsonString ¶
func (r *ResetAccountPasswordResponse) ToJsonString() string
type ResourceUsageMonitorSet ¶
type ResourceUsageMonitorSet struct { // binlog日志磁盘可用空间,单位GB BinlogDiskAvailable *MonitorData `json:"BinlogDiskAvailable,omitempty" name:"BinlogDiskAvailable"` // CPU利用率 CpuUsageRate *MonitorData `json:"CpuUsageRate,omitempty" name:"CpuUsageRate"` // 内存可用空间,单位GB MemAvailable *MonitorData `json:"MemAvailable,omitempty" name:"MemAvailable"` // 磁盘可用空间,单位GB DataDiskAvailable *MonitorData `json:"DataDiskAvailable,omitempty" name:"DataDiskAvailable"` }
type RestartDBInstancesRequest ¶
type RestartDBInstancesRequest struct { *tchttp.BaseRequest // 实例ID的数组 InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds" list` }
func NewRestartDBInstancesRequest ¶
func NewRestartDBInstancesRequest() (request *RestartDBInstancesRequest)
func (*RestartDBInstancesRequest) FromJsonString ¶
func (r *RestartDBInstancesRequest) FromJsonString(s string) error
func (*RestartDBInstancesRequest) ToJsonString ¶
func (r *RestartDBInstancesRequest) ToJsonString() string
type RestartDBInstancesResponse ¶
type RestartDBInstancesResponse struct { *tchttp.BaseResponse Response *struct { // 异步任务ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewRestartDBInstancesResponse ¶
func NewRestartDBInstancesResponse() (response *RestartDBInstancesResponse)
func (*RestartDBInstancesResponse) FromJsonString ¶
func (r *RestartDBInstancesResponse) FromJsonString(s string) error
func (*RestartDBInstancesResponse) ToJsonString ¶
func (r *RestartDBInstancesResponse) ToJsonString() string
type SlowLogData ¶
type SlowLogData struct { // 语句校验和,用于查询详情 CheckSum *string `json:"CheckSum,omitempty" name:"CheckSum"` // 数据库名称 Db *string `json:"Db,omitempty" name:"Db"` // 抽象的SQL语句 FingerPrint *string `json:"FingerPrint,omitempty" name:"FingerPrint"` // 平均的锁时间 LockTimeAvg *string `json:"LockTimeAvg,omitempty" name:"LockTimeAvg"` // 最大锁时间 LockTimeMax *string `json:"LockTimeMax,omitempty" name:"LockTimeMax"` // 最小锁时间 LockTimeMin *string `json:"LockTimeMin,omitempty" name:"LockTimeMin"` // 锁时间总和 LockTimeSum *string `json:"LockTimeSum,omitempty" name:"LockTimeSum"` // 查询次数 QueryCount *string `json:"QueryCount,omitempty" name:"QueryCount"` // 平均查询时间 QueryTimeAvg *string `json:"QueryTimeAvg,omitempty" name:"QueryTimeAvg"` // 最大查询时间 QueryTimeMax *string `json:"QueryTimeMax,omitempty" name:"QueryTimeMax"` // 最小查询时间 QueryTimeMin *string `json:"QueryTimeMin,omitempty" name:"QueryTimeMin"` // 查询时间总和 QueryTimeSum *string `json:"QueryTimeSum,omitempty" name:"QueryTimeSum"` // 扫描行数 RowsExaminedSum *string `json:"RowsExaminedSum,omitempty" name:"RowsExaminedSum"` // 发送行数 RowsSentSum *string `json:"RowsSentSum,omitempty" name:"RowsSentSum"` // 最后执行时间 TsMax *string `json:"TsMax,omitempty" name:"TsMax"` // 首次执行时间 TsMin *string `json:"TsMin,omitempty" name:"TsMin"` // 帐号 User *string `json:"User,omitempty" name:"User"` // 样例Sql // 注意:此字段可能返回 null,表示取不到有效值。 ExampleSql *string `json:"ExampleSql,omitempty" name:"ExampleSql"` }
type SpecConfigInfo ¶
type SpecConfigInfo struct { // 设备型号 Machine *string `json:"Machine,omitempty" name:"Machine"` // 内存大小,单位 GB Memory *int64 `json:"Memory,omitempty" name:"Memory"` // 数据盘规格最小值,单位 GB MinStorage *int64 `json:"MinStorage,omitempty" name:"MinStorage"` // 数据盘规格最大值,单位 GB MaxStorage *int64 `json:"MaxStorage,omitempty" name:"MaxStorage"` // 推荐的使用场景 SuitInfo *string `json:"SuitInfo,omitempty" name:"SuitInfo"` // 最大 Qps 值 Qps *int64 `json:"Qps,omitempty" name:"Qps"` // 产品类型 Id Pid *int64 `json:"Pid,omitempty" name:"Pid"` // 节点个数,2 表示一主一从,3 表示一主二从 NodeCount *int64 `json:"NodeCount,omitempty" name:"NodeCount"` // Cpu核数 Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"` }
type SqlLogItem ¶
type SqlLogItem struct { // 本条日志在消息队列中的偏移量。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 执行本条sql的用户。 User *string `json:"User,omitempty" name:"User"` // 执行本条sql的客户端IP+端口。 Client *string `json:"Client,omitempty" name:"Client"` // 数据库名称。 DbName *string `json:"DbName,omitempty" name:"DbName"` // 执行的sql语句。 Sql *string `json:"Sql,omitempty" name:"Sql"` // 返回的数据行数。 SelectRowNum *uint64 `json:"SelectRowNum,omitempty" name:"SelectRowNum"` // 影响行数。 AffectRowNum *uint64 `json:"AffectRowNum,omitempty" name:"AffectRowNum"` // Sql执行时间戳。 Timestamp *uint64 `json:"Timestamp,omitempty" name:"Timestamp"` // Sql耗时,单位为毫秒。 TimeCostMs *uint64 `json:"TimeCostMs,omitempty" name:"TimeCostMs"` // Sql返回码,0为成功。 ResultCode *uint64 `json:"ResultCode,omitempty" name:"ResultCode"` }
type UpgradeDBInstanceRequest ¶
type UpgradeDBInstanceRequest struct { *tchttp.BaseRequest // 待升级的实例ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 内存大小,单位:GB,可以通过 DescribeDBInstanceSpecs // 查询实例规格获得。 Memory *int64 `json:"Memory,omitempty" name:"Memory"` // 存储空间大小,单位:GB,可以通过 DescribeDBInstanceSpecs // 查询实例规格获得不同内存大小对应的磁盘规格下限和上限。 Storage *int64 `json:"Storage,omitempty" name:"Storage"` // 是否自动使用代金券进行支付,默认不使用。 AutoVoucher *bool `json:"AutoVoucher,omitempty" name:"AutoVoucher"` // 代金券ID列表,目前仅支持指定一张代金券。 VoucherIds []*string `json:"VoucherIds,omitempty" name:"VoucherIds" list` }
func NewUpgradeDBInstanceRequest ¶
func NewUpgradeDBInstanceRequest() (request *UpgradeDBInstanceRequest)
func (*UpgradeDBInstanceRequest) FromJsonString ¶
func (r *UpgradeDBInstanceRequest) FromJsonString(s string) error
func (*UpgradeDBInstanceRequest) ToJsonString ¶
func (r *UpgradeDBInstanceRequest) ToJsonString() string
type UpgradeDBInstanceResponse ¶
type UpgradeDBInstanceResponse struct { *tchttp.BaseResponse Response *struct { // 长订单号。可以据此调用 DescribeOrders // 查询订单详细信息,或在支付失败时调用用户账号相关接口进行支付。 DealName *string `json:"DealName,omitempty" name:"DealName"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUpgradeDBInstanceResponse ¶
func NewUpgradeDBInstanceResponse() (response *UpgradeDBInstanceResponse)
func (*UpgradeDBInstanceResponse) FromJsonString ¶
func (r *UpgradeDBInstanceResponse) FromJsonString(s string) error
func (*UpgradeDBInstanceResponse) ToJsonString ¶
func (r *UpgradeDBInstanceResponse) ToJsonString() string