Documentation ¶
Index ¶
- Constants
- type Account
- type AssociateSecurityGroupsRequest
- type AssociateSecurityGroupsResponse
- type BigKeyInfo
- type BigKeyTypeInfo
- type CleanUpInstanceRequest
- type CleanUpInstanceResponse
- type ClearInstanceRequest
- type ClearInstanceResponse
- type Client
- func (c *Client) AssociateSecurityGroups(request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error)
- func (c *Client) CleanUpInstance(request *CleanUpInstanceRequest) (response *CleanUpInstanceResponse, err error)
- func (c *Client) ClearInstance(request *ClearInstanceRequest) (response *ClearInstanceResponse, err error)
- func (c *Client) CreateInstanceAccount(request *CreateInstanceAccountRequest) (response *CreateInstanceAccountResponse, err error)
- func (c *Client) CreateInstances(request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)
- func (c *Client) DeleteInstanceAccount(request *DeleteInstanceAccountRequest) (response *DeleteInstanceAccountResponse, err error)
- func (c *Client) DescribeAutoBackupConfig(request *DescribeAutoBackupConfigRequest) (response *DescribeAutoBackupConfigResponse, err error)
- func (c *Client) DescribeBackupUrl(request *DescribeBackupUrlRequest) (response *DescribeBackupUrlResponse, err error)
- func (c *Client) DescribeDBSecurityGroups(request *DescribeDBSecurityGroupsRequest) (response *DescribeDBSecurityGroupsResponse, err error)
- func (c *Client) DescribeInstanceAccount(request *DescribeInstanceAccountRequest) (response *DescribeInstanceAccountResponse, err error)
- func (c *Client) DescribeInstanceBackups(request *DescribeInstanceBackupsRequest) (response *DescribeInstanceBackupsResponse, err error)
- func (c *Client) DescribeInstanceDTSInfo(request *DescribeInstanceDTSInfoRequest) (response *DescribeInstanceDTSInfoResponse, err error)
- func (c *Client) DescribeInstanceDealDetail(request *DescribeInstanceDealDetailRequest) (response *DescribeInstanceDealDetailResponse, err error)
- func (c *Client) DescribeInstanceMonitorBigKey(request *DescribeInstanceMonitorBigKeyRequest) (response *DescribeInstanceMonitorBigKeyResponse, err error)
- func (c *Client) DescribeInstanceMonitorBigKeySizeDist(request *DescribeInstanceMonitorBigKeySizeDistRequest) (response *DescribeInstanceMonitorBigKeySizeDistResponse, err error)
- func (c *Client) DescribeInstanceMonitorBigKeyTypeDist(request *DescribeInstanceMonitorBigKeyTypeDistRequest) (response *DescribeInstanceMonitorBigKeyTypeDistResponse, err error)
- func (c *Client) DescribeInstanceMonitorHotKey(request *DescribeInstanceMonitorHotKeyRequest) (response *DescribeInstanceMonitorHotKeyResponse, err error)
- func (c *Client) DescribeInstanceMonitorSIP(request *DescribeInstanceMonitorSIPRequest) (response *DescribeInstanceMonitorSIPResponse, err error)
- func (c *Client) DescribeInstanceMonitorTookDist(request *DescribeInstanceMonitorTookDistRequest) (response *DescribeInstanceMonitorTookDistResponse, err error)
- func (c *Client) DescribeInstanceMonitorTopNCmd(request *DescribeInstanceMonitorTopNCmdRequest) (response *DescribeInstanceMonitorTopNCmdResponse, err error)
- func (c *Client) DescribeInstanceMonitorTopNCmdTook(request *DescribeInstanceMonitorTopNCmdTookRequest) (response *DescribeInstanceMonitorTopNCmdTookResponse, err error)
- func (c *Client) DescribeInstanceParamRecords(request *DescribeInstanceParamRecordsRequest) (response *DescribeInstanceParamRecordsResponse, err error)
- func (c *Client) DescribeInstanceParams(request *DescribeInstanceParamsRequest) (response *DescribeInstanceParamsResponse, err error)
- func (c *Client) DescribeInstanceSecurityGroup(request *DescribeInstanceSecurityGroupRequest) (response *DescribeInstanceSecurityGroupResponse, err error)
- func (c *Client) DescribeInstanceShards(request *DescribeInstanceShardsRequest) (response *DescribeInstanceShardsResponse, err error)
- func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
- func (c *Client) DescribeProductInfo(request *DescribeProductInfoRequest) (response *DescribeProductInfoResponse, err error)
- func (c *Client) DescribeProjectSecurityGroup(request *DescribeProjectSecurityGroupRequest) (response *DescribeProjectSecurityGroupResponse, err error)
- func (c *Client) DescribeProjectSecurityGroups(request *DescribeProjectSecurityGroupsRequest) (response *DescribeProjectSecurityGroupsResponse, err error)
- func (c *Client) DescribeSlowLog(request *DescribeSlowLogRequest) (response *DescribeSlowLogResponse, err error)
- func (c *Client) DescribeTaskInfo(request *DescribeTaskInfoRequest) (response *DescribeTaskInfoResponse, err error)
- func (c *Client) DescribeTaskList(request *DescribeTaskListRequest) (response *DescribeTaskListResponse, err error)
- func (c *Client) DestroyPostpaidInstance(request *DestroyPostpaidInstanceRequest) (response *DestroyPostpaidInstanceResponse, err error)
- func (c *Client) DestroyPrepaidInstance(request *DestroyPrepaidInstanceRequest) (response *DestroyPrepaidInstanceResponse, err error)
- func (c *Client) DisableReplicaReadonly(request *DisableReplicaReadonlyRequest) (response *DisableReplicaReadonlyResponse, err error)
- func (c *Client) DisassociateSecurityGroups(request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error)
- func (c *Client) EnableReplicaReadonly(request *EnableReplicaReadonlyRequest) (response *EnableReplicaReadonlyResponse, err error)
- func (c *Client) InquiryPriceCreateInstance(request *InquiryPriceCreateInstanceRequest) (response *InquiryPriceCreateInstanceResponse, err error)
- func (c *Client) InquiryPriceRenewInstance(request *InquiryPriceRenewInstanceRequest) (response *InquiryPriceRenewInstanceResponse, err error)
- func (c *Client) InquiryPriceUpgradeInstance(request *InquiryPriceUpgradeInstanceRequest) (response *InquiryPriceUpgradeInstanceResponse, err error)
- func (c *Client) ManualBackupInstance(request *ManualBackupInstanceRequest) (response *ManualBackupInstanceResponse, err error)
- func (c *Client) ModfiyInstancePassword(request *ModfiyInstancePasswordRequest) (response *ModfiyInstancePasswordResponse, err error)
- func (c *Client) ModifyAutoBackupConfig(request *ModifyAutoBackupConfigRequest) (response *ModifyAutoBackupConfigResponse, err error)
- func (c *Client) ModifyDBInstanceSecurityGroups(request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error)
- func (c *Client) ModifyInstance(request *ModifyInstanceRequest) (response *ModifyInstanceResponse, err error)
- func (c *Client) ModifyInstanceAccount(request *ModifyInstanceAccountRequest) (response *ModifyInstanceAccountResponse, err error)
- func (c *Client) ModifyInstanceParams(request *ModifyInstanceParamsRequest) (response *ModifyInstanceParamsResponse, err error)
- func (c *Client) ModifyNetworkConfig(request *ModifyNetworkConfigRequest) (response *ModifyNetworkConfigResponse, err error)
- func (c *Client) RenewInstance(request *RenewInstanceRequest) (response *RenewInstanceResponse, err error)
- func (c *Client) ResetPassword(request *ResetPasswordRequest) (response *ResetPasswordResponse, err error)
- func (c *Client) RestoreInstance(request *RestoreInstanceRequest) (response *RestoreInstanceResponse, err error)
- func (c *Client) StartupInstance(request *StartupInstanceRequest) (response *StartupInstanceResponse, err error)
- func (c *Client) SwitchInstanceVip(request *SwitchInstanceVipRequest) (response *SwitchInstanceVipResponse, err error)
- func (c *Client) UpgradeInstance(request *UpgradeInstanceRequest) (response *UpgradeInstanceResponse, err error)
- type CommandTake
- type CreateInstanceAccountRequest
- type CreateInstanceAccountResponse
- type CreateInstancesRequest
- type CreateInstancesResponse
- type DelayDistribution
- type DeleteInstanceAccountRequest
- type DeleteInstanceAccountResponse
- type DescribeAutoBackupConfigRequest
- type DescribeAutoBackupConfigResponse
- type DescribeBackupUrlRequest
- type DescribeBackupUrlResponse
- type DescribeDBSecurityGroupsRequest
- type DescribeDBSecurityGroupsResponse
- type DescribeInstanceAccountRequest
- type DescribeInstanceAccountResponse
- type DescribeInstanceBackupsRequest
- type DescribeInstanceBackupsResponse
- type DescribeInstanceDTSInfoRequest
- type DescribeInstanceDTSInfoResponse
- type DescribeInstanceDTSInstanceInfo
- type DescribeInstanceDealDetailRequest
- type DescribeInstanceDealDetailResponse
- type DescribeInstanceMonitorBigKeyRequest
- type DescribeInstanceMonitorBigKeyResponse
- type DescribeInstanceMonitorBigKeySizeDistRequest
- type DescribeInstanceMonitorBigKeySizeDistResponse
- type DescribeInstanceMonitorBigKeyTypeDistRequest
- type DescribeInstanceMonitorBigKeyTypeDistResponse
- type DescribeInstanceMonitorHotKeyRequest
- type DescribeInstanceMonitorHotKeyResponse
- type DescribeInstanceMonitorSIPRequest
- type DescribeInstanceMonitorSIPResponse
- type DescribeInstanceMonitorTookDistRequest
- type DescribeInstanceMonitorTookDistResponse
- type DescribeInstanceMonitorTopNCmdRequest
- type DescribeInstanceMonitorTopNCmdResponse
- type DescribeInstanceMonitorTopNCmdTookRequest
- type DescribeInstanceMonitorTopNCmdTookResponse
- type DescribeInstanceParamRecordsRequest
- type DescribeInstanceParamRecordsResponse
- type DescribeInstanceParamsRequest
- type DescribeInstanceParamsResponse
- type DescribeInstanceSecurityGroupRequest
- type DescribeInstanceSecurityGroupResponse
- type DescribeInstanceShardsRequest
- type DescribeInstanceShardsResponse
- type DescribeInstancesRequest
- type DescribeInstancesResponse
- type DescribeProductInfoRequest
- type DescribeProductInfoResponse
- type DescribeProjectSecurityGroupRequest
- type DescribeProjectSecurityGroupResponse
- type DescribeProjectSecurityGroupsRequest
- type DescribeProjectSecurityGroupsResponse
- type DescribeSlowLogRequest
- type DescribeSlowLogResponse
- type DescribeTaskInfoRequest
- type DescribeTaskInfoResponse
- type DescribeTaskListRequest
- type DescribeTaskListResponse
- type DestroyPostpaidInstanceRequest
- type DestroyPostpaidInstanceResponse
- type DestroyPrepaidInstanceRequest
- type DestroyPrepaidInstanceResponse
- type DisableReplicaReadonlyRequest
- type DisableReplicaReadonlyResponse
- type DisassociateSecurityGroupsRequest
- type DisassociateSecurityGroupsResponse
- type EnableReplicaReadonlyRequest
- type EnableReplicaReadonlyResponse
- type HotKeyInfo
- type Inbound
- type InquiryPriceCreateInstanceRequest
- type InquiryPriceCreateInstanceResponse
- type InquiryPriceRenewInstanceRequest
- type InquiryPriceRenewInstanceResponse
- type InquiryPriceUpgradeInstanceRequest
- type InquiryPriceUpgradeInstanceResponse
- type InstanceClusterNode
- type InstanceClusterShard
- type InstanceEnumParam
- type InstanceIntegerParam
- type InstanceMultiParam
- type InstanceNode
- type InstanceParam
- type InstanceParamHistory
- type InstanceSecurityGroupDetail
- type InstanceSet
- type InstanceSlowlogDetail
- type InstanceTagInfo
- type InstanceTextParam
- type ManualBackupInstanceRequest
- type ManualBackupInstanceResponse
- type ModfiyInstancePasswordRequest
- type ModfiyInstancePasswordResponse
- type ModifyAutoBackupConfigRequest
- type ModifyAutoBackupConfigResponse
- type ModifyDBInstanceSecurityGroupsRequest
- type ModifyDBInstanceSecurityGroupsResponse
- type ModifyInstanceAccountRequest
- type ModifyInstanceAccountResponse
- type ModifyInstanceParamsRequest
- type ModifyInstanceParamsResponse
- type ModifyInstanceRequest
- type ModifyInstanceResponse
- type ModifyNetworkConfigRequest
- type ModifyNetworkConfigResponse
- type Outbound
- type ProductConf
- type RedisBackupSet
- type RegionConf
- type RenewInstanceRequest
- type RenewInstanceResponse
- type ResetPasswordRequest
- type ResetPasswordResponse
- type RestoreInstanceRequest
- type RestoreInstanceResponse
- type SecurityGroup
- type SecurityGroupDetail
- type SecurityGroupsInboundAndOutbound
- type SourceCommand
- type SourceInfo
- type StartupInstanceRequest
- type StartupInstanceResponse
- type SwitchInstanceVipRequest
- type SwitchInstanceVipResponse
- type TaskInfoDetail
- type TradeDealDetail
- type UpgradeInstanceRequest
- type UpgradeInstanceResponse
- type ZoneCapacityConf
Constants ¶
const APIVersion = "2018-04-12"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { // 实例ID // 注意:此字段可能返回 null,表示取不到有效值。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 账号名称(如果是主账号,名称为root) // 注意:此字段可能返回 null,表示取不到有效值。 AccountName *string `json:"AccountName,omitempty" name:"AccountName"` // 账号描述信息 // 注意:此字段可能返回 null,表示取不到有效值。 Remark *string `json:"Remark,omitempty" name:"Remark"` // 读写策略:r-只读,w-只写,rw-读写 // 注意:此字段可能返回 null,表示取不到有效值。 Privilege *string `json:"Privilege,omitempty" name:"Privilege"` // 路由策略:master-主节点,replication-从节点 // 注意:此字段可能返回 null,表示取不到有效值。 ReadonlyPolicy []*string `json:"ReadonlyPolicy,omitempty" name:"ReadonlyPolicy" list` // 子账号状态:1-账号变更中,2-账号有效,-4-账号已删除 // 注意:此字段可能返回 null,表示取不到有效值。 Status *int64 `json:"Status,omitempty" name:"Status"` }
type AssociateSecurityGroupsRequest ¶
type AssociateSecurityGroupsRequest struct { *tchttp.BaseRequest // 数据库引擎名称:mariadb,cdb,cynosdb,dcdb,redis,mongodb 等。 Product *string `json:"Product,omitempty" name:"Product"` // 要绑定的安全组ID,类似sg-efil73jd。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // 被绑定的实例ID,类似ins-lesecurk,支持指定多个实例。 InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds" list` }
func NewAssociateSecurityGroupsRequest ¶
func NewAssociateSecurityGroupsRequest() (request *AssociateSecurityGroupsRequest)
func (*AssociateSecurityGroupsRequest) FromJsonString ¶
func (r *AssociateSecurityGroupsRequest) FromJsonString(s string) error
func (*AssociateSecurityGroupsRequest) ToJsonString ¶
func (r *AssociateSecurityGroupsRequest) ToJsonString() string
type AssociateSecurityGroupsResponse ¶
type AssociateSecurityGroupsResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewAssociateSecurityGroupsResponse ¶
func NewAssociateSecurityGroupsResponse() (response *AssociateSecurityGroupsResponse)
func (*AssociateSecurityGroupsResponse) FromJsonString ¶
func (r *AssociateSecurityGroupsResponse) FromJsonString(s string) error
func (*AssociateSecurityGroupsResponse) ToJsonString ¶
func (r *AssociateSecurityGroupsResponse) ToJsonString() string
type BigKeyInfo ¶
type BigKeyInfo struct { // 所属的database DB *int64 `json:"DB,omitempty" name:"DB"` // 大Key Key *string `json:"Key,omitempty" name:"Key"` // 类型 Type *string `json:"Type,omitempty" name:"Type"` // 大小 Size *int64 `json:"Size,omitempty" name:"Size"` // 数据时间戳 Updatetime *int64 `json:"Updatetime,omitempty" name:"Updatetime"` }
type BigKeyTypeInfo ¶
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 ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AssociateSecurityGroups ¶
func (c *Client) AssociateSecurityGroups(request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error)
本接口 (AssociateSecurityGroups) 用于绑定安全组到指定实例。
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) CreateInstanceAccount ¶
func (c *Client) CreateInstanceAccount(request *CreateInstanceAccountRequest) (response *CreateInstanceAccountResponse, err error)
创建实例子账号
func (*Client) CreateInstances ¶
func (c *Client) CreateInstances(request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)
创建redis实例
func (*Client) DeleteInstanceAccount ¶
func (c *Client) DeleteInstanceAccount(request *DeleteInstanceAccountRequest) (response *DeleteInstanceAccountResponse, err error)
删除实例子账号
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) DescribeDBSecurityGroups ¶
func (c *Client) DescribeDBSecurityGroups(request *DescribeDBSecurityGroupsRequest) (response *DescribeDBSecurityGroupsResponse, err error)
本接口(DescribeDBSecurityGroups)用于查询实例的安全组详情。
func (*Client) DescribeInstanceAccount ¶
func (c *Client) DescribeInstanceAccount(request *DescribeInstanceAccountRequest) (response *DescribeInstanceAccountResponse, err error)
查看实例子账号信息
func (*Client) DescribeInstanceBackups ¶
func (c *Client) DescribeInstanceBackups(request *DescribeInstanceBackupsRequest) (response *DescribeInstanceBackupsResponse, err error)
查询 CRS 实例备份列表
func (*Client) DescribeInstanceDTSInfo ¶
func (c *Client) DescribeInstanceDTSInfo(request *DescribeInstanceDTSInfoRequest) (response *DescribeInstanceDTSInfoResponse, err error)
查询实例DTS信息
func (*Client) DescribeInstanceDealDetail ¶
func (c *Client) DescribeInstanceDealDetail(request *DescribeInstanceDealDetailRequest) (response *DescribeInstanceDealDetailResponse, err error)
查询订单信息
func (*Client) DescribeInstanceMonitorBigKey ¶
func (c *Client) DescribeInstanceMonitorBigKey(request *DescribeInstanceMonitorBigKeyRequest) (response *DescribeInstanceMonitorBigKeyResponse, err error)
查询实例大Key
func (*Client) DescribeInstanceMonitorBigKeySizeDist ¶
func (c *Client) DescribeInstanceMonitorBigKeySizeDist(request *DescribeInstanceMonitorBigKeySizeDistRequest) (response *DescribeInstanceMonitorBigKeySizeDistResponse, err error)
查询实例大Key大小分布
func (*Client) DescribeInstanceMonitorBigKeyTypeDist ¶
func (c *Client) DescribeInstanceMonitorBigKeyTypeDist(request *DescribeInstanceMonitorBigKeyTypeDistRequest) (response *DescribeInstanceMonitorBigKeyTypeDistResponse, err error)
查询实例大Key类型分布
func (*Client) DescribeInstanceMonitorHotKey ¶
func (c *Client) DescribeInstanceMonitorHotKey(request *DescribeInstanceMonitorHotKeyRequest) (response *DescribeInstanceMonitorHotKeyResponse, err error)
查询实例热Key
func (*Client) DescribeInstanceMonitorSIP ¶
func (c *Client) DescribeInstanceMonitorSIP(request *DescribeInstanceMonitorSIPRequest) (response *DescribeInstanceMonitorSIPResponse, err error)
查询实例访问来源信息
func (*Client) DescribeInstanceMonitorTookDist ¶
func (c *Client) DescribeInstanceMonitorTookDist(request *DescribeInstanceMonitorTookDistRequest) (response *DescribeInstanceMonitorTookDistResponse, err error)
查询实例访问的耗时分布
func (*Client) DescribeInstanceMonitorTopNCmd ¶
func (c *Client) DescribeInstanceMonitorTopNCmd(request *DescribeInstanceMonitorTopNCmdRequest) (response *DescribeInstanceMonitorTopNCmdResponse, err error)
查询实例访问命令
func (*Client) DescribeInstanceMonitorTopNCmdTook ¶
func (c *Client) DescribeInstanceMonitorTopNCmdTook(request *DescribeInstanceMonitorTopNCmdTookRequest) (response *DescribeInstanceMonitorTopNCmdTookResponse, err error)
查询实例CPU耗时
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) DescribeProjectSecurityGroups ¶
func (c *Client) DescribeProjectSecurityGroups(request *DescribeProjectSecurityGroupsRequest) (response *DescribeProjectSecurityGroupsResponse, err error)
本接口(DescribeProjectSecurityGroups)用于查询项目的安全组详情。
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) DescribeTaskList ¶
func (c *Client) DescribeTaskList(request *DescribeTaskListRequest) (response *DescribeTaskListResponse, 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) DisassociateSecurityGroups ¶
func (c *Client) DisassociateSecurityGroups(request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error)
本接口(DisassociateSecurityGroups)用于安全组批量解绑实例。
func (*Client) EnableReplicaReadonly ¶
func (c *Client) EnableReplicaReadonly(request *EnableReplicaReadonlyRequest) (response *EnableReplicaReadonlyResponse, err error)
启用读写分离
func (*Client) InquiryPriceCreateInstance ¶
func (c *Client) InquiryPriceCreateInstance(request *InquiryPriceCreateInstanceRequest) (response *InquiryPriceCreateInstanceResponse, err error)
查询新购实例价格
func (*Client) InquiryPriceRenewInstance ¶
func (c *Client) InquiryPriceRenewInstance(request *InquiryPriceRenewInstanceRequest) (response *InquiryPriceRenewInstanceResponse, err error)
查询实例续费价格(包年包月)
func (*Client) InquiryPriceUpgradeInstance ¶
func (c *Client) InquiryPriceUpgradeInstance(request *InquiryPriceUpgradeInstanceRequest) (response *InquiryPriceUpgradeInstanceResponse, 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) ModifyDBInstanceSecurityGroups ¶
func (c *Client) ModifyDBInstanceSecurityGroups(request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error)
本接口(ModifyDBInstanceSecurityGroups)用于修改实例绑定的安全组
func (*Client) ModifyInstance ¶
func (c *Client) ModifyInstance(request *ModifyInstanceRequest) (response *ModifyInstanceResponse, err error)
修改实例相关信息
func (*Client) ModifyInstanceAccount ¶
func (c *Client) ModifyInstanceAccount(request *ModifyInstanceAccountRequest) (response *ModifyInstanceAccountResponse, 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) StartupInstance ¶
func (c *Client) StartupInstance(request *StartupInstanceRequest) (response *StartupInstanceResponse, err error)
实例解隔离
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 CommandTake ¶
type CreateInstanceAccountRequest ¶
type CreateInstanceAccountRequest struct { *tchttp.BaseRequest // 实例ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 子账号名称 AccountName *string `json:"AccountName,omitempty" name:"AccountName"` // 子账号密码 AccountPassword *string `json:"AccountPassword,omitempty" name:"AccountPassword"` // 路由策略:填写master或者replication,表示主节点或者从节点 ReadonlyPolicy []*string `json:"ReadonlyPolicy,omitempty" name:"ReadonlyPolicy" list` // 读写策略:填写r、rw,表示只读、读写 Privilege *string `json:"Privilege,omitempty" name:"Privilege"` // 子账号描述信息 Remark *string `json:"Remark,omitempty" name:"Remark"` }
func NewCreateInstanceAccountRequest ¶
func NewCreateInstanceAccountRequest() (request *CreateInstanceAccountRequest)
func (*CreateInstanceAccountRequest) FromJsonString ¶
func (r *CreateInstanceAccountRequest) FromJsonString(s string) error
func (*CreateInstanceAccountRequest) ToJsonString ¶
func (r *CreateInstanceAccountRequest) ToJsonString() string
type CreateInstanceAccountResponse ¶
type CreateInstanceAccountResponse 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 NewCreateInstanceAccountResponse ¶
func NewCreateInstanceAccountResponse() (response *CreateInstanceAccountResponse)
func (*CreateInstanceAccountResponse) FromJsonString ¶
func (r *CreateInstanceAccountResponse) FromJsonString(s string) error
func (*CreateInstanceAccountResponse) ToJsonString ¶
func (r *CreateInstanceAccountResponse) ToJsonString() string
type CreateInstancesRequest ¶
type CreateInstancesRequest struct { *tchttp.BaseRequest // 实例所属的可用区ID ZoneId *uint64 `json:"ZoneId,omitempty" name:"ZoneId"` // 实例类型:2 – Redis2.8内存版(标准架构),3 – Redis3.2内存版(标准架构),4 – CKV 3.2内存版(标准架构),6 – Redis4.0内存版(标准架构),7 – Redis4.0内存版(集群架构),8 – Redis5.0内存版(标准架构),9 – Redis5.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"` // 实例密码,8-30个字符,至少包含小写字母、大写字母、数字和字符 ()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的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,范围[1024,65535] VPort *uint64 `json:"VPort,omitempty" name:"VPort"` // 实例分片数量,购买标准版实例不需要填写,集群版分片数量范围[3,5,8,12,16,24,32,64,96,128] RedisShardNum *int64 `json:"RedisShardNum,omitempty" name:"RedisShardNum"` // 实例副本数量,Redis 2.8标准版、CKV标准版只支持1副本,4.0、5.0标准版和集群版支持1-5个副本。 RedisReplicasNum *int64 `json:"RedisReplicasNum,omitempty" name:"RedisReplicasNum"` // 是否支持副本只读,Redis 2.8标准版、CKV标准版不支持副本只读,开启副本只读,实例将自动读写分离,写请求路由到主节点,读请求路由到副本节点,如需开启副本只读建议副本数>=2. ReplicasReadonly *bool `json:"ReplicasReadonly,omitempty" name:"ReplicasReadonly"` // 实例名称,长度小于60的中文/英文/数字/"-"/"_" InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // 是否支持免密,true-免密实例,false-非免密实例,默认为非免密实例,仅VPC网络的实例支持免密码访问。 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 DelayDistribution ¶
type DeleteInstanceAccountRequest ¶
type DeleteInstanceAccountRequest struct { *tchttp.BaseRequest // 实例ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 子账号名称 AccountName *string `json:"AccountName,omitempty" name:"AccountName"` }
func NewDeleteInstanceAccountRequest ¶
func NewDeleteInstanceAccountRequest() (request *DeleteInstanceAccountRequest)
func (*DeleteInstanceAccountRequest) FromJsonString ¶
func (r *DeleteInstanceAccountRequest) FromJsonString(s string) error
func (*DeleteInstanceAccountRequest) ToJsonString ¶
func (r *DeleteInstanceAccountRequest) ToJsonString() string
type DeleteInstanceAccountResponse ¶
type DeleteInstanceAccountResponse 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 NewDeleteInstanceAccountResponse ¶
func NewDeleteInstanceAccountResponse() (response *DeleteInstanceAccountResponse)
func (*DeleteInstanceAccountResponse) FromJsonString ¶
func (r *DeleteInstanceAccountResponse) FromJsonString(s string) error
func (*DeleteInstanceAccountResponse) ToJsonString ¶
func (r *DeleteInstanceAccountResponse) 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 DescribeDBSecurityGroupsRequest ¶
type DescribeDBSecurityGroupsRequest struct { *tchttp.BaseRequest // 数据库引擎名称:mariadb,cdb,cynosdb,dcdb,redis,mongodb 等。 Product *string `json:"Product,omitempty" name:"Product"` // 实例ID,格式如:cdb-c1nl9rpv或者cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例ID相同。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeDBSecurityGroupsRequest ¶
func NewDescribeDBSecurityGroupsRequest() (request *DescribeDBSecurityGroupsRequest)
func (*DescribeDBSecurityGroupsRequest) FromJsonString ¶
func (r *DescribeDBSecurityGroupsRequest) FromJsonString(s string) error
func (*DescribeDBSecurityGroupsRequest) ToJsonString ¶
func (r *DescribeDBSecurityGroupsRequest) ToJsonString() string
type DescribeDBSecurityGroupsResponse ¶
type DescribeDBSecurityGroupsResponse struct { *tchttp.BaseResponse Response *struct { // 安全组规则 Groups []*SecurityGroup `json:"Groups,omitempty" name:"Groups" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDBSecurityGroupsResponse ¶
func NewDescribeDBSecurityGroupsResponse() (response *DescribeDBSecurityGroupsResponse)
func (*DescribeDBSecurityGroupsResponse) FromJsonString ¶
func (r *DescribeDBSecurityGroupsResponse) FromJsonString(s string) error
func (*DescribeDBSecurityGroupsResponse) ToJsonString ¶
func (r *DescribeDBSecurityGroupsResponse) ToJsonString() string
type DescribeInstanceAccountRequest ¶
type DescribeInstanceAccountRequest struct { *tchttp.BaseRequest // 实例ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 分页大小 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 分页偏移量 Offset *int64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeInstanceAccountRequest ¶
func NewDescribeInstanceAccountRequest() (request *DescribeInstanceAccountRequest)
func (*DescribeInstanceAccountRequest) FromJsonString ¶
func (r *DescribeInstanceAccountRequest) FromJsonString(s string) error
func (*DescribeInstanceAccountRequest) ToJsonString ¶
func (r *DescribeInstanceAccountRequest) ToJsonString() string
type DescribeInstanceAccountResponse ¶
type DescribeInstanceAccountResponse struct { *tchttp.BaseResponse Response *struct { // 账号详细信息 // 注意:此字段可能返回 null,表示取不到有效值。 Accounts []*Account `json:"Accounts,omitempty" name:"Accounts" list` // 账号个数 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInstanceAccountResponse ¶
func NewDescribeInstanceAccountResponse() (response *DescribeInstanceAccountResponse)
func (*DescribeInstanceAccountResponse) FromJsonString ¶
func (r *DescribeInstanceAccountResponse) FromJsonString(s string) error
func (*DescribeInstanceAccountResponse) ToJsonString ¶
func (r *DescribeInstanceAccountResponse) 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 DescribeInstanceDTSInfoRequest ¶
type DescribeInstanceDTSInfoRequest struct { *tchttp.BaseRequest // 实例ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeInstanceDTSInfoRequest ¶
func NewDescribeInstanceDTSInfoRequest() (request *DescribeInstanceDTSInfoRequest)
func (*DescribeInstanceDTSInfoRequest) FromJsonString ¶
func (r *DescribeInstanceDTSInfoRequest) FromJsonString(s string) error
func (*DescribeInstanceDTSInfoRequest) ToJsonString ¶
func (r *DescribeInstanceDTSInfoRequest) ToJsonString() string
type DescribeInstanceDTSInfoResponse ¶
type DescribeInstanceDTSInfoResponse struct { *tchttp.BaseResponse Response *struct { // DTS任务ID // 注意:此字段可能返回 null,表示取不到有效值。 JobId *string `json:"JobId,omitempty" name:"JobId"` // DTS任务名称 // 注意:此字段可能返回 null,表示取不到有效值。 JobName *string `json:"JobName,omitempty" name:"JobName"` // 任务状态,取值为:1-创建中(Creating),3-校验中(Checking)4-校验通过(CheckPass),5-校验不通过(CheckNotPass),7-任务运行(Running),8-准备完成(ReadyComplete),9-任务成功(Success),10-任务失败(Failed),11-撤销中(Stopping),12-完成中(Completing) // 注意:此字段可能返回 null,表示取不到有效值。 Status *int64 `json:"Status,omitempty" name:"Status"` // 状态描述 // 注意:此字段可能返回 null,表示取不到有效值。 StatusDesc *string `json:"StatusDesc,omitempty" name:"StatusDesc"` // 同步时延,单位:字节 // 注意:此字段可能返回 null,表示取不到有效值。 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 断开时间 // 注意:此字段可能返回 null,表示取不到有效值。 CutDownTime *string `json:"CutDownTime,omitempty" name:"CutDownTime"` // 源实例信息 // 注意:此字段可能返回 null,表示取不到有效值。 SrcInfo *DescribeInstanceDTSInstanceInfo `json:"SrcInfo,omitempty" name:"SrcInfo"` // 目标实例信息 // 注意:此字段可能返回 null,表示取不到有效值。 DstInfo *DescribeInstanceDTSInstanceInfo `json:"DstInfo,omitempty" name:"DstInfo"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInstanceDTSInfoResponse ¶
func NewDescribeInstanceDTSInfoResponse() (response *DescribeInstanceDTSInfoResponse)
func (*DescribeInstanceDTSInfoResponse) FromJsonString ¶
func (r *DescribeInstanceDTSInfoResponse) FromJsonString(s string) error
func (*DescribeInstanceDTSInfoResponse) ToJsonString ¶
func (r *DescribeInstanceDTSInfoResponse) ToJsonString() string
type DescribeInstanceDTSInstanceInfo ¶
type DescribeInstanceDTSInstanceInfo struct { // 地域ID // 注意:此字段可能返回 null,表示取不到有效值。 RegionId *int64 `json:"RegionId,omitempty" name:"RegionId"` // 实例ID // 注意:此字段可能返回 null,表示取不到有效值。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 仓库ID // 注意:此字段可能返回 null,表示取不到有效值。 SetId *int64 `json:"SetId,omitempty" name:"SetId"` // 可用区ID // 注意:此字段可能返回 null,表示取不到有效值。 ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"` // 实例类型 // 注意:此字段可能返回 null,表示取不到有效值。 Type *int64 `json:"Type,omitempty" name:"Type"` // 实例名称 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // 实例访问地址 // 注意:此字段可能返回 null,表示取不到有效值。 Vip *string `json:"Vip,omitempty" name:"Vip"` // 状态 // 注意:此字段可能返回 null,表示取不到有效值。 Status *int64 `json:"Status,omitempty" name:"Status"` }
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 DescribeInstanceMonitorBigKeyRequest ¶
type DescribeInstanceMonitorBigKeyRequest struct { *tchttp.BaseRequest // 实例Id InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 请求类型:1——string类型,2——所有类型 ReqType *int64 `json:"ReqType,omitempty" name:"ReqType"` // 时间;例如:"20190219" Date *string `json:"Date,omitempty" name:"Date"` }
func NewDescribeInstanceMonitorBigKeyRequest ¶
func NewDescribeInstanceMonitorBigKeyRequest() (request *DescribeInstanceMonitorBigKeyRequest)
func (*DescribeInstanceMonitorBigKeyRequest) FromJsonString ¶
func (r *DescribeInstanceMonitorBigKeyRequest) FromJsonString(s string) error
func (*DescribeInstanceMonitorBigKeyRequest) ToJsonString ¶
func (r *DescribeInstanceMonitorBigKeyRequest) ToJsonString() string
type DescribeInstanceMonitorBigKeyResponse ¶
type DescribeInstanceMonitorBigKeyResponse struct { *tchttp.BaseResponse Response *struct { // 大Key详细信息 Data []*BigKeyInfo `json:"Data,omitempty" name:"Data" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInstanceMonitorBigKeyResponse ¶
func NewDescribeInstanceMonitorBigKeyResponse() (response *DescribeInstanceMonitorBigKeyResponse)
func (*DescribeInstanceMonitorBigKeyResponse) FromJsonString ¶
func (r *DescribeInstanceMonitorBigKeyResponse) FromJsonString(s string) error
func (*DescribeInstanceMonitorBigKeyResponse) ToJsonString ¶
func (r *DescribeInstanceMonitorBigKeyResponse) ToJsonString() string
type DescribeInstanceMonitorBigKeySizeDistRequest ¶
type DescribeInstanceMonitorBigKeySizeDistRequest struct { *tchttp.BaseRequest // 实例Id InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 时间;例如:"20190219" Date *string `json:"Date,omitempty" name:"Date"` }
func NewDescribeInstanceMonitorBigKeySizeDistRequest ¶
func NewDescribeInstanceMonitorBigKeySizeDistRequest() (request *DescribeInstanceMonitorBigKeySizeDistRequest)
func (*DescribeInstanceMonitorBigKeySizeDistRequest) FromJsonString ¶
func (r *DescribeInstanceMonitorBigKeySizeDistRequest) FromJsonString(s string) error
func (*DescribeInstanceMonitorBigKeySizeDistRequest) ToJsonString ¶
func (r *DescribeInstanceMonitorBigKeySizeDistRequest) ToJsonString() string
type DescribeInstanceMonitorBigKeySizeDistResponse ¶
type DescribeInstanceMonitorBigKeySizeDistResponse struct { *tchttp.BaseResponse Response *struct { // 大Key大小分布详情 Data []*DelayDistribution `json:"Data,omitempty" name:"Data" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInstanceMonitorBigKeySizeDistResponse ¶
func NewDescribeInstanceMonitorBigKeySizeDistResponse() (response *DescribeInstanceMonitorBigKeySizeDistResponse)
func (*DescribeInstanceMonitorBigKeySizeDistResponse) FromJsonString ¶
func (r *DescribeInstanceMonitorBigKeySizeDistResponse) FromJsonString(s string) error
func (*DescribeInstanceMonitorBigKeySizeDistResponse) ToJsonString ¶
func (r *DescribeInstanceMonitorBigKeySizeDistResponse) ToJsonString() string
type DescribeInstanceMonitorBigKeyTypeDistRequest ¶
type DescribeInstanceMonitorBigKeyTypeDistRequest struct { *tchttp.BaseRequest // 实例Id InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 时间;例如:"20190219" Date *string `json:"Date,omitempty" name:"Date"` }
func NewDescribeInstanceMonitorBigKeyTypeDistRequest ¶
func NewDescribeInstanceMonitorBigKeyTypeDistRequest() (request *DescribeInstanceMonitorBigKeyTypeDistRequest)
func (*DescribeInstanceMonitorBigKeyTypeDistRequest) FromJsonString ¶
func (r *DescribeInstanceMonitorBigKeyTypeDistRequest) FromJsonString(s string) error
func (*DescribeInstanceMonitorBigKeyTypeDistRequest) ToJsonString ¶
func (r *DescribeInstanceMonitorBigKeyTypeDistRequest) ToJsonString() string
type DescribeInstanceMonitorBigKeyTypeDistResponse ¶
type DescribeInstanceMonitorBigKeyTypeDistResponse struct { *tchttp.BaseResponse Response *struct { // 大Key类型分布详细信息 Data []*BigKeyTypeInfo `json:"Data,omitempty" name:"Data" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInstanceMonitorBigKeyTypeDistResponse ¶
func NewDescribeInstanceMonitorBigKeyTypeDistResponse() (response *DescribeInstanceMonitorBigKeyTypeDistResponse)
func (*DescribeInstanceMonitorBigKeyTypeDistResponse) FromJsonString ¶
func (r *DescribeInstanceMonitorBigKeyTypeDistResponse) FromJsonString(s string) error
func (*DescribeInstanceMonitorBigKeyTypeDistResponse) ToJsonString ¶
func (r *DescribeInstanceMonitorBigKeyTypeDistResponse) ToJsonString() string
type DescribeInstanceMonitorHotKeyRequest ¶
type DescribeInstanceMonitorHotKeyRequest struct { *tchttp.BaseRequest // 实例Id InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 时间范围:1——实时,2——近30分钟,3——近6小时,4——近24小时 SpanType *int64 `json:"SpanType,omitempty" name:"SpanType"` }
func NewDescribeInstanceMonitorHotKeyRequest ¶
func NewDescribeInstanceMonitorHotKeyRequest() (request *DescribeInstanceMonitorHotKeyRequest)
func (*DescribeInstanceMonitorHotKeyRequest) FromJsonString ¶
func (r *DescribeInstanceMonitorHotKeyRequest) FromJsonString(s string) error
func (*DescribeInstanceMonitorHotKeyRequest) ToJsonString ¶
func (r *DescribeInstanceMonitorHotKeyRequest) ToJsonString() string
type DescribeInstanceMonitorHotKeyResponse ¶
type DescribeInstanceMonitorHotKeyResponse struct { *tchttp.BaseResponse Response *struct { // 热Key详细信息 Data []*HotKeyInfo `json:"Data,omitempty" name:"Data" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInstanceMonitorHotKeyResponse ¶
func NewDescribeInstanceMonitorHotKeyResponse() (response *DescribeInstanceMonitorHotKeyResponse)
func (*DescribeInstanceMonitorHotKeyResponse) FromJsonString ¶
func (r *DescribeInstanceMonitorHotKeyResponse) FromJsonString(s string) error
func (*DescribeInstanceMonitorHotKeyResponse) ToJsonString ¶
func (r *DescribeInstanceMonitorHotKeyResponse) ToJsonString() string
type DescribeInstanceMonitorSIPRequest ¶
type DescribeInstanceMonitorSIPRequest struct { *tchttp.BaseRequest // 实例Id InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeInstanceMonitorSIPRequest ¶
func NewDescribeInstanceMonitorSIPRequest() (request *DescribeInstanceMonitorSIPRequest)
func (*DescribeInstanceMonitorSIPRequest) FromJsonString ¶
func (r *DescribeInstanceMonitorSIPRequest) FromJsonString(s string) error
func (*DescribeInstanceMonitorSIPRequest) ToJsonString ¶
func (r *DescribeInstanceMonitorSIPRequest) ToJsonString() string
type DescribeInstanceMonitorSIPResponse ¶
type DescribeInstanceMonitorSIPResponse struct { *tchttp.BaseResponse Response *struct { // 访问来源信息 Data []*SourceInfo `json:"Data,omitempty" name:"Data" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInstanceMonitorSIPResponse ¶
func NewDescribeInstanceMonitorSIPResponse() (response *DescribeInstanceMonitorSIPResponse)
func (*DescribeInstanceMonitorSIPResponse) FromJsonString ¶
func (r *DescribeInstanceMonitorSIPResponse) FromJsonString(s string) error
func (*DescribeInstanceMonitorSIPResponse) ToJsonString ¶
func (r *DescribeInstanceMonitorSIPResponse) ToJsonString() string
type DescribeInstanceMonitorTookDistRequest ¶
type DescribeInstanceMonitorTookDistRequest struct { *tchttp.BaseRequest // 实例Id InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 时间;例如:"20190219" Date *string `json:"Date,omitempty" name:"Date"` // 时间范围:1——实时,2——近30分钟,3——近6小时,4——近24小时 SpanType *int64 `json:"SpanType,omitempty" name:"SpanType"` }
func NewDescribeInstanceMonitorTookDistRequest ¶
func NewDescribeInstanceMonitorTookDistRequest() (request *DescribeInstanceMonitorTookDistRequest)
func (*DescribeInstanceMonitorTookDistRequest) FromJsonString ¶
func (r *DescribeInstanceMonitorTookDistRequest) FromJsonString(s string) error
func (*DescribeInstanceMonitorTookDistRequest) ToJsonString ¶
func (r *DescribeInstanceMonitorTookDistRequest) ToJsonString() string
type DescribeInstanceMonitorTookDistResponse ¶
type DescribeInstanceMonitorTookDistResponse struct { *tchttp.BaseResponse Response *struct { // 时延分布信息 Data []*DelayDistribution `json:"Data,omitempty" name:"Data" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInstanceMonitorTookDistResponse ¶
func NewDescribeInstanceMonitorTookDistResponse() (response *DescribeInstanceMonitorTookDistResponse)
func (*DescribeInstanceMonitorTookDistResponse) FromJsonString ¶
func (r *DescribeInstanceMonitorTookDistResponse) FromJsonString(s string) error
func (*DescribeInstanceMonitorTookDistResponse) ToJsonString ¶
func (r *DescribeInstanceMonitorTookDistResponse) ToJsonString() string
type DescribeInstanceMonitorTopNCmdRequest ¶
type DescribeInstanceMonitorTopNCmdRequest struct { *tchttp.BaseRequest // 实例Id InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 时间范围:1——实时,2——近30分钟,3——近6小时,4——近24小时 SpanType *int64 `json:"SpanType,omitempty" name:"SpanType"` }
func NewDescribeInstanceMonitorTopNCmdRequest ¶
func NewDescribeInstanceMonitorTopNCmdRequest() (request *DescribeInstanceMonitorTopNCmdRequest)
func (*DescribeInstanceMonitorTopNCmdRequest) FromJsonString ¶
func (r *DescribeInstanceMonitorTopNCmdRequest) FromJsonString(s string) error
func (*DescribeInstanceMonitorTopNCmdRequest) ToJsonString ¶
func (r *DescribeInstanceMonitorTopNCmdRequest) ToJsonString() string
type DescribeInstanceMonitorTopNCmdResponse ¶
type DescribeInstanceMonitorTopNCmdResponse struct { *tchttp.BaseResponse Response *struct { // 访问命令信息 Data []*SourceCommand `json:"Data,omitempty" name:"Data" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInstanceMonitorTopNCmdResponse ¶
func NewDescribeInstanceMonitorTopNCmdResponse() (response *DescribeInstanceMonitorTopNCmdResponse)
func (*DescribeInstanceMonitorTopNCmdResponse) FromJsonString ¶
func (r *DescribeInstanceMonitorTopNCmdResponse) FromJsonString(s string) error
func (*DescribeInstanceMonitorTopNCmdResponse) ToJsonString ¶
func (r *DescribeInstanceMonitorTopNCmdResponse) ToJsonString() string
type DescribeInstanceMonitorTopNCmdTookRequest ¶
type DescribeInstanceMonitorTopNCmdTookRequest struct { *tchttp.BaseRequest // 实例Id InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 时间范围:1——实时,2——近30分钟,3——近6小时,4——近24小时 SpanType *int64 `json:"SpanType,omitempty" name:"SpanType"` }
func NewDescribeInstanceMonitorTopNCmdTookRequest ¶
func NewDescribeInstanceMonitorTopNCmdTookRequest() (request *DescribeInstanceMonitorTopNCmdTookRequest)
func (*DescribeInstanceMonitorTopNCmdTookRequest) FromJsonString ¶
func (r *DescribeInstanceMonitorTopNCmdTookRequest) FromJsonString(s string) error
func (*DescribeInstanceMonitorTopNCmdTookRequest) ToJsonString ¶
func (r *DescribeInstanceMonitorTopNCmdTookRequest) ToJsonString() string
type DescribeInstanceMonitorTopNCmdTookResponse ¶
type DescribeInstanceMonitorTopNCmdTookResponse struct { *tchttp.BaseResponse Response *struct { // 耗时详细信息 Data []*CommandTake `json:"Data,omitempty" name:"Data" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInstanceMonitorTopNCmdTookResponse ¶
func NewDescribeInstanceMonitorTopNCmdTookResponse() (response *DescribeInstanceMonitorTopNCmdTookResponse)
func (*DescribeInstanceMonitorTopNCmdTookResponse) FromJsonString ¶
func (r *DescribeInstanceMonitorTopNCmdTookResponse) FromJsonString(s string) error
func (*DescribeInstanceMonitorTopNCmdTookResponse) ToJsonString ¶
func (r *DescribeInstanceMonitorTopNCmdTookResponse) 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 ¶
func (r *DescribeInstanceSecurityGroupResponse) ToJsonString() string
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集群版;8 – Redis5.0主从版,9 – Redis5.0集群版, Type *int64 `json:"Type,omitempty" name:"Type"` // 搜索关键词:支持实例Id、实例名称、完整IP SearchKeys []*string `json:"SearchKeys,omitempty" name:"SearchKeys" list` // 内部参数,用户可忽略 TypeList []*int64 `json:"TypeList,omitempty" name:"TypeList" 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 DescribeProjectSecurityGroupsRequest ¶
type DescribeProjectSecurityGroupsRequest struct { *tchttp.BaseRequest // 数据库引擎名称:mariadb,cdb,cynosdb,dcdb,redis,mongodb Product *string `json:"Product,omitempty" name:"Product"` // 项目Id。 ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"` // 偏移量。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 拉取数量限制。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 搜索条件,支持安全组id或者安全组名称。 SearchKey *string `json:"SearchKey,omitempty" name:"SearchKey"` }
func NewDescribeProjectSecurityGroupsRequest ¶
func NewDescribeProjectSecurityGroupsRequest() (request *DescribeProjectSecurityGroupsRequest)
func (*DescribeProjectSecurityGroupsRequest) FromJsonString ¶
func (r *DescribeProjectSecurityGroupsRequest) FromJsonString(s string) error
func (*DescribeProjectSecurityGroupsRequest) ToJsonString ¶
func (r *DescribeProjectSecurityGroupsRequest) ToJsonString() string
type DescribeProjectSecurityGroupsResponse ¶
type DescribeProjectSecurityGroupsResponse struct { *tchttp.BaseResponse Response *struct { // 安全组规则。 Groups []*SecurityGroup `json:"Groups,omitempty" name:"Groups" list` // 符合条件的安全组总数量。 Total *uint64 `json:"Total,omitempty" name:"Total"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeProjectSecurityGroupsResponse ¶
func NewDescribeProjectSecurityGroupsResponse() (response *DescribeProjectSecurityGroupsResponse)
func (*DescribeProjectSecurityGroupsResponse) FromJsonString ¶
func (r *DescribeProjectSecurityGroupsResponse) FromJsonString(s string) error
func (*DescribeProjectSecurityGroupsResponse) ToJsonString ¶
func (r *DescribeProjectSecurityGroupsResponse) 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 DescribeTaskListRequest ¶
type DescribeTaskListRequest struct { *tchttp.BaseRequest // 实例Id InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 实例名称 InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // 分页大小 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 偏移量,取Limit整数倍(自动向下取整) Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 项目Id ProjectIds []*int64 `json:"ProjectIds,omitempty" name:"ProjectIds" list` // 任务类型 TaskTypes []*string `json:"TaskTypes,omitempty" name:"TaskTypes" list` // 起始时间 BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 终止时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 任务状态 TaskStatus []*int64 `json:"TaskStatus,omitempty" name:"TaskStatus" list` }
func NewDescribeTaskListRequest ¶
func NewDescribeTaskListRequest() (request *DescribeTaskListRequest)
func (*DescribeTaskListRequest) FromJsonString ¶
func (r *DescribeTaskListRequest) FromJsonString(s string) error
func (*DescribeTaskListRequest) ToJsonString ¶
func (r *DescribeTaskListRequest) ToJsonString() string
type DescribeTaskListResponse ¶
type DescribeTaskListResponse struct { *tchttp.BaseResponse Response *struct { // 任务总数 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 任务详细信息 Tasks []*TaskInfoDetail `json:"Tasks,omitempty" name:"Tasks" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeTaskListResponse ¶
func NewDescribeTaskListResponse() (response *DescribeTaskListResponse)
func (*DescribeTaskListResponse) FromJsonString ¶
func (r *DescribeTaskListResponse) FromJsonString(s string) error
func (*DescribeTaskListResponse) ToJsonString ¶
func (r *DescribeTaskListResponse) 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 DisassociateSecurityGroupsRequest ¶
type DisassociateSecurityGroupsRequest struct { *tchttp.BaseRequest // 数据库引擎名称:mariadb,cdb,cynosdb,dcdb,redis,mongodb 等。 Product *string `json:"Product,omitempty" name:"Product"` // 安全组Id。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // 实例ID列表,一个或者多个实例Id组成的数组。 InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds" list` }
func NewDisassociateSecurityGroupsRequest ¶
func NewDisassociateSecurityGroupsRequest() (request *DisassociateSecurityGroupsRequest)
func (*DisassociateSecurityGroupsRequest) FromJsonString ¶
func (r *DisassociateSecurityGroupsRequest) FromJsonString(s string) error
func (*DisassociateSecurityGroupsRequest) ToJsonString ¶
func (r *DisassociateSecurityGroupsRequest) ToJsonString() string
type DisassociateSecurityGroupsResponse ¶
type DisassociateSecurityGroupsResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDisassociateSecurityGroupsResponse ¶
func NewDisassociateSecurityGroupsResponse() (response *DisassociateSecurityGroupsResponse)
func (*DisassociateSecurityGroupsResponse) FromJsonString ¶
func (r *DisassociateSecurityGroupsResponse) FromJsonString(s string) error
func (*DisassociateSecurityGroupsResponse) ToJsonString ¶
func (r *DisassociateSecurityGroupsResponse) ToJsonString() string
type EnableReplicaReadonlyRequest ¶
type EnableReplicaReadonlyRequest struct { *tchttp.BaseRequest // 实例序号ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 账号路由策略:填写master或者replication,表示路由主节点,从节点;不填路由策略默认为写主节点,读从节点 ReadonlyPolicy []*string `json:"ReadonlyPolicy,omitempty" name:"ReadonlyPolicy" list` }
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 HotKeyInfo ¶
type Inbound ¶
type Inbound struct { // 策略,ACCEPT或者DROP。 Action *string `json:"Action,omitempty" name:"Action"` // 地址组id代表的地址集合。 AddressModule *string `json:"AddressModule,omitempty" name:"AddressModule"` // 来源Ip或Ip段,例如192.168.0.0/16。 CidrIp *string `json:"CidrIp,omitempty" name:"CidrIp"` // 描述。 Desc *string `json:"Desc,omitempty" name:"Desc"` // 网络协议,支持udp、tcp等。 IpProtocol *string `json:"IpProtocol,omitempty" name:"IpProtocol"` // 端口。 PortRange *string `json:"PortRange,omitempty" name:"PortRange"` // 服务组id代表的协议和端口集合。 ServiceModule *string `json:"ServiceModule,omitempty" name:"ServiceModule"` // 安全组id代表的地址集合。 Id *string `json:"Id,omitempty" name:"Id"` }
type InquiryPriceCreateInstanceRequest ¶
type InquiryPriceCreateInstanceRequest 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"` // 实例分片数量,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"` }
func NewInquiryPriceCreateInstanceRequest ¶
func NewInquiryPriceCreateInstanceRequest() (request *InquiryPriceCreateInstanceRequest)
func (*InquiryPriceCreateInstanceRequest) FromJsonString ¶
func (r *InquiryPriceCreateInstanceRequest) FromJsonString(s string) error
func (*InquiryPriceCreateInstanceRequest) ToJsonString ¶
func (r *InquiryPriceCreateInstanceRequest) ToJsonString() string
type InquiryPriceCreateInstanceResponse ¶
type InquiryPriceCreateInstanceResponse struct { *tchttp.BaseResponse Response *struct { // 价格,单位:分 // 注意:此字段可能返回 null,表示取不到有效值。 Price *float64 `json:"Price,omitempty" name:"Price"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewInquiryPriceCreateInstanceResponse ¶
func NewInquiryPriceCreateInstanceResponse() (response *InquiryPriceCreateInstanceResponse)
func (*InquiryPriceCreateInstanceResponse) FromJsonString ¶
func (r *InquiryPriceCreateInstanceResponse) FromJsonString(s string) error
func (*InquiryPriceCreateInstanceResponse) ToJsonString ¶
func (r *InquiryPriceCreateInstanceResponse) ToJsonString() string
type InquiryPriceRenewInstanceRequest ¶
type InquiryPriceRenewInstanceRequest struct { *tchttp.BaseRequest // 购买时长,单位:月 Period *uint64 `json:"Period,omitempty" name:"Period"` // 实例ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewInquiryPriceRenewInstanceRequest ¶
func NewInquiryPriceRenewInstanceRequest() (request *InquiryPriceRenewInstanceRequest)
func (*InquiryPriceRenewInstanceRequest) FromJsonString ¶
func (r *InquiryPriceRenewInstanceRequest) FromJsonString(s string) error
func (*InquiryPriceRenewInstanceRequest) ToJsonString ¶
func (r *InquiryPriceRenewInstanceRequest) ToJsonString() string
type InquiryPriceRenewInstanceResponse ¶
type InquiryPriceRenewInstanceResponse struct { *tchttp.BaseResponse Response *struct { // 价格,单位:分 // 注意:此字段可能返回 null,表示取不到有效值。 Price *float64 `json:"Price,omitempty" name:"Price"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewInquiryPriceRenewInstanceResponse ¶
func NewInquiryPriceRenewInstanceResponse() (response *InquiryPriceRenewInstanceResponse)
func (*InquiryPriceRenewInstanceResponse) FromJsonString ¶
func (r *InquiryPriceRenewInstanceResponse) FromJsonString(s string) error
func (*InquiryPriceRenewInstanceResponse) ToJsonString ¶
func (r *InquiryPriceRenewInstanceResponse) ToJsonString() string
type InquiryPriceUpgradeInstanceRequest ¶
type InquiryPriceUpgradeInstanceRequest 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 NewInquiryPriceUpgradeInstanceRequest ¶
func NewInquiryPriceUpgradeInstanceRequest() (request *InquiryPriceUpgradeInstanceRequest)
func (*InquiryPriceUpgradeInstanceRequest) FromJsonString ¶
func (r *InquiryPriceUpgradeInstanceRequest) FromJsonString(s string) error
func (*InquiryPriceUpgradeInstanceRequest) ToJsonString ¶
func (r *InquiryPriceUpgradeInstanceRequest) ToJsonString() string
type InquiryPriceUpgradeInstanceResponse ¶
type InquiryPriceUpgradeInstanceResponse struct { *tchttp.BaseResponse Response *struct { // 价格,单位:分 // 注意:此字段可能返回 null,表示取不到有效值。 Price *float64 `json:"Price,omitempty" name:"Price"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewInquiryPriceUpgradeInstanceResponse ¶
func NewInquiryPriceUpgradeInstanceResponse() (response *InquiryPriceUpgradeInstanceResponse)
func (*InquiryPriceUpgradeInstanceResponse) FromJsonString ¶
func (r *InquiryPriceUpgradeInstanceResponse) FromJsonString(s string) error
func (*InquiryPriceUpgradeInstanceResponse) ToJsonString ¶
func (r *InquiryPriceUpgradeInstanceResponse) 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" list` // 参数状态, 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 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"` // 客户端连接数 // 注意:此字段可能返回 null,表示取不到有效值。 ClientLimit *int64 `json:"ClientLimit,omitempty" name:"ClientLimit"` // DTS状态(内部参数,用户可忽略) // 注意:此字段可能返回 null,表示取不到有效值。 DtsStatus *int64 `json:"DtsStatus,omitempty" name:"DtsStatus"` // 分片带宽上限,单位MB // 注意:此字段可能返回 null,表示取不到有效值。 NetLimit *int64 `json:"NetLimit,omitempty" name:"NetLimit"` // 免密实例标识(内部参数,用户可忽略) // 注意:此字段可能返回 null,表示取不到有效值。 PasswordFree *int64 `json:"PasswordFree,omitempty" name:"PasswordFree"` // 实例只读标识(内部参数,用户可忽略) // 注意:此字段可能返回 null,表示取不到有效值。 ReadOnly *int64 `json:"ReadOnly,omitempty" name:"ReadOnly"` // 内部参数,用户可忽略 // 注意:此字段可能返回 null,表示取不到有效值。 Vip6 *string `json:"Vip6,omitempty" name:"Vip6"` // 内部参数,用户可忽略 // 注意:此字段可能返回 null,表示取不到有效值。 RemainBandwidthDuration *string `json:"RemainBandwidthDuration,omitempty" name:"RemainBandwidthDuration"` }
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 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 ModifyDBInstanceSecurityGroupsRequest ¶
type ModifyDBInstanceSecurityGroupsRequest struct { *tchttp.BaseRequest // 数据库引擎名称:mariadb,cdb,cynosdb,dcdb,redis,mongodb 等。 Product *string `json:"Product,omitempty" name:"Product"` // 要修改的安全组ID列表,一个或者多个安全组Id组成的数组。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds" list` // 实例ID,格式如:cdb-c1nl9rpv或者cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例ID相同 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewModifyDBInstanceSecurityGroupsRequest ¶
func NewModifyDBInstanceSecurityGroupsRequest() (request *ModifyDBInstanceSecurityGroupsRequest)
func (*ModifyDBInstanceSecurityGroupsRequest) FromJsonString ¶
func (r *ModifyDBInstanceSecurityGroupsRequest) FromJsonString(s string) error
func (*ModifyDBInstanceSecurityGroupsRequest) ToJsonString ¶
func (r *ModifyDBInstanceSecurityGroupsRequest) ToJsonString() string
type ModifyDBInstanceSecurityGroupsResponse ¶
type ModifyDBInstanceSecurityGroupsResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyDBInstanceSecurityGroupsResponse ¶
func NewModifyDBInstanceSecurityGroupsResponse() (response *ModifyDBInstanceSecurityGroupsResponse)
func (*ModifyDBInstanceSecurityGroupsResponse) FromJsonString ¶
func (r *ModifyDBInstanceSecurityGroupsResponse) FromJsonString(s string) error
func (*ModifyDBInstanceSecurityGroupsResponse) ToJsonString ¶
func (r *ModifyDBInstanceSecurityGroupsResponse) ToJsonString() string
type ModifyInstanceAccountRequest ¶
type ModifyInstanceAccountRequest struct { *tchttp.BaseRequest // 实例ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 子账号名称,如果要修改主账号,填root AccountName *string `json:"AccountName,omitempty" name:"AccountName"` // 子账号密码 AccountPassword *string `json:"AccountPassword,omitempty" name:"AccountPassword"` // 子账号描述信息 Remark *string `json:"Remark,omitempty" name:"Remark"` // 子账号路由策略:填写master或者slave,表示路由主节点,从节点 ReadonlyPolicy []*string `json:"ReadonlyPolicy,omitempty" name:"ReadonlyPolicy" list` // 子账号读写策略:填写r、w、rw,表示只读,只写,读写策略 Privilege *string `json:"Privilege,omitempty" name:"Privilege"` // true表示将主账号切换为免密账号,这里只适用于主账号,子账号不可免密 NoAuth *bool `json:"NoAuth,omitempty" name:"NoAuth"` }
func NewModifyInstanceAccountRequest ¶
func NewModifyInstanceAccountRequest() (request *ModifyInstanceAccountRequest)
func (*ModifyInstanceAccountRequest) FromJsonString ¶
func (r *ModifyInstanceAccountRequest) FromJsonString(s string) error
func (*ModifyInstanceAccountRequest) ToJsonString ¶
func (r *ModifyInstanceAccountRequest) ToJsonString() string
type ModifyInstanceAccountResponse ¶
type ModifyInstanceAccountResponse 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 NewModifyInstanceAccountResponse ¶
func NewModifyInstanceAccountResponse() (response *ModifyInstanceAccountResponse)
func (*ModifyInstanceAccountResponse) FromJsonString ¶
func (r *ModifyInstanceAccountResponse) FromJsonString(s string) error
func (*ModifyInstanceAccountResponse) ToJsonString ¶
func (r *ModifyInstanceAccountResponse) 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 InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds" list` // 实例的新名称 InstanceNames []*string `json:"InstanceNames,omitempty" name:"InstanceNames" list` // 项目Id ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // 自动续费标识。0 - 默认状态(手动续费);1 - 自动续费;2 - 明确不自动续费 AutoRenews []*int64 `json:"AutoRenews,omitempty" name:"AutoRenews" list` // 已经废弃 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 已经废弃 InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // 已经废弃 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 Outbound ¶
type Outbound struct { // 策略,ACCEPT或者DROP。 Action *string `json:"Action,omitempty" name:"Action"` // 地址组id代表的地址集合。 AddressModule *string `json:"AddressModule,omitempty" name:"AddressModule"` // 来源Ip或Ip段,例如192.168.0.0/16。 CidrIp *string `json:"CidrIp,omitempty" name:"CidrIp"` // 描述。 Desc *string `json:"Desc,omitempty" name:"Desc"` // 网络协议,支持udp、tcp等。 IpProtocol *string `json:"IpProtocol,omitempty" name:"IpProtocol"` // 端口。 PortRange *string `json:"PortRange,omitempty" name:"PortRange"` // 服务组id代表的协议和端口集合。 ServiceModule *string `json:"ServiceModule,omitempty" name:"ServiceModule"` // 安全组id代表的地址集合。 Id *string `json:"Id,omitempty" name:"Id"` }
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 SecurityGroup ¶
type SecurityGroup struct { // 创建时间,时间格式:yyyy-mm-dd hh:mm:ss。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 项目ID。 ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"` // 安全组ID。 SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // 安全组名称。 SecurityGroupName *string `json:"SecurityGroupName,omitempty" name:"SecurityGroupName"` // 安全组备注。 SecurityGroupRemark *string `json:"SecurityGroupRemark,omitempty" name:"SecurityGroupRemark"` // 出站规则。 Outbound []*Outbound `json:"Outbound,omitempty" name:"Outbound" list` // 入站规则。 Inbound []*Inbound `json:"Inbound,omitempty" name:"Inbound" list` }
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 SourceCommand ¶
type SourceInfo ¶
type StartupInstanceRequest ¶
type StartupInstanceRequest struct { *tchttp.BaseRequest // 实例id InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewStartupInstanceRequest ¶
func NewStartupInstanceRequest() (request *StartupInstanceRequest)
func (*StartupInstanceRequest) FromJsonString ¶
func (r *StartupInstanceRequest) FromJsonString(s string) error
func (*StartupInstanceRequest) ToJsonString ¶
func (r *StartupInstanceRequest) ToJsonString() string
type StartupInstanceResponse ¶
type StartupInstanceResponse 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 NewStartupInstanceResponse ¶
func NewStartupInstanceResponse() (response *StartupInstanceResponse)
func (*StartupInstanceResponse) FromJsonString ¶
func (r *StartupInstanceResponse) FromJsonString(s string) error
func (*StartupInstanceResponse) ToJsonString ¶
func (r *StartupInstanceResponse) ToJsonString() string
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 TaskInfoDetail ¶
type TaskInfoDetail struct { // 任务Id // 注意:此字段可能返回 null,表示取不到有效值。 TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"` // 开始时间 // 注意:此字段可能返回 null,表示取不到有效值。 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 任务类型 // 注意:此字段可能返回 null,表示取不到有效值。 TaskType *string `json:"TaskType,omitempty" name:"TaskType"` // 实例名称 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // 实例Id // 注意:此字段可能返回 null,表示取不到有效值。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 项目Id // 注意:此字段可能返回 null,表示取不到有效值。 ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // 任务进度 // 注意:此字段可能返回 null,表示取不到有效值。 Progress *float64 `json:"Progress,omitempty" name:"Progress"` // 结束时间 // 注意:此字段可能返回 null,表示取不到有效值。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 任务状态 // 注意:此字段可能返回 null,表示取不到有效值。 Result *int64 `json:"Result,omitempty" name:"Result"` }
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"` }