Documentation ¶
Overview ¶
Package udb include resources of ucloud udb product
See also
for detail.
Index ¶
- type BackupUDBInstanceBinlogRequest
- type BackupUDBInstanceBinlogResponse
- type BackupUDBInstanceErrorLogRequest
- type BackupUDBInstanceErrorLogResponse
- type BackupUDBInstanceRequest
- type BackupUDBInstanceResponse
- type BackupUDBInstanceSlowLogRequest
- type BackupUDBInstanceSlowLogResponse
- type CheckRecoverUDBInstanceRequest
- type CheckRecoverUDBInstanceResponse
- type CheckUDBInstanceToHAAllowanceRequest
- type CheckUDBInstanceToHAAllowanceResponse
- type ClearUDBLogRequest
- type ClearUDBLogResponse
- type CreateUDBInstanceByRecoveryRequest
- type CreateUDBInstanceByRecoveryResponse
- type CreateUDBInstanceRequest
- type CreateUDBInstanceResponse
- type CreateUDBParamGroupRequest
- type CreateUDBParamGroupResponse
- type CreateUDBReplicationInstanceRequest
- type CreateUDBReplicationInstanceResponse
- type CreateUDBRouteInstanceRequest
- type CreateUDBRouteInstanceResponse
- type CreateUDBSlaveRequest
- type CreateUDBSlaveResponse
- type DeleteUDBBackupRequest
- type DeleteUDBBackupResponse
- type DeleteUDBInstanceRequest
- type DeleteUDBInstanceResponse
- type DeleteUDBLogPackageRequest
- type DeleteUDBLogPackageResponse
- type DeleteUDBParamGroupRequest
- type DeleteUDBParamGroupResponse
- type DescribeUDBBackupBlacklistRequest
- type DescribeUDBBackupBlacklistResponse
- type DescribeUDBBackupRequest
- type DescribeUDBBackupResponse
- type DescribeUDBBinlogBackupURLRequest
- type DescribeUDBBinlogBackupURLResponse
- type DescribeUDBInstanceBackupStateRequest
- type DescribeUDBInstanceBackupStateResponse
- type DescribeUDBInstanceBackupURLRequest
- type DescribeUDBInstanceBackupURLResponse
- type DescribeUDBInstanceBinlogBackupStateRequest
- type DescribeUDBInstanceBinlogBackupStateResponse
- type DescribeUDBInstanceBinlogRequest
- type DescribeUDBInstanceBinlogResponse
- type DescribeUDBInstancePriceRequest
- type DescribeUDBInstancePriceResponse
- type DescribeUDBInstanceRequest
- type DescribeUDBInstanceResponse
- type DescribeUDBInstanceStateRequest
- type DescribeUDBInstanceStateResponse
- type DescribeUDBInstanceUpgradePriceRequest
- type DescribeUDBInstanceUpgradePriceResponse
- type DescribeUDBLogBackupURLRequest
- type DescribeUDBLogBackupURLResponse
- type DescribeUDBLogPackageRequest
- type DescribeUDBLogPackageResponse
- type DescribeUDBParamGroupRequest
- type DescribeUDBParamGroupResponse
- type DescribeUDBTypeRequest
- type DescribeUDBTypeResponse
- type EditUDBBackupBlacklistRequest
- type EditUDBBackupBlacklistResponse
- type FetchUDBInstanceEarliestRecoverTimeRequest
- type FetchUDBInstanceEarliestRecoverTimeResponse
- type LogPackageDataSet
- type ModifyUDBInstanceNameRequest
- type ModifyUDBInstanceNameResponse
- type ModifyUDBInstancePasswordRequest
- type ModifyUDBInstancePasswordResponse
- type PromoteUDBInstanceToHARequest
- type PromoteUDBInstanceToHAResponse
- type PromoteUDBSlaveRequest
- type PromoteUDBSlaveResponse
- type ResizeUDBInstanceRequest
- type ResizeUDBInstanceResponse
- type RestartUDBInstanceRequest
- type RestartUDBInstanceResponse
- type StartUDBInstanceRequest
- type StartUDBInstanceResponse
- type StopUDBInstanceRequest
- type StopUDBInstanceResponse
- type SwitchUDBInstanceToHARequest
- type SwitchUDBInstanceToHAResponse
- type UDBBackupSet
- type UDBClient
- func (c *UDBClient) BackupUDBInstance(req *BackupUDBInstanceRequest) (*BackupUDBInstanceResponse, error)
- func (c *UDBClient) BackupUDBInstanceBinlog(req *BackupUDBInstanceBinlogRequest) (*BackupUDBInstanceBinlogResponse, error)
- func (c *UDBClient) BackupUDBInstanceErrorLog(req *BackupUDBInstanceErrorLogRequest) (*BackupUDBInstanceErrorLogResponse, error)
- func (c *UDBClient) BackupUDBInstanceSlowLog(req *BackupUDBInstanceSlowLogRequest) (*BackupUDBInstanceSlowLogResponse, error)
- func (c *UDBClient) CheckRecoverUDBInstance(req *CheckRecoverUDBInstanceRequest) (*CheckRecoverUDBInstanceResponse, error)
- func (c *UDBClient) CheckUDBInstanceToHAAllowance(req *CheckUDBInstanceToHAAllowanceRequest) (*CheckUDBInstanceToHAAllowanceResponse, error)
- func (c *UDBClient) ClearUDBLog(req *ClearUDBLogRequest) (*ClearUDBLogResponse, error)
- func (c *UDBClient) CreateUDBInstance(req *CreateUDBInstanceRequest) (*CreateUDBInstanceResponse, error)
- func (c *UDBClient) CreateUDBInstanceByRecovery(req *CreateUDBInstanceByRecoveryRequest) (*CreateUDBInstanceByRecoveryResponse, error)
- func (c *UDBClient) CreateUDBParamGroup(req *CreateUDBParamGroupRequest) (*CreateUDBParamGroupResponse, error)
- func (c *UDBClient) CreateUDBReplicationInstance(req *CreateUDBReplicationInstanceRequest) (*CreateUDBReplicationInstanceResponse, error)
- func (c *UDBClient) CreateUDBRouteInstance(req *CreateUDBRouteInstanceRequest) (*CreateUDBRouteInstanceResponse, error)
- func (c *UDBClient) CreateUDBSlave(req *CreateUDBSlaveRequest) (*CreateUDBSlaveResponse, error)
- func (c *UDBClient) DeleteUDBBackup(req *DeleteUDBBackupRequest) (*DeleteUDBBackupResponse, error)
- func (c *UDBClient) DeleteUDBInstance(req *DeleteUDBInstanceRequest) (*DeleteUDBInstanceResponse, error)
- func (c *UDBClient) DeleteUDBLogPackage(req *DeleteUDBLogPackageRequest) (*DeleteUDBLogPackageResponse, error)
- func (c *UDBClient) DeleteUDBParamGroup(req *DeleteUDBParamGroupRequest) (*DeleteUDBParamGroupResponse, error)
- func (c *UDBClient) DescribeUDBBackup(req *DescribeUDBBackupRequest) (*DescribeUDBBackupResponse, error)
- func (c *UDBClient) DescribeUDBBackupBlacklist(req *DescribeUDBBackupBlacklistRequest) (*DescribeUDBBackupBlacklistResponse, error)
- func (c *UDBClient) DescribeUDBBinlogBackupURL(req *DescribeUDBBinlogBackupURLRequest) (*DescribeUDBBinlogBackupURLResponse, error)
- func (c *UDBClient) DescribeUDBInstance(req *DescribeUDBInstanceRequest) (*DescribeUDBInstanceResponse, error)
- func (c *UDBClient) DescribeUDBInstanceBackupState(req *DescribeUDBInstanceBackupStateRequest) (*DescribeUDBInstanceBackupStateResponse, error)
- func (c *UDBClient) DescribeUDBInstanceBackupURL(req *DescribeUDBInstanceBackupURLRequest) (*DescribeUDBInstanceBackupURLResponse, error)
- func (c *UDBClient) DescribeUDBInstanceBinlog(req *DescribeUDBInstanceBinlogRequest) (*DescribeUDBInstanceBinlogResponse, error)
- func (c *UDBClient) DescribeUDBInstanceBinlogBackupState(req *DescribeUDBInstanceBinlogBackupStateRequest) (*DescribeUDBInstanceBinlogBackupStateResponse, error)
- func (c *UDBClient) DescribeUDBInstancePrice(req *DescribeUDBInstancePriceRequest) (*DescribeUDBInstancePriceResponse, error)
- func (c *UDBClient) DescribeUDBInstanceState(req *DescribeUDBInstanceStateRequest) (*DescribeUDBInstanceStateResponse, error)
- func (c *UDBClient) DescribeUDBInstanceUpgradePrice(req *DescribeUDBInstanceUpgradePriceRequest) (*DescribeUDBInstanceUpgradePriceResponse, error)
- func (c *UDBClient) DescribeUDBLogBackupURL(req *DescribeUDBLogBackupURLRequest) (*DescribeUDBLogBackupURLResponse, error)
- func (c *UDBClient) DescribeUDBLogPackage(req *DescribeUDBLogPackageRequest) (*DescribeUDBLogPackageResponse, error)
- func (c *UDBClient) DescribeUDBParamGroup(req *DescribeUDBParamGroupRequest) (*DescribeUDBParamGroupResponse, error)
- func (c *UDBClient) DescribeUDBType(req *DescribeUDBTypeRequest) (*DescribeUDBTypeResponse, error)
- func (c *UDBClient) EditUDBBackupBlacklist(req *EditUDBBackupBlacklistRequest) (*EditUDBBackupBlacklistResponse, error)
- func (c *UDBClient) FetchUDBInstanceEarliestRecoverTime(req *FetchUDBInstanceEarliestRecoverTimeRequest) (*FetchUDBInstanceEarliestRecoverTimeResponse, error)
- func (c *UDBClient) ModifyUDBInstanceName(req *ModifyUDBInstanceNameRequest) (*ModifyUDBInstanceNameResponse, error)
- func (c *UDBClient) ModifyUDBInstancePassword(req *ModifyUDBInstancePasswordRequest) (*ModifyUDBInstancePasswordResponse, error)
- func (c *UDBClient) NewBackupUDBInstanceBinlogRequest() *BackupUDBInstanceBinlogRequest
- func (c *UDBClient) NewBackupUDBInstanceErrorLogRequest() *BackupUDBInstanceErrorLogRequest
- func (c *UDBClient) NewBackupUDBInstanceRequest() *BackupUDBInstanceRequest
- func (c *UDBClient) NewBackupUDBInstanceSlowLogRequest() *BackupUDBInstanceSlowLogRequest
- func (c *UDBClient) NewCheckRecoverUDBInstanceRequest() *CheckRecoverUDBInstanceRequest
- func (c *UDBClient) NewCheckUDBInstanceToHAAllowanceRequest() *CheckUDBInstanceToHAAllowanceRequest
- func (c *UDBClient) NewClearUDBLogRequest() *ClearUDBLogRequest
- func (c *UDBClient) NewCreateUDBInstanceByRecoveryRequest() *CreateUDBInstanceByRecoveryRequest
- func (c *UDBClient) NewCreateUDBInstanceRequest() *CreateUDBInstanceRequest
- func (c *UDBClient) NewCreateUDBParamGroupRequest() *CreateUDBParamGroupRequest
- func (c *UDBClient) NewCreateUDBReplicationInstanceRequest() *CreateUDBReplicationInstanceRequest
- func (c *UDBClient) NewCreateUDBRouteInstanceRequest() *CreateUDBRouteInstanceRequest
- func (c *UDBClient) NewCreateUDBSlaveRequest() *CreateUDBSlaveRequest
- func (c *UDBClient) NewDeleteUDBBackupRequest() *DeleteUDBBackupRequest
- func (c *UDBClient) NewDeleteUDBInstanceRequest() *DeleteUDBInstanceRequest
- func (c *UDBClient) NewDeleteUDBLogPackageRequest() *DeleteUDBLogPackageRequest
- func (c *UDBClient) NewDeleteUDBParamGroupRequest() *DeleteUDBParamGroupRequest
- func (c *UDBClient) NewDescribeUDBBackupBlacklistRequest() *DescribeUDBBackupBlacklistRequest
- func (c *UDBClient) NewDescribeUDBBackupRequest() *DescribeUDBBackupRequest
- func (c *UDBClient) NewDescribeUDBBinlogBackupURLRequest() *DescribeUDBBinlogBackupURLRequest
- func (c *UDBClient) NewDescribeUDBInstanceBackupStateRequest() *DescribeUDBInstanceBackupStateRequest
- func (c *UDBClient) NewDescribeUDBInstanceBackupURLRequest() *DescribeUDBInstanceBackupURLRequest
- func (c *UDBClient) NewDescribeUDBInstanceBinlogBackupStateRequest() *DescribeUDBInstanceBinlogBackupStateRequest
- func (c *UDBClient) NewDescribeUDBInstanceBinlogRequest() *DescribeUDBInstanceBinlogRequest
- func (c *UDBClient) NewDescribeUDBInstancePriceRequest() *DescribeUDBInstancePriceRequest
- func (c *UDBClient) NewDescribeUDBInstanceRequest() *DescribeUDBInstanceRequest
- func (c *UDBClient) NewDescribeUDBInstanceStateRequest() *DescribeUDBInstanceStateRequest
- func (c *UDBClient) NewDescribeUDBInstanceUpgradePriceRequest() *DescribeUDBInstanceUpgradePriceRequest
- func (c *UDBClient) NewDescribeUDBLogBackupURLRequest() *DescribeUDBLogBackupURLRequest
- func (c *UDBClient) NewDescribeUDBLogPackageRequest() *DescribeUDBLogPackageRequest
- func (c *UDBClient) NewDescribeUDBParamGroupRequest() *DescribeUDBParamGroupRequest
- func (c *UDBClient) NewDescribeUDBTypeRequest() *DescribeUDBTypeRequest
- func (c *UDBClient) NewEditUDBBackupBlacklistRequest() *EditUDBBackupBlacklistRequest
- func (c *UDBClient) NewFetchUDBInstanceEarliestRecoverTimeRequest() *FetchUDBInstanceEarliestRecoverTimeRequest
- func (c *UDBClient) NewModifyUDBInstanceNameRequest() *ModifyUDBInstanceNameRequest
- func (c *UDBClient) NewModifyUDBInstancePasswordRequest() *ModifyUDBInstancePasswordRequest
- func (c *UDBClient) NewPromoteUDBInstanceToHARequest() *PromoteUDBInstanceToHARequest
- func (c *UDBClient) NewPromoteUDBSlaveRequest() *PromoteUDBSlaveRequest
- func (c *UDBClient) NewResizeUDBInstanceRequest() *ResizeUDBInstanceRequest
- func (c *UDBClient) NewRestartUDBInstanceRequest() *RestartUDBInstanceRequest
- func (c *UDBClient) NewStartUDBInstanceRequest() *StartUDBInstanceRequest
- func (c *UDBClient) NewStopUDBInstanceRequest() *StopUDBInstanceRequest
- func (c *UDBClient) NewSwitchUDBInstanceToHARequest() *SwitchUDBInstanceToHARequest
- func (c *UDBClient) NewUpdateUDBInstanceBackupStrategyRequest() *UpdateUDBInstanceBackupStrategyRequest
- func (c *UDBClient) NewUpdateUDBInstanceSlaveBackupSwitchRequest() *UpdateUDBInstanceSlaveBackupSwitchRequest
- func (c *UDBClient) NewUpdateUDBParamGroupRequest() *UpdateUDBParamGroupRequest
- func (c *UDBClient) NewUploadUDBParamGroupRequest() *UploadUDBParamGroupRequest
- func (c *UDBClient) PromoteUDBInstanceToHA(req *PromoteUDBInstanceToHARequest) (*PromoteUDBInstanceToHAResponse, error)
- func (c *UDBClient) PromoteUDBSlave(req *PromoteUDBSlaveRequest) (*PromoteUDBSlaveResponse, error)
- func (c *UDBClient) ResizeUDBInstance(req *ResizeUDBInstanceRequest) (*ResizeUDBInstanceResponse, error)
- func (c *UDBClient) RestartUDBInstance(req *RestartUDBInstanceRequest) (*RestartUDBInstanceResponse, error)
- func (c *UDBClient) StartUDBInstance(req *StartUDBInstanceRequest) (*StartUDBInstanceResponse, error)
- func (c *UDBClient) StopUDBInstance(req *StopUDBInstanceRequest) (*StopUDBInstanceResponse, error)
- func (c *UDBClient) SwitchUDBInstanceToHA(req *SwitchUDBInstanceToHARequest) (*SwitchUDBInstanceToHAResponse, error)
- func (c *UDBClient) UpdateUDBInstanceBackupStrategy(req *UpdateUDBInstanceBackupStrategyRequest) (*UpdateUDBInstanceBackupStrategyResponse, error)
- func (c *UDBClient) UpdateUDBInstanceSlaveBackupSwitch(req *UpdateUDBInstanceSlaveBackupSwitchRequest) (*UpdateUDBInstanceSlaveBackupSwitchResponse, error)
- func (c *UDBClient) UpdateUDBParamGroup(req *UpdateUDBParamGroupRequest) (*UpdateUDBParamGroupResponse, error)
- func (c *UDBClient) UploadUDBParamGroup(req *UploadUDBParamGroupRequest) (*UploadUDBParamGroupResponse, error)
- type UDBInstanceBinlogSet
- type UDBInstancePriceSet
- type UDBInstanceSet
- type UDBParamGroupSet
- type UDBParamMemberSet
- type UDBSlaveInstanceSet
- type UDBTypeSet
- type UpdateUDBInstanceBackupStrategyRequest
- type UpdateUDBInstanceBackupStrategyResponse
- type UpdateUDBInstanceSlaveBackupSwitchRequest
- type UpdateUDBInstanceSlaveBackupSwitchResponse
- type UpdateUDBParamGroupRequest
- type UpdateUDBParamGroupResponse
- type UploadUDBParamGroupRequest
- type UploadUDBParamGroupResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupUDBInstanceBinlogRequest ¶
type BackupUDBInstanceBinlogRequest struct { request.CommonBase // DB实例Id,该值可以通过DescribeUDBInstance获取 DBId *string `required:"true"` // 需要备份文件,可通过DescribeUDBInstanceBinlog获得 如果要传入多个文件名,以空格键分割,用单引号包含. BackupFile *string `required:"true"` // DB备份文件名称 BackupName *string `required:"false"` }
BackupUDBInstanceBinlogRequest is request schema for BackupUDBInstanceBinlog action
type BackupUDBInstanceBinlogResponse ¶
type BackupUDBInstanceBinlogResponse struct {
response.CommonBase
}
BackupUDBInstanceBinlogResponse is response schema for BackupUDBInstanceBinlog action
type BackupUDBInstanceErrorLogRequest ¶
type BackupUDBInstanceErrorLogRequest struct { request.CommonBase // DB实例Id,该值可以通过DescribeUDBInstance获取 DBId *string `required:"true"` // 备份名称 BackupName *string `required:"true"` }
BackupUDBInstanceErrorLogRequest is request schema for BackupUDBInstanceErrorLog action
type BackupUDBInstanceErrorLogResponse ¶
type BackupUDBInstanceErrorLogResponse struct {
response.CommonBase
}
BackupUDBInstanceErrorLogResponse is response schema for BackupUDBInstanceErrorLog action
type BackupUDBInstanceRequest ¶
type BackupUDBInstanceRequest struct { request.CommonBase // DB实例Id,该值可以通过DescribeUDBInstance获取 DBId *string `required:"true"` // 备份名称 BackupName *string `required:"true"` // 是否使用黑名单备份,默认false UseBlacklist *bool `required:"false"` }
BackupUDBInstanceRequest is request schema for BackupUDBInstance action
type BackupUDBInstanceResponse ¶
type BackupUDBInstanceResponse struct {
response.CommonBase
}
BackupUDBInstanceResponse is response schema for BackupUDBInstance action
type BackupUDBInstanceSlowLogRequest ¶
type BackupUDBInstanceSlowLogRequest struct { request.CommonBase // DB实例Id,该值可以通过DescribeUDBInstance获取 DBId *string `required:"true"` // 过滤条件:起始时间(时间戳) BeginTime *int `required:"true"` // 过滤条件:结束时间(时间戳) EndTime *int `required:"true"` // 备份文件名称 BackupName *string `required:"true"` }
BackupUDBInstanceSlowLogRequest is request schema for BackupUDBInstanceSlowLog action
type BackupUDBInstanceSlowLogResponse ¶
type BackupUDBInstanceSlowLogResponse struct {
response.CommonBase
}
BackupUDBInstanceSlowLogResponse is response schema for BackupUDBInstanceSlowLog action
type CheckRecoverUDBInstanceRequest ¶
type CheckRecoverUDBInstanceRequest struct { request.CommonBase // 源实例的Id(只支持普通版DB不支持高可用) SrcDBId *string `required:"true"` }
CheckRecoverUDBInstanceRequest is request schema for CheckRecoverUDBInstance action
type CheckRecoverUDBInstanceResponse ¶
type CheckRecoverUDBInstanceResponse struct { response.CommonBase // 核查成功返回值为可以回档到的最近时刻,核查失败不返回 LastestTime int }
CheckRecoverUDBInstanceResponse is response schema for CheckRecoverUDBInstance action
type CheckUDBInstanceToHAAllowanceRequest ¶
type CheckUDBInstanceToHAAllowanceRequest struct { request.CommonBase // 实例的Id,该值可以通过DescribeUDBInstance获取 DBId *string `required:"true"` }
CheckUDBInstanceToHAAllowanceRequest is request schema for CheckUDBInstanceToHAAllowance action
type CheckUDBInstanceToHAAllowanceResponse ¶
type CheckUDBInstanceToHAAllowanceResponse struct { response.CommonBase // Yes ,No ,Yes即可以升级,No为不可以升级 Allowance string }
CheckUDBInstanceToHAAllowanceResponse is response schema for CheckUDBInstanceToHAAllowance action
type ClearUDBLogRequest ¶
type ClearUDBLogRequest struct { request.CommonBase // DB实例的id,该值可以通过DescribeUDBInstance获取 DBId *string `required:"true"` // 日志类型,10-error(暂不支持)、20-slow(暂不支持 )、30-binlog LogType *int `required:"true"` // 删除时间点(至少前一天)之前log,采用时间戳(秒),默认当 前时间点前一天 BeforeTime *int `required:"false"` }
ClearUDBLogRequest is request schema for ClearUDBLog action
type ClearUDBLogResponse ¶
type ClearUDBLogResponse struct {
response.CommonBase
}
ClearUDBLogResponse is response schema for ClearUDBLog action
type CreateUDBInstanceByRecoveryRequest ¶
type CreateUDBInstanceByRecoveryRequest struct { request.CommonBase // 实例名称,至少6位 Name *string `required:"true"` // 源实例的Id SrcDBId *string `required:"true"` // 恢复到某个时间点的时间戳(UTC时间格式,默认单位秒) RecoveryTime *int `required:"true"` // 指定是否是否使用SSD,默认使用主库的配置 UseSSD *bool `required:"false"` // Year, Month, Dynamic,Trial,默认: Dynamic ChargeType *string `required:"false"` // 购买时长,默认值1 Quantity *int `required:"false"` // 专区的Id UDBCId *string `required:"false"` // 使用的代金券id CouponId *string `required:"false"` }
CreateUDBInstanceByRecoveryRequest is request schema for CreateUDBInstanceByRecovery action
type CreateUDBInstanceByRecoveryResponse ¶
type CreateUDBInstanceByRecoveryResponse struct { response.CommonBase // db实例id DBId string }
CreateUDBInstanceByRecoveryResponse is response schema for CreateUDBInstanceByRecovery action
type CreateUDBInstanceRequest ¶
type CreateUDBInstanceRequest struct { request.CommonBase // 实例名称,至少6位 Name *string `required:"true"` // 管理员密码 AdminPassword *string `required:"true"` // DB类型id,mysql/mongodb/postgesql按版本细分 1:mysql-5.1,2:mysql-5.5,3:percona-5.5,4:mysql-5.6,5:percona-5.6,6:mysql-5.7,7:percona-5.7,8:mariadb-10.0,9:mongodb-2.4,10:mongodb-2.6,11:mongodb-3.0,12:mongodb-3.2,13:postgresql-9.4,14:postgresql-9.6,14:postgresql-10.4 DBTypeId *string `required:"true"` // 端口号,mysql默认3306,mongodb默认27017,postgresql默认5432 Port *int `required:"true"` // 磁盘空间(GB), 暂时支持20G - 3000G DiskSpace *int `required:"true"` // DB实例使用的配置参数组id ParamGroupId *int `required:"true"` // 内存限制(MB),目前支持以下几档 1000M/2000M/4000M/ 6000M/8000M/12000M/16000M/ 24000M/32000M/48000M/ 64000M/96000M MemoryLimit *int `required:"true"` // 当DB类型(DBTypeId)为mongodb时,需要指定mongo的角色,可选值为configsrv (配置节点),shardsrv (数据节点) ClusterRole *string `required:"false"` // Year, Month, Dynamic,Trial,默认: Month ChargeType *string `required:"false"` // 购买时长,默认值1 Quantity *int `required:"false"` // 管理员帐户名,默认root AdminUser *string `required:"false"` // 备份策略,每周备份数量,默认7次 BackupCount *int `required:"false"` // 备份策略,备份开始时间,单位小时计,默认1点 BackupTime *int `required:"false"` // 备份策略,备份时间间隔,单位小时计,默认24小时 BackupDuration *int `required:"false"` // 备份id,如果指定,则表明从备份恢复实例 BackupId *int `required:"false"` // 是否使用SSD,默认为false UseSSD *bool `required:"false"` // SSD类型,可选值为"SATA"、"PCI-E",如果UseSSD为true ,则必选 SSDType *string `required:"false"` // UDB实例模式类型, 可选值如下: "Normal": 普通版UDB实例 "HA": 高可用版UDB实例 默认是"Normal" InstanceMode *string `required:"false"` // 专区ID信息(如果这个参数存在这说明是在专区中创建DB) UDBCId *string `required:"false"` // cpu核数 CPU *int `required:"false"` // UDB数据库机型 InstanceType *string `required:"false"` // 跨可用区高可用备库所在可用区,参见 [可用区列表](../summary/regionlist.html) BackupZone *string `required:"false"` // 子网ID SubnetId *string `required:"false"` // VPC的ID VPCId *string `required:"false"` // 是否开启异步高可用,默认不填,可置为true DisableSemisync *bool `required:"false"` // 使用的代金券id CouponId *string `required:"false"` // 业务组 Tag *string `required:"false"` }
CreateUDBInstanceRequest is request schema for CreateUDBInstance action
type CreateUDBInstanceResponse ¶
type CreateUDBInstanceResponse struct { response.CommonBase // db实例id DBId string }
CreateUDBInstanceResponse is response schema for CreateUDBInstance action
type CreateUDBParamGroupRequest ¶
type CreateUDBParamGroupRequest struct { request.CommonBase // 新配置参数组名称 GroupName *string `required:"true"` // 参数组描述 Description *string `required:"true"` // 源参数组id SrcGroupId *int `required:"true"` // DB类型id,mysql/mongodb/postgesql按版本细分 1:mysql-5.1,2:mysql-5.5,3:percona-5.5,4:mysql-5.6,5:percona-5.6,6:mysql-5.7,7:percona-5.7,8:mariadb-10.0,9:mongodb-2.4,10:mongodb-2.6,11:mongodb-3.0,12:mongodb-3.2,13:postgresql-9.4,14:postgresql-9.6 DBTypeId *string `required:"true"` // 是否是地域级别的配置文件,默认是false RegionFlag *bool `required:"false"` }
CreateUDBParamGroupRequest is request schema for CreateUDBParamGroup action
type CreateUDBParamGroupResponse ¶
type CreateUDBParamGroupResponse struct { response.CommonBase // 新配置参数组id GroupId int }
CreateUDBParamGroupResponse is response schema for CreateUDBParamGroup action
type CreateUDBReplicationInstanceRequest ¶
type CreateUDBReplicationInstanceRequest struct { request.CommonBase // primary节点的DBId,该值可以通过DescribeUDBInstance获取 SrcId *string `required:"true"` // 实例名称,至少6位 Name *string `required:"true"` // 端口号,默认27017,取值范围3306至65535。 Port *int `required:"false"` // 是否是仲裁节点,默认false,仲裁节点按最小机型创建 IsArbiter *bool `required:"false"` // 是否使用SSD,默认不使用 UseSSD *bool `required:"false"` // 使用的代金券id CouponId *string `required:"false"` }
CreateUDBReplicationInstanceRequest is request schema for CreateUDBReplicationInstance action
type CreateUDBReplicationInstanceResponse ¶
type CreateUDBReplicationInstanceResponse struct { response.CommonBase // 创建从节点的DBId DBId string }
CreateUDBReplicationInstanceResponse is response schema for CreateUDBReplicationInstance action
type CreateUDBRouteInstanceRequest ¶
type CreateUDBRouteInstanceRequest struct { request.CommonBase // DB类型id,mongodb按版本细分有1:mongodb-2.4,2:mongodb-2.6,3:mongodb-3.0,4:mongodb-3.2 DBTypeId *string `required:"true"` // 实例名称,至少6位 Name *string `required:"true"` // 端口号,mongodb默认27017 Port *int `required:"true"` // DB实例使用的配置参数组id ParamGroupId *int `required:"true"` // 内存限制(MB),目前支持以下几档 600M/1500M/3000M /6000M/15000M/30000M MemoryLimit *int `required:"true"` // 磁盘空间(GB), 暂时支持20G - 500G DiskSpace *int `required:"true"` // 配置服务器的dbid,允许一个或者三个 ConfigsvrId []string `required:"true"` // Year, Month, Dynamic,Trial,默认: Month ChargeType *string `required:"false"` // 购买时长,默认值1 Quantity *int `required:"false"` // 是否使用SSD,默认为false UseSSD *bool `required:"false"` // 使用的代金券id CouponId *string `required:"false"` }
CreateUDBRouteInstanceRequest is request schema for CreateUDBRouteInstance action
type CreateUDBRouteInstanceResponse ¶
type CreateUDBRouteInstanceResponse struct { response.CommonBase // db实例id DBId string }
CreateUDBRouteInstanceResponse is response schema for CreateUDBRouteInstance action
type CreateUDBSlaveRequest ¶
type CreateUDBSlaveRequest struct { request.CommonBase // master实例的DBId,该值可以通过DescribeUDBInstance获取 SrcId *string `required:"true"` // 实例名称,至少6位 Name *string `required:"true"` // 端口号,mysql默认3306 Port *int `required:"false"` // 是否使用SSD,默认为false UseSSD *bool `required:"false"` // SSD类型,可选值为"SATA"、"PCI-E",如果UseSSD为true ,则必选 SSDType *string `required:"false"` // 内存限制(MB),目前支持以下几档 1000M/2000M/4000M/ 6000M/8000M/12000M/16000M/ 24000M/32000M/48000M/ 64000M/96000M MemoryLimit *int `required:"false"` // 磁盘空间(GB), 暂时支持20G - 3000G(API支持,前端暂时只开放内存定制) DiskSpace *int `required:"false"` // 是否锁主库,默认为true IsLock *bool `required:"false"` // UDB实例部署模式,可选值如下:Normal: 普通单点实例HA: 高可用部署实例 InstanceMode *string `required:"false"` // UDB实例类型:Normal和SATA_SSD InstanceType *string `required:"false"` // 使用的代金券id CouponId *string `required:"false"` // 配置参数组 ID ParamGroupId *string `required:"false"` }
CreateUDBSlaveRequest is request schema for CreateUDBSlave action
type CreateUDBSlaveResponse ¶
type CreateUDBSlaveResponse struct { response.CommonBase // 创建slave的DBId DBId string }
CreateUDBSlaveResponse is response schema for CreateUDBSlave action
type DeleteUDBBackupRequest ¶
type DeleteUDBBackupRequest struct { request.CommonBase // 备份id,可通过DescribeUDBBackup获得 BackupId *int `required:"true"` // 跨可用区高可用备库所在可用区,参见[可用区列表] BackupZone *string `required:"false"` }
DeleteUDBBackupRequest is request schema for DeleteUDBBackup action
type DeleteUDBBackupResponse ¶
type DeleteUDBBackupResponse struct {
response.CommonBase
}
DeleteUDBBackupResponse is response schema for DeleteUDBBackup action
type DeleteUDBInstanceRequest ¶
type DeleteUDBInstanceRequest struct { request.CommonBase // DB实例的id,该值可以通过DescribeUDBInstance获取 DBId *string `required:"true"` // 专区ID UDBCId *string `required:"false"` }
DeleteUDBInstanceRequest is request schema for DeleteUDBInstance action
type DeleteUDBInstanceResponse ¶
type DeleteUDBInstanceResponse struct {
response.CommonBase
}
DeleteUDBInstanceResponse is response schema for DeleteUDBInstance action
type DeleteUDBLogPackageRequest ¶
type DeleteUDBLogPackageRequest struct { request.CommonBase // 日志包id,可通过DescribeUDBLogPackage获得 BackupId *int `required:"true"` // 跨可用区高可用备库所在可用区 BackupZone *string `required:"false"` }
DeleteUDBLogPackageRequest is request schema for DeleteUDBLogPackage action
type DeleteUDBLogPackageResponse ¶
type DeleteUDBLogPackageResponse struct {
response.CommonBase
}
DeleteUDBLogPackageResponse is response schema for DeleteUDBLogPackage action
type DeleteUDBParamGroupRequest ¶
type DeleteUDBParamGroupRequest struct { request.CommonBase // 参数组id,可通过DescribeUDBParamGroup获取 GroupId *int `required:"true"` // 是否属于地域级别 RegionFlag *bool `required:"false"` }
DeleteUDBParamGroupRequest is request schema for DeleteUDBParamGroup action
type DeleteUDBParamGroupResponse ¶
type DeleteUDBParamGroupResponse struct {
response.CommonBase
}
DeleteUDBParamGroupResponse is response schema for DeleteUDBParamGroup action
type DescribeUDBBackupBlacklistRequest ¶
type DescribeUDBBackupBlacklistRequest struct { request.CommonBase // DB实例Id,该值可以通过DescribeUDBInstance获取 DBId *string `required:"true"` }
DescribeUDBBackupBlacklistRequest is request schema for DescribeUDBBackupBlacklist action
type DescribeUDBBackupBlacklistResponse ¶
type DescribeUDBBackupBlacklistResponse struct { response.CommonBase // DB的黑名单列表, db.%为指定库 dbname.tablename为指定表 Blacklist string }
DescribeUDBBackupBlacklistResponse is response schema for DescribeUDBBackupBlacklist action
type DescribeUDBBackupRequest ¶
type DescribeUDBBackupRequest struct { request.CommonBase // 分页显示的起始偏移,列表操作则指定 Offset *int `required:"true"` // 分页显示的条目数,列表操作则指定 Limit *int `required:"true"` // DB实例Id,如果指定,则只获取该db的备份信息 该值可以通过DescribeUDBInstance获取 DBId *string `required:"false"` // 备份类型,取值为0或1,0表示自动,1表示手动 BackupType *int `required:"false"` // 过滤条件:起始时间(Unix时间戳) BeginTime *int `required:"false"` // 过滤条件:结束时间(Unix时间戳) EndTime *int `required:"false"` // 如果未指定GroupId,则可选是否选取特定DB类型的配置(sql, nosql, postgresql, sqlserver) ClassType *string `required:"false"` // 如果填了BackupId, 那么只拉取这个备份的记录 BackupId *int `required:"false"` }
DescribeUDBBackupRequest is request schema for DescribeUDBBackup action
type DescribeUDBBackupResponse ¶
type DescribeUDBBackupResponse struct { response.CommonBase // 备份信息 参照UDBBackupSet DataSet []UDBBackupSet // 满足条件备份总数,如果指定dbid,则是该db备份总数 TotalCount int }
DescribeUDBBackupResponse is response schema for DescribeUDBBackup action
type DescribeUDBBinlogBackupURLRequest ¶
type DescribeUDBBinlogBackupURLRequest struct { request.CommonBase // DB实例Id DBId *string `required:"true"` // DB实例备份ID BackupId *int `required:"true"` }
DescribeUDBBinlogBackupURLRequest is request schema for DescribeUDBBinlogBackupURL action
type DescribeUDBBinlogBackupURLResponse ¶
type DescribeUDBBinlogBackupURLResponse struct { response.CommonBase // DB实例备份文件的地址 BackupPath string }
DescribeUDBBinlogBackupURLResponse is response schema for DescribeUDBBinlogBackupURL action
type DescribeUDBInstanceBackupStateRequest ¶
type DescribeUDBInstanceBackupStateRequest struct { request.CommonBase // 备份记录ID BackupId *int `required:"true"` // 跨可用区高可用备库所在可用区,参见[可用区列表] BackupZone *string `required:"false"` }
DescribeUDBInstanceBackupStateRequest is request schema for DescribeUDBInstanceBackupState action
type DescribeUDBInstanceBackupStateResponse ¶
type DescribeUDBInstanceBackupStateResponse struct { response.CommonBase // 备份状态 0 Backuping // 备份中 1 Success // 备份成功 2 Failed // 备份失败 3 Expired // 备份过期 State string // 备份所占空间大小 BackupSize int // 备份截止时间 BackupEndTime int }
DescribeUDBInstanceBackupStateResponse is response schema for DescribeUDBInstanceBackupState action
type DescribeUDBInstanceBackupURLRequest ¶
type DescribeUDBInstanceBackupURLRequest struct { request.CommonBase // DB实例Id,该值可通过DescribeUDBInstance获取 DBId *string `required:"true"` // DB实例备份ID,该值可以通过DescribeUDBBackup获取 BackupId *int `required:"true"` }
DescribeUDBInstanceBackupURLRequest is request schema for DescribeUDBInstanceBackupURL action
type DescribeUDBInstanceBackupURLResponse ¶
type DescribeUDBInstanceBackupURLResponse struct { response.CommonBase // DB实例备份文件公网的地址 BackupPath string }
DescribeUDBInstanceBackupURLResponse is response schema for DescribeUDBInstanceBackupURL action
type DescribeUDBInstanceBinlogBackupStateRequest ¶
type DescribeUDBInstanceBinlogBackupStateRequest struct { request.CommonBase // 备份记录ID BackupId *int `required:"true"` // 跨可用区高可用备库所在可用区 BackupZone *string `required:"false"` }
DescribeUDBInstanceBinlogBackupStateRequest is request schema for DescribeUDBInstanceBinlogBackupState action
type DescribeUDBInstanceBinlogBackupStateResponse ¶
type DescribeUDBInstanceBinlogBackupStateResponse struct { response.CommonBase // 备份状态 0 Backuping // 备份中 1 Success // 备份成功 2 Failed // 备份失败 3 Expired // 备份过期 State string }
DescribeUDBInstanceBinlogBackupStateResponse is response schema for DescribeUDBInstanceBinlogBackupState action
type DescribeUDBInstanceBinlogRequest ¶
type DescribeUDBInstanceBinlogRequest struct { request.CommonBase // DB实例Id DBId *string `required:"true"` // 过滤条件:起始时间(时间戳) BeginTime *int `required:"true"` // 过滤条件:结束时间(时间戳) EndTime *int `required:"true"` }
DescribeUDBInstanceBinlogRequest is request schema for DescribeUDBInstanceBinlog action
type DescribeUDBInstanceBinlogResponse ¶
type DescribeUDBInstanceBinlogResponse struct { response.CommonBase // 获取的Binlog信息列表 UDBInstanceBinlogSet DataSet []UDBInstanceBinlogSet }
DescribeUDBInstanceBinlogResponse is response schema for DescribeUDBInstanceBinlog action
type DescribeUDBInstancePriceRequest ¶
type DescribeUDBInstancePriceRequest struct { request.CommonBase // 内存限制(MB),单位为MB.目前支持:1000-96000 MemoryLimit *int `required:"true"` // 磁盘空间(GB),暂时支持20(GB) - 3000(GB), 输入不带单位 DiskSpace *int `required:"true"` // 购买DB实例数量,最大数量为10台, 默认为1台 Count *int `required:"false"` // Year,按年付费; Month,按月付费 Dynamic,按需付费(需开启权限) Trial,试用(需开启权限)默认为月付 ChargeType *string `required:"false"` // DB购买多少个"计费时间单位",默认值为1。比如:买2个月,Quantity就是2。如果计费单位是“按月”,并且Quantity为0,表示“购买到月底” Quantity *int `required:"false"` // 是否使用SSD,默认为false UseSSD *bool `required:"false"` // SSD类型,可选值为"SATA"、"PCI-E",如果UseSSD为true ,则必填 SSDType *string `required:"false"` // UDB实例的DB版本字符串, 默认值为mysql-5.6 DBTypeId *string `required:"false"` // 实例的部署类型。可选值为:Normal: 普通单点实例,HA: 高可用部署实例,默认是Normal InstanceMode *string `required:"false"` }
DescribeUDBInstancePriceRequest is request schema for DescribeUDBInstancePrice action
type DescribeUDBInstancePriceResponse ¶
type DescribeUDBInstancePriceResponse struct { response.CommonBase // 价格 参照UDBInstancePriceSet DataSet []UDBInstancePriceSet }
DescribeUDBInstancePriceResponse is response schema for DescribeUDBInstancePrice action
type DescribeUDBInstanceRequest ¶
type DescribeUDBInstanceRequest struct { request.CommonBase // DB种类,如果是列表操作,则需要指定,不区分大小写,其取值如下:mysql: SQLmongo: NOSQLpostgresql: postgresql ClassType *string `required:"true"` // 分页显示起始偏移位置,列表操作则指定 Offset *int `required:"true"` // 分页显示数量,列表操作则指定 Limit *int `required:"true"` // DB实例id,如果指定则获取描述,否则为列表操作, 指定Offset/Limit/ClassType DBId可通过DescribeUDBInstance获取 DBId *string `required:"false"` // 是否查看专区里面DB IsInUDBC *bool `required:"false"` // IsInUDBC为True,UDBCId为空,说明查看整个可用区的专区的db,如果UDBId不为空则只查看此专区下面的db UDBCId *string `required:"false"` // 当只获取这个特定DBId的信息时,如果有该选项,那么把这个DBId实例的所有从库信息一起拉取并返回 IncludeSlaves *bool `required:"false"` }
DescribeUDBInstanceRequest is request schema for DescribeUDBInstance action
type DescribeUDBInstanceResponse ¶
type DescribeUDBInstanceResponse struct { response.CommonBase // DB实例信息列表 UDBInstanceSet DataSet []UDBInstanceSet // 用户db组的数量,对于 mysql: 主从结对数量,没有slave,则只有master mongodb: 副本集数量 TotalCount int }
DescribeUDBInstanceResponse is response schema for DescribeUDBInstance action
type DescribeUDBInstanceStateRequest ¶
type DescribeUDBInstanceStateRequest struct { request.CommonBase // 实例的Id,该值可以通过DescribeUDBInstance获取 DBId *string `required:"true"` }
DescribeUDBInstanceStateRequest is request schema for DescribeUDBInstanceState action
type DescribeUDBInstanceStateResponse ¶
type DescribeUDBInstanceStateResponse struct { response.CommonBase // DB状态标记 Init:初始化中;Fail:安装失败; Starting:启动中; Running : 运行 ;Shutdown:关闭中; Shutoff :已关闭; Delete:已删除; Upgrading:升级中; Promoting: 提升为独库进行中; Recovering: 恢复中; Recover fail:恢复失败。 State string }
DescribeUDBInstanceStateResponse is response schema for DescribeUDBInstanceState action
type DescribeUDBInstanceUpgradePriceRequest ¶
type DescribeUDBInstanceUpgradePriceRequest struct { request.CommonBase // 实例的Id DBId *string `required:"true"` // 内存限制(MB) MemoryLimit *int `required:"true"` // 磁盘空间(GB), 暂时支持20G - 500G DiskSpace *int `required:"true"` // 是否使用SSD,默认为false UseSSD *bool `required:"false"` // SSD类型,可选值为"SATA"、"PCI-E",如果UseSSD为true ,则必选 SSDType *string `required:"false"` }
DescribeUDBInstanceUpgradePriceRequest is request schema for DescribeUDBInstanceUpgradePrice action
type DescribeUDBInstanceUpgradePriceResponse ¶
type DescribeUDBInstanceUpgradePriceResponse struct { response.CommonBase // 价格,单位分 Price float64 }
DescribeUDBInstanceUpgradePriceResponse is response schema for DescribeUDBInstanceUpgradePrice action
type DescribeUDBLogBackupURLRequest ¶
type DescribeUDBLogBackupURLRequest struct { request.CommonBase // DB实例Id DBId *string `required:"true"` // DB实例备份ID BackupId *int `required:"true"` }
DescribeUDBLogBackupURLRequest is request schema for DescribeUDBLogBackupURL action
type DescribeUDBLogBackupURLResponse ¶
type DescribeUDBLogBackupURLResponse struct { response.CommonBase // DB实例备份文件的地址 BackupPath string }
DescribeUDBLogBackupURLResponse is response schema for DescribeUDBLogBackupURL action
type DescribeUDBLogPackageRequest ¶
type DescribeUDBLogPackageRequest struct { request.CommonBase // 分页显示的起始偏移,列表操作则指定 Offset *int `required:"true"` // 分页显示的条目数,列表操作则指定 Limit *int `required:"true"` // 需要列出的备份文件类型,每种文件的值如下 2 : BINLOG\_BACKUP 3 : SLOW\_QUERY\_BACKUP 4 : ERRORLOG\_BACKUP Type *int `required:"false"` // Types作为Type的补充,支持多值传入,可以获取多个类型的日志记录,如:Types.0=2&Types.1=3 Types []int `required:"false"` // DB实例Id,如果指定,则只获取该db的备份信息 DBId *string `required:"false"` // 过滤条件:起始时间(时间戳) BeginTime *int `required:"false"` // 过滤条件:结束时间(时间戳) EndTime *int `required:"false"` }
DescribeUDBLogPackageRequest is request schema for DescribeUDBLogPackage action
type DescribeUDBLogPackageResponse ¶
type DescribeUDBLogPackageResponse struct { response.CommonBase // 备份信息 参见LogPackageDataSet DataSet []LogPackageDataSet // 备份总数,如果指定dbid,则是该db备份总数 TotalCount int }
DescribeUDBLogPackageResponse is response schema for DescribeUDBLogPackage action
type DescribeUDBParamGroupRequest ¶
type DescribeUDBParamGroupRequest struct { request.CommonBase // 分页显示的起始偏移,列表操作则指定 Offset *int `required:"true"` // 分页显示的条目数,列表操作则指定 Limit *int `required:"true"` // 参数组id,如果指定则获取描述,否则是列表操作,需要 指定Offset/Limit GroupId *int `required:"false"` // 是否选取专区中配置 IsInUDBC *bool `required:"false"` // 当请求没有填写Zone时,如果指定为true,表示只拉取跨可用区的相关配置文件,否则,拉取所有机房的配置文件(包括每个单可用区和跨可用区) RegionFlag *bool `required:"false"` // 如果未指定GroupId,则可选是否选取特定DB类型的配置(sql, nosql, postgresql, sqlserver) ClassType *string `required:"false"` }
DescribeUDBParamGroupRequest is request schema for DescribeUDBParamGroup action
type DescribeUDBParamGroupResponse ¶
type DescribeUDBParamGroupResponse struct { response.CommonBase // 参数组列表 参照UDBParamGroupSet DataSet []UDBParamGroupSet // 参数组总数,列表操作时才会有该参数 TotalCount int }
DescribeUDBParamGroupResponse is response schema for DescribeUDBParamGroup action
type DescribeUDBTypeRequest ¶
type DescribeUDBTypeRequest struct {
request.CommonBase
}
DescribeUDBTypeRequest is request schema for DescribeUDBType action
type DescribeUDBTypeResponse ¶
type DescribeUDBTypeResponse struct { response.CommonBase // DB类型列表 参数见 UDBTypeSet DataSet []UDBTypeSet }
DescribeUDBTypeResponse is response schema for DescribeUDBType action
type EditUDBBackupBlacklistRequest ¶
type EditUDBBackupBlacklistRequest struct { request.CommonBase // DB实例Id,该值可以通过DescribeUDBInstance获取 DBId *string `required:"true"` // 黑名单,规范示例,指定库mysql.%;test.%; 指定表city.address; Blacklist *string `required:"true"` }
EditUDBBackupBlacklistRequest is request schema for EditUDBBackupBlacklist action
type EditUDBBackupBlacklistResponse ¶
type EditUDBBackupBlacklistResponse struct {
response.CommonBase
}
EditUDBBackupBlacklistResponse is response schema for EditUDBBackupBlacklist action
type FetchUDBInstanceEarliestRecoverTimeRequest ¶
type FetchUDBInstanceEarliestRecoverTimeRequest struct { request.CommonBase // DB实例Id DBId *string `required:"true"` }
FetchUDBInstanceEarliestRecoverTimeRequest is request schema for FetchUDBInstanceEarliestRecoverTime action
type FetchUDBInstanceEarliestRecoverTimeResponse ¶
type FetchUDBInstanceEarliestRecoverTimeResponse struct { response.CommonBase // 获取最早可回档时间点 EarliestTime int }
FetchUDBInstanceEarliestRecoverTimeResponse is response schema for FetchUDBInstanceEarliestRecoverTime action
type LogPackageDataSet ¶
type LogPackageDataSet struct { // 备份id BackupId int // 备份名称 BackupName string // 备份时间 BackupTime int // 备份文件大小 BackupSize int // 备份类型,包括2-binlog备份,3-slowlog备份 BackupType int // 备份状态 Backuping // 备份中 Success // 备份成功 Failed // 备份失败 Expired // 备份过期 State string // dbid DBId string // 对应的db名称 DBName string // 所在可用区 Zone string // 跨可用区高可用备库所在可用区 BackupZone string }
LogPackageDataSet - DescribeUDBLogPackage
this model is auto created by ucloud code generater for open api, you can also see https://docs.ucloud.cn for detail.
type ModifyUDBInstanceNameRequest ¶
type ModifyUDBInstanceNameRequest struct { request.CommonBase // 实例的Id,该值可以通过DescribeUDBInstance获取 DBId *string `required:"true"` // 实例的新名字, 长度要求为6~63位 Name *string `required:"true"` }
ModifyUDBInstanceNameRequest is request schema for ModifyUDBInstanceName action
type ModifyUDBInstanceNameResponse ¶
type ModifyUDBInstanceNameResponse struct {
response.CommonBase
}
ModifyUDBInstanceNameResponse is response schema for ModifyUDBInstanceName action
type ModifyUDBInstancePasswordRequest ¶
type ModifyUDBInstancePasswordRequest struct { request.CommonBase // 实例的ID,该值可以通过DescribeUDBInstance获取 DBId *string `required:"true"` // 实例的新密码 Password *string `required:"true"` // sqlserver帐号,仅在sqlserver的情况下填该参数 AccountName *string `required:"false"` }
ModifyUDBInstancePasswordRequest is request schema for ModifyUDBInstancePassword action
type ModifyUDBInstancePasswordResponse ¶
type ModifyUDBInstancePasswordResponse struct {
response.CommonBase
}
ModifyUDBInstancePasswordResponse is response schema for ModifyUDBInstancePassword action
type PromoteUDBInstanceToHARequest ¶
type PromoteUDBInstanceToHARequest struct { request.CommonBase // 实例的Id,该值可以通过DescribeUDBInstance获取 DBId *string `required:"true"` // 升级时是否锁库,默认为锁库。不锁定:false;锁定:true。现在统一为不锁库,即false IsLock *bool `required:"false"` }
PromoteUDBInstanceToHARequest is request schema for PromoteUDBInstanceToHA action
type PromoteUDBInstanceToHAResponse ¶
type PromoteUDBInstanceToHAResponse struct {
response.CommonBase
}
PromoteUDBInstanceToHAResponse is response schema for PromoteUDBInstanceToHA action
type PromoteUDBSlaveRequest ¶
type PromoteUDBSlaveRequest struct { request.CommonBase // 实例的Id,该值可以通过DescribeUDBInstance获取 DBId *string `required:"true"` // 是否强制(如果从库落后可能会禁止提升),默认false 如果落后情况下,强制提升丢失数据 IsForce *bool `required:"false"` }
PromoteUDBSlaveRequest is request schema for PromoteUDBSlave action
type PromoteUDBSlaveResponse ¶
type PromoteUDBSlaveResponse struct {
response.CommonBase
}
PromoteUDBSlaveResponse is response schema for PromoteUDBSlave action
type ResizeUDBInstanceRequest ¶
type ResizeUDBInstanceRequest struct { request.CommonBase // 实例的Id DBId *string `required:"true"` // 内存限制(MB),目前支持以下几档 1000M/2000M/4000M/ 6000M/8000M/ 12000M/16000M/ 24000M/32000M/ 48000M/64000M/96000M。 MemoryLimit *int `required:"true"` // 磁盘空间(GB), 暂时支持20G-3000G DiskSpace *int `required:"true"` // 是否使用SSD,默认为false UseSSD *bool `required:"false"` // SSD类型,可选值为"SATA"、"PCI-E",如果UseSSD为true ,则必选 SSDType *string `required:"false"` // 专区的ID,如果有值表示专区中的DB配置升降级 UDBCId *string `required:"false"` // UDB数据库机型: "Normal": "标准机型" , "SATA_SSD": "SSD机型" , "PCIE_SSD": "SSD高性能机型" , "Normal_Volume": "标准大容量机型", "SATA_SSD_Volume": "SSD大容量机型" , "PCIE_SSD_Volume": "SSD高性能大容量机型" InstanceType *string `required:"false"` // UDB实例模式类型, 可选值如下: "Normal": 普通版UDB实例 "HA": 高可用版UDB实例 默认是"Normal" InstanceMode *string `required:"false"` // DB关闭状态下升降级,升降级后是否启动DB,默认为false StartAfterUpgrade *bool `required:"false"` // 使用的代金券id CouponId *string `required:"false"` }
ResizeUDBInstanceRequest is request schema for ResizeUDBInstance action
type ResizeUDBInstanceResponse ¶
type ResizeUDBInstanceResponse struct {
response.CommonBase
}
ResizeUDBInstanceResponse is response schema for ResizeUDBInstance action
type RestartUDBInstanceRequest ¶
type RestartUDBInstanceRequest struct { request.CommonBase // 实例的Id,该值可以通过DescribeUDBInstance获取 DBId *string `required:"true"` }
RestartUDBInstanceRequest is request schema for RestartUDBInstance action
type RestartUDBInstanceResponse ¶
type RestartUDBInstanceResponse struct {
response.CommonBase
}
RestartUDBInstanceResponse is response schema for RestartUDBInstance action
type StartUDBInstanceRequest ¶
type StartUDBInstanceRequest struct { request.CommonBase // 实例的Id,该值可以通过DescribeUDBInstance获取 DBId *string `required:"true"` }
StartUDBInstanceRequest is request schema for StartUDBInstance action
type StartUDBInstanceResponse ¶
type StartUDBInstanceResponse struct {
response.CommonBase
}
StartUDBInstanceResponse is response schema for StartUDBInstance action
type StopUDBInstanceRequest ¶
type StopUDBInstanceRequest struct { request.CommonBase // 实例的Id,该值可以通过DescribeUDBInstance获取 DBId *string `required:"true"` // 是否使用强制手段关闭DB,默认是false ForceToKill *bool `required:"false"` }
StopUDBInstanceRequest is request schema for StopUDBInstance action
type StopUDBInstanceResponse ¶
type StopUDBInstanceResponse struct {
response.CommonBase
}
StopUDBInstanceResponse is response schema for StopUDBInstance action
type SwitchUDBInstanceToHARequest ¶
type SwitchUDBInstanceToHARequest struct { request.CommonBase // 实例的Id,该值可以通过DescribeUDBInstance获取 DBId *string `required:"true"` // Year, Month, Dynamic,Trial,不填则按现在单点计费执行 ChargeType *string `required:"false"` // 购买时长,需要和 ChargeType 搭配使用,否则使用单点计费策略的值 Quantity *string `required:"false"` // 业务组 Tag *string `required:"false"` }
SwitchUDBInstanceToHARequest is request schema for SwitchUDBInstanceToHA action
type SwitchUDBInstanceToHAResponse ¶
type SwitchUDBInstanceToHAResponse struct { response.CommonBase // 切换后高可用db实例的Id DBId string }
SwitchUDBInstanceToHAResponse is response schema for SwitchUDBInstanceToHA action
type UDBBackupSet ¶
type UDBBackupSet struct { // 备份id BackupId int // 备份名称 BackupName string // 备份时间(Unix时间戳) BackupTime int // 备份文件大小(字节) BackupSize int // 备份类型,取值为0或1,0表示自动,1表示手动 BackupType int // 备份状态 Backuping // 备份中 Success // 备份成功 Failed // 备份失败 Expired // 备份过期 State string // dbid DBId string // 对应的db名称 DBName string // 备份所在可用区 Zone string // 跨机房高可用备库所在可用区 BackupZone string // 备份完成时间(Unix时间戳) BackupEndTime int }
UDBBackupSet - DescribeUDBBackup
this model is auto created by ucloud code generater for open api, you can also see https://docs.ucloud.cn for detail.
type UDBClient ¶
type UDBClient struct {
*ucloud.Client
}
UDBClient is the client of UDB
func NewClient ¶
func NewClient(config *ucloud.Config, credential *auth.Credential) *UDBClient
NewClient will return a instance of UDBClient
func (*UDBClient) BackupUDBInstance ¶
func (c *UDBClient) BackupUDBInstance(req *BackupUDBInstanceRequest) (*BackupUDBInstanceResponse, error)
BackupUDBInstance - 备份UDB实例
func (*UDBClient) BackupUDBInstanceBinlog ¶
func (c *UDBClient) BackupUDBInstanceBinlog(req *BackupUDBInstanceBinlogRequest) (*BackupUDBInstanceBinlogResponse, error)
BackupUDBInstanceBinlog - 备份UDB指定时间段的binlog列表
func (*UDBClient) BackupUDBInstanceErrorLog ¶
func (c *UDBClient) BackupUDBInstanceErrorLog(req *BackupUDBInstanceErrorLogRequest) (*BackupUDBInstanceErrorLogResponse, error)
BackupUDBInstanceErrorLog - 备份UDB指定时间段的errorlog
func (*UDBClient) BackupUDBInstanceSlowLog ¶
func (c *UDBClient) BackupUDBInstanceSlowLog(req *BackupUDBInstanceSlowLogRequest) (*BackupUDBInstanceSlowLogResponse, error)
BackupUDBInstanceSlowLog - 备份UDB指定时间段的slowlog分析结果
func (*UDBClient) CheckRecoverUDBInstance ¶
func (c *UDBClient) CheckRecoverUDBInstance(req *CheckRecoverUDBInstanceRequest) (*CheckRecoverUDBInstanceResponse, error)
CheckRecoverUDBInstance - 核查db是否可以使用回档功能
func (*UDBClient) CheckUDBInstanceToHAAllowance ¶
func (c *UDBClient) CheckUDBInstanceToHAAllowance(req *CheckUDBInstanceToHAAllowanceRequest) (*CheckUDBInstanceToHAAllowanceResponse, error)
CheckUDBInstanceToHAAllowance - 核查db是否可以升级为高可用
func (*UDBClient) ClearUDBLog ¶
func (c *UDBClient) ClearUDBLog(req *ClearUDBLogRequest) (*ClearUDBLogResponse, error)
ClearUDBLog - 清除UDB实例的log
func (*UDBClient) CreateUDBInstance ¶
func (c *UDBClient) CreateUDBInstance(req *CreateUDBInstanceRequest) (*CreateUDBInstanceResponse, error)
CreateUDBInstance - 创建UDB实例(包括创建mysql master节点、mongodb primary/configsvr节点和从备份恢复实例)
func (*UDBClient) CreateUDBInstanceByRecovery ¶
func (c *UDBClient) CreateUDBInstanceByRecovery(req *CreateUDBInstanceByRecoveryRequest) (*CreateUDBInstanceByRecoveryResponse, error)
CreateUDBInstanceByRecovery - 创建db,将新创建的db恢复到指定db某个指定时间点
func (*UDBClient) CreateUDBParamGroup ¶
func (c *UDBClient) CreateUDBParamGroup(req *CreateUDBParamGroupRequest) (*CreateUDBParamGroupResponse, error)
CreateUDBParamGroup - 从已有配置文件创建新配置文件
func (*UDBClient) CreateUDBReplicationInstance ¶
func (c *UDBClient) CreateUDBReplicationInstance(req *CreateUDBReplicationInstanceRequest) (*CreateUDBReplicationInstanceResponse, error)
CreateUDBReplicationInstance - 创建MongoDB的副本节点(包括仲裁)
func (*UDBClient) CreateUDBRouteInstance ¶
func (c *UDBClient) CreateUDBRouteInstance(req *CreateUDBRouteInstanceRequest) (*CreateUDBRouteInstanceResponse, error)
CreateUDBRouteInstance - 创建mongos实例
func (*UDBClient) CreateUDBSlave ¶
func (c *UDBClient) CreateUDBSlave(req *CreateUDBSlaveRequest) (*CreateUDBSlaveResponse, error)
CreateUDBSlave - 创建UDB实例的slave
func (*UDBClient) DeleteUDBBackup ¶
func (c *UDBClient) DeleteUDBBackup(req *DeleteUDBBackupRequest) (*DeleteUDBBackupResponse, error)
DeleteUDBBackup - 删除UDB实例备份
func (*UDBClient) DeleteUDBInstance ¶
func (c *UDBClient) DeleteUDBInstance(req *DeleteUDBInstanceRequest) (*DeleteUDBInstanceResponse, error)
DeleteUDBInstance - 删除UDB实例
func (*UDBClient) DeleteUDBLogPackage ¶
func (c *UDBClient) DeleteUDBLogPackage(req *DeleteUDBLogPackageRequest) (*DeleteUDBLogPackageResponse, error)
DeleteUDBLogPackage - 删除UDB日志包
func (*UDBClient) DeleteUDBParamGroup ¶
func (c *UDBClient) DeleteUDBParamGroup(req *DeleteUDBParamGroupRequest) (*DeleteUDBParamGroupResponse, error)
DeleteUDBParamGroup - 删除配置参数组
func (*UDBClient) DescribeUDBBackup ¶
func (c *UDBClient) DescribeUDBBackup(req *DescribeUDBBackupRequest) (*DescribeUDBBackupResponse, error)
DescribeUDBBackup - 列表UDB实例备份信息.Zone不填表示多可用区,填代表单可用区
func (*UDBClient) DescribeUDBBackupBlacklist ¶
func (c *UDBClient) DescribeUDBBackupBlacklist(req *DescribeUDBBackupBlacklistRequest) (*DescribeUDBBackupBlacklistResponse, error)
DescribeUDBBackupBlacklist - 获取UDB实例的备份黑名单
func (*UDBClient) DescribeUDBBinlogBackupURL ¶
func (c *UDBClient) DescribeUDBBinlogBackupURL(req *DescribeUDBBinlogBackupURLRequest) (*DescribeUDBBinlogBackupURLResponse, error)
DescribeUDBBinlogBackupURL - 获取UDB的Binlog备份地址
func (*UDBClient) DescribeUDBInstance ¶
func (c *UDBClient) DescribeUDBInstance(req *DescribeUDBInstanceRequest) (*DescribeUDBInstanceResponse, error)
DescribeUDBInstance - 获取UDB实例信息,支持两类操作:(1)指定DBId用于获取该db的信息;(2)指定ClassType、Offset、Limit用于列表操作,查询某一个类型db。
func (*UDBClient) DescribeUDBInstanceBackupState ¶
func (c *UDBClient) DescribeUDBInstanceBackupState(req *DescribeUDBInstanceBackupStateRequest) (*DescribeUDBInstanceBackupStateResponse, error)
DescribeUDBInstanceBackupState - 获取UDB实例备份状态
func (*UDBClient) DescribeUDBInstanceBackupURL ¶
func (c *UDBClient) DescribeUDBInstanceBackupURL(req *DescribeUDBInstanceBackupURLRequest) (*DescribeUDBInstanceBackupURLResponse, error)
DescribeUDBInstanceBackupURL - 获取UDB备份下载地址
func (*UDBClient) DescribeUDBInstanceBinlog ¶
func (c *UDBClient) DescribeUDBInstanceBinlog(req *DescribeUDBInstanceBinlogRequest) (*DescribeUDBInstanceBinlogResponse, error)
DescribeUDBInstanceBinlog - 获取UDB指定时间段的binlog列表
func (*UDBClient) DescribeUDBInstanceBinlogBackupState ¶
func (c *UDBClient) DescribeUDBInstanceBinlogBackupState(req *DescribeUDBInstanceBinlogBackupStateRequest) (*DescribeUDBInstanceBinlogBackupStateResponse, error)
DescribeUDBInstanceBinlogBackupState - 获取udb实例备份状态
func (*UDBClient) DescribeUDBInstancePrice ¶
func (c *UDBClient) DescribeUDBInstancePrice(req *DescribeUDBInstancePriceRequest) (*DescribeUDBInstancePriceResponse, error)
DescribeUDBInstancePrice - 获取UDB实例价格信息
func (*UDBClient) DescribeUDBInstanceState ¶
func (c *UDBClient) DescribeUDBInstanceState(req *DescribeUDBInstanceStateRequest) (*DescribeUDBInstanceStateResponse, error)
DescribeUDBInstanceState - 获取UDB实例状态
func (*UDBClient) DescribeUDBInstanceUpgradePrice ¶
func (c *UDBClient) DescribeUDBInstanceUpgradePrice(req *DescribeUDBInstanceUpgradePriceRequest) (*DescribeUDBInstanceUpgradePriceResponse, error)
DescribeUDBInstanceUpgradePrice - 获取UDB实例升降级价格信息
func (*UDBClient) DescribeUDBLogBackupURL ¶
func (c *UDBClient) DescribeUDBLogBackupURL(req *DescribeUDBLogBackupURLRequest) (*DescribeUDBLogBackupURLResponse, error)
DescribeUDBLogBackupURL - 获取UDB的slowlog备份地址
func (*UDBClient) DescribeUDBLogPackage ¶
func (c *UDBClient) DescribeUDBLogPackage(req *DescribeUDBLogPackageRequest) (*DescribeUDBLogPackageResponse, error)
DescribeUDBLogPackage - 列表UDB实例binlog或slowlog或errorlog备份信息
func (*UDBClient) DescribeUDBParamGroup ¶
func (c *UDBClient) DescribeUDBParamGroup(req *DescribeUDBParamGroupRequest) (*DescribeUDBParamGroupResponse, error)
DescribeUDBParamGroup - 获取参数组详细参数信息
func (*UDBClient) DescribeUDBType ¶
func (c *UDBClient) DescribeUDBType(req *DescribeUDBTypeRequest) (*DescribeUDBTypeResponse, error)
DescribeUDBType - 获取UDB支持的类型信息
func (*UDBClient) EditUDBBackupBlacklist ¶
func (c *UDBClient) EditUDBBackupBlacklist(req *EditUDBBackupBlacklistRequest) (*EditUDBBackupBlacklistResponse, error)
EditUDBBackupBlacklist - 编辑UDB实例的备份黑名单
func (*UDBClient) FetchUDBInstanceEarliestRecoverTime ¶
func (c *UDBClient) FetchUDBInstanceEarliestRecoverTime(req *FetchUDBInstanceEarliestRecoverTimeRequest) (*FetchUDBInstanceEarliestRecoverTimeResponse, error)
FetchUDBInstanceEarliestRecoverTime - 获取UDB最早可回档的时间点
func (*UDBClient) ModifyUDBInstanceName ¶
func (c *UDBClient) ModifyUDBInstanceName(req *ModifyUDBInstanceNameRequest) (*ModifyUDBInstanceNameResponse, error)
ModifyUDBInstanceName - 重命名UDB实例
func (*UDBClient) ModifyUDBInstancePassword ¶
func (c *UDBClient) ModifyUDBInstancePassword(req *ModifyUDBInstancePasswordRequest) (*ModifyUDBInstancePasswordResponse, error)
ModifyUDBInstancePassword - 修改DB实例的管理员密码
func (*UDBClient) NewBackupUDBInstanceBinlogRequest ¶
func (c *UDBClient) NewBackupUDBInstanceBinlogRequest() *BackupUDBInstanceBinlogRequest
NewBackupUDBInstanceBinlogRequest will create request of BackupUDBInstanceBinlog action.
func (*UDBClient) NewBackupUDBInstanceErrorLogRequest ¶
func (c *UDBClient) NewBackupUDBInstanceErrorLogRequest() *BackupUDBInstanceErrorLogRequest
NewBackupUDBInstanceErrorLogRequest will create request of BackupUDBInstanceErrorLog action.
func (*UDBClient) NewBackupUDBInstanceRequest ¶
func (c *UDBClient) NewBackupUDBInstanceRequest() *BackupUDBInstanceRequest
NewBackupUDBInstanceRequest will create request of BackupUDBInstance action.
func (*UDBClient) NewBackupUDBInstanceSlowLogRequest ¶
func (c *UDBClient) NewBackupUDBInstanceSlowLogRequest() *BackupUDBInstanceSlowLogRequest
NewBackupUDBInstanceSlowLogRequest will create request of BackupUDBInstanceSlowLog action.
func (*UDBClient) NewCheckRecoverUDBInstanceRequest ¶
func (c *UDBClient) NewCheckRecoverUDBInstanceRequest() *CheckRecoverUDBInstanceRequest
NewCheckRecoverUDBInstanceRequest will create request of CheckRecoverUDBInstance action.
func (*UDBClient) NewCheckUDBInstanceToHAAllowanceRequest ¶
func (c *UDBClient) NewCheckUDBInstanceToHAAllowanceRequest() *CheckUDBInstanceToHAAllowanceRequest
NewCheckUDBInstanceToHAAllowanceRequest will create request of CheckUDBInstanceToHAAllowance action.
func (*UDBClient) NewClearUDBLogRequest ¶
func (c *UDBClient) NewClearUDBLogRequest() *ClearUDBLogRequest
NewClearUDBLogRequest will create request of ClearUDBLog action.
func (*UDBClient) NewCreateUDBInstanceByRecoveryRequest ¶
func (c *UDBClient) NewCreateUDBInstanceByRecoveryRequest() *CreateUDBInstanceByRecoveryRequest
NewCreateUDBInstanceByRecoveryRequest will create request of CreateUDBInstanceByRecovery action.
func (*UDBClient) NewCreateUDBInstanceRequest ¶
func (c *UDBClient) NewCreateUDBInstanceRequest() *CreateUDBInstanceRequest
NewCreateUDBInstanceRequest will create request of CreateUDBInstance action.
func (*UDBClient) NewCreateUDBParamGroupRequest ¶
func (c *UDBClient) NewCreateUDBParamGroupRequest() *CreateUDBParamGroupRequest
NewCreateUDBParamGroupRequest will create request of CreateUDBParamGroup action.
func (*UDBClient) NewCreateUDBReplicationInstanceRequest ¶
func (c *UDBClient) NewCreateUDBReplicationInstanceRequest() *CreateUDBReplicationInstanceRequest
NewCreateUDBReplicationInstanceRequest will create request of CreateUDBReplicationInstance action.
func (*UDBClient) NewCreateUDBRouteInstanceRequest ¶
func (c *UDBClient) NewCreateUDBRouteInstanceRequest() *CreateUDBRouteInstanceRequest
NewCreateUDBRouteInstanceRequest will create request of CreateUDBRouteInstance action.
func (*UDBClient) NewCreateUDBSlaveRequest ¶
func (c *UDBClient) NewCreateUDBSlaveRequest() *CreateUDBSlaveRequest
NewCreateUDBSlaveRequest will create request of CreateUDBSlave action.
func (*UDBClient) NewDeleteUDBBackupRequest ¶
func (c *UDBClient) NewDeleteUDBBackupRequest() *DeleteUDBBackupRequest
NewDeleteUDBBackupRequest will create request of DeleteUDBBackup action.
func (*UDBClient) NewDeleteUDBInstanceRequest ¶
func (c *UDBClient) NewDeleteUDBInstanceRequest() *DeleteUDBInstanceRequest
NewDeleteUDBInstanceRequest will create request of DeleteUDBInstance action.
func (*UDBClient) NewDeleteUDBLogPackageRequest ¶
func (c *UDBClient) NewDeleteUDBLogPackageRequest() *DeleteUDBLogPackageRequest
NewDeleteUDBLogPackageRequest will create request of DeleteUDBLogPackage action.
func (*UDBClient) NewDeleteUDBParamGroupRequest ¶
func (c *UDBClient) NewDeleteUDBParamGroupRequest() *DeleteUDBParamGroupRequest
NewDeleteUDBParamGroupRequest will create request of DeleteUDBParamGroup action.
func (*UDBClient) NewDescribeUDBBackupBlacklistRequest ¶
func (c *UDBClient) NewDescribeUDBBackupBlacklistRequest() *DescribeUDBBackupBlacklistRequest
NewDescribeUDBBackupBlacklistRequest will create request of DescribeUDBBackupBlacklist action.
func (*UDBClient) NewDescribeUDBBackupRequest ¶
func (c *UDBClient) NewDescribeUDBBackupRequest() *DescribeUDBBackupRequest
NewDescribeUDBBackupRequest will create request of DescribeUDBBackup action.
func (*UDBClient) NewDescribeUDBBinlogBackupURLRequest ¶
func (c *UDBClient) NewDescribeUDBBinlogBackupURLRequest() *DescribeUDBBinlogBackupURLRequest
NewDescribeUDBBinlogBackupURLRequest will create request of DescribeUDBBinlogBackupURL action.
func (*UDBClient) NewDescribeUDBInstanceBackupStateRequest ¶
func (c *UDBClient) NewDescribeUDBInstanceBackupStateRequest() *DescribeUDBInstanceBackupStateRequest
NewDescribeUDBInstanceBackupStateRequest will create request of DescribeUDBInstanceBackupState action.
func (*UDBClient) NewDescribeUDBInstanceBackupURLRequest ¶
func (c *UDBClient) NewDescribeUDBInstanceBackupURLRequest() *DescribeUDBInstanceBackupURLRequest
NewDescribeUDBInstanceBackupURLRequest will create request of DescribeUDBInstanceBackupURL action.
func (*UDBClient) NewDescribeUDBInstanceBinlogBackupStateRequest ¶
func (c *UDBClient) NewDescribeUDBInstanceBinlogBackupStateRequest() *DescribeUDBInstanceBinlogBackupStateRequest
NewDescribeUDBInstanceBinlogBackupStateRequest will create request of DescribeUDBInstanceBinlogBackupState action.
func (*UDBClient) NewDescribeUDBInstanceBinlogRequest ¶
func (c *UDBClient) NewDescribeUDBInstanceBinlogRequest() *DescribeUDBInstanceBinlogRequest
NewDescribeUDBInstanceBinlogRequest will create request of DescribeUDBInstanceBinlog action.
func (*UDBClient) NewDescribeUDBInstancePriceRequest ¶
func (c *UDBClient) NewDescribeUDBInstancePriceRequest() *DescribeUDBInstancePriceRequest
NewDescribeUDBInstancePriceRequest will create request of DescribeUDBInstancePrice action.
func (*UDBClient) NewDescribeUDBInstanceRequest ¶
func (c *UDBClient) NewDescribeUDBInstanceRequest() *DescribeUDBInstanceRequest
NewDescribeUDBInstanceRequest will create request of DescribeUDBInstance action.
func (*UDBClient) NewDescribeUDBInstanceStateRequest ¶
func (c *UDBClient) NewDescribeUDBInstanceStateRequest() *DescribeUDBInstanceStateRequest
NewDescribeUDBInstanceStateRequest will create request of DescribeUDBInstanceState action.
func (*UDBClient) NewDescribeUDBInstanceUpgradePriceRequest ¶
func (c *UDBClient) NewDescribeUDBInstanceUpgradePriceRequest() *DescribeUDBInstanceUpgradePriceRequest
NewDescribeUDBInstanceUpgradePriceRequest will create request of DescribeUDBInstanceUpgradePrice action.
func (*UDBClient) NewDescribeUDBLogBackupURLRequest ¶
func (c *UDBClient) NewDescribeUDBLogBackupURLRequest() *DescribeUDBLogBackupURLRequest
NewDescribeUDBLogBackupURLRequest will create request of DescribeUDBLogBackupURL action.
func (*UDBClient) NewDescribeUDBLogPackageRequest ¶
func (c *UDBClient) NewDescribeUDBLogPackageRequest() *DescribeUDBLogPackageRequest
NewDescribeUDBLogPackageRequest will create request of DescribeUDBLogPackage action.
func (*UDBClient) NewDescribeUDBParamGroupRequest ¶
func (c *UDBClient) NewDescribeUDBParamGroupRequest() *DescribeUDBParamGroupRequest
NewDescribeUDBParamGroupRequest will create request of DescribeUDBParamGroup action.
func (*UDBClient) NewDescribeUDBTypeRequest ¶
func (c *UDBClient) NewDescribeUDBTypeRequest() *DescribeUDBTypeRequest
NewDescribeUDBTypeRequest will create request of DescribeUDBType action.
func (*UDBClient) NewEditUDBBackupBlacklistRequest ¶
func (c *UDBClient) NewEditUDBBackupBlacklistRequest() *EditUDBBackupBlacklistRequest
NewEditUDBBackupBlacklistRequest will create request of EditUDBBackupBlacklist action.
func (*UDBClient) NewFetchUDBInstanceEarliestRecoverTimeRequest ¶
func (c *UDBClient) NewFetchUDBInstanceEarliestRecoverTimeRequest() *FetchUDBInstanceEarliestRecoverTimeRequest
NewFetchUDBInstanceEarliestRecoverTimeRequest will create request of FetchUDBInstanceEarliestRecoverTime action.
func (*UDBClient) NewModifyUDBInstanceNameRequest ¶
func (c *UDBClient) NewModifyUDBInstanceNameRequest() *ModifyUDBInstanceNameRequest
NewModifyUDBInstanceNameRequest will create request of ModifyUDBInstanceName action.
func (*UDBClient) NewModifyUDBInstancePasswordRequest ¶
func (c *UDBClient) NewModifyUDBInstancePasswordRequest() *ModifyUDBInstancePasswordRequest
NewModifyUDBInstancePasswordRequest will create request of ModifyUDBInstancePassword action.
func (*UDBClient) NewPromoteUDBInstanceToHARequest ¶
func (c *UDBClient) NewPromoteUDBInstanceToHARequest() *PromoteUDBInstanceToHARequest
NewPromoteUDBInstanceToHARequest will create request of PromoteUDBInstanceToHA action.
func (*UDBClient) NewPromoteUDBSlaveRequest ¶
func (c *UDBClient) NewPromoteUDBSlaveRequest() *PromoteUDBSlaveRequest
NewPromoteUDBSlaveRequest will create request of PromoteUDBSlave action.
func (*UDBClient) NewResizeUDBInstanceRequest ¶
func (c *UDBClient) NewResizeUDBInstanceRequest() *ResizeUDBInstanceRequest
NewResizeUDBInstanceRequest will create request of ResizeUDBInstance action.
func (*UDBClient) NewRestartUDBInstanceRequest ¶
func (c *UDBClient) NewRestartUDBInstanceRequest() *RestartUDBInstanceRequest
NewRestartUDBInstanceRequest will create request of RestartUDBInstance action.
func (*UDBClient) NewStartUDBInstanceRequest ¶
func (c *UDBClient) NewStartUDBInstanceRequest() *StartUDBInstanceRequest
NewStartUDBInstanceRequest will create request of StartUDBInstance action.
func (*UDBClient) NewStopUDBInstanceRequest ¶
func (c *UDBClient) NewStopUDBInstanceRequest() *StopUDBInstanceRequest
NewStopUDBInstanceRequest will create request of StopUDBInstance action.
func (*UDBClient) NewSwitchUDBInstanceToHARequest ¶
func (c *UDBClient) NewSwitchUDBInstanceToHARequest() *SwitchUDBInstanceToHARequest
NewSwitchUDBInstanceToHARequest will create request of SwitchUDBInstanceToHA action.
func (*UDBClient) NewUpdateUDBInstanceBackupStrategyRequest ¶
func (c *UDBClient) NewUpdateUDBInstanceBackupStrategyRequest() *UpdateUDBInstanceBackupStrategyRequest
NewUpdateUDBInstanceBackupStrategyRequest will create request of UpdateUDBInstanceBackupStrategy action.
func (*UDBClient) NewUpdateUDBInstanceSlaveBackupSwitchRequest ¶
func (c *UDBClient) NewUpdateUDBInstanceSlaveBackupSwitchRequest() *UpdateUDBInstanceSlaveBackupSwitchRequest
NewUpdateUDBInstanceSlaveBackupSwitchRequest will create request of UpdateUDBInstanceSlaveBackupSwitch action.
func (*UDBClient) NewUpdateUDBParamGroupRequest ¶
func (c *UDBClient) NewUpdateUDBParamGroupRequest() *UpdateUDBParamGroupRequest
NewUpdateUDBParamGroupRequest will create request of UpdateUDBParamGroup action.
func (*UDBClient) NewUploadUDBParamGroupRequest ¶
func (c *UDBClient) NewUploadUDBParamGroupRequest() *UploadUDBParamGroupRequest
NewUploadUDBParamGroupRequest will create request of UploadUDBParamGroup action.
func (*UDBClient) PromoteUDBInstanceToHA ¶
func (c *UDBClient) PromoteUDBInstanceToHA(req *PromoteUDBInstanceToHARequest) (*PromoteUDBInstanceToHAResponse, error)
PromoteUDBInstanceToHA - 普通db升级为高可用(只针对mysql5.5及以上版本)
func (*UDBClient) PromoteUDBSlave ¶
func (c *UDBClient) PromoteUDBSlave(req *PromoteUDBSlaveRequest) (*PromoteUDBSlaveResponse, error)
PromoteUDBSlave - 从库提升为独立库
func (*UDBClient) ResizeUDBInstance ¶
func (c *UDBClient) ResizeUDBInstance(req *ResizeUDBInstanceRequest) (*ResizeUDBInstanceResponse, error)
ResizeUDBInstance - 修改(升级和降级)UDB实例的配置,包括内存和磁盘的配置,对于内存升级无需关闭实例,其他场景需要事先关闭实例。两套参数可以配置升降机:1.配置UseSSD和SSDType 2.配置InstanceType,不需要配置InstanceMode。这两套第二套参数的优先级更高
func (*UDBClient) RestartUDBInstance ¶
func (c *UDBClient) RestartUDBInstance(req *RestartUDBInstanceRequest) (*RestartUDBInstanceResponse, error)
RestartUDBInstance - 重启UDB实例
func (*UDBClient) StartUDBInstance ¶
func (c *UDBClient) StartUDBInstance(req *StartUDBInstanceRequest) (*StartUDBInstanceResponse, error)
StartUDBInstance - 启动UDB实例
func (*UDBClient) StopUDBInstance ¶
func (c *UDBClient) StopUDBInstance(req *StopUDBInstanceRequest) (*StopUDBInstanceResponse, error)
StopUDBInstance - 关闭UDB实例
func (*UDBClient) SwitchUDBInstanceToHA ¶
func (c *UDBClient) SwitchUDBInstanceToHA(req *SwitchUDBInstanceToHARequest) (*SwitchUDBInstanceToHAResponse, error)
SwitchUDBInstanceToHA - 普通UDB切换为高可用,原db状态为WaitForSwitch时,调用该api
func (*UDBClient) UpdateUDBInstanceBackupStrategy ¶
func (c *UDBClient) UpdateUDBInstanceBackupStrategy(req *UpdateUDBInstanceBackupStrategyRequest) (*UpdateUDBInstanceBackupStrategyResponse, error)
UpdateUDBInstanceBackupStrategy - 修改UDB自动备份策略
func (*UDBClient) UpdateUDBInstanceSlaveBackupSwitch ¶
func (c *UDBClient) UpdateUDBInstanceSlaveBackupSwitch(req *UpdateUDBInstanceSlaveBackupSwitchRequest) (*UpdateUDBInstanceSlaveBackupSwitchResponse, error)
UpdateUDBInstanceSlaveBackupSwitch - 开启或者关闭UDB从库备份
func (*UDBClient) UpdateUDBParamGroup ¶
func (c *UDBClient) UpdateUDBParamGroup(req *UpdateUDBParamGroupRequest) (*UpdateUDBParamGroupResponse, error)
UpdateUDBParamGroup - 更新UDB配置参数项
func (*UDBClient) UploadUDBParamGroup ¶
func (c *UDBClient) UploadUDBParamGroup(req *UploadUDBParamGroupRequest) (*UploadUDBParamGroupResponse, error)
UploadUDBParamGroup - 导入UDB配置
type UDBInstanceBinlogSet ¶
type UDBInstanceBinlogSet struct { // Binlog文件名 Name string // Binlog文件大小 Size int // Binlog文件生成时间(时间戳) BeginTime int // Binlog文件结束时间(时间戳) EndTime int }
UDBInstanceBinlogSet - DescribeUDBInstanceBinlog
this model is auto created by ucloud code generater for open api, you can also see https://docs.ucloud.cn for detail.
type UDBInstancePriceSet ¶
type UDBInstancePriceSet struct { // Year, Month, Dynamic,Trial ChargeType string // 价格,单位为分,保留小数点后两位 Price float64 }
UDBInstancePriceSet - DescribeUDBInstancePrice
this model is auto created by ucloud code generater for open api, you can also see https://docs.ucloud.cn for detail.
type UDBInstanceSet ¶
type UDBInstanceSet struct { // DB实例所在可用区 Zone string // 当DB类型为mongodb时,返回该实例所在集群中的角色,包括:mongos、configsrv_sccc、configsrv_csrs、shardsrv_datanode、shardsrv_arbiter,其中congfigsrv分为sccc和csrs两种模式,shardsrv分为datanode和arbiter两种模式 CluserRole string // DB实例id DBId string // 实例名称,至少6位 Name string // DB类型id,mysql/mongodb按版本细分各有一个id 目前id的取值范围为[1,7],数值对应的版本如下: 1:mysql-5.5,2:mysql-5.1,3:percona-5.5 4:mongodb-2.4,5:mongodb-2.6,6:mysql-5.6, 7:percona-5.6 DBTypeId string // DB实例使用的配置参数组id ParamGroupId int // 管理员帐户名,默认root AdminUser string // DB实例虚ip VirtualIP string // DB实例虚ip的mac地址 VirtualIPMac string // 端口号,mysql默认3306,mongodb默认27017 Port int // 对mysql的slave而言是master的DBId,对master则为空, 对mongodb则是副本集id SrcDBId string // 备份策略,不可修改,备份文件保留的数量,默认7次 BackupCount int // 备份策略,不可修改,开始时间,单位小时计,默认3点 BackupBeginTime int // 备份策略,一天内备份时间间隔,单位小时,默认24小时 BackupDuration int // 备份策略,备份黑名单,mongodb则不适用 BackupBlacklist string // DB状态标记 Init:初始化中,Fail:安装失败,Starting:启动中,Running:运行,Shutdown:关闭中,Shutoff:已关闭,Delete:已删除,Upgrading:升级中,Promoting:提升为独库进行中,Recovering:恢复中,Recover fail:恢复失败 State string // DB实例创建时间,采用UTC计时时间戳 CreateTime int // DB实例修改时间,采用UTC计时时间戳 ModifyTime int // DB实例过期时间,采用UTC计时时间戳 ExpiredTime int // Year, Month, Dynamic,Trial,默认: Dynamic ChargeType string // 内存限制(MB),默认根据配置机型 MemoryLimit int // 磁盘空间(GB), 默认根据配置机型 DiskSpace int // 是否使用SSD UseSSD bool // SSD类型,SATA/PCI-E SSDType string // DB实例角色,mysql区分master/slave,mongodb多种角色 Role string // DB实例磁盘已使用空间,单位GB DiskUsedSize float64 // DB实例数据文件大小,单位GB DataFileSize float64 // DB实例系统文件大小,单位GB SystemFileSize float64 // DB实例日志文件大小,单位GB LogFileSize float64 // 备份日期标记位。共7位,每一位为一周中一天的备份情况 0表示关闭当天备份,1表示打开当天备份。最右边的一位 为星期天的备份开关,其余从右到左依次为星期一到星期 六的备份配置开关,每周必须至少设置两天备份。 例如:1100000 表示打开星期六和星期五的自动备份功能 BackupDate string // UDB实例模式类型, 可选值如下: “Normal”: 普通版UDB实例 “HA”: 高可用版UDB实例 InstanceMode string // 如果列表操作,则有从库DB实例信息列表 参数同UDBSlaveInstanceSet DataSet []UDBSlaveInstanceSet // 跨可用区高可用备库所在可用区 BackupZone string // 业务组 Tag string // VPC ID VPCId string // Subnet Id SubnetId string // DB实例磁盘类型 InstanceType string }
UDBInstanceSet - DescribeUDBInstance
this model is auto created by ucloud code generater for open api, you can also see https://docs.ucloud.cn for detail.
type UDBParamGroupSet ¶
type UDBParamGroupSet struct { // 参数组id GroupId int // 参数组名称 GroupName string // DB类型id,mysql/mongodb按版本细分各有一个id 目前id的取值范围为[1,7],数值对应的版本如下 1:mysql-5.5,2:mysql-5.1,3:percona-5.5 4:mongodb-2.4,5:mongodb-2.6,6:mysql-5.6 7:percona-5.6 DBTypeId string // 参数组描述 Description string // 参数组是否可修改 Modifiable bool // 参数的键值对表 UDBParamMemberSet ParamMember []UDBParamMemberSet // 参数组所在可用区,如果是跨可用区参数组则其值为 null Zone string // true 表示取跨可用区参数,false 表示单可用区参数组 RegionFlag bool }
UDBParamGroupSet - DescribeUDBParamGroup
this model is auto created by ucloud code generater for open api, you can also see https://docs.ucloud.cn for detail.
type UDBParamMemberSet ¶
type UDBParamMemberSet struct { // 参数名称 Key string // 参数值 Value string // 参数值应用类型,取值范围为{0,10,20,30},各值 代表意义为 0-unknown、10-int、20-string、 30-bool ValueType int // 允许的值(根据参数类型,用分隔符表示) AllowedVal string // 参数值应用类型,取值范围为{0,10,20},各值代表 意义为0-unknown、10-static、20-dynamic ApplyType int // 是否可更改,默认为false Modifiable bool // 允许值的格式类型,取值范围为{0,10,20},意义分 别为PVFT_UNKOWN=0,PVFT_RANGE=10, PVFT_ENUM=20 FormatType int }
UDBParamMemberSet - DescribeUDBParamGroup
this model is auto created by ucloud code generater for open api, you can also see https://docs.ucloud.cn for detail.
type UDBSlaveInstanceSet ¶
type UDBSlaveInstanceSet struct { // DB实例id DBId string // 实例名称,至少6位 Name string // DB类型id,mysql/mongodb按版本细分各有一个id 目前id的取值范围为[1,7],数值对应的版本如下: 1:mysql-5.5,2:mysql-5.1,3:percona-5.5 4:mongodb-2.4,5:mongodb-2.6,6:mysql-5.6, 7:percona-5.6 DBTypeId string // DB实例使用的配置参数组id ParamGroupId int // 管理员帐户名,默认root AdminUser string // DB实例虚ip VirtualIP string // DB实例虚ip的mac地址 VirtualIPMac string // 端口号,mysql默认3306,mongodb默认27017 Port int // 对mysql的slave而言是master的DBId,对master则为空, 对mongodb则是副本集id SrcDBId string // 备份策略,不可修改,备份文件保留的数量,默认7次 BackupCount int // 备份策略,不可修改,开始时间,单位小时计,默认3点 BackupBeginTime int // 备份策略,一天内备份时间间隔,单位小时,默认24小时 BackupDuration int // 备份策略,备份黑名单,mongodb则不适用 BackupBlacklist string // DB状态标记 Init:初始化中,Fail:安装失败,Starting:启动中,Running:运行,Shutdown:关闭中,Shutoff:已关闭,Delete:已删除,Upgrading:升级中,Promoting:提升为独库进行中,Recovering:恢复中,Recover fail:恢复失败 State string // DB实例创建时间,采用UTC计时时间戳 CreateTime int // DB实例修改时间,采用UTC计时时间戳 ModifyTime int // DB实例过期时间,采用UTC计时时间戳 ExpiredTime int // Year, Month, Dynamic,Trial,默认: Dynamic ChargeType string // 内存限制(MB),默认根据配置机型 MemoryLimit int // 磁盘空间(GB), 默认根据配置机型 DiskSpace int // 是否使用SSD UseSSD bool // SSD类型,SATA/PCI-E SSDType string // DB实例角色,mysql区分master/slave,mongodb多种角色 Role string // DB实例磁盘已使用空间,单位GB DiskUsedSize float64 // DB实例数据文件大小,单位GB DataFileSize float64 // DB实例系统文件大小,单位GB SystemFileSize float64 // DB实例日志文件大小,单位GB LogFileSize float64 // 备份日期标记位。共7位,每一位为一周中一天的备份情况 0表示关闭当天备份,1表示打开当天备份。最右边的一位 为星期天的备份开关,其余从右到左依次为星期一到星期 六的备份配置开关,每周必须至少设置两天备份。 例如:1100000 表示打开星期六和星期五的自动备份功能 BackupDate string // UDB实例模式类型, 可选值如下: "Normal": 普通版UDB实例;"HA": 高可用版UDB实例 InstanceMode string // DB实例所在可用区 Zone string // 业务组 Tag string // VPC ID VPCId string // Subnet Id SubnetId string // DB实例磁盘类型 InstanceType string }
UDBSlaveInstanceSet - DescribeUDBSlaveInstance
this model is auto created by ucloud code generater for open api, you can also see https://docs.ucloud.cn for detail.
type UDBTypeSet ¶
type UDBTypeSet struct { // DB类型id,mysql/mongodb按版本细分各有一个id, 目前id的取值范围为[1,7],数值对应的版本如下: 1:mysql-5.5,2:mysql-5.1,3:percona-5.5 4:mongodb-2.4,5:mongodb-2.6,6:mysql-5.6, 7:percona-5.6 DBTypeId string }
UDBTypeSet - DescribeUDBType
this model is auto created by ucloud code generater for open api, you can also see https://docs.ucloud.cn for detail.
type UpdateUDBInstanceBackupStrategyRequest ¶
type UpdateUDBInstanceBackupStrategyRequest struct { request.CommonBase // 主节点的Id DBId *string `required:"true"` // 备份的整点时间,范围[0,23] BackupTime *int `required:"false"` // 备份时期标记位。共7位,每一位为一周中一天的备份情况,0表示关闭当天备份,1表示打开当天备份。最右边的一位为星期天的备份开关,其余从右到左依次为星期一到星期六的备份配置开关,每周必须至少设置两天备份。例如:1100000表示打开星期六和星期五的备份功能 BackupDate *string `required:"false"` // 当导出某些数据遇到问题后,是否强制导出其他剩余数据默认是false ForceDump *bool `required:"false"` }
UpdateUDBInstanceBackupStrategyRequest is request schema for UpdateUDBInstanceBackupStrategy action
type UpdateUDBInstanceBackupStrategyResponse ¶
type UpdateUDBInstanceBackupStrategyResponse struct {
response.CommonBase
}
UpdateUDBInstanceBackupStrategyResponse is response schema for UpdateUDBInstanceBackupStrategy action
type UpdateUDBInstanceSlaveBackupSwitchRequest ¶
type UpdateUDBInstanceSlaveBackupSwitchRequest struct { request.CommonBase // 主库的Id MasterDBId *string `required:"true"` // 从库的备份开关,范围[0,1],0表示从库备份功能关闭,1 表示从库备份开关打开。 BackupSwitch *int `required:"true"` // 从库的Id,如果从库备份开关设定为打开,则必须赋值。 SlaveDBId *string `required:"false"` }
UpdateUDBInstanceSlaveBackupSwitchRequest is request schema for UpdateUDBInstanceSlaveBackupSwitch action
type UpdateUDBInstanceSlaveBackupSwitchResponse ¶
type UpdateUDBInstanceSlaveBackupSwitchResponse struct {
response.CommonBase
}
UpdateUDBInstanceSlaveBackupSwitchResponse is response schema for UpdateUDBInstanceSlaveBackupSwitch action
type UpdateUDBParamGroupRequest ¶
type UpdateUDBParamGroupRequest struct { request.CommonBase // 配置参数组id,使用DescribeUDBParamGroup获得 GroupId *int `required:"true"` // 参数名称 Key *string `required:"true"` // 参数值 Value *string `required:"true"` // 该配置文件是否是地域级别配置文件,默认是false RegionFlag *bool `required:"false"` }
UpdateUDBParamGroupRequest is request schema for UpdateUDBParamGroup action
type UpdateUDBParamGroupResponse ¶
type UpdateUDBParamGroupResponse struct {
response.CommonBase
}
UpdateUDBParamGroupResponse is response schema for UpdateUDBParamGroup action
type UploadUDBParamGroupRequest ¶
type UploadUDBParamGroupRequest struct { request.CommonBase // DB类型id,DB类型id,mysql/mongodb/postgesql按版本细分 1:mysql-5.1,2:mysql-5.5,3:percona-5.5,4:mysql-5.6,5:percona-5.6,6:mysql-5.7,7:percona-5.7,8:mariadb-10.0,9:mongodb-2.4,10:mongodb-2.6,11:mongodb-3.0,12:mongodb-3.2,13:postgresql-9.4,14:postgresql-9.6 DBTypeId *string `required:"true"` // 配置参数组名称 GroupName *string `required:"true"` // 参数组描述 Description *string `required:"true"` // 配置内容,导入的配置内容采用base64编码 Content *string `required:"true"` // 该配置文件是否是地域级别配置文件,默认是false RegionFlag *bool `required:"false"` // 配置文件子类型 0-未知, 1-Shardsvr-MMAPv1, 2-Shardsvr-WiredTiger, 3-Configsvr-MMAPv1, 4-Configsvr-WiredTiger, 5-Mongos ParamGroupTypeId *int `required:"false"` }
UploadUDBParamGroupRequest is request schema for UploadUDBParamGroup action
type UploadUDBParamGroupResponse ¶
type UploadUDBParamGroupResponse struct { response.CommonBase // 配置参数组id GroupId int }
UploadUDBParamGroupResponse is response schema for UploadUDBParamGroup action
Source Files ¶
- backup_udbinstance.go
- backup_udbinstance_binlog.go
- backup_udbinstance_error_log.go
- backup_udbinstance_slow_log.go
- check_recover_udbinstance.go
- check_udbinstance_to_haallowance.go
- clear_udblog.go
- client.go
- create_udbinstance.go
- create_udbinstance_by_recovery.go
- create_udbparam_group.go
- create_udbreplication_instance.go
- create_udbroute_instance.go
- create_udbslave.go
- delete_udbbackup.go
- delete_udbinstance.go
- delete_udblog_package.go
- delete_udbparam_group.go
- describe_udbbackup.go
- describe_udbbackup_blacklist.go
- describe_udbbinlog_backup_url.go
- describe_udbinstance.go
- describe_udbinstance_backup_state.go
- describe_udbinstance_backup_url.go
- describe_udbinstance_binlog.go
- describe_udbinstance_binlog_backup_state.go
- describe_udbinstance_price.go
- describe_udbinstance_state.go
- describe_udbinstance_upgrade_price.go
- describe_udblog_backup_url.go
- describe_udblog_package.go
- describe_udbparam_group.go
- describe_udbtype.go
- doc.go
- edit_udbbackup_blacklist.go
- fetch_udbinstance_earliest_recover_time.go
- modify_udbinstance_name.go
- modify_udbinstance_password.go
- promote_udbinstance_to_ha.go
- promote_udbslave.go
- resize_udbinstance.go
- restart_udbinstance.go
- start_udbinstance.go
- stop_udbinstance.go
- switch_udbinstance_to_ha.go
- types_log_package_data_set.go
- types_udbbackup_set.go
- types_udbinstance_binlog_set.go
- types_udbinstance_price_set.go
- types_udbinstance_set.go
- types_udbparam_group_set.go
- types_udbparam_member_set.go
- types_udbslave_instance_set.go
- types_udbtype_set.go
- update_udbinstance_backup_strategy.go
- update_udbinstance_slave_backup_switch.go
- update_udbparam_group.go
- upload_udbparam_group.go