umem

package
v0.21.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2021 License: Apache-2.0 Imports: 4 Imported by: 5

Documentation

Overview

Package umem include resources of ucloud umem product

See also

for detail.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckUDredisSpaceAllowanceRequest added in v0.21.3

type CheckUDredisSpaceAllowanceRequest struct {
	request.CommonBase

	// 创建实例的数量,[1-10]
	Count *string `required:"true"`

	// 资源ID,扩缩容时的必传参数
	GroupId *string `required:"false"`

	// 创建实例的容量大小,,扩容时的分片目标容量大小
	Size *int `required:"true"`
}

CheckUDredisSpaceAllowanceRequest is request schema for CheckUDredisSpaceAllowance action

type CheckUDredisSpaceAllowanceResponse added in v0.21.3

type CheckUDredisSpaceAllowanceResponse struct {
	response.CommonBase

	// 创建实例资源时,表示可创建的数量;扩容资源时,返回1表示可以扩容,0表示可用区资源不足不能扩容
	Count int
}

CheckUDredisSpaceAllowanceResponse is response schema for CheckUDredisSpaceAllowance action

type CheckURedisAllowanceRequest added in v0.21.3

type CheckURedisAllowanceRequest struct {
	request.CommonBase

	// 创建实例的数量,[1-10]
	Count *int `required:"true"`

	// 资源ID,扩容实例资源时的必传参数
	GroupId *string `required:"false"`

	//
	Protocol *string `required:"false"`

	// 是否是跨机房URedis(默认false)
	RegionFlag *bool `required:"false"`

	// 创建实例的容量大小, 单位:GB 目前仅支持1/2/4/8/16/32六种规格;扩缩容时,表示实例的目标资源大小
	Size *int `required:"true"`

	//
	SlaveZone *string `required:"false"`
}

CheckURedisAllowanceRequest is request schema for CheckURedisAllowance action

type CheckURedisAllowanceResponse added in v0.21.3

type CheckURedisAllowanceResponse struct {
	response.CommonBase

	// 创建实例资源时,表示可创建的数量;扩容资源时,返回1表示可以扩容,0表示可用区资源不足不能扩容
	Count int
}

CheckURedisAllowanceResponse is response schema for CheckURedisAllowance action

type CreateUMemBackupRequest added in v0.17.5

type CreateUMemBackupRequest struct {
	request.CommonBase

	// 请求创建备份的名称 (范围[6-63],只能包含英文、数字以及符号-和_)
	BackupName *string `required:"true"`

	// 资源id
	SpaceId *string `required:"true"`
}

CreateUMemBackupRequest is request schema for CreateUMemBackup action

type CreateUMemBackupResponse added in v0.17.5

type CreateUMemBackupResponse struct {
	response.CommonBase

	// 备份Id
	BackupId string
}

CreateUMemBackupResponse is response schema for CreateUMemBackup action

type CreateUMemSpaceRequest

type CreateUMemSpaceRequest struct {
	request.CommonBase

	// Year , Month, Dynamic, Trial 默认: Month
	ChargeType *string `required:"false"`

	// 使用的代金券id
	CouponId *string `required:"false"`

	// 空间名称,长度(6<=size<=63)
	Name *string `required:"true"`

	// 【该字段已废弃,请谨慎使用】
	Password *string `required:"false" deprecated:"true"`

	// 协议:memcache, redis (默认redis).注意:redis无single类型
	Protocol *string `required:"false"`

	// 购买时长 默认: 1
	Quantity *int `required:"false"`

	// 内存大小, 单位:GB, 范围[1~1024]
	Size *int `required:"true"`

	//
	SubnetId *string `required:"false"`

	// 【该字段已废弃,请谨慎使用】
	Tag *string `required:"false" deprecated:"true"`

	// 空间类型:single(无热备),double(热备)(默认: double)
	Type *string `required:"false"`

	//
	VPCId *string `required:"false"`
}

CreateUMemSpaceRequest is request schema for CreateUMemSpace action

type CreateUMemSpaceResponse

type CreateUMemSpaceResponse struct {
	response.CommonBase

	// 创建内存空间ID列表
	SpaceId string
}

CreateUMemSpaceResponse is response schema for CreateUMemSpace action

type CreateUMemcacheGroupRequest

type CreateUMemcacheGroupRequest struct {
	request.CommonBase

	// 计费模式,Year , Month, Dynamic 默认: Month
	ChargeType *string `required:"false"`

	// 配置ID,目前仅支持默认配置id 默认配置id:"9a891891-c245-4b66-bce8-67e59430d67c"
	ConfigId *string `required:"false"`

	// 代金券ID
	CouponId *string `required:"false"`

	// 请求创建组的名称 范围[6-60]
	Name *string `required:"true"`

	//
	Protocol *string `required:"false"`

	// 购买时长,默认为1
	Quantity *int `required:"false"`

	// 每个节点的内存大小,单位GB,默认1GB 目前仅支持1/2/4/8/16/32这几档
	Size *int `required:"false"`

	//
	SubnetId *string `required:"false"`

	// 业务组 默认:Default
	Tag *string `required:"false"`

	//
	VPCId *string `required:"false"`

	// Memcache版本信息,默认为1.4.31
	Version *string `required:"false"`
}

CreateUMemcacheGroupRequest is request schema for CreateUMemcacheGroup action

type CreateUMemcacheGroupResponse

type CreateUMemcacheGroupResponse struct {
	response.CommonBase

	// 创建的组ID
	GroupId string
}

CreateUMemcacheGroupResponse is response schema for CreateUMemcacheGroup action

type CreateURedisBackupRequest added in v0.17.5

type CreateURedisBackupRequest struct {
	request.CommonBase

	// 请求创建组的名称 (范围[6-63],只能包含英文、数字以及符号-和_)
	BackupName *string `required:"true"`

	// 资源id
	GroupId *string `required:"true"`

	// 跨机房URedis,slave所在可用区(必须和Zone在同一Region,且不可相同)
	SlaveZone *string `required:"false"`
}

CreateURedisBackupRequest is request schema for CreateURedisBackup action

type CreateURedisBackupResponse added in v0.17.5

type CreateURedisBackupResponse struct {
	response.CommonBase

	// 备份id
	BackupId string
}

CreateURedisBackupResponse is response schema for CreateURedisBackup action

type CreateURedisGroupRequest

type CreateURedisGroupRequest struct {
	request.CommonBase

	// 是否自动备份,enable或disable,默认disable
	AutoBackup *string `required:"false"`

	// 有此项代表从备份中创建,无代表正常创建
	BackupId *string `required:"false"`

	// 自动备份开始时间,范围[0-23],默认3点
	BackupTime *int `required:"false"`

	// 计费模式,Year , Month, Dynamic 默认: Month
	ChargeType *string `required:"false"`

	// 配置ID,目前支持 3.0版本配置ID:"03f58ca9-b64d-4bdd-abc7-c6b9a46fd801",3.2版本配置ID:"3e45ac48-f8a2-a9q2-261d-l342dab130gf", 4.0版本配置ID:"6c9298a3-9d7f-428c-b1d0-e87ab3b8a1ea",默认版本3.0,从备份创建为必传项
	ConfigId *string `required:"false"`

	// 代金券ID
	CouponId *string `required:"false"`

	// 是否创建使用ipv6 资源, 默认为false, 或者不填, 创建ipv6为true
	EnableIpV6 *bool `required:"false"`

	// 是否开启高可用,enable或disable
	HighAvailability *string `required:"true"`

	// Master Redis Group的ID,创建只读Slave时,必须填写
	MasterGroupId *string `required:"false"`

	// 请求创建组的名称 (范围[6-63],只能包含英文、数字以及符号-和_)
	Name *string `required:"true"`

	// 初始化密码,需要 base64 编码
	Password *string `required:"false"`

	// 购买时长,默认为1
	Quantity *int `required:"false"`

	// 每个节点的内存大小,单位GB,默认1GB,目前仅支持1/2/4/8/16/32,六种
	Size *int `required:"false"`

	// 跨机房URedis,slave所在可用区(必须和Zone在同一Region,且不可相同)
	SlaveZone *string `required:"false"`

	// 子网ID
	SubnetId *string `required:"false"`

	// 业务组名称
	Tag *string `required:"false"`

	// VPC的ID
	VPCId *string `required:"false"`

	// Redis版本信息(详见DescribeURedisVersion返回结果),默认版本3.0
	Version *string `required:"false"`
}

CreateURedisGroupRequest is request schema for CreateURedisGroup action

type CreateURedisGroupResponse

type CreateURedisGroupResponse struct {
	response.CommonBase

	// 创建的组ID
	GroupId string
}

CreateURedisGroupResponse is response schema for CreateURedisGroup action

type DeleteUMemSpaceRequest

type DeleteUMemSpaceRequest struct {
	request.CommonBase

	// UMem内存空间ID
	SpaceId *string `required:"true"`
}

DeleteUMemSpaceRequest is request schema for DeleteUMemSpace action

type DeleteUMemSpaceResponse

type DeleteUMemSpaceResponse struct {
	response.CommonBase
}

DeleteUMemSpaceResponse is response schema for DeleteUMemSpace action

type DeleteUMemcacheGroupRequest

type DeleteUMemcacheGroupRequest struct {
	request.CommonBase

	// 组ID
	GroupId *string `required:"true"`
}

DeleteUMemcacheGroupRequest is request schema for DeleteUMemcacheGroup action

type DeleteUMemcacheGroupResponse

type DeleteUMemcacheGroupResponse struct {
	response.CommonBase
}

DeleteUMemcacheGroupResponse is response schema for DeleteUMemcacheGroup action

type DeleteURedisGroupRequest

type DeleteURedisGroupRequest struct {
	request.CommonBase

	// 组ID
	GroupId *string `required:"true"`
}

DeleteURedisGroupRequest is request schema for DeleteURedisGroup action

type DeleteURedisGroupResponse

type DeleteURedisGroupResponse struct {
	response.CommonBase
}

DeleteURedisGroupResponse is response schema for DeleteURedisGroup action

type DescribeUDRedisProxyInfoRequest added in v0.21.23

type DescribeUDRedisProxyInfoRequest struct {
	request.CommonBase

	// udredis实例id
	SpaceId *string `required:"true"`
}

DescribeUDRedisProxyInfoRequest is request schema for DescribeUDRedisProxyInfo action

type DescribeUDRedisProxyInfoResponse added in v0.21.23

type DescribeUDRedisProxyInfoResponse struct {
	response.CommonBase

	// 代理数据集
	DataSet []UDRedisProxyInfo
}

DescribeUDRedisProxyInfoResponse is response schema for DescribeUDRedisProxyInfo action

type DescribeUDRedisSlowlogRequest added in v0.21.3

type DescribeUDRedisSlowlogRequest struct {
	request.CommonBase

	// 实例id
	InstanceId *string `required:"true"`

	// 分页显示的条目数,默认为10
	Limit *int `required:"false"`
}

DescribeUDRedisSlowlogRequest is request schema for DescribeUDRedisSlowlog action

type DescribeUDRedisSlowlogResponse added in v0.21.3

type DescribeUDRedisSlowlogResponse struct {
	response.CommonBase

	// 条目数据
	DataSet []UDRedisSlowlogSet

	// 总条目数
	TotalCount int
}

DescribeUDRedisSlowlogResponse is response schema for DescribeUDRedisSlowlog action

type DescribeUMemBackupRequest added in v0.17.5

type DescribeUMemBackupRequest struct {
	request.CommonBase

	// 分页显示的条目数, 默认值为10
	Limit *int `required:"false"`

	// 分页显示的起始偏移, 默认值为0
	Offset *int `required:"false"`

	// 资源id
	SpaceId *string `required:"true"`
}

DescribeUMemBackupRequest is request schema for DescribeUMemBackup action

type DescribeUMemBackupResponse added in v0.17.5

type DescribeUMemBackupResponse struct {
	response.CommonBase

	// 分布式redis 备份,数组的每个元素为每个分片的备份
	DataSet []UMemBackupSet
}

DescribeUMemBackupResponse is response schema for DescribeUMemBackup action

type DescribeUMemBackupURLRequest added in v0.17.5

type DescribeUMemBackupURLRequest struct {
	request.CommonBase

	// 备份Id
	BackupId *string `required:"true"`

	// 分片id
	BlockId *string `required:"false"`

	// 资源id
	SpaceId *string `required:"true"`
}

DescribeUMemBackupURLRequest is request schema for DescribeUMemBackupURL action

type DescribeUMemBackupURLResponse added in v0.17.5

type DescribeUMemBackupURLResponse struct {
	response.CommonBase

	// 备份url,每个分片一个下载URL
	BackupURL []string
}

DescribeUMemBackupURLResponse is response schema for DescribeUMemBackupURL action

type DescribeUMemBlockInfoRequest added in v0.17.5

type DescribeUMemBlockInfoRequest struct {
	request.CommonBase

	// 分页显示的条目数, 默认值为10
	Limit *int `required:"true"`

	// 分页显示的起始偏移, 默认值为0
	Offset *int `required:"true"`

	// UMem内存资源ID
	SpaceId *string `required:"true"`
}

DescribeUMemBlockInfoRequest is request schema for DescribeUMemBlockInfo action

type DescribeUMemBlockInfoResponse added in v0.17.5

type DescribeUMemBlockInfoResponse struct {
	response.CommonBase

	// 分布式redis 分片信息
	DataSet []UMemBlockInfo
}

DescribeUMemBlockInfoResponse is response schema for DescribeUMemBlockInfo action

type DescribeUMemPriceRequest

type DescribeUMemPriceRequest struct {
	request.CommonBase

	// Year, Month, Dynamic 如果不指定,则一次性获取三种计费
	ChargeType *string `required:"false"`

	// 购买UMem的时长,默认值为1
	Quantity *int `required:"false"`

	// 【该字段已废弃,请谨慎使用】
	RegionFlag *bool `required:"false" deprecated:"true"`

	// 购买umem大小,单位:GB,范围[1~1024]
	Size *int `required:"true"`

	// 空间类型:single(无热备),double(热备)(默认: double)
	Type *string `required:"true"`
}

DescribeUMemPriceRequest is request schema for DescribeUMemPrice action

type DescribeUMemPriceResponse

type DescribeUMemPriceResponse struct {
	response.CommonBase

	// 价格 参数见 UMemPriceSet
	DataSet []UMemPriceSet
}

DescribeUMemPriceResponse is response schema for DescribeUMemPrice action

type DescribeUMemRequest added in v0.21.7

type DescribeUMemRequest struct {
	request.CommonBase

	// 分页显示的条目数, 默认值为20
	Limit *int `required:"false"`

	// 分页显示的起始偏移, 默认值为0
	Offset *int `required:"false"`

	// 协议类型: memcache, redis
	Protocol *string `required:"true"`

	// 资源ID
	ResourceId *string `required:"false"`

	//
	ResourceType *string `required:"false"`
}

DescribeUMemRequest is request schema for DescribeUMem action

type DescribeUMemResponse added in v0.21.7

type DescribeUMemResponse struct {
	response.CommonBase

	// UMem实例列表, 详细参见UMemDataSet
	DataSet []UMemDataSet

	// 根据过滤条件得到的总数
	TotalCount int
}

DescribeUMemResponse is response schema for DescribeUMem action

type DescribeUMemSpaceRequest

type DescribeUMemSpaceRequest struct {
	request.CommonBase

	// 返回数据长度, 默认为20
	Limit *int `required:"false"`

	// 数据偏移量, 默认为0
	Offset *int `required:"false"`

	// 协议类型: memcache, redis
	Protocol *string `required:"false"`

	// 内存空间ID (无ID,则获取所有)
	SpaceId *string `required:"false"`
}

DescribeUMemSpaceRequest is request schema for DescribeUMemSpace action

type DescribeUMemSpaceResponse

type DescribeUMemSpaceResponse struct {
	response.CommonBase

	// JSON 格式的UMem内存空间实例列表, 详细参见 UMemSpaceSet
	DataSet []UMemSpaceSet

	// 根据过滤条件得到的总数
	TotalCount int
}

DescribeUMemSpaceResponse is response schema for DescribeUMemSpace action

type DescribeUMemUpgradePriceRequest

type DescribeUMemUpgradePriceRequest struct {
	request.CommonBase

	// 购买UMem大小,单位:GB
	Size *int `required:"true"`

	// 需要升级的空间的SpaceId
	SpaceId *string `required:"true"`

	// 空间类型:single(无热备),double(热备)(默认: double)
	Type *string `required:"true"`
}

DescribeUMemUpgradePriceRequest is request schema for DescribeUMemUpgradePrice action

type DescribeUMemUpgradePriceResponse

type DescribeUMemUpgradePriceResponse struct {
	response.CommonBase

	// 【该字段已废弃,请谨慎使用】
	DataSet PriceDataSet `deprecated:"true"`

	// 原价
	OriginalPrice int

	// 价格
	Price int
}

DescribeUMemUpgradePriceResponse is response schema for DescribeUMemUpgradePrice action

type DescribeUMemcacheGroupRequest

type DescribeUMemcacheGroupRequest struct {
	request.CommonBase

	// 组的ID,如果指定则获取描述,否则为列表操 作,需指定Offset/Limit
	GroupId *string `required:"false"`

	// 分页显示的条目数, 默认值为20
	Limit *int `required:"false"`

	// 分页显示的起始偏移, 默认值为0
	Offset *int `required:"false"`
}

DescribeUMemcacheGroupRequest is request schema for DescribeUMemcacheGroup action

type DescribeUMemcacheGroupResponse

type DescribeUMemcacheGroupResponse struct {
	response.CommonBase

	// 组列表,参见 UMemcacheGroupSet
	DataSet []UMemcacheGroupSet

	// 组的总的节点个数
	TotalCount int
}

DescribeUMemcacheGroupResponse is response schema for DescribeUMemcacheGroup action

type DescribeUMemcachePriceRequest

type DescribeUMemcachePriceRequest struct {
	request.CommonBase

	// 计费模式,Year, Month, Dynamic,默认: Dynamic 默认: 获取所有计费模式的价格
	ChargeType *string `required:"false"`

	// 购买umemcache的时长,默认值为1
	Quantity *int `required:"false"`

	// 容量大小,单位:GB 取值范围[1-32]
	Size *int `required:"true"`

	// 空间类型:single(无热备),double(热备)(默认: double)
	Type *string `required:"false"`
}

DescribeUMemcachePriceRequest is request schema for DescribeUMemcachePrice action

type DescribeUMemcachePriceResponse

type DescribeUMemcachePriceResponse struct {
	response.CommonBase

	// 价格列表, 参见 UMemcachePriceSet
	DataSet []UMemcachePriceSet
}

DescribeUMemcachePriceResponse is response schema for DescribeUMemcachePrice action

type DescribeUMemcacheUpgradePriceRequest

type DescribeUMemcacheUpgradePriceRequest struct {
	request.CommonBase

	// 需要升级的空间的GroupId,请参考DescribeUMemcacheGroup接口
	GroupId *string `required:"true"`

	// 购买umemcache大小,单位:GB
	Size *int `required:"true"`
}

DescribeUMemcacheUpgradePriceRequest is request schema for DescribeUMemcacheUpgradePrice action

type DescribeUMemcacheUpgradePriceResponse

type DescribeUMemcacheUpgradePriceResponse struct {
	response.CommonBase

	// 价格,单位:元
	Price float64
}

DescribeUMemcacheUpgradePriceResponse is response schema for DescribeUMemcacheUpgradePrice action

type DescribeURedisBackupRequest

type DescribeURedisBackupRequest struct {
	request.CommonBase

	// 组的ID
	GroupId *string `required:"false"`

	// 分页显示的条目数, 默认值为10
	Limit *int `required:"false"`

	// 分页显示的起始偏移, 默认值为0
	Offset *int `required:"false"`
}

DescribeURedisBackupRequest is request schema for DescribeURedisBackup action

type DescribeURedisBackupResponse

type DescribeURedisBackupResponse struct {
	response.CommonBase

	// 备份列表 参见 URedisBackupSet
	DataSet []URedisBackupSet

	// 用户名下总的备份个数
	TotalCount int
}

DescribeURedisBackupResponse is response schema for DescribeURedisBackup action

type DescribeURedisBackupURLRequest

type DescribeURedisBackupURLRequest struct {
	request.CommonBase

	// 备份ID
	BackupId *string `required:"true"`

	// 实例名称
	GroupId *string `required:"false"`

	// 是否是跨机房URedis(默认false)
	RegionFlag *bool `required:"false"`

	// 跨机房URedis,slave所在可用区(必须和Zone在同一Region,且不可相同)
	SlaveZone *string `required:"false"`
}

DescribeURedisBackupURLRequest is request schema for DescribeURedisBackupURL action

type DescribeURedisBackupURLResponse

type DescribeURedisBackupURLResponse struct {
	response.CommonBase

	// 备份文件公网的地址
	BackupPath string

	// 备份文件公网的地址
	BackupURL string
}

DescribeURedisBackupURLResponse is response schema for DescribeURedisBackupURL action

type DescribeURedisConfigRequest added in v0.17.5

type DescribeURedisConfigRequest struct {
	request.CommonBase

	// 配置文件ID
	ConfigId *string `required:"false"`

	// 页显示的条目数, 默认值为10
	Limit *int `required:"false"`

	// 页显示的起始偏移, 默认值为0
	Offset *int `required:"false"`

	// 是否是跨机房URedis(默认false)
	RegionFlag *bool `required:"true"`

	// Redis版本号
	Version *string `required:"false"`
}

DescribeURedisConfigRequest is request schema for DescribeURedisConfig action

type DescribeURedisConfigResponse added in v0.17.5

type DescribeURedisConfigResponse struct {
	response.CommonBase

	// 配置文件列表 参见 URedisConfigSet
	DataSet []URedisConfigSet

	// 根据过滤条件得到的总数
	TotalCount int
}

DescribeURedisConfigResponse is response schema for DescribeURedisConfig action

type DescribeURedisGroupRequest

type DescribeURedisGroupRequest struct {
	request.CommonBase

	// 组的ID,如果指定则获取描述,否则为列表操 作,需指定Offset/Limit
	GroupId *string `required:"false"`

	// 分页显示的条目数, 默认值为20
	Limit *int `required:"false"`

	// 分页显示的起始偏移, 默认值为0
	Offset *int `required:"false"`
}

DescribeURedisGroupRequest is request schema for DescribeURedisGroup action

type DescribeURedisGroupResponse

type DescribeURedisGroupResponse struct {
	response.CommonBase

	// 组列表 参见 URedisGroupSet
	DataSet []URedisGroupSet

	// 组的总的节点个数
	TotalCount int
}

DescribeURedisGroupResponse is response schema for DescribeURedisGroup action

type DescribeURedisPriceRequest

type DescribeURedisPriceRequest struct {
	request.CommonBase

	// 计费模式,Year, Month, Dynamic;如果不指定,则一次性获取三种计费
	ChargeType *string `required:"false"`

	// 产品类型:MS_Redis(标准主备版),S_Redis(从库),默认为MS_Redis
	ProductType *string `required:"false"`

	// 计费模式为Dynamic时,购买的时长, 默认为1
	Quantity *int `required:"false"`

	// 是否是跨机房URedis(默认false)
	RegionFlag *bool `required:"false"`

	// 量大小,单位:GB  取值范围[1-32]
	Size *int `required:"true"`

	// 【该字段已废弃,请谨慎使用】
	Type *string `required:"false" deprecated:"true"`
}

DescribeURedisPriceRequest is request schema for DescribeURedisPrice action

type DescribeURedisPriceResponse

type DescribeURedisPriceResponse struct {
	response.CommonBase

	// 价格 参数见 UMemPriceSet
	DataSet []URedisPriceSet
}

DescribeURedisPriceResponse is response schema for DescribeURedisPrice action

type DescribeURedisSlowlogRequest added in v0.17.5

type DescribeURedisSlowlogRequest struct {
	request.CommonBase

	// 资源ID
	GroupId *string `required:"true"`

	// 分页显示的条目数,默认为10
	Limit *int `required:"false"`
}

DescribeURedisSlowlogRequest is request schema for DescribeURedisSlowlog action

type DescribeURedisSlowlogResponse added in v0.17.5

type DescribeURedisSlowlogResponse struct {
	response.CommonBase

	// 条目数据
	DataSet []URedisSlowlogSet

	// 总条目数
	TotalCount int
}

DescribeURedisSlowlogResponse is response schema for DescribeURedisSlowlog action

type DescribeURedisUpgradePriceRequest

type DescribeURedisUpgradePriceRequest struct {
	request.CommonBase

	// 要升级的空间的GroupId,请参考DescribeURedisGroup接口
	GroupId *string `required:"true"`

	// 购买uredis大小,单位:GB,范围是[1-32]
	Size *int `required:"true"`

	// 【该字段已废弃,请谨慎使用】
	Type *string `required:"false" deprecated:"true"`
}

DescribeURedisUpgradePriceRequest is request schema for DescribeURedisUpgradePrice action

type DescribeURedisUpgradePriceResponse

type DescribeURedisUpgradePriceResponse struct {
	response.CommonBase

	// 扩容差价,单位: 元,保留小数点后两位有效数字
	Price float64
}

DescribeURedisUpgradePriceResponse is response schema for DescribeURedisUpgradePrice action

type DescribeURedisVersionRequest added in v0.17.5

type DescribeURedisVersionRequest struct {
	request.CommonBase
}

DescribeURedisVersionRequest is request schema for DescribeURedisVersion action

type DescribeURedisVersionResponse added in v0.17.5

type DescribeURedisVersionResponse struct {
	response.CommonBase

	// 组列表 参见 URedisVersionSet
	DataSet []URedisVersionSet

	// 总版本个数
	TotalCount int
}

DescribeURedisVersionResponse is response schema for DescribeURedisVersion action

type FlushallURedisGroupRequest added in v0.21.3

type FlushallURedisGroupRequest struct {
	request.CommonBase

	// 清空的db,FlushType为FlushDb,此项为必传项
	DbNum *int `required:"false"`

	// FlushDb或FlushAll
	FlushType *string `required:"true"`

	// 组的ID
	GroupId *string `required:"true"`

	// OrganizationId
	OrganizationId *int `required:"false"`

	// 跨机房URedis,slave所在可用区(必须和Zone在同一Region,且不可相同)
	SlaveZone *string `required:"false"`

	// company_id
	TopOrganizationId *int `required:"false"`
}

FlushallURedisGroupRequest is request schema for FlushallURedisGroup action

type FlushallURedisGroupResponse added in v0.21.3

type FlushallURedisGroupResponse struct {
	response.CommonBase
}

FlushallURedisGroupResponse is response schema for FlushallURedisGroup action

type GetUMemSpaceStateRequest

type GetUMemSpaceStateRequest struct {
	request.CommonBase

	// 内存空间ID
	SpaceId *string `required:"true"`
}

GetUMemSpaceStateRequest is request schema for GetUMemSpaceState action

type GetUMemSpaceStateResponse

type GetUMemSpaceStateResponse struct {
	response.CommonBase

	// Starting:创建中 Running:运行中 Fail:失败
	State string
}

GetUMemSpaceStateResponse is response schema for GetUMemSpaceState action

type ISolationURedisGroupRequest added in v0.21.7

type ISolationURedisGroupRequest struct {
	request.CommonBase

	// 组的ID
	GroupId *string `required:"true"`

	// 跨机房URedis,slave所在可用区(必须和Zone在同一Region,且不可相同)
	SlaveZone *string `required:"false"`

	// UNBind(关闭)或Bind(打开)
	TransformType *string `required:"true"`
}

ISolationURedisGroupRequest is request schema for ISolationURedisGroup action

type ISolationURedisGroupResponse added in v0.21.7

type ISolationURedisGroupResponse struct {
	response.CommonBase
}

ISolationURedisGroupResponse is response schema for ISolationURedisGroup action

type ModifyUMemSpaceNameRequest

type ModifyUMemSpaceNameRequest struct {
	request.CommonBase

	// 新的名称,长度(6<=size<=63)
	Name *string `required:"true"`

	// UMem内存空间ID
	SpaceId *string `required:"true"`
}

ModifyUMemSpaceNameRequest is request schema for ModifyUMemSpaceName action

type ModifyUMemSpaceNameResponse

type ModifyUMemSpaceNameResponse struct {
	response.CommonBase
}

ModifyUMemSpaceNameResponse is response schema for ModifyUMemSpaceName action

type ModifyURedisGroupNameRequest

type ModifyURedisGroupNameRequest struct {
	request.CommonBase

	// 组的ID
	GroupId *string `required:"true"`

	// Redis组名称 (范围[6-63],只能包含英文、数字以及符号-和_)
	Name *string `required:"true"`
}

ModifyURedisGroupNameRequest is request schema for ModifyURedisGroupName action

type ModifyURedisGroupNameResponse

type ModifyURedisGroupNameResponse struct {
	response.CommonBase
}

ModifyURedisGroupNameResponse is response schema for ModifyURedisGroupName action

type ModifyURedisGroupPasswordRequest added in v0.17.5

type ModifyURedisGroupPasswordRequest struct {
	request.CommonBase

	// 组的ID
	GroupId *string `required:"true"`

	// 新密码字符串,要求长度为6~36个字符,且只能包含英文、数字以及-和下划线;并且需要base64加密;如要取消密码,此值为空字符串,
	Password *string `required:"true"`

	//
	ResourceType *string `required:"false"`
}

ModifyURedisGroupPasswordRequest is request schema for ModifyURedisGroupPassword action

type ModifyURedisGroupPasswordResponse added in v0.17.5

type ModifyURedisGroupPasswordResponse struct {
	response.CommonBase
}

ModifyURedisGroupPasswordResponse is response schema for ModifyURedisGroupPassword action

type PriceDataSet added in v0.17.5

type PriceDataSet struct {

	// 用户折后价
	CustomPrice int

	// 资源有效期
	PurchaseValue int

	// 升降级资源的价格
	TotalPrice int
}

PriceDataSet - 升降级价格

type RemoveUDRedisDataRequest added in v0.21.3

type RemoveUDRedisDataRequest struct {
	request.CommonBase

	// 实例id
	SpaceId *string `required:"true"`
}

RemoveUDRedisDataRequest is request schema for RemoveUDRedisData action

type RemoveUDRedisDataResponse added in v0.21.3

type RemoveUDRedisDataResponse struct {
	response.CommonBase
}

RemoveUDRedisDataResponse is response schema for RemoveUDRedisData action

type ResizeUDredisSpaceRequest

type ResizeUDredisSpaceRequest struct {
	request.CommonBase

	//
	CouponId *string `required:"false"`

	//
	Size *int `required:"true"`

	//
	SpaceId *string `required:"true"`
}

ResizeUDredisSpaceRequest is request schema for ResizeUDredisSpace action

type ResizeUDredisSpaceResponse

type ResizeUDredisSpaceResponse struct {
	response.CommonBase
}

ResizeUDredisSpaceResponse is response schema for ResizeUDredisSpace action

type ResizeUMemSpaceRequest

type ResizeUMemSpaceRequest struct {
	request.CommonBase

	// 【该字段已废弃,请谨慎使用】
	ChargeType *string `required:"false" deprecated:"true"`

	// 使用的代金券Id
	CouponId *string `required:"false"`

	// 内存大小, 单位:GB (需要大于原size,<= 1024)
	Size *int `required:"true"`

	// UMem 内存空间Id
	SpaceId *string `required:"true"`

	// 【该字段已废弃,请谨慎使用】
	Type *string `required:"false" deprecated:"true"`
}

ResizeUMemSpaceRequest is request schema for ResizeUMemSpace action

type ResizeUMemSpaceResponse

type ResizeUMemSpaceResponse struct {
	response.CommonBase
}

ResizeUMemSpaceResponse is response schema for ResizeUMemSpace action

type ResizeURedisGroupRequest

type ResizeURedisGroupRequest struct {
	request.CommonBase

	//
	ChargeType *string `required:"false"`

	// 代金券ID 请参考DescribeCoupon接口
	CouponId *int `required:"false"`

	// 组ID
	GroupId *string `required:"true"`

	// 内存大小, 单位:GB (需要大于原size,且小于等于32) 目前仅支持1/2/4/8/16/32 G 六种容量规格
	Size *int `required:"true"`

	// 空间类型:single(无热备),double(热备)(默认: double)
	Type *string `required:"false"`
}

ResizeURedisGroupRequest is request schema for ResizeURedisGroup action

type ResizeURedisGroupResponse

type ResizeURedisGroupResponse struct {
	response.CommonBase
}

ResizeURedisGroupResponse is response schema for ResizeURedisGroup action

type RestartUMemcacheGroupRequest

type RestartUMemcacheGroupRequest struct {
	request.CommonBase

	// 组的ID
	GroupId *string `required:"true"`
}

RestartUMemcacheGroupRequest is request schema for RestartUMemcacheGroup action

type RestartUMemcacheGroupResponse

type RestartUMemcacheGroupResponse struct {
	response.CommonBase
}

RestartUMemcacheGroupResponse is response schema for RestartUMemcacheGroup action

type RestartURedisGroupRequest added in v0.21.3

type RestartURedisGroupRequest struct {
	request.CommonBase

	// 资源ID
	GroupId *string `required:"true"`
}

RestartURedisGroupRequest is request schema for RestartURedisGroup action

type RestartURedisGroupResponse added in v0.21.3

type RestartURedisGroupResponse struct {
	response.CommonBase
}

RestartURedisGroupResponse is response schema for RestartURedisGroup action

type ShutdownURedisGroupRequest added in v0.21.3

type ShutdownURedisGroupRequest struct {
	request.CommonBase

	// 资源ID
	GroupId *string `required:"true"`
}

ShutdownURedisGroupRequest is request schema for ShutdownURedisGroup action

type ShutdownURedisGroupResponse added in v0.21.3

type ShutdownURedisGroupResponse struct {
	response.CommonBase
}

ShutdownURedisGroupResponse is response schema for ShutdownURedisGroup action

type StartURedisGroupRequest added in v0.21.3

type StartURedisGroupRequest struct {
	request.CommonBase

	// 资源ID
	GroupId *string `required:"true"`
}

StartURedisGroupRequest is request schema for StartURedisGroup action

type StartURedisGroupResponse added in v0.21.3

type StartURedisGroupResponse struct {
	response.CommonBase
}

StartURedisGroupResponse is response schema for StartURedisGroup action

type UDRedisProxyInfo added in v0.21.23

type UDRedisProxyInfo struct {

	// 代理id
	ProxyId string

	// 代理资源id
	ResourceId string

	// 代理状态
	State string

	// 代理ip
	Vip string
}

UDRedisProxyInfo - udredis代理信息

type UDRedisSlowlogSet added in v0.21.3

type UDRedisSlowlogSet struct {

	// 分片id
	BlockId string

	// 查询命令
	Command string

	// 查询消耗的时间
	SpendTime int

	// 查询发生的时间
	StartTime int
}

UDRedisSlowlogSet - DescribeUDRedisSlowlog

type UMemBackupSet added in v0.17.5

type UMemBackupSet struct {

	// 空间的备份ID
	BackupId string

	// 备份名称
	BackupName string

	// 备份类型: auto(自动) ,manual(手动)
	BackupType string

	// 本次备份,分片的数量
	BlockCount int

	// 创建时间
	CreateTime int

	// Starting:备份中 Done:完成
	State string
}

UMemBackupSet - DescribeUMemBackup

type UMemBlockInfo added in v0.17.5

type UMemBlockInfo struct {

	// 分片id
	BlockId string

	// 分片端口
	BlockPort int

	// 容量单位GB
	BlockSize int

	// 分片维护的键槽起始值
	BlockSlotBegin int

	// 分片维护的键槽结束值
	BlockSlotEnd int

	// 实例状态 Starting // 创建中 Creating // 初始化中 CreateFail // 创建失败 Fail // 创建失败 Deleting // 删除中 DeleteFail // 删除失败 Running // 运行 Resizing // 容量调整中 ResizeFail // 容量调整失败 Configing // 配置中 ConfigFail // 配置失败Restarting // 重启中 SetPasswordFail //设置密码失败
	BlockState string

	// 使用量单位MB
	BlockUsedSize int

	// 分片ip
	BlockVip string
}

UMemBlockInfo - 分布式redis 分片信息

type UMemClient

type UMemClient struct {
	*ucloud.Client
}

UMemClient is the client of UMem

func NewClient

func NewClient(config *ucloud.Config, credential *auth.Credential) *UMemClient

NewClient will return a instance of UMemClient

func (*UMemClient) CheckUDredisSpaceAllowance added in v0.21.3

API: CheckUDredisSpaceAllowance

检查高性能UMem剩余资源,以及分片扩容前的资源预检查

func (*UMemClient) CheckURedisAllowance added in v0.21.3

API: CheckURedisAllowance

检查主备Redis的资源是否足够创建新实例,以及主备Redis的扩容资源预检查

func (*UMemClient) CreateUMemBackup added in v0.17.5

func (c *UMemClient) CreateUMemBackup(req *CreateUMemBackupRequest) (*CreateUMemBackupResponse, error)

API: CreateUMemBackup

创建分布式redis备份

func (*UMemClient) CreateUMemSpace

func (c *UMemClient) CreateUMemSpace(req *CreateUMemSpaceRequest) (*CreateUMemSpaceResponse, error)

API: CreateUMemSpace

创建UMem内存空间

func (*UMemClient) CreateUMemcacheGroup

API: CreateUMemcacheGroup

创建单机Memcache

func (*UMemClient) CreateURedisBackup added in v0.17.5

func (c *UMemClient) CreateURedisBackup(req *CreateURedisBackupRequest) (*CreateURedisBackupResponse, error)

API: CreateURedisBackup

创建主备Redis备份

func (*UMemClient) CreateURedisGroup

func (c *UMemClient) CreateURedisGroup(req *CreateURedisGroupRequest) (*CreateURedisGroupResponse, error)

API: CreateURedisGroup

创建主备redis

func (*UMemClient) DeleteUMemSpace

func (c *UMemClient) DeleteUMemSpace(req *DeleteUMemSpaceRequest) (*DeleteUMemSpaceResponse, error)

API: DeleteUMemSpace

删除UMem内存空间

func (*UMemClient) DeleteUMemcacheGroup

API: DeleteUMemcacheGroup

删除单机Memcache

func (*UMemClient) DeleteURedisGroup

func (c *UMemClient) DeleteURedisGroup(req *DeleteURedisGroupRequest) (*DeleteURedisGroupResponse, error)

API: DeleteURedisGroup

删除主备redis

func (*UMemClient) DescribeUDRedisProxyInfo added in v0.21.23

API: DescribeUDRedisProxyInfo

拉取udredis所有的代理信息

func (*UMemClient) DescribeUDRedisSlowlog added in v0.21.3

API: DescribeUDRedisSlowlog

查询UDRedis慢日志

func (*UMemClient) DescribeUMem added in v0.21.7

func (c *UMemClient) DescribeUMem(req *DescribeUMemRequest) (*DescribeUMemResponse, error)

API: DescribeUMem

获取UMem列表

func (*UMemClient) DescribeUMemBackup added in v0.17.5

func (c *UMemClient) DescribeUMemBackup(req *DescribeUMemBackupRequest) (*DescribeUMemBackupResponse, error)

API: DescribeUMemBackup

查询分布式redis备份

func (*UMemClient) DescribeUMemBackupURL added in v0.17.5

API: DescribeUMemBackupURL

获取分布式redis 备份下载链接

func (*UMemClient) DescribeUMemBlockInfo added in v0.17.5

API: DescribeUMemBlockInfo

拉取UDRedis分片信息

func (*UMemClient) DescribeUMemPrice

func (c *UMemClient) DescribeUMemPrice(req *DescribeUMemPriceRequest) (*DescribeUMemPriceResponse, error)

API: DescribeUMemPrice

获取UMem实例价格信息

func (*UMemClient) DescribeUMemSpace

func (c *UMemClient) DescribeUMemSpace(req *DescribeUMemSpaceRequest) (*DescribeUMemSpaceResponse, error)

API: DescribeUMemSpace

获取UMem内存空间列表

func (*UMemClient) DescribeUMemUpgradePrice

API: DescribeUMemUpgradePrice

获取UMem升级价格信息

func (*UMemClient) DescribeUMemcacheGroup

API: DescribeUMemcacheGroup

显示Memcache

func (*UMemClient) DescribeUMemcachePrice

API: DescribeUMemcachePrice

获取umemcache组价格信息

func (*UMemClient) DescribeUMemcacheUpgradePrice

API: DescribeUMemcacheUpgradePrice

获取umemcache升级价格信息

func (*UMemClient) DescribeURedisBackup

API: DescribeURedisBackup

查询主备redis备份

func (*UMemClient) DescribeURedisBackupURL

API: DescribeURedisBackupURL

获取主备Redis备份下载链接

func (*UMemClient) DescribeURedisConfig added in v0.17.5

API: DescribeURedisConfig

查询主备Redis所有配置文件

func (*UMemClient) DescribeURedisGroup

API: DescribeURedisGroup

查询主备Redis

func (*UMemClient) DescribeURedisPrice

API: DescribeURedisPrice

取uredis价格信息

func (*UMemClient) DescribeURedisSlowlog added in v0.17.5

API: DescribeURedisSlowlog

查询URedis慢日志

func (*UMemClient) DescribeURedisUpgradePrice

API: DescribeURedisUpgradePrice

获取uredis升级价格信息

func (*UMemClient) DescribeURedisVersion added in v0.17.5

API: DescribeURedisVersion

获取主Redis可用版本

func (*UMemClient) FlushallURedisGroup added in v0.21.3

API: FlushallURedisGroup

清除主备redis数据

func (*UMemClient) GetUMemSpaceState

func (c *UMemClient) GetUMemSpaceState(req *GetUMemSpaceStateRequest) (*GetUMemSpaceStateResponse, error)

API: GetUMemSpaceState

获取UMem内存空间列表

func (*UMemClient) ISolationURedisGroup added in v0.21.7

API: ISolationURedisGroup

打开/关闭URedis

func (*UMemClient) ModifyUMemSpaceName

API: ModifyUMemSpaceName

修改UMem内存空间名称

func (*UMemClient) ModifyURedisGroupName

API: ModifyURedisGroupName

修改主备redis名称

func (*UMemClient) ModifyURedisGroupPassword added in v0.17.5

API: ModifyURedisGroupPassword

修改主备密码/重置密码

func (*UMemClient) NewCheckUDredisSpaceAllowanceRequest added in v0.21.3

func (c *UMemClient) NewCheckUDredisSpaceAllowanceRequest() *CheckUDredisSpaceAllowanceRequest

NewCheckUDredisSpaceAllowanceRequest will create request of CheckUDredisSpaceAllowance action.

func (*UMemClient) NewCheckURedisAllowanceRequest added in v0.21.3

func (c *UMemClient) NewCheckURedisAllowanceRequest() *CheckURedisAllowanceRequest

NewCheckURedisAllowanceRequest will create request of CheckURedisAllowance action.

func (*UMemClient) NewCreateUMemBackupRequest added in v0.17.5

func (c *UMemClient) NewCreateUMemBackupRequest() *CreateUMemBackupRequest

NewCreateUMemBackupRequest will create request of CreateUMemBackup action.

func (*UMemClient) NewCreateUMemSpaceRequest

func (c *UMemClient) NewCreateUMemSpaceRequest() *CreateUMemSpaceRequest

NewCreateUMemSpaceRequest will create request of CreateUMemSpace action.

func (*UMemClient) NewCreateUMemcacheGroupRequest

func (c *UMemClient) NewCreateUMemcacheGroupRequest() *CreateUMemcacheGroupRequest

NewCreateUMemcacheGroupRequest will create request of CreateUMemcacheGroup action.

func (*UMemClient) NewCreateURedisBackupRequest added in v0.17.5

func (c *UMemClient) NewCreateURedisBackupRequest() *CreateURedisBackupRequest

NewCreateURedisBackupRequest will create request of CreateURedisBackup action.

func (*UMemClient) NewCreateURedisGroupRequest

func (c *UMemClient) NewCreateURedisGroupRequest() *CreateURedisGroupRequest

NewCreateURedisGroupRequest will create request of CreateURedisGroup action.

func (*UMemClient) NewDeleteUMemSpaceRequest

func (c *UMemClient) NewDeleteUMemSpaceRequest() *DeleteUMemSpaceRequest

NewDeleteUMemSpaceRequest will create request of DeleteUMemSpace action.

func (*UMemClient) NewDeleteUMemcacheGroupRequest

func (c *UMemClient) NewDeleteUMemcacheGroupRequest() *DeleteUMemcacheGroupRequest

NewDeleteUMemcacheGroupRequest will create request of DeleteUMemcacheGroup action.

func (*UMemClient) NewDeleteURedisGroupRequest

func (c *UMemClient) NewDeleteURedisGroupRequest() *DeleteURedisGroupRequest

NewDeleteURedisGroupRequest will create request of DeleteURedisGroup action.

func (*UMemClient) NewDescribeUDRedisProxyInfoRequest added in v0.21.23

func (c *UMemClient) NewDescribeUDRedisProxyInfoRequest() *DescribeUDRedisProxyInfoRequest

NewDescribeUDRedisProxyInfoRequest will create request of DescribeUDRedisProxyInfo action.

func (*UMemClient) NewDescribeUDRedisSlowlogRequest added in v0.21.3

func (c *UMemClient) NewDescribeUDRedisSlowlogRequest() *DescribeUDRedisSlowlogRequest

NewDescribeUDRedisSlowlogRequest will create request of DescribeUDRedisSlowlog action.

func (*UMemClient) NewDescribeUMemBackupRequest added in v0.17.5

func (c *UMemClient) NewDescribeUMemBackupRequest() *DescribeUMemBackupRequest

NewDescribeUMemBackupRequest will create request of DescribeUMemBackup action.

func (*UMemClient) NewDescribeUMemBackupURLRequest added in v0.17.5

func (c *UMemClient) NewDescribeUMemBackupURLRequest() *DescribeUMemBackupURLRequest

NewDescribeUMemBackupURLRequest will create request of DescribeUMemBackupURL action.

func (*UMemClient) NewDescribeUMemBlockInfoRequest added in v0.17.5

func (c *UMemClient) NewDescribeUMemBlockInfoRequest() *DescribeUMemBlockInfoRequest

NewDescribeUMemBlockInfoRequest will create request of DescribeUMemBlockInfo action.

func (*UMemClient) NewDescribeUMemPriceRequest

func (c *UMemClient) NewDescribeUMemPriceRequest() *DescribeUMemPriceRequest

NewDescribeUMemPriceRequest will create request of DescribeUMemPrice action.

func (*UMemClient) NewDescribeUMemRequest added in v0.21.7

func (c *UMemClient) NewDescribeUMemRequest() *DescribeUMemRequest

NewDescribeUMemRequest will create request of DescribeUMem action.

func (*UMemClient) NewDescribeUMemSpaceRequest

func (c *UMemClient) NewDescribeUMemSpaceRequest() *DescribeUMemSpaceRequest

NewDescribeUMemSpaceRequest will create request of DescribeUMemSpace action.

func (*UMemClient) NewDescribeUMemUpgradePriceRequest

func (c *UMemClient) NewDescribeUMemUpgradePriceRequest() *DescribeUMemUpgradePriceRequest

NewDescribeUMemUpgradePriceRequest will create request of DescribeUMemUpgradePrice action.

func (*UMemClient) NewDescribeUMemcacheGroupRequest

func (c *UMemClient) NewDescribeUMemcacheGroupRequest() *DescribeUMemcacheGroupRequest

NewDescribeUMemcacheGroupRequest will create request of DescribeUMemcacheGroup action.

func (*UMemClient) NewDescribeUMemcachePriceRequest

func (c *UMemClient) NewDescribeUMemcachePriceRequest() *DescribeUMemcachePriceRequest

NewDescribeUMemcachePriceRequest will create request of DescribeUMemcachePrice action.

func (*UMemClient) NewDescribeUMemcacheUpgradePriceRequest

func (c *UMemClient) NewDescribeUMemcacheUpgradePriceRequest() *DescribeUMemcacheUpgradePriceRequest

NewDescribeUMemcacheUpgradePriceRequest will create request of DescribeUMemcacheUpgradePrice action.

func (*UMemClient) NewDescribeURedisBackupRequest

func (c *UMemClient) NewDescribeURedisBackupRequest() *DescribeURedisBackupRequest

NewDescribeURedisBackupRequest will create request of DescribeURedisBackup action.

func (*UMemClient) NewDescribeURedisBackupURLRequest

func (c *UMemClient) NewDescribeURedisBackupURLRequest() *DescribeURedisBackupURLRequest

NewDescribeURedisBackupURLRequest will create request of DescribeURedisBackupURL action.

func (*UMemClient) NewDescribeURedisConfigRequest added in v0.17.5

func (c *UMemClient) NewDescribeURedisConfigRequest() *DescribeURedisConfigRequest

NewDescribeURedisConfigRequest will create request of DescribeURedisConfig action.

func (*UMemClient) NewDescribeURedisGroupRequest

func (c *UMemClient) NewDescribeURedisGroupRequest() *DescribeURedisGroupRequest

NewDescribeURedisGroupRequest will create request of DescribeURedisGroup action.

func (*UMemClient) NewDescribeURedisPriceRequest

func (c *UMemClient) NewDescribeURedisPriceRequest() *DescribeURedisPriceRequest

NewDescribeURedisPriceRequest will create request of DescribeURedisPrice action.

func (*UMemClient) NewDescribeURedisSlowlogRequest added in v0.17.5

func (c *UMemClient) NewDescribeURedisSlowlogRequest() *DescribeURedisSlowlogRequest

NewDescribeURedisSlowlogRequest will create request of DescribeURedisSlowlog action.

func (*UMemClient) NewDescribeURedisUpgradePriceRequest

func (c *UMemClient) NewDescribeURedisUpgradePriceRequest() *DescribeURedisUpgradePriceRequest

NewDescribeURedisUpgradePriceRequest will create request of DescribeURedisUpgradePrice action.

func (*UMemClient) NewDescribeURedisVersionRequest added in v0.17.5

func (c *UMemClient) NewDescribeURedisVersionRequest() *DescribeURedisVersionRequest

NewDescribeURedisVersionRequest will create request of DescribeURedisVersion action.

func (*UMemClient) NewFlushallURedisGroupRequest added in v0.21.3

func (c *UMemClient) NewFlushallURedisGroupRequest() *FlushallURedisGroupRequest

NewFlushallURedisGroupRequest will create request of FlushallURedisGroup action.

func (*UMemClient) NewGetUMemSpaceStateRequest

func (c *UMemClient) NewGetUMemSpaceStateRequest() *GetUMemSpaceStateRequest

NewGetUMemSpaceStateRequest will create request of GetUMemSpaceState action.

func (*UMemClient) NewISolationURedisGroupRequest added in v0.21.7

func (c *UMemClient) NewISolationURedisGroupRequest() *ISolationURedisGroupRequest

NewISolationURedisGroupRequest will create request of ISolationURedisGroup action.

func (*UMemClient) NewModifyUMemSpaceNameRequest

func (c *UMemClient) NewModifyUMemSpaceNameRequest() *ModifyUMemSpaceNameRequest

NewModifyUMemSpaceNameRequest will create request of ModifyUMemSpaceName action.

func (*UMemClient) NewModifyURedisGroupNameRequest

func (c *UMemClient) NewModifyURedisGroupNameRequest() *ModifyURedisGroupNameRequest

NewModifyURedisGroupNameRequest will create request of ModifyURedisGroupName action.

func (*UMemClient) NewModifyURedisGroupPasswordRequest added in v0.17.5

func (c *UMemClient) NewModifyURedisGroupPasswordRequest() *ModifyURedisGroupPasswordRequest

NewModifyURedisGroupPasswordRequest will create request of ModifyURedisGroupPassword action.

func (*UMemClient) NewRemoveUDRedisDataRequest added in v0.21.3

func (c *UMemClient) NewRemoveUDRedisDataRequest() *RemoveUDRedisDataRequest

NewRemoveUDRedisDataRequest will create request of RemoveUDRedisData action.

func (*UMemClient) NewResizeUDredisSpaceRequest

func (c *UMemClient) NewResizeUDredisSpaceRequest() *ResizeUDredisSpaceRequest

NewResizeUDredisSpaceRequest will create request of ResizeUDredisSpace action.

func (*UMemClient) NewResizeUMemSpaceRequest

func (c *UMemClient) NewResizeUMemSpaceRequest() *ResizeUMemSpaceRequest

NewResizeUMemSpaceRequest will create request of ResizeUMemSpace action.

func (*UMemClient) NewResizeURedisGroupRequest

func (c *UMemClient) NewResizeURedisGroupRequest() *ResizeURedisGroupRequest

NewResizeURedisGroupRequest will create request of ResizeURedisGroup action.

func (*UMemClient) NewRestartUMemcacheGroupRequest

func (c *UMemClient) NewRestartUMemcacheGroupRequest() *RestartUMemcacheGroupRequest

NewRestartUMemcacheGroupRequest will create request of RestartUMemcacheGroup action.

func (*UMemClient) NewRestartURedisGroupRequest added in v0.21.3

func (c *UMemClient) NewRestartURedisGroupRequest() *RestartURedisGroupRequest

NewRestartURedisGroupRequest will create request of RestartURedisGroup action.

func (*UMemClient) NewShutdownURedisGroupRequest added in v0.21.3

func (c *UMemClient) NewShutdownURedisGroupRequest() *ShutdownURedisGroupRequest

NewShutdownURedisGroupRequest will create request of ShutdownURedisGroup action.

func (*UMemClient) NewStartURedisGroupRequest added in v0.21.3

func (c *UMemClient) NewStartURedisGroupRequest() *StartURedisGroupRequest

NewStartURedisGroupRequest will create request of StartURedisGroup action.

func (*UMemClient) NewUpdateURedisBackupStrategyRequest added in v0.17.5

func (c *UMemClient) NewUpdateURedisBackupStrategyRequest() *UpdateURedisBackupStrategyRequest

NewUpdateURedisBackupStrategyRequest will create request of UpdateURedisBackupStrategy action.

func (*UMemClient) RemoveUDRedisData added in v0.21.3

func (c *UMemClient) RemoveUDRedisData(req *RemoveUDRedisDataRequest) (*RemoveUDRedisDataResponse, error)

API: RemoveUDRedisData

清除udredis实例数据

func (*UMemClient) ResizeUDredisSpace

func (c *UMemClient) ResizeUDredisSpace(req *ResizeUDredisSpaceRequest) (*ResizeUDredisSpaceResponse, error)

API: ResizeUDredisSpace

func (*UMemClient) ResizeUMemSpace

func (c *UMemClient) ResizeUMemSpace(req *ResizeUMemSpaceRequest) (*ResizeUMemSpaceResponse, error)

API: ResizeUMemSpace

调整内存空间容量

func (*UMemClient) ResizeURedisGroup

func (c *UMemClient) ResizeURedisGroup(req *ResizeURedisGroupRequest) (*ResizeURedisGroupResponse, error)

API: ResizeURedisGroup

通过调用CheckURedisAllowance接口,检查资源情况,根据不同情形来调整主备redis容量,其中主要包括可用区资源不足无法扩容,主备所在宿主机资源不足需要迁移完成扩容(需要主从切换,会闪断及负载升高),以及直接扩容(业务无感知)

func (*UMemClient) RestartUMemcacheGroup

API: RestartUMemcacheGroup

重启单机Memcache

func (*UMemClient) RestartURedisGroup added in v0.21.3

func (c *UMemClient) RestartURedisGroup(req *RestartURedisGroupRequest) (*RestartURedisGroupResponse, error)

API: RestartURedisGroup

重启主备实例

func (*UMemClient) ShutdownURedisGroup added in v0.21.3

API: ShutdownURedisGroup

关闭主备实例

func (*UMemClient) StartURedisGroup added in v0.21.3

func (c *UMemClient) StartURedisGroup(req *StartURedisGroupRequest) (*StartURedisGroupResponse, error)

API: StartURedisGroup

实例关闭状态下,启动实例

func (*UMemClient) UpdateURedisBackupStrategy added in v0.17.5

API: UpdateURedisBackupStrategy

URedisBackupStrategy

type UMemDataSet added in v0.21.7

type UMemDataSet struct {

	// IP端口信息请,参见UMemSpaceAddressSet
	Address []UMemSpaceAddressSet

	// 是否需要自动备份,enable,disable
	AutoBackup string

	// 自动备份开始时间,单位小时计,范围[0-23]
	BackupTime int

	// 计费模式,Year, Month, Dynamic, Trial
	ChargeType string

	// 节点的配置ID
	ConfigId string

	// 创建时间
	CreateTime int

	// UMEM实例列表 UMemSlaveDataSet 如果没有slave,则没有该字段
	DataSet []UMemSlaveDataSet

	// 到期时间
	ExpireTime int

	// 是否开启高可用,enable,disable
	HighAvailability string

	// 资源名称
	Name string

	// 是否拥有只读Slave“Yes” 包含“No” 不包含
	OwnSlave string

	// 协议类型: memcache, redis
	Protocol string

	// 资源ID
	ResourceId string

	// distributed: 分布式版Redis,或者分布式Memcache;single:主备版Redis,或者单机Memcache;performance:高性能版
	ResourceType string

	// 主备redis和分布式redis运维时间0  //0点1  //1点以此类推单机版memcache不返回该项
	RewriteTime int

	// 表示实例是主库还是从库,master,slave仅主备redis返回该项参数
	Role string

	// 容量单位GB
	Size int

	// 跨机房URedis,slave redis所在可用区,参见 [可用区列表](../summary/regionlist.html)
	SlaveZone string

	// 实例状态                                  Starting                  // 创建中       Creating                  // 初始化中     CreateFail                // 创建失败     Fail                      // 创建失败     Deleting                  // 删除中       DeleteFail                // 删除失败     Running                   // 运行         Resizing                  // 容量调整中   ResizeFail                // 容量调整失败 Configing                 // 配置中       ConfigFail                // 配置失败Restarting                // 重启中SetPasswordFail    //设置密码失败
	State string

	// 子网
	SubnetId string

	// 业务组名称
	Tag string

	// 空间类型:single(无热备),double(热备)
	Type string

	// 使用量单位MB
	UsedSize int

	// vpc
	VPCId string

	// Redis版本信息
	Version string

	// 实例所在可用区,或者master redis所在可用区,参见 [可用区列表](../summary/regionlist.html)
	Zone string
}

UMemDataSet - DescribeUMem

type UMemPriceSet

type UMemPriceSet struct {

	// Year, Month, Dynamic,Trial
	ChargeType string

	// 产品列表价
	ListPrice int `deprecated:"true"`

	// 原价
	OriginalPrice int

	// 现价
	Price int
}

UMemPriceSet - DescribeUMemPrice

type UMemSlaveDataSet added in v0.21.7

type UMemSlaveDataSet struct {

	// 计费模式,Year, Month, Dynamic, Trial
	ChargeType string

	// 节点的配置ID
	ConfigId string

	// 创建时间
	CreateTime int

	// 到期时间
	ExpireTime int

	// 资源id
	GroupId string

	// 资源名称
	GroupName string

	// 主实例id
	MasterGroupId string

	// 实力大小
	MemorySize int

	// 修改时间
	ModifyTime int

	// 资源名称
	Name string

	// 端口
	Port int

	// distributed: 分布式版Redis,或者分布式Memcache;single:主备版Redis,或者单机Memcache;performance:高性能版
	ResourceType string

	// 主备Redis返回运维时间 0//0点 1 //1点 以此类推
	RewriteTime int

	// 表示实例是主库还是从库,master,slave
	Role string

	// 容量单位GB
	Size int

	// 实例状态                                  Starting                  // 创建中       Creating                  // 初始化中     CreateFail                // 创建失败     Fail                      // 创建失败     Deleting                  // 删除中       DeleteFail                // 删除失败     Running                   // 运行         Resizing                  // 容量调整中   ResizeFail                // 容量调整失败 Configing                 // 配置中       ConfigFail                // 配置失败Restarting                // 重启中SetPasswordFail  //设置密码失败
	State string

	// 子网
	SubnetId string

	// 业务组名称
	Tag string

	// 使用量单位MB
	UsedSize int

	// vpc
	VPCId string

	// Redis版本信息
	Version string

	//
	VirtualIP string

	// 实例所在可用区,或者master redis所在可用区,参见 [可用区列表](../summary/regionlist.html)
	Zone string
}

UMemSlaveDataSet - DescribeUMem

type UMemSpaceAddressSet

type UMemSpaceAddressSet struct {

	// UMem实例访问IP
	IP string

	// UMem实例访问Port
	Port int
}

UMemSpaceAddressSet - DescribeUMemSpace

type UMemSpaceSet

type UMemSpaceSet struct {

	// IP端口信息请参见 UMemSpaceAddressSet
	Address []UMemSpaceAddressSet

	// Year, Month, Dynamic, Trial
	ChargeType string

	// 创建时间
	CreateTime int

	// 到期时间
	ExpireTime int

	// 内存空间名称
	Name string

	// 协议类型: memcache, redis
	Protocol string

	// 运维时间0   //0点1   //1点依次类推
	RewriteTime int

	// 容量单位GB
	Size int

	// 内存空间ID
	SpaceId string

	// Starting:创建中 Running:运行中 Fail:失败
	State string

	//
	SubnetId string

	//
	Tag string

	// 空间类型:single(无热备),double(热备)
	Type string

	// 使用量单位MB
	UsedSize int

	//
	VPCId string

	// 可用区,参见[可用区列表](../summary/regionlist.html)
	Zone string
}

UMemSpaceSet - DescribeUMemSpace

type UMemcacheGroupSet

type UMemcacheGroupSet struct {

	// 计费类型:Year,Month,Dynamic 默认Dynamic
	ChargeType string

	// 节点的配置ID
	ConfigId string

	// 创建时间 (UNIX时间戳)
	CreateTime int

	// 过期时间 (UNIX时间戳)
	ExpireTime int

	// 组ID
	GroupId string

	// 修改时间 (UNIX时间戳)
	ModifyTime int

	// 组名称
	Name string

	// 节点分配的服务端口
	Port int

	// 容量单位GB
	Size int

	// 状态标记 Creating // 初始化中 CreateFail // 创建失败 Deleting // 删除中 DeleteFail // 删除失败 Running // 运行 Resizing // 容量调整中 ResizeFail // 容量调整失败 Configing // 配置中 ConfigFail // 配置失败Restarting // 重启中
	State string

	//
	SubnetId string

	// 业务组名称
	Tag string

	// 使用量单位MB
	UsedSize int

	//
	VPCId string

	// Memcache版本信息,默认为1.4.31
	Version string

	// 节点的虚拟IP地址
	VirtualIP string
}

UMemcacheGroupSet - DescribeUMemcacheGroup

type UMemcachePriceSet

type UMemcachePriceSet struct {

	// 计费模式,Year, Month, Dynamic
	ChargeType string

	// 产品列表价
	ListPrice int

	// 原价
	OriginalPrice int

	// 总价格
	Price int
}

UMemcachePriceSet - DescribeUMemcachePrice

type URedisBackupSet

type URedisBackupSet struct {

	// 备份ID
	BackupId string

	// 备份的名称
	BackupName string

	// 备份文件大小, 以字节为单位
	BackupSize int

	// 备份时间 (UNIX时间戳)
	BackupTime int

	// 备份类型: Manual 手动 Auto 自动
	BackupType string

	// 对应的实例ID
	GroupId string

	// 组名称
	GroupName string

	// 备份的状态: Backuping 备份中 Success 备份成功 Error 备份失败 Expired 备份过期
	State string

	// 可用区,参见[可用区列表](../summary/regionlist.html)
	Zone string
}

URedisBackupSet - DescribeURedisBackup

type URedisConfigSet added in v0.17.5

type URedisConfigSet struct {

	// 配置ID
	ConfigId string

	// 创建时间 (UNIX时间戳)
	CreateTime int

	// 配置描述
	Description string

	// 置是否可以修改
	IsModify string

	// 修改时间 (UNIX时间戳)
	ModifyTime int

	// 配置名称
	Name string

	// 是否是跨机房URedis(默认false)
	RegionFlag bool

	// 配置所处的状态
	State string

	// 配置对应的Redis版本
	Version string

	// Zone
	Zone string
}

URedisConfigSet - 主备Redis配置文件信息

type URedisGroupSet

type URedisGroupSet struct {

	// 是否需要自动备份,enable,disable
	AutoBackup string

	// 组自动备份开始时间,单位小时计,范围[0-23]
	BackupTime int

	// 计费类型:Year,Month,Dynamic 默认Dynamic
	ChargeType string

	// 节点的配置ID
	ConfigId string

	// 创建时间 (UNIX时间戳)
	CreateTime int

	// 过期时间 (UNIX时间戳)
	ExpireTime int

	// 组ID
	GroupId string

	// 组名称
	GroupName string

	// 是否开启高可用,enable,disable
	HighAvailability string

	// 容量单位GB
	MemorySize int

	// 修改时间 (UNIX时间戳)
	ModifyTime int

	// 组名称
	Name string

	// 节点分配的服务端口
	Port int

	// 协议
	Protocol string

	// 返回运维时间 0 //0点 1 //1点 以此类推
	RewriteTime int

	// 实例类型
	Role string

	// 容量单位GB
	Size int

	// 跨机房URedis,slave redis所在可用区,参见 [可用区列表](../summary/regionlist.html)
	SlaveZone string

	// 状态标记 Creating // 初始化中 CreateFail // 创建失败 Deleting // 删除中 DeleteFail // 删除失败 Running // 运行 Resizing // 容量调整中 ResizeFail // 容量调整失败 Configing // 配置中 ConfigFail // 配置失败
	State string

	// subnetid
	SubnetId string

	// 业务组名称
	Tag string

	// 空间类型:single(无热备),double(热备)
	Type string

	// 使用量单位MB
	UsedSize int

	// vpcid
	VPCId string

	// Redis版本信息
	Version string

	// 节点的虚拟IP地址
	VirtualIP string

	// 实例所在可用区,或者master redis所在可用区,参见 [可用区列表](../summary/regionlist.html)
	Zone string
}

URedisGroupSet - DescribeURedisGroup

type URedisPriceSet

type URedisPriceSet struct {

	// Year, Month, Dynamic,Trial
	ChargeType string

	// 产品列表价
	ListPrice int

	// 原价
	OriginalPrice int

	// 总价格
	Price int
}

URedisPriceSet - 主备Redis价格

type URedisSlowlogSet added in v0.17.5

type URedisSlowlogSet struct {

	// 查询命令
	Command string

	// 查询消耗的时间
	SpendTime int

	// 查询发生的时间
	StartTime int
}

URedisSlowlogSet - DescribeURedisSlowlog

type URedisVersionSet added in v0.17.5

type URedisVersionSet struct {

	// Redis版本
	Version string
}

URedisVersionSet - DescribeURedisVersion

type UpdateURedisBackupStrategyRequest added in v0.17.5

type UpdateURedisBackupStrategyRequest struct {
	request.CommonBase

	// 是否打开默认备份功能。enable(打开),disable(关闭),默认enable
	AutoBackup *string `required:"false"`

	// 备份时间,默认为0
	BackupTime *string `required:"true"`

	// 组的ID
	GroupId *string `required:"true"`

	// 跨机房URedis,slave所在可用区(必须和Zone在同一Region,且不可相同)
	SlaveZone *string `required:"false"`
}

UpdateURedisBackupStrategyRequest is request schema for UpdateURedisBackupStrategy action

type UpdateURedisBackupStrategyResponse added in v0.17.5

type UpdateURedisBackupStrategyResponse struct {
	response.CommonBase
}

UpdateURedisBackupStrategyResponse is response schema for UpdateURedisBackupStrategy action

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL