v20180412

package
v3.0.96+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const APIVersion = "2018-04-12"

Variables

This section is empty.

Functions

This section is empty.

Types

type CleanUpInstanceRequest

type CleanUpInstanceRequest struct {
	*tchttp.BaseRequest

	// 实例Id
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

func NewCleanUpInstanceRequest

func NewCleanUpInstanceRequest() (request *CleanUpInstanceRequest)

func (*CleanUpInstanceRequest) FromJsonString

func (r *CleanUpInstanceRequest) FromJsonString(s string) error

func (*CleanUpInstanceRequest) ToJsonString

func (r *CleanUpInstanceRequest) ToJsonString() string

type CleanUpInstanceResponse

type CleanUpInstanceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务Id
		TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCleanUpInstanceResponse

func NewCleanUpInstanceResponse() (response *CleanUpInstanceResponse)

func (*CleanUpInstanceResponse) FromJsonString

func (r *CleanUpInstanceResponse) FromJsonString(s string) error

func (*CleanUpInstanceResponse) ToJsonString

func (r *CleanUpInstanceResponse) ToJsonString() string

type ClearInstanceRequest

type ClearInstanceRequest struct {
	*tchttp.BaseRequest

	// 实例Id
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// redis的实例密码(免密实例不需要传密码,非免密实例必传)
	Password *string `json:"Password,omitempty" name:"Password"`
}

func NewClearInstanceRequest

func NewClearInstanceRequest() (request *ClearInstanceRequest)

func (*ClearInstanceRequest) FromJsonString

func (r *ClearInstanceRequest) FromJsonString(s string) error

func (*ClearInstanceRequest) ToJsonString

func (r *ClearInstanceRequest) ToJsonString() string

type ClearInstanceResponse

type ClearInstanceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务Id
		TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewClearInstanceResponse

func NewClearInstanceResponse() (response *ClearInstanceResponse)

func (*ClearInstanceResponse) FromJsonString

func (r *ClearInstanceResponse) FromJsonString(s string) error

func (*ClearInstanceResponse) ToJsonString

func (r *ClearInstanceResponse) ToJsonString() string

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) CleanUpInstance

func (c *Client) CleanUpInstance(request *CleanUpInstanceRequest) (response *CleanUpInstanceResponse, err error)

回收站实例立即下线

func (*Client) ClearInstance

func (c *Client) ClearInstance(request *ClearInstanceRequest) (response *ClearInstanceResponse, err error)

清空Redis实例的实例数据。

func (*Client) CreateInstances

func (c *Client) CreateInstances(request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)

创建redis实例

func (*Client) DescribeAutoBackupConfig

func (c *Client) DescribeAutoBackupConfig(request *DescribeAutoBackupConfigRequest) (response *DescribeAutoBackupConfigResponse, err error)

获取备份配置

func (*Client) DescribeBackupUrl

func (c *Client) DescribeBackupUrl(request *DescribeBackupUrlRequest) (response *DescribeBackupUrlResponse, err error)

查询备份Rdb下载地址(接口灰度中,需要加白名单使用)

func (*Client) DescribeInstanceBackups

func (c *Client) DescribeInstanceBackups(request *DescribeInstanceBackupsRequest) (response *DescribeInstanceBackupsResponse, err error)

查询 CRS 实例备份列表

func (*Client) DescribeInstanceDealDetail

func (c *Client) DescribeInstanceDealDetail(request *DescribeInstanceDealDetailRequest) (response *DescribeInstanceDealDetailResponse, err error)

查询订单信息

func (*Client) DescribeInstanceParamRecords

func (c *Client) DescribeInstanceParamRecords(request *DescribeInstanceParamRecordsRequest) (response *DescribeInstanceParamRecordsResponse, err error)

查询参数修改历史列表

func (*Client) DescribeInstanceParams

func (c *Client) DescribeInstanceParams(request *DescribeInstanceParamsRequest) (response *DescribeInstanceParamsResponse, err error)

查询实例参数列表

func (*Client) DescribeInstanceSecurityGroup

func (c *Client) DescribeInstanceSecurityGroup(request *DescribeInstanceSecurityGroupRequest) (response *DescribeInstanceSecurityGroupResponse, err error)

查询实例安全组信息

func (*Client) DescribeInstanceShards

func (c *Client) DescribeInstanceShards(request *DescribeInstanceShardsRequest) (response *DescribeInstanceShardsResponse, err error)

获取集群版实例分片信息

func (*Client) DescribeInstances

func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)

查询Redis实例列表

func (*Client) DescribeProductInfo

func (c *Client) DescribeProductInfo(request *DescribeProductInfoRequest) (response *DescribeProductInfoResponse, err error)

本接口查询指定可用区和实例类型下 Redis 的售卖规格, 如果用户不在购买白名单中,将不能查询该可用区或该类型的售卖规格详情。申请购买某地域白名单可以提交工单

func (*Client) DescribeProjectSecurityGroup

func (c *Client) DescribeProjectSecurityGroup(request *DescribeProjectSecurityGroupRequest) (response *DescribeProjectSecurityGroupResponse, err error)

查询项目安全组信息

func (*Client) DescribeSlowLog

func (c *Client) DescribeSlowLog(request *DescribeSlowLogRequest) (response *DescribeSlowLogResponse, err error)

查询实例慢查询记录

func (*Client) DescribeTaskInfo

func (c *Client) DescribeTaskInfo(request *DescribeTaskInfoRequest) (response *DescribeTaskInfoResponse, err error)

用于查询任务结果

func (*Client) DestroyPostpaidInstance

func (c *Client) DestroyPostpaidInstance(request *DestroyPostpaidInstanceRequest) (response *DestroyPostpaidInstanceResponse, err error)

按量计费实例销毁

func (*Client) DestroyPrepaidInstance

func (c *Client) DestroyPrepaidInstance(request *DestroyPrepaidInstanceRequest) (response *DestroyPrepaidInstanceResponse, err error)

包年包月实例退还

func (*Client) DisableReplicaReadonly

func (c *Client) DisableReplicaReadonly(request *DisableReplicaReadonlyRequest) (response *DisableReplicaReadonlyResponse, err error)

禁用读写分离

func (*Client) EnableReplicaReadonly

func (c *Client) EnableReplicaReadonly(request *EnableReplicaReadonlyRequest) (response *EnableReplicaReadonlyResponse, err error)

启用读写分离

func (*Client) ManualBackupInstance

func (c *Client) ManualBackupInstance(request *ManualBackupInstanceRequest) (response *ManualBackupInstanceResponse, err error)

手动备份Redis实例

func (*Client) ModfiyInstancePassword

func (c *Client) ModfiyInstancePassword(request *ModfiyInstancePasswordRequest) (response *ModfiyInstancePasswordResponse, err error)

修改redis密码

func (*Client) ModifyAutoBackupConfig

func (c *Client) ModifyAutoBackupConfig(request *ModifyAutoBackupConfigRequest) (response *ModifyAutoBackupConfigResponse, err error)

设置自动备份时间

func (*Client) ModifyInstance

func (c *Client) ModifyInstance(request *ModifyInstanceRequest) (response *ModifyInstanceResponse, err error)

修改实例相关信息(目前支持:实例重命名)

func (*Client) ModifyInstanceParams

func (c *Client) ModifyInstanceParams(request *ModifyInstanceParamsRequest) (response *ModifyInstanceParamsResponse, err error)

修改实例参数

func (*Client) ModifyNetworkConfig

func (c *Client) ModifyNetworkConfig(request *ModifyNetworkConfigRequest) (response *ModifyNetworkConfigResponse, err error)

修改实例网络配置

func (*Client) RenewInstance

func (c *Client) RenewInstance(request *RenewInstanceRequest) (response *RenewInstanceResponse, err error)

续费实例

func (*Client) ResetPassword

func (c *Client) ResetPassword(request *ResetPasswordRequest) (response *ResetPasswordResponse, err error)

重置密码

func (*Client) RestoreInstance

func (c *Client) RestoreInstance(request *RestoreInstanceRequest) (response *RestoreInstanceResponse, err error)

恢复 CRS 实例

func (*Client) SwitchInstanceVip

func (c *Client) SwitchInstanceVip(request *SwitchInstanceVipRequest) (response *SwitchInstanceVipResponse, err error)

在通过DTS支持跨可用区灾备的场景中,通过该接口交换实例VIP完成实例灾备切换。交换VIP后目标实例可写,源和目标实例VIP互换,同时源与目标实例间DTS同步任务断开

func (*Client) UpgradeInstance

func (c *Client) UpgradeInstance(request *UpgradeInstanceRequest) (response *UpgradeInstanceResponse, err error)

升级实例

type CreateInstancesRequest

type CreateInstancesRequest struct {
	*tchttp.BaseRequest

	// 实例所属的可用区id
	ZoneId *uint64 `json:"ZoneId,omitempty" name:"ZoneId"`

	// 实例类型:2 – Redis2.8主从版,3 – Redis3.2主从版(CKV主从版),4 – Redis3.2集群版(CKV集群版),5-Redis2.8单机版,6 – Redis4.0主从版,7 – Redis4.0集群版,
	TypeId *uint64 `json:"TypeId,omitempty" name:"TypeId"`

	// 实例容量,单位MB, 取值大小以 查询售卖规格接口返回的规格为准
	MemSize *uint64 `json:"MemSize,omitempty" name:"MemSize"`

	// 实例数量,单次购买实例数量以 查询售卖规格接口返回的规格为准
	GoodsNum *uint64 `json:"GoodsNum,omitempty" name:"GoodsNum"`

	// 购买时长,在创建包年包月实例的时候需要填写,按量计费实例填1即可,单位:月,取值范围 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]
	Period *uint64 `json:"Period,omitempty" name:"Period"`

	// 付费方式:0-按量计费,1-包年包月。
	BillingMode *int64 `json:"BillingMode,omitempty" name:"BillingMode"`

	// 实例密码,密码规则:1.长度为8-16个字符;2:至少包含字母、数字和字符!@^*()中的两种(创建免密实例时,可不传入该字段,该字段内容会忽略)
	Password *string `json:"Password,omitempty" name:"Password"`

	// 私有网络ID,如果不传则默认选择基础网络,请使用私有网络列表查询,如:vpc-sad23jfdfk
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 基础网络下, subnetId无效; vpc子网下,取值以查询子网列表,如:subnet-fdj24n34j2
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// 项目id,取值以用户账户>用户账户相关接口查询>项目列表返回的projectId为准
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// 自动续费标识。0 - 默认状态(手动续费);1 - 自动续费;2 - 明确不自动续费
	AutoRenew *uint64 `json:"AutoRenew,omitempty" name:"AutoRenew"`

	// 安全组id数组
	SecurityGroupIdList []*string `json:"SecurityGroupIdList,omitempty" name:"SecurityGroupIdList" list`

	// 用户自定义的端口 不填则默认为6379
	VPort *uint64 `json:"VPort,omitempty" name:"VPort"`

	// 实例分片数量,Redis2.8主从版、CKV主从版和Redis2.8单机版、Redis4.0主从版不需要填写
	RedisShardNum *int64 `json:"RedisShardNum,omitempty" name:"RedisShardNum"`

	// 实例副本数量,Redis2.8主从版、CKV主从版和Redis2.8单机版不需要填写
	RedisReplicasNum *int64 `json:"RedisReplicasNum,omitempty" name:"RedisReplicasNum"`

	// 是否支持副本只读,Redis2.8主从版、CKV主从版和Redis2.8单机版不需要填写
	ReplicasReadonly *bool `json:"ReplicasReadonly,omitempty" name:"ReplicasReadonly"`

	// 实例名称
	InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"`

	// 是否支持免密,true-免密实例,false-非免密实例,默认为非免密实例
	NoAuth *bool `json:"NoAuth,omitempty" name:"NoAuth"`
}

func NewCreateInstancesRequest

func NewCreateInstancesRequest() (request *CreateInstancesRequest)

func (*CreateInstancesRequest) FromJsonString

func (r *CreateInstancesRequest) FromJsonString(s string) error

func (*CreateInstancesRequest) ToJsonString

func (r *CreateInstancesRequest) ToJsonString() string

type CreateInstancesResponse

type CreateInstancesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 交易的Id
		DealId *string `json:"DealId,omitempty" name:"DealId"`

		// 实例ID(该字段灰度中,部分地域不可见)
		InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateInstancesResponse

func NewCreateInstancesResponse() (response *CreateInstancesResponse)

func (*CreateInstancesResponse) FromJsonString

func (r *CreateInstancesResponse) FromJsonString(s string) error

func (*CreateInstancesResponse) ToJsonString

func (r *CreateInstancesResponse) ToJsonString() string

type DescribeAutoBackupConfigRequest

type DescribeAutoBackupConfigRequest struct {
	*tchttp.BaseRequest

	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

func NewDescribeAutoBackupConfigRequest

func NewDescribeAutoBackupConfigRequest() (request *DescribeAutoBackupConfigRequest)

func (*DescribeAutoBackupConfigRequest) FromJsonString

func (r *DescribeAutoBackupConfigRequest) FromJsonString(s string) error

func (*DescribeAutoBackupConfigRequest) ToJsonString

func (r *DescribeAutoBackupConfigRequest) ToJsonString() string

type DescribeAutoBackupConfigResponse

type DescribeAutoBackupConfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 备份类型。自动备份类型: 1 “定时回档”
		AutoBackupType *int64 `json:"AutoBackupType,omitempty" name:"AutoBackupType"`

		// Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday。
		WeekDays []*string `json:"WeekDays,omitempty" name:"WeekDays" list`

		// 时间段。
		TimePeriod *string `json:"TimePeriod,omitempty" name:"TimePeriod"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAutoBackupConfigResponse

func NewDescribeAutoBackupConfigResponse() (response *DescribeAutoBackupConfigResponse)

func (*DescribeAutoBackupConfigResponse) FromJsonString

func (r *DescribeAutoBackupConfigResponse) FromJsonString(s string) error

func (*DescribeAutoBackupConfigResponse) ToJsonString

func (r *DescribeAutoBackupConfigResponse) ToJsonString() string

type DescribeBackupUrlRequest

type DescribeBackupUrlRequest struct {
	*tchttp.BaseRequest

	// 实例Id
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 备份Id,通过DescribeInstanceBackups接口可查
	BackupId *string `json:"BackupId,omitempty" name:"BackupId"`
}

func NewDescribeBackupUrlRequest

func NewDescribeBackupUrlRequest() (request *DescribeBackupUrlRequest)

func (*DescribeBackupUrlRequest) FromJsonString

func (r *DescribeBackupUrlRequest) FromJsonString(s string) error

func (*DescribeBackupUrlRequest) ToJsonString

func (r *DescribeBackupUrlRequest) ToJsonString() string

type DescribeBackupUrlResponse

type DescribeBackupUrlResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 外网下载地址(6小时)
		DownloadUrl []*string `json:"DownloadUrl,omitempty" name:"DownloadUrl" list`

		// 内网下载地址(6小时)
		InnerDownloadUrl []*string `json:"InnerDownloadUrl,omitempty" name:"InnerDownloadUrl" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeBackupUrlResponse

func NewDescribeBackupUrlResponse() (response *DescribeBackupUrlResponse)

func (*DescribeBackupUrlResponse) FromJsonString

func (r *DescribeBackupUrlResponse) FromJsonString(s string) error

func (*DescribeBackupUrlResponse) ToJsonString

func (r *DescribeBackupUrlResponse) ToJsonString() string

type DescribeInstanceBackupsRequest

type DescribeInstanceBackupsRequest struct {
	*tchttp.BaseRequest

	// 待操作的实例ID,可通过 DescribeInstance 接口返回值中的 InstanceId 获取。
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 实例列表大小,默认大小20
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// 偏移量,取Limit整数倍
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// 开始时间,格式如:2017-02-08 16:46:34。查询实例在 [beginTime, endTime] 时间段内开始备份的备份列表。
	BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"`

	// 结束时间,格式如:2017-02-08 19:09:26。查询实例在 [beginTime, endTime] 时间段内开始备份的备份列表。
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// 1:备份在流程中,2:备份正常,3:备份转RDB文件处理中,4:已完成RDB转换,-1:备份已过期,-2:备份已删除。
	Status []*int64 `json:"Status,omitempty" name:"Status" list`
}

func NewDescribeInstanceBackupsRequest

func NewDescribeInstanceBackupsRequest() (request *DescribeInstanceBackupsRequest)

func (*DescribeInstanceBackupsRequest) FromJsonString

func (r *DescribeInstanceBackupsRequest) FromJsonString(s string) error

func (*DescribeInstanceBackupsRequest) ToJsonString

func (r *DescribeInstanceBackupsRequest) ToJsonString() string

type DescribeInstanceBackupsResponse

type DescribeInstanceBackupsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 备份总数
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 实例的备份数组
		BackupSet []*RedisBackupSet `json:"BackupSet,omitempty" name:"BackupSet" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeInstanceBackupsResponse

func NewDescribeInstanceBackupsResponse() (response *DescribeInstanceBackupsResponse)

func (*DescribeInstanceBackupsResponse) FromJsonString

func (r *DescribeInstanceBackupsResponse) FromJsonString(s string) error

func (*DescribeInstanceBackupsResponse) ToJsonString

func (r *DescribeInstanceBackupsResponse) ToJsonString() string

type DescribeInstanceDealDetailRequest

type DescribeInstanceDealDetailRequest struct {
	*tchttp.BaseRequest

	// 订单ID数组
	DealIds []*string `json:"DealIds,omitempty" name:"DealIds" list`
}

func NewDescribeInstanceDealDetailRequest

func NewDescribeInstanceDealDetailRequest() (request *DescribeInstanceDealDetailRequest)

func (*DescribeInstanceDealDetailRequest) FromJsonString

func (r *DescribeInstanceDealDetailRequest) FromJsonString(s string) error

func (*DescribeInstanceDealDetailRequest) ToJsonString

func (r *DescribeInstanceDealDetailRequest) ToJsonString() string

type DescribeInstanceDealDetailResponse

type DescribeInstanceDealDetailResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 订单详细信息
		DealDetails []*TradeDealDetail `json:"DealDetails,omitempty" name:"DealDetails" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeInstanceDealDetailResponse

func NewDescribeInstanceDealDetailResponse() (response *DescribeInstanceDealDetailResponse)

func (*DescribeInstanceDealDetailResponse) FromJsonString

func (r *DescribeInstanceDealDetailResponse) FromJsonString(s string) error

func (*DescribeInstanceDealDetailResponse) ToJsonString

func (r *DescribeInstanceDealDetailResponse) ToJsonString() string

type DescribeInstanceParamRecordsRequest

type DescribeInstanceParamRecordsRequest struct {
	*tchttp.BaseRequest

	// 实例Id
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 分页大小
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// 偏移量,取Limit整数倍
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
}

func NewDescribeInstanceParamRecordsRequest

func NewDescribeInstanceParamRecordsRequest() (request *DescribeInstanceParamRecordsRequest)

func (*DescribeInstanceParamRecordsRequest) FromJsonString

func (r *DescribeInstanceParamRecordsRequest) FromJsonString(s string) error

func (*DescribeInstanceParamRecordsRequest) ToJsonString

func (r *DescribeInstanceParamRecordsRequest) ToJsonString() string

type DescribeInstanceParamRecordsResponse

type DescribeInstanceParamRecordsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 总的修改历史记录数。
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 修改历史记录信息。
		InstanceParamHistory []*InstanceParamHistory `json:"InstanceParamHistory,omitempty" name:"InstanceParamHistory" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeInstanceParamRecordsResponse

func NewDescribeInstanceParamRecordsResponse() (response *DescribeInstanceParamRecordsResponse)

func (*DescribeInstanceParamRecordsResponse) FromJsonString

func (r *DescribeInstanceParamRecordsResponse) FromJsonString(s string) error

func (*DescribeInstanceParamRecordsResponse) ToJsonString

func (r *DescribeInstanceParamRecordsResponse) ToJsonString() string

type DescribeInstanceParamsRequest

type DescribeInstanceParamsRequest struct {
	*tchttp.BaseRequest

	// 实例Id
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

func NewDescribeInstanceParamsRequest

func NewDescribeInstanceParamsRequest() (request *DescribeInstanceParamsRequest)

func (*DescribeInstanceParamsRequest) FromJsonString

func (r *DescribeInstanceParamsRequest) FromJsonString(s string) error

func (*DescribeInstanceParamsRequest) ToJsonString

func (r *DescribeInstanceParamsRequest) ToJsonString() string

type DescribeInstanceParamsResponse

type DescribeInstanceParamsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 实例参数个数
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 实例枚举类型参数
		InstanceEnumParam []*InstanceEnumParam `json:"InstanceEnumParam,omitempty" name:"InstanceEnumParam" list`

		// 实例整型参数
		InstanceIntegerParam []*InstanceIntegerParam `json:"InstanceIntegerParam,omitempty" name:"InstanceIntegerParam" list`

		// 实例字符型参数
		InstanceTextParam []*InstanceTextParam `json:"InstanceTextParam,omitempty" name:"InstanceTextParam" list`

		// 实例多选项型参数
		InstanceMultiParam []*InstanceMultiParam `json:"InstanceMultiParam,omitempty" name:"InstanceMultiParam" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeInstanceParamsResponse

func NewDescribeInstanceParamsResponse() (response *DescribeInstanceParamsResponse)

func (*DescribeInstanceParamsResponse) FromJsonString

func (r *DescribeInstanceParamsResponse) FromJsonString(s string) error

func (*DescribeInstanceParamsResponse) ToJsonString

func (r *DescribeInstanceParamsResponse) ToJsonString() string

type DescribeInstanceSecurityGroupRequest

type DescribeInstanceSecurityGroupRequest struct {
	*tchttp.BaseRequest

	// 实例列表
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds" list`
}

func NewDescribeInstanceSecurityGroupRequest

func NewDescribeInstanceSecurityGroupRequest() (request *DescribeInstanceSecurityGroupRequest)

func (*DescribeInstanceSecurityGroupRequest) FromJsonString

func (r *DescribeInstanceSecurityGroupRequest) FromJsonString(s string) error

func (*DescribeInstanceSecurityGroupRequest) ToJsonString

func (r *DescribeInstanceSecurityGroupRequest) ToJsonString() string

type DescribeInstanceSecurityGroupResponse

type DescribeInstanceSecurityGroupResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 实例安全组信息
		InstanceSecurityGroupsDetail []*InstanceSecurityGroupDetail `json:"InstanceSecurityGroupsDetail,omitempty" name:"InstanceSecurityGroupsDetail" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeInstanceSecurityGroupResponse

func NewDescribeInstanceSecurityGroupResponse() (response *DescribeInstanceSecurityGroupResponse)

func (*DescribeInstanceSecurityGroupResponse) FromJsonString

func (r *DescribeInstanceSecurityGroupResponse) FromJsonString(s string) error

func (*DescribeInstanceSecurityGroupResponse) ToJsonString

type DescribeInstanceShardsRequest

type DescribeInstanceShardsRequest struct {
	*tchttp.BaseRequest

	// 实例id
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 是否过滤掉从节信息
	FilterSlave *bool `json:"FilterSlave,omitempty" name:"FilterSlave"`
}

func NewDescribeInstanceShardsRequest

func NewDescribeInstanceShardsRequest() (request *DescribeInstanceShardsRequest)

func (*DescribeInstanceShardsRequest) FromJsonString

func (r *DescribeInstanceShardsRequest) FromJsonString(s string) error

func (*DescribeInstanceShardsRequest) ToJsonString

func (r *DescribeInstanceShardsRequest) ToJsonString() string

type DescribeInstanceShardsResponse

type DescribeInstanceShardsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 实例分片列表信息
		InstanceShards []*InstanceClusterShard `json:"InstanceShards,omitempty" name:"InstanceShards" list`

		// 实例分片节点总数
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeInstanceShardsResponse

func NewDescribeInstanceShardsResponse() (response *DescribeInstanceShardsResponse)

func (*DescribeInstanceShardsResponse) FromJsonString

func (r *DescribeInstanceShardsResponse) FromJsonString(s string) error

func (*DescribeInstanceShardsResponse) ToJsonString

func (r *DescribeInstanceShardsResponse) ToJsonString() string

type DescribeInstancesRequest

type DescribeInstancesRequest struct {
	*tchttp.BaseRequest

	// 实例列表的大小,参数默认值20
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// 偏移量,取Limit整数倍
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 实例Id,如:crs-6ubhgouj
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 枚举范围: projectId,createtime,instancename,type,curDeadline
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// 1倒序,0顺序,默认倒序
	OrderType *int64 `json:"OrderType,omitempty" name:"OrderType"`

	// 私有网络ID数组,数组下标从0开始,如果不传则默认选择基础网络,如:47525
	VpcIds []*string `json:"VpcIds,omitempty" name:"VpcIds" list`

	// 子网ID数组,数组下标从0开始,如:56854
	SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds" list`

	// 项目ID 组成的数组,数组下标从0开始
	ProjectIds []*int64 `json:"ProjectIds,omitempty" name:"ProjectIds" list`

	// 查找实例的ID。
	SearchKey *string `json:"SearchKey,omitempty" name:"SearchKey"`

	// 实例名称
	InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"`

	// 私有网络ID数组,数组下标从0开始,如果不传则默认选择基础网络,如:vpc-sad23jfdfk
	UniqVpcIds []*string `json:"UniqVpcIds,omitempty" name:"UniqVpcIds" list`

	// 子网ID数组,数组下标从0开始,如:subnet-fdj24n34j2
	UniqSubnetIds []*string `json:"UniqSubnetIds,omitempty" name:"UniqSubnetIds" list`

	// 地域ID,已经弃用,可通过公共参数Region查询对应地域
	RegionIds []*int64 `json:"RegionIds,omitempty" name:"RegionIds" list`

	// 实例状态:0-待初始化,1-流程中,2-运行中,-2-已隔离,-3-待删除
	Status []*int64 `json:"Status,omitempty" name:"Status" list`

	// 类型版本:1-单机版,2-主从版,3-集群版
	TypeVersion *int64 `json:"TypeVersion,omitempty" name:"TypeVersion"`

	// 引擎信息:Redis-2.8,Redis-4.0,CKV
	EngineName *string `json:"EngineName,omitempty" name:"EngineName"`

	// 续费模式:0 - 默认状态(手动续费);1 - 自动续费;2 - 明确不自动续费
	AutoRenew []*int64 `json:"AutoRenew,omitempty" name:"AutoRenew" list`

	// 计费模式:postpaid-按量计费;prepaid-包年包月
	BillingMode *string `json:"BillingMode,omitempty" name:"BillingMode"`

	// 实例类型:1-Redis老集群版;2-Redis 2.8主从版;3-CKV主从版;4-CKV集群版;5-Redis 2.8单机版;6-Redis 4.0主从版;7-Redis 4.0集群版
	Type *int64 `json:"Type,omitempty" name:"Type"`

	// 搜索关键词:支持实例Id、实例名称、完整IP
	SearchKeys []*string `json:"SearchKeys,omitempty" name:"SearchKeys" list`
}

func NewDescribeInstancesRequest

func NewDescribeInstancesRequest() (request *DescribeInstancesRequest)

func (*DescribeInstancesRequest) FromJsonString

func (r *DescribeInstancesRequest) FromJsonString(s string) error

func (*DescribeInstancesRequest) ToJsonString

func (r *DescribeInstancesRequest) ToJsonString() string

type DescribeInstancesResponse

type DescribeInstancesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 实例数
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 实例详细信息列表
		InstanceSet []*InstanceSet `json:"InstanceSet,omitempty" name:"InstanceSet" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeInstancesResponse

func NewDescribeInstancesResponse() (response *DescribeInstancesResponse)

func (*DescribeInstancesResponse) FromJsonString

func (r *DescribeInstancesResponse) FromJsonString(s string) error

func (*DescribeInstancesResponse) ToJsonString

func (r *DescribeInstancesResponse) ToJsonString() string

type DescribeProductInfoRequest

type DescribeProductInfoRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeProductInfoRequest

func NewDescribeProductInfoRequest() (request *DescribeProductInfoRequest)

func (*DescribeProductInfoRequest) FromJsonString

func (r *DescribeProductInfoRequest) FromJsonString(s string) error

func (*DescribeProductInfoRequest) ToJsonString

func (r *DescribeProductInfoRequest) ToJsonString() string

type DescribeProductInfoResponse

type DescribeProductInfoResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 地域售卖信息
		RegionSet []*RegionConf `json:"RegionSet,omitempty" name:"RegionSet" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeProductInfoResponse

func NewDescribeProductInfoResponse() (response *DescribeProductInfoResponse)

func (*DescribeProductInfoResponse) FromJsonString

func (r *DescribeProductInfoResponse) FromJsonString(s string) error

func (*DescribeProductInfoResponse) ToJsonString

func (r *DescribeProductInfoResponse) ToJsonString() string

type DescribeProjectSecurityGroupRequest

type DescribeProjectSecurityGroupRequest struct {
	*tchttp.BaseRequest

	// 0:默认项目;-1 所有项目; >0: 特定项目
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// 安全组Id
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"`
}

func NewDescribeProjectSecurityGroupRequest

func NewDescribeProjectSecurityGroupRequest() (request *DescribeProjectSecurityGroupRequest)

func (*DescribeProjectSecurityGroupRequest) FromJsonString

func (r *DescribeProjectSecurityGroupRequest) FromJsonString(s string) error

func (*DescribeProjectSecurityGroupRequest) ToJsonString

func (r *DescribeProjectSecurityGroupRequest) ToJsonString() string

type DescribeProjectSecurityGroupResponse

type DescribeProjectSecurityGroupResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 项目安全组
		SecurityGroupDetails []*SecurityGroupDetail `json:"SecurityGroupDetails,omitempty" name:"SecurityGroupDetails" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeProjectSecurityGroupResponse

func NewDescribeProjectSecurityGroupResponse() (response *DescribeProjectSecurityGroupResponse)

func (*DescribeProjectSecurityGroupResponse) FromJsonString

func (r *DescribeProjectSecurityGroupResponse) FromJsonString(s string) error

func (*DescribeProjectSecurityGroupResponse) ToJsonString

func (r *DescribeProjectSecurityGroupResponse) ToJsonString() string

type DescribeSlowLogRequest

type DescribeSlowLogRequest struct {
	*tchttp.BaseRequest

	// 实例Id
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 开始时间
	BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"`

	// 结束时间
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// 慢查询阈值(单位:微秒)
	MinQueryTime *int64 `json:"MinQueryTime,omitempty" name:"MinQueryTime"`

	// 页面大小
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// 偏移量,取Limit整数倍
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

func NewDescribeSlowLogRequest

func NewDescribeSlowLogRequest() (request *DescribeSlowLogRequest)

func (*DescribeSlowLogRequest) FromJsonString

func (r *DescribeSlowLogRequest) FromJsonString(s string) error

func (*DescribeSlowLogRequest) ToJsonString

func (r *DescribeSlowLogRequest) ToJsonString() string

type DescribeSlowLogResponse

type DescribeSlowLogResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 慢查询总数
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 慢查询详情
		InstanceSlowlogDetail []*InstanceSlowlogDetail `json:"InstanceSlowlogDetail,omitempty" name:"InstanceSlowlogDetail" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeSlowLogResponse

func NewDescribeSlowLogResponse() (response *DescribeSlowLogResponse)

func (*DescribeSlowLogResponse) FromJsonString

func (r *DescribeSlowLogResponse) FromJsonString(s string) error

func (*DescribeSlowLogResponse) ToJsonString

func (r *DescribeSlowLogResponse) ToJsonString() string

type DescribeTaskInfoRequest

type DescribeTaskInfoRequest struct {
	*tchttp.BaseRequest

	// 任务ID
	TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`
}

func NewDescribeTaskInfoRequest

func NewDescribeTaskInfoRequest() (request *DescribeTaskInfoRequest)

func (*DescribeTaskInfoRequest) FromJsonString

func (r *DescribeTaskInfoRequest) FromJsonString(s string) error

func (*DescribeTaskInfoRequest) ToJsonString

func (r *DescribeTaskInfoRequest) ToJsonString() string

type DescribeTaskInfoResponse

type DescribeTaskInfoResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务状态preparing:待执行,running:执行中,succeed:成功,failed:失败,error 执行出错
		Status *string `json:"Status,omitempty" name:"Status"`

		// 任务开始时间
		StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

		// 任务类型
		TaskType *string `json:"TaskType,omitempty" name:"TaskType"`

		// 实例的ID
		InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

		// 任务信息,错误时显示错误信息。执行中与成功则为空
		TaskMessage *string `json:"TaskMessage,omitempty" name:"TaskMessage"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeTaskInfoResponse

func NewDescribeTaskInfoResponse() (response *DescribeTaskInfoResponse)

func (*DescribeTaskInfoResponse) FromJsonString

func (r *DescribeTaskInfoResponse) FromJsonString(s string) error

func (*DescribeTaskInfoResponse) ToJsonString

func (r *DescribeTaskInfoResponse) ToJsonString() string

type DestroyPostpaidInstanceRequest

type DestroyPostpaidInstanceRequest struct {
	*tchttp.BaseRequest

	// 实例Id
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

func NewDestroyPostpaidInstanceRequest

func NewDestroyPostpaidInstanceRequest() (request *DestroyPostpaidInstanceRequest)

func (*DestroyPostpaidInstanceRequest) FromJsonString

func (r *DestroyPostpaidInstanceRequest) FromJsonString(s string) error

func (*DestroyPostpaidInstanceRequest) ToJsonString

func (r *DestroyPostpaidInstanceRequest) ToJsonString() string

type DestroyPostpaidInstanceResponse

type DestroyPostpaidInstanceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务Id
		TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDestroyPostpaidInstanceResponse

func NewDestroyPostpaidInstanceResponse() (response *DestroyPostpaidInstanceResponse)

func (*DestroyPostpaidInstanceResponse) FromJsonString

func (r *DestroyPostpaidInstanceResponse) FromJsonString(s string) error

func (*DestroyPostpaidInstanceResponse) ToJsonString

func (r *DestroyPostpaidInstanceResponse) ToJsonString() string

type DestroyPrepaidInstanceRequest

type DestroyPrepaidInstanceRequest struct {
	*tchttp.BaseRequest

	// 实例Id
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

func NewDestroyPrepaidInstanceRequest

func NewDestroyPrepaidInstanceRequest() (request *DestroyPrepaidInstanceRequest)

func (*DestroyPrepaidInstanceRequest) FromJsonString

func (r *DestroyPrepaidInstanceRequest) FromJsonString(s string) error

func (*DestroyPrepaidInstanceRequest) ToJsonString

func (r *DestroyPrepaidInstanceRequest) ToJsonString() string

type DestroyPrepaidInstanceResponse

type DestroyPrepaidInstanceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 订单Id
		DealId *string `json:"DealId,omitempty" name:"DealId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDestroyPrepaidInstanceResponse

func NewDestroyPrepaidInstanceResponse() (response *DestroyPrepaidInstanceResponse)

func (*DestroyPrepaidInstanceResponse) FromJsonString

func (r *DestroyPrepaidInstanceResponse) FromJsonString(s string) error

func (*DestroyPrepaidInstanceResponse) ToJsonString

func (r *DestroyPrepaidInstanceResponse) ToJsonString() string

type DisableReplicaReadonlyRequest

type DisableReplicaReadonlyRequest struct {
	*tchttp.BaseRequest

	// 实例序号ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

func NewDisableReplicaReadonlyRequest

func NewDisableReplicaReadonlyRequest() (request *DisableReplicaReadonlyRequest)

func (*DisableReplicaReadonlyRequest) FromJsonString

func (r *DisableReplicaReadonlyRequest) FromJsonString(s string) error

func (*DisableReplicaReadonlyRequest) ToJsonString

func (r *DisableReplicaReadonlyRequest) ToJsonString() string

type DisableReplicaReadonlyResponse

type DisableReplicaReadonlyResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 失败:ERROR,成功:OK
		Status *string `json:"Status,omitempty" name:"Status"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDisableReplicaReadonlyResponse

func NewDisableReplicaReadonlyResponse() (response *DisableReplicaReadonlyResponse)

func (*DisableReplicaReadonlyResponse) FromJsonString

func (r *DisableReplicaReadonlyResponse) FromJsonString(s string) error

func (*DisableReplicaReadonlyResponse) ToJsonString

func (r *DisableReplicaReadonlyResponse) ToJsonString() string

type EnableReplicaReadonlyRequest

type EnableReplicaReadonlyRequest struct {
	*tchttp.BaseRequest

	// 实例序号ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

func NewEnableReplicaReadonlyRequest

func NewEnableReplicaReadonlyRequest() (request *EnableReplicaReadonlyRequest)

func (*EnableReplicaReadonlyRequest) FromJsonString

func (r *EnableReplicaReadonlyRequest) FromJsonString(s string) error

func (*EnableReplicaReadonlyRequest) ToJsonString

func (r *EnableReplicaReadonlyRequest) ToJsonString() string

type EnableReplicaReadonlyResponse

type EnableReplicaReadonlyResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 错误:ERROR,正确OK。
		Status *string `json:"Status,omitempty" name:"Status"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewEnableReplicaReadonlyResponse

func NewEnableReplicaReadonlyResponse() (response *EnableReplicaReadonlyResponse)

func (*EnableReplicaReadonlyResponse) FromJsonString

func (r *EnableReplicaReadonlyResponse) FromJsonString(s string) error

func (*EnableReplicaReadonlyResponse) ToJsonString

func (r *EnableReplicaReadonlyResponse) ToJsonString() string

type InstanceClusterNode

type InstanceClusterNode struct {

	// 节点名称
	Name *string `json:"Name,omitempty" name:"Name"`

	// 实例运行时节点Id
	RunId *string `json:"RunId,omitempty" name:"RunId"`

	// 集群角色:0-master;1-slave
	Role *int64 `json:"Role,omitempty" name:"Role"`

	// 节点状态:0-readwrite, 1-read, 2-backup
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// 服务状态:0-down;1-on
	Connected *int64 `json:"Connected,omitempty" name:"Connected"`

	// 节点创建时间
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 节点下线时间
	DownTime *string `json:"DownTime,omitempty" name:"DownTime"`

	// 节点slot分布
	Slots *string `json:"Slots,omitempty" name:"Slots"`

	// 节点key分布
	Keys *int64 `json:"Keys,omitempty" name:"Keys"`

	// 节点qps
	Qps *int64 `json:"Qps,omitempty" name:"Qps"`

	// 节点qps倾斜度
	QpsSlope *float64 `json:"QpsSlope,omitempty" name:"QpsSlope"`

	// 节点存储
	Storage *int64 `json:"Storage,omitempty" name:"Storage"`

	// 节点存储倾斜度
	StorageSlope *float64 `json:"StorageSlope,omitempty" name:"StorageSlope"`
}

type InstanceClusterShard

type InstanceClusterShard struct {

	// 分片节点名称
	ShardName *string `json:"ShardName,omitempty" name:"ShardName"`

	// 分片节点Id
	ShardId *string `json:"ShardId,omitempty" name:"ShardId"`

	// 角色
	Role *int64 `json:"Role,omitempty" name:"Role"`

	// Key数量
	Keys *int64 `json:"Keys,omitempty" name:"Keys"`

	// slot信息
	Slots *string `json:"Slots,omitempty" name:"Slots"`

	// 使用容量
	Storage *int64 `json:"Storage,omitempty" name:"Storage"`

	// 容量倾斜率
	StorageSlope *float64 `json:"StorageSlope,omitempty" name:"StorageSlope"`

	// 实例运行时节点Id
	Runid *string `json:"Runid,omitempty" name:"Runid"`

	// 服务状态:0-down;1-on
	Connected *int64 `json:"Connected,omitempty" name:"Connected"`
}

type InstanceEnumParam

type InstanceEnumParam struct {

	// 参数名
	ParamName *string `json:"ParamName,omitempty" name:"ParamName"`

	// 参数类型:enum
	ValueType *string `json:"ValueType,omitempty" name:"ValueType"`

	// 修改后是否需要重启:true,false
	NeedRestart *string `json:"NeedRestart,omitempty" name:"NeedRestart"`

	// 参数默认值
	DefaultValue *string `json:"DefaultValue,omitempty" name:"DefaultValue"`

	// 当前运行参数值
	CurrentValue *string `json:"CurrentValue,omitempty" name:"CurrentValue"`

	// 参数说明
	Tips *string `json:"Tips,omitempty" name:"Tips"`

	// 参数可取值
	EnumValue []*string `json:"EnumValue,omitempty" name:"EnumValue" list`

	// 参数状态, 1: 修改中, 2:修改完成
	Status *int64 `json:"Status,omitempty" name:"Status"`
}

type InstanceIntegerParam

type InstanceIntegerParam struct {

	// 参数名
	ParamName *string `json:"ParamName,omitempty" name:"ParamName"`

	// 参数类型:integer
	ValueType *string `json:"ValueType,omitempty" name:"ValueType"`

	// 修改后是否需要重启:true,false
	NeedRestart *string `json:"NeedRestart,omitempty" name:"NeedRestart"`

	// 参数默认值
	DefaultValue *string `json:"DefaultValue,omitempty" name:"DefaultValue"`

	// 当前运行参数值
	CurrentValue *string `json:"CurrentValue,omitempty" name:"CurrentValue"`

	// 参数说明
	Tips *string `json:"Tips,omitempty" name:"Tips"`

	// 参数最小值
	Min *string `json:"Min,omitempty" name:"Min"`

	// 参数最大值
	Max *string `json:"Max,omitempty" name:"Max"`

	// 参数状态, 1: 修改中, 2:修改完成
	Status *int64 `json:"Status,omitempty" name:"Status"`
}

type InstanceMultiParam

type InstanceMultiParam struct {

	// 参数名
	ParamName *string `json:"ParamName,omitempty" name:"ParamName"`

	// 参数类型:multi
	ValueType *string `json:"ValueType,omitempty" name:"ValueType"`

	// 修改后是否需要重启:true,false
	NeedRestart *string `json:"NeedRestart,omitempty" name:"NeedRestart"`

	// 参数默认值
	DefaultValue *string `json:"DefaultValue,omitempty" name:"DefaultValue"`

	// 当前运行参数值
	CurrentValue *string `json:"CurrentValue,omitempty" name:"CurrentValue"`

	// 参数说明
	Tips *string `json:"Tips,omitempty" name:"Tips"`

	// 参数说明
	EnumValue *string `json:"EnumValue,omitempty" name:"EnumValue"`

	// 参数状态, 1: 修改中, 2:修改完成
	Status *int64 `json:"Status,omitempty" name:"Status"`
}

type InstanceNode

type InstanceNode struct {

	// Id
	Id *int64 `json:"Id,omitempty" name:"Id"`

	// 节点详细信息
	InstanceClusterNode []*InstanceClusterNode `json:"InstanceClusterNode,omitempty" name:"InstanceClusterNode" list`
}

type InstanceParam

type InstanceParam struct {

	// 设置参数的名字
	Key *string `json:"Key,omitempty" name:"Key"`

	// 设置参数的值
	Value *string `json:"Value,omitempty" name:"Value"`
}

type InstanceParamHistory

type InstanceParamHistory struct {

	// 参数名称
	ParamName *string `json:"ParamName,omitempty" name:"ParamName"`

	// 修改前值
	PreValue *string `json:"PreValue,omitempty" name:"PreValue"`

	// 修改后值
	NewValue *string `json:"NewValue,omitempty" name:"NewValue"`

	// 状态:1-参数配置修改中;2-参数配置修改成功;3-参数配置修改失败
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// 修改时间
	ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`
}

type InstanceSecurityGroupDetail

type InstanceSecurityGroupDetail struct {

	// 实例Id
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 安全组信息
	SecurityGroupDetails []*SecurityGroupDetail `json:"SecurityGroupDetails,omitempty" name:"SecurityGroupDetails" list`
}

type InstanceSet

type InstanceSet struct {

	// 实例名称
	InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"`

	// 实例Id
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 用户的Appid
	Appid *int64 `json:"Appid,omitempty" name:"Appid"`

	// 项目Id
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// 地域id 1--广州 4--上海 5-- 中国香港 6--多伦多 7--上海金融 8--北京 9-- 新加坡 11--深圳金融 15--美西(硅谷)16--成都 17--德国 18--韩国 19--重庆 21--印度 22--美东(弗吉尼亚)23--泰国 24--俄罗斯 25--日本
	RegionId *int64 `json:"RegionId,omitempty" name:"RegionId"`

	// 区域id
	ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"`

	// vpc网络id 如:75101
	VpcId *int64 `json:"VpcId,omitempty" name:"VpcId"`

	// vpc网络下子网id 如:46315
	SubnetId *int64 `json:"SubnetId,omitempty" name:"SubnetId"`

	// 实例当前状态,0:待初始化;1:实例在流程中;2:实例运行中;-2:实例已隔离;-3:实例待删除
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// 实例vip
	WanIp *string `json:"WanIp,omitempty" name:"WanIp"`

	// 实例端口号
	Port *int64 `json:"Port,omitempty" name:"Port"`

	// 实例创建时间
	Createtime *string `json:"Createtime,omitempty" name:"Createtime"`

	// 实例容量大小,单位:MB
	Size *float64 `json:"Size,omitempty" name:"Size"`

	// 该字段已废弃
	SizeUsed *float64 `json:"SizeUsed,omitempty" name:"SizeUsed"`

	// 实例类型,1:Redis2.8集群版;2:Redis2.8主从版;3:CKV主从版(Redis3.2);4:CKV集群版(Redis3.2);5:Redis2.8单机版;6:Redis4.0主从版;7:Redis4.0集群版;
	Type *int64 `json:"Type,omitempty" name:"Type"`

	// 实例是否设置自动续费标识,1:设置自动续费;0:未设置自动续费
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"`

	// 实例到期时间
	DeadlineTime *string `json:"DeadlineTime,omitempty" name:"DeadlineTime"`

	// 引擎:社区版Redis、腾讯云CKV
	Engine *string `json:"Engine,omitempty" name:"Engine"`

	// 产品类型:Redis2.8集群版、Redis2.8主从版、Redis3.2主从版(CKV主从版)、Redis3.2集群版(CKV集群版)、Redis2.8单机版、Redis4.0集群版
	ProductType *string `json:"ProductType,omitempty" name:"ProductType"`

	// vpc网络id 如:vpc-fk33jsf43kgv
	UniqVpcId *string `json:"UniqVpcId,omitempty" name:"UniqVpcId"`

	// vpc网络下子网id 如:subnet-fd3j6l35mm0
	UniqSubnetId *string `json:"UniqSubnetId,omitempty" name:"UniqSubnetId"`

	// 计费模式:0-按量计费,1-包年包月
	BillingMode *int64 `json:"BillingMode,omitempty" name:"BillingMode"`

	// 实例运行状态描述:如”实例运行中“
	InstanceTitle *string `json:"InstanceTitle,omitempty" name:"InstanceTitle"`

	// 计划下线时间
	OfflineTime *string `json:"OfflineTime,omitempty" name:"OfflineTime"`

	// 流程中的实例,返回子状态
	SubStatus *int64 `json:"SubStatus,omitempty" name:"SubStatus"`

	// 反亲和性标签
	Tags []*string `json:"Tags,omitempty" name:"Tags" list`

	// 实例节点信息
	InstanceNode []*InstanceNode `json:"InstanceNode,omitempty" name:"InstanceNode" list`

	// 分片大小
	RedisShardSize *int64 `json:"RedisShardSize,omitempty" name:"RedisShardSize"`

	// 分片数量
	RedisShardNum *int64 `json:"RedisShardNum,omitempty" name:"RedisShardNum"`

	// 副本数量
	RedisReplicasNum *int64 `json:"RedisReplicasNum,omitempty" name:"RedisReplicasNum"`

	// 计费Id
	PriceId *int64 `json:"PriceId,omitempty" name:"PriceId"`

	// 隔离时间
	CloseTime *string `json:"CloseTime,omitempty" name:"CloseTime"`

	// 从节点读取权重
	SlaveReadWeight *int64 `json:"SlaveReadWeight,omitempty" name:"SlaveReadWeight"`

	// 实例关联的标签信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	InstanceTags []*InstanceTagInfo `json:"InstanceTags,omitempty" name:"InstanceTags" list`

	// 项目名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"`

	// 是否为免密实例,true-免密实例;false-非免密实例
	// 注意:此字段可能返回 null,表示取不到有效值。
	NoAuth *bool `json:"NoAuth,omitempty" name:"NoAuth"`
}

type InstanceSlowlogDetail

type InstanceSlowlogDetail struct {

	// 慢查询耗时
	Duration *int64 `json:"Duration,omitempty" name:"Duration"`

	// 客户端地址
	Client *string `json:"Client,omitempty" name:"Client"`

	// 命令
	Command *string `json:"Command,omitempty" name:"Command"`

	// 详细命令行信息
	CommandLine *string `json:"CommandLine,omitempty" name:"CommandLine"`

	// 执行时间
	ExecuteTime *string `json:"ExecuteTime,omitempty" name:"ExecuteTime"`
}

type InstanceTagInfo

type InstanceTagInfo struct {

	// 标签键
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// 标签值
	TagValue *string `json:"TagValue,omitempty" name:"TagValue"`
}

type InstanceTextParam

type InstanceTextParam struct {

	// 参数名
	ParamName *string `json:"ParamName,omitempty" name:"ParamName"`

	// 参数类型:text
	ValueType *string `json:"ValueType,omitempty" name:"ValueType"`

	// 修改后是否需要重启:true,false
	NeedRestart *string `json:"NeedRestart,omitempty" name:"NeedRestart"`

	// 参数默认值
	DefaultValue *string `json:"DefaultValue,omitempty" name:"DefaultValue"`

	// 当前运行参数值
	CurrentValue *string `json:"CurrentValue,omitempty" name:"CurrentValue"`

	// 参数说明
	Tips *string `json:"Tips,omitempty" name:"Tips"`

	// 参数可取值
	TextValue []*string `json:"TextValue,omitempty" name:"TextValue" list`

	// 参数状态, 1: 修改中, 2:修改完成
	Status *int64 `json:"Status,omitempty" name:"Status"`
}

type ManualBackupInstanceRequest

type ManualBackupInstanceRequest struct {
	*tchttp.BaseRequest

	// 待操作的实例ID,可通过 DescribeInstance接口返回值中的 InstanceId 获取。
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 备份的备注信息
	Remark *string `json:"Remark,omitempty" name:"Remark"`
}

func NewManualBackupInstanceRequest

func NewManualBackupInstanceRequest() (request *ManualBackupInstanceRequest)

func (*ManualBackupInstanceRequest) FromJsonString

func (r *ManualBackupInstanceRequest) FromJsonString(s string) error

func (*ManualBackupInstanceRequest) ToJsonString

func (r *ManualBackupInstanceRequest) ToJsonString() string

type ManualBackupInstanceResponse

type ManualBackupInstanceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务ID
		TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewManualBackupInstanceResponse

func NewManualBackupInstanceResponse() (response *ManualBackupInstanceResponse)

func (*ManualBackupInstanceResponse) FromJsonString

func (r *ManualBackupInstanceResponse) FromJsonString(s string) error

func (*ManualBackupInstanceResponse) ToJsonString

func (r *ManualBackupInstanceResponse) ToJsonString() string

type ModfiyInstancePasswordRequest

type ModfiyInstancePasswordRequest struct {
	*tchttp.BaseRequest

	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 实例旧密码
	OldPassword *string `json:"OldPassword,omitempty" name:"OldPassword"`

	// 实例新密码
	Password *string `json:"Password,omitempty" name:"Password"`
}

func NewModfiyInstancePasswordRequest

func NewModfiyInstancePasswordRequest() (request *ModfiyInstancePasswordRequest)

func (*ModfiyInstancePasswordRequest) FromJsonString

func (r *ModfiyInstancePasswordRequest) FromJsonString(s string) error

func (*ModfiyInstancePasswordRequest) ToJsonString

func (r *ModfiyInstancePasswordRequest) ToJsonString() string

type ModfiyInstancePasswordResponse

type ModfiyInstancePasswordResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务ID
		TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModfiyInstancePasswordResponse

func NewModfiyInstancePasswordResponse() (response *ModfiyInstancePasswordResponse)

func (*ModfiyInstancePasswordResponse) FromJsonString

func (r *ModfiyInstancePasswordResponse) FromJsonString(s string) error

func (*ModfiyInstancePasswordResponse) ToJsonString

func (r *ModfiyInstancePasswordResponse) ToJsonString() string

type ModifyAutoBackupConfigRequest

type ModifyAutoBackupConfigRequest struct {
	*tchttp.BaseRequest

	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 日期 Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday
	WeekDays []*string `json:"WeekDays,omitempty" name:"WeekDays" list`

	// 时间段 00:00-01:00, 01:00-02:00...... 23:00-00:00
	TimePeriod *string `json:"TimePeriod,omitempty" name:"TimePeriod"`

	// 自动备份类型: 1 “定时回档”
	AutoBackupType *int64 `json:"AutoBackupType,omitempty" name:"AutoBackupType"`
}

func NewModifyAutoBackupConfigRequest

func NewModifyAutoBackupConfigRequest() (request *ModifyAutoBackupConfigRequest)

func (*ModifyAutoBackupConfigRequest) FromJsonString

func (r *ModifyAutoBackupConfigRequest) FromJsonString(s string) error

func (*ModifyAutoBackupConfigRequest) ToJsonString

func (r *ModifyAutoBackupConfigRequest) ToJsonString() string

type ModifyAutoBackupConfigResponse

type ModifyAutoBackupConfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 自动备份类型: 1 “定时回档”
		AutoBackupType *int64 `json:"AutoBackupType,omitempty" name:"AutoBackupType"`

		// 日期Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday。
		WeekDays []*string `json:"WeekDays,omitempty" name:"WeekDays" list`

		// 时间段 00:00-01:00, 01:00-02:00...... 23:00-00:00
		TimePeriod *string `json:"TimePeriod,omitempty" name:"TimePeriod"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyAutoBackupConfigResponse

func NewModifyAutoBackupConfigResponse() (response *ModifyAutoBackupConfigResponse)

func (*ModifyAutoBackupConfigResponse) FromJsonString

func (r *ModifyAutoBackupConfigResponse) FromJsonString(s string) error

func (*ModifyAutoBackupConfigResponse) ToJsonString

func (r *ModifyAutoBackupConfigResponse) ToJsonString() string

type ModifyInstanceParamsRequest

type ModifyInstanceParamsRequest struct {
	*tchttp.BaseRequest

	// 实例Id
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 实例修改的参数列表
	InstanceParams []*InstanceParam `json:"InstanceParams,omitempty" name:"InstanceParams" list`
}

func NewModifyInstanceParamsRequest

func NewModifyInstanceParamsRequest() (request *ModifyInstanceParamsRequest)

func (*ModifyInstanceParamsRequest) FromJsonString

func (r *ModifyInstanceParamsRequest) FromJsonString(s string) error

func (*ModifyInstanceParamsRequest) ToJsonString

func (r *ModifyInstanceParamsRequest) ToJsonString() string

type ModifyInstanceParamsResponse

type ModifyInstanceParamsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 修改是否成功。
		Changed *bool `json:"Changed,omitempty" name:"Changed"`

		// 任务ID
		TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyInstanceParamsResponse

func NewModifyInstanceParamsResponse() (response *ModifyInstanceParamsResponse)

func (*ModifyInstanceParamsResponse) FromJsonString

func (r *ModifyInstanceParamsResponse) FromJsonString(s string) error

func (*ModifyInstanceParamsResponse) ToJsonString

func (r *ModifyInstanceParamsResponse) ToJsonString() string

type ModifyInstanceRequest

type ModifyInstanceRequest struct {
	*tchttp.BaseRequest

	// 修改实例操作,如填写:rename-表示实例重命名;modifyProject-修改实例所属项目;modifyAutoRenew-修改实例续费标记
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 实例Id
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 实例的新名称
	InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"`

	// 项目Id
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// 自动续费标识。0 - 默认状态(手动续费);1 - 自动续费;2 - 明确不自动续费
	AutoRenew *int64 `json:"AutoRenew,omitempty" name:"AutoRenew"`
}

func NewModifyInstanceRequest

func NewModifyInstanceRequest() (request *ModifyInstanceRequest)

func (*ModifyInstanceRequest) FromJsonString

func (r *ModifyInstanceRequest) FromJsonString(s string) error

func (*ModifyInstanceRequest) ToJsonString

func (r *ModifyInstanceRequest) ToJsonString() string

type ModifyInstanceResponse

type ModifyInstanceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyInstanceResponse

func NewModifyInstanceResponse() (response *ModifyInstanceResponse)

func (*ModifyInstanceResponse) FromJsonString

func (r *ModifyInstanceResponse) FromJsonString(s string) error

func (*ModifyInstanceResponse) ToJsonString

func (r *ModifyInstanceResponse) ToJsonString() string

type ModifyNetworkConfigRequest

type ModifyNetworkConfigRequest struct {
	*tchttp.BaseRequest

	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 操作类型:changeVip——修改实例VIP;changeVpc——修改实例子网;changeBaseToVpc——基础网络转VPC网络
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// VIP地址,changeVip的时候填写,不填则默认分配
	Vip *string `json:"Vip,omitempty" name:"Vip"`

	// 私有网络ID,changeVpc、changeBaseToVpc的时候需要提供
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 子网ID,changeVpc、changeBaseToVpc的时候需要提供
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`
}

func NewModifyNetworkConfigRequest

func NewModifyNetworkConfigRequest() (request *ModifyNetworkConfigRequest)

func (*ModifyNetworkConfigRequest) FromJsonString

func (r *ModifyNetworkConfigRequest) FromJsonString(s string) error

func (*ModifyNetworkConfigRequest) ToJsonString

func (r *ModifyNetworkConfigRequest) ToJsonString() string

type ModifyNetworkConfigResponse

type ModifyNetworkConfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 执行状态:true|false
		Status *bool `json:"Status,omitempty" name:"Status"`

		// 子网ID
		SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

		// 私有网络ID
		VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

		// VIP地址
		Vip *string `json:"Vip,omitempty" name:"Vip"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyNetworkConfigResponse

func NewModifyNetworkConfigResponse() (response *ModifyNetworkConfigResponse)

func (*ModifyNetworkConfigResponse) FromJsonString

func (r *ModifyNetworkConfigResponse) FromJsonString(s string) error

func (*ModifyNetworkConfigResponse) ToJsonString

func (r *ModifyNetworkConfigResponse) ToJsonString() string

type ProductConf

type ProductConf struct {

	// 产品类型,2-Redis主从版,3-CKV主从版,4-CKV集群版,5-Redis单机版,7-Redis集群版
	Type *int64 `json:"Type,omitempty" name:"Type"`

	// 产品名称,Redis主从版,CKV主从版,CKV集群版,Redis单机版,Redis集群版
	TypeName *string `json:"TypeName,omitempty" name:"TypeName"`

	// 购买时的最小数量
	MinBuyNum *int64 `json:"MinBuyNum,omitempty" name:"MinBuyNum"`

	// 购买时的最大数量
	MaxBuyNum *int64 `json:"MaxBuyNum,omitempty" name:"MaxBuyNum"`

	// 产品是否售罄
	Saleout *bool `json:"Saleout,omitempty" name:"Saleout"`

	// 产品引擎,腾讯云CKV或者社区版Redis
	Engine *string `json:"Engine,omitempty" name:"Engine"`

	// 兼容版本,Redis-2.8,Redis-3.2,Redis-4.0
	Version *string `json:"Version,omitempty" name:"Version"`

	// 规格总大小,单位G
	TotalSize []*string `json:"TotalSize,omitempty" name:"TotalSize" list`

	// 每个分片大小,单位G
	ShardSize []*string `json:"ShardSize,omitempty" name:"ShardSize" list`

	// 副本数量
	ReplicaNum []*string `json:"ReplicaNum,omitempty" name:"ReplicaNum" list`

	// 分片数量
	ShardNum []*string `json:"ShardNum,omitempty" name:"ShardNum" list`

	// 支持的计费模式,1-包年包月,0-按量计费
	PayMode *string `json:"PayMode,omitempty" name:"PayMode"`

	// 是否支持副本只读
	EnableRepicaReadOnly *bool `json:"EnableRepicaReadOnly,omitempty" name:"EnableRepicaReadOnly"`
}

type RedisBackupSet

type RedisBackupSet struct {

	// 开始备份的时间
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// 备份ID
	BackupId *string `json:"BackupId,omitempty" name:"BackupId"`

	// 备份类型。 manualBackupInstance:用户发起的手动备份; systemBackupInstance:凌晨系统发起的备份
	BackupType *string `json:"BackupType,omitempty" name:"BackupType"`

	// 备份状态。  1:"备份被其它流程锁定";  2:"备份正常,没有被任何流程锁定";  -1:"备份已过期"; 3:"备份正在被导出";  4:"备份导出成功"
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// 备份的备注信息
	Remark *string `json:"Remark,omitempty" name:"Remark"`

	// 备份是否被锁定,0:未被锁定;1:已被锁定
	Locked *int64 `json:"Locked,omitempty" name:"Locked"`
}

type RegionConf

type RegionConf struct {

	// 地域ID
	RegionId *string `json:"RegionId,omitempty" name:"RegionId"`

	// 地域名称
	RegionName *string `json:"RegionName,omitempty" name:"RegionName"`

	// 地域简称
	RegionShortName *string `json:"RegionShortName,omitempty" name:"RegionShortName"`

	// 地域所在大区名称
	Area *string `json:"Area,omitempty" name:"Area"`

	// 可用区信息
	ZoneSet []*ZoneCapacityConf `json:"ZoneSet,omitempty" name:"ZoneSet" list`
}

type RenewInstanceRequest

type RenewInstanceRequest struct {
	*tchttp.BaseRequest

	// 购买时长,单位:月
	Period *uint64 `json:"Period,omitempty" name:"Period"`

	// 实例ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

func NewRenewInstanceRequest

func NewRenewInstanceRequest() (request *RenewInstanceRequest)

func (*RenewInstanceRequest) FromJsonString

func (r *RenewInstanceRequest) FromJsonString(s string) error

func (*RenewInstanceRequest) ToJsonString

func (r *RenewInstanceRequest) ToJsonString() string

type RenewInstanceResponse

type RenewInstanceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 交易Id
		DealId *string `json:"DealId,omitempty" name:"DealId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewRenewInstanceResponse

func NewRenewInstanceResponse() (response *RenewInstanceResponse)

func (*RenewInstanceResponse) FromJsonString

func (r *RenewInstanceResponse) FromJsonString(s string) error

func (*RenewInstanceResponse) ToJsonString

func (r *RenewInstanceResponse) ToJsonString() string

type ResetPasswordRequest

type ResetPasswordRequest struct {
	*tchttp.BaseRequest

	// Redis实例ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 重置的密码(切换为免密实例时,可不传;其他情况必传)
	Password *string `json:"Password,omitempty" name:"Password"`

	// 是否切换免密实例,false-切换为非免密码实例,true-切换为免密码实例;默认false
	NoAuth *bool `json:"NoAuth,omitempty" name:"NoAuth"`
}

func NewResetPasswordRequest

func NewResetPasswordRequest() (request *ResetPasswordRequest)

func (*ResetPasswordRequest) FromJsonString

func (r *ResetPasswordRequest) FromJsonString(s string) error

func (*ResetPasswordRequest) ToJsonString

func (r *ResetPasswordRequest) ToJsonString() string

type ResetPasswordResponse

type ResetPasswordResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务ID(修改密码时的任务ID,如果时切换免密码或者非免密码实例,则无需关注此返回值)
		TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewResetPasswordResponse

func NewResetPasswordResponse() (response *ResetPasswordResponse)

func (*ResetPasswordResponse) FromJsonString

func (r *ResetPasswordResponse) FromJsonString(s string) error

func (*ResetPasswordResponse) ToJsonString

func (r *ResetPasswordResponse) ToJsonString() string

type RestoreInstanceRequest

type RestoreInstanceRequest struct {
	*tchttp.BaseRequest

	// 待操作的实例ID,可通过 DescribeRedis 接口返回值中的 redisId 获取。
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 备份ID,可通过 GetRedisBackupList 接口返回值中的 backupId 获取
	BackupId *string `json:"BackupId,omitempty" name:"BackupId"`

	// 实例密码,恢复实例时,需要校验实例密码(免密实例不需要传密码)
	Password *string `json:"Password,omitempty" name:"Password"`
}

func NewRestoreInstanceRequest

func NewRestoreInstanceRequest() (request *RestoreInstanceRequest)

func (*RestoreInstanceRequest) FromJsonString

func (r *RestoreInstanceRequest) FromJsonString(s string) error

func (*RestoreInstanceRequest) ToJsonString

func (r *RestoreInstanceRequest) ToJsonString() string

type RestoreInstanceResponse

type RestoreInstanceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务ID,可通过 DescribeTaskInfo 接口查询任务执行状态
		TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewRestoreInstanceResponse

func NewRestoreInstanceResponse() (response *RestoreInstanceResponse)

func (*RestoreInstanceResponse) FromJsonString

func (r *RestoreInstanceResponse) FromJsonString(s string) error

func (*RestoreInstanceResponse) ToJsonString

func (r *RestoreInstanceResponse) ToJsonString() string

type SecurityGroupDetail

type SecurityGroupDetail struct {

	// 项目Id
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// 创建时间
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 安全组Id
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"`

	// 安全组名称
	SecurityGroupName *string `json:"SecurityGroupName,omitempty" name:"SecurityGroupName"`

	// 安全组标记
	SecurityGroupRemark *string `json:"SecurityGroupRemark,omitempty" name:"SecurityGroupRemark"`

	// 安全组入站规则
	InboundRule []*SecurityGroupsInboundAndOutbound `json:"InboundRule,omitempty" name:"InboundRule" list`

	// 安全组出站规则
	OutboundRule []*SecurityGroupsInboundAndOutbound `json:"OutboundRule,omitempty" name:"OutboundRule" list`
}

type SecurityGroupsInboundAndOutbound

type SecurityGroupsInboundAndOutbound struct {

	// 执行动作
	Action *string `json:"Action,omitempty" name:"Action"`

	// IP地址
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// 端口号
	Port *string `json:"Port,omitempty" name:"Port"`

	// 协议类型
	Proto *string `json:"Proto,omitempty" name:"Proto"`
}

type SwitchInstanceVipRequest

type SwitchInstanceVipRequest struct {
	*tchttp.BaseRequest

	// 源实例ID
	SrcInstanceId *string `json:"SrcInstanceId,omitempty" name:"SrcInstanceId"`

	// 目标实例ID
	DstInstanceId *string `json:"DstInstanceId,omitempty" name:"DstInstanceId"`

	// 单位为秒。源实例与目标实例间DTS已断开时间,如果DTS断开时间大于TimeDelay,则不切换VIP,建议尽量根据业务设置一个可接受的值。
	TimeDelay *int64 `json:"TimeDelay,omitempty" name:"TimeDelay"`

	// 在DTS断开的情况下是否强制切换。1:强制切换,0:不强制切换
	ForceSwitch *int64 `json:"ForceSwitch,omitempty" name:"ForceSwitch"`

	// now: 立即切换,syncComplete:等待同步完成后切换
	SwitchTime *string `json:"SwitchTime,omitempty" name:"SwitchTime"`
}

func NewSwitchInstanceVipRequest

func NewSwitchInstanceVipRequest() (request *SwitchInstanceVipRequest)

func (*SwitchInstanceVipRequest) FromJsonString

func (r *SwitchInstanceVipRequest) FromJsonString(s string) error

func (*SwitchInstanceVipRequest) ToJsonString

func (r *SwitchInstanceVipRequest) ToJsonString() string

type SwitchInstanceVipResponse

type SwitchInstanceVipResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务ID
		TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewSwitchInstanceVipResponse

func NewSwitchInstanceVipResponse() (response *SwitchInstanceVipResponse)

func (*SwitchInstanceVipResponse) FromJsonString

func (r *SwitchInstanceVipResponse) FromJsonString(s string) error

func (*SwitchInstanceVipResponse) ToJsonString

func (r *SwitchInstanceVipResponse) ToJsonString() string

type TradeDealDetail

type TradeDealDetail struct {

	// 订单号ID,调用云API时使用此ID
	DealId *string `json:"DealId,omitempty" name:"DealId"`

	// 长订单ID,反馈订单问题给官方客服使用此ID
	DealName *string `json:"DealName,omitempty" name:"DealName"`

	// 可用区id
	ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"`

	// 订单关联的实例数
	GoodsNum *int64 `json:"GoodsNum,omitempty" name:"GoodsNum"`

	// 创建用户uin
	Creater *string `json:"Creater,omitempty" name:"Creater"`

	// 订单创建时间
	CreatTime *string `json:"CreatTime,omitempty" name:"CreatTime"`

	// 订单超时时间
	OverdueTime *string `json:"OverdueTime,omitempty" name:"OverdueTime"`

	// 订单完成时间
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// 订单状态 1:未支付 2:已支付,未发货 3:发货中 4:发货成功 5:发货失败 6:已退款 7:已关闭订单 8:订单过期 9:订单已失效 10:产品已失效 11:代付拒绝 12:支付中
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// 订单状态描述
	Description *string `json:"Description,omitempty" name:"Description"`

	// 订单实际总价,单位:分
	Price *int64 `json:"Price,omitempty" name:"Price"`

	// 实例ID
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds" list`
}

type UpgradeInstanceRequest

type UpgradeInstanceRequest struct {
	*tchttp.BaseRequest

	// 实例Id
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// 分片大小 单位 MB
	MemSize *uint64 `json:"MemSize,omitempty" name:"MemSize"`

	// 分片数量,Redis2.8主从版、CKV主从版和Redis2.8单机版不需要填写
	RedisShardNum *uint64 `json:"RedisShardNum,omitempty" name:"RedisShardNum"`

	// 副本数量,Redis2.8主从版、CKV主从版和Redis2.8单机版不需要填写
	RedisReplicasNum *uint64 `json:"RedisReplicasNum,omitempty" name:"RedisReplicasNum"`
}

func NewUpgradeInstanceRequest

func NewUpgradeInstanceRequest() (request *UpgradeInstanceRequest)

func (*UpgradeInstanceRequest) FromJsonString

func (r *UpgradeInstanceRequest) FromJsonString(s string) error

func (*UpgradeInstanceRequest) ToJsonString

func (r *UpgradeInstanceRequest) ToJsonString() string

type UpgradeInstanceResponse

type UpgradeInstanceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 订单ID
		DealId *string `json:"DealId,omitempty" name:"DealId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewUpgradeInstanceResponse

func NewUpgradeInstanceResponse() (response *UpgradeInstanceResponse)

func (*UpgradeInstanceResponse) FromJsonString

func (r *UpgradeInstanceResponse) FromJsonString(s string) error

func (*UpgradeInstanceResponse) ToJsonString

func (r *UpgradeInstanceResponse) ToJsonString() string

type ZoneCapacityConf

type ZoneCapacityConf struct {

	// 可用区ID:如ap-guangzhou-3
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// 可用区名称
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// 可用区是否售罄
	IsSaleout *bool `json:"IsSaleout,omitempty" name:"IsSaleout"`

	// 是否为默认可用区
	IsDefault *bool `json:"IsDefault,omitempty" name:"IsDefault"`

	// 网络类型:basenet -- 基础网络;vpcnet -- VPC网络
	NetWorkType []*string `json:"NetWorkType,omitempty" name:"NetWorkType" list`

	// 可用区内产品规格等信息
	ProductSet []*ProductConf `json:"ProductSet,omitempty" name:"ProductSet" list`

	// 可用区ID:如100003
	OldZoneId *int64 `json:"OldZoneId,omitempty" name:"OldZoneId"`
}

Jump to

Keyboard shortcuts

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