umem

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 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 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 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 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

	// 价格(兼容老版本)
	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 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 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 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" deprecated:"true"`

	// 代金券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"`

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

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 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) 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) 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) GetUMemSpaceState

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

API: GetUMemSpaceState

获取UMem内存空间列表

func (*UMemClient) ModifyUMemSpaceName

API: ModifyUMemSpaceName

修改UMem内存空间名称

func (*UMemClient) ModifyURedisGroupName

API: ModifyURedisGroupName

修改主备redis名称

func (*UMemClient) ModifyURedisGroupPassword added in v0.17.5

API: ModifyURedisGroupPassword

修改主备密码/重置密码

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) 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) 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) NewGetUMemSpaceStateRequest

func (c *UMemClient) NewGetUMemSpaceStateRequest() *GetUMemSpaceStateRequest

NewGetUMemSpaceStateRequest will create request of GetUMemSpaceState 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) 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) NewUpdateURedisBackupStrategyRequest added in v0.17.5

func (c *UMemClient) NewUpdateURedisBackupStrategyRequest() *UpdateURedisBackupStrategyRequest

NewUpdateURedisBackupStrategyRequest will create request of UpdateURedisBackupStrategy action.

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

调整主备redis容量

func (*UMemClient) RestartUMemcacheGroup

API: RestartUMemcacheGroup

重启单机Memcache

func (*UMemClient) UpdateURedisBackupStrategy added in v0.17.5

API: UpdateURedisBackupStrategy

URedisBackupStrategy

type UMemPriceSet

type UMemPriceSet struct {

	// Year, Month, Dynamic,Trial
	ChargeType string

	// 产品列表价
	ListPrice int

	// 原价
	OriginalPrice int

	// 现价
	Price int
}

UMemPriceSet - DescribeUMemPrice

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 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