v20180412

package
v3.0.881+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CAM signature/authentication error.
	AUTHFAILURE = "AuthFailure"

	// Invalid authorization.
	AUTHFAILURE_INVALIDAUTHORIZATION = "AuthFailure.InvalidAuthorization"

	// Failed to add the security group information of the instance.
	FAILEDOPERATION_ADDINSTANCEINFOFAILED = "FailedOperation.AddInstanceInfoFailed"

	// Failed to associate the security group.
	FAILEDOPERATION_ASSOCIATESECURITYGROUPSFAILED = "FailedOperation.AssociateSecurityGroupsFailed"

	// Failed to clear the security group information of the instance.
	FAILEDOPERATION_CLEARINSTANCEINFOFAILED = "FailedOperation.ClearInstanceInfoFailed"

	// Failed to submit the task.
	FAILEDOPERATION_COMMITFLOWERROR = "FailedOperation.CommitFlowError"

	// Failed to unbind the security group.
	FAILEDOPERATION_DISASSOCIATESECURITYGROUPSFAILED = "FailedOperation.DisassociateSecurityGroupsFailed"

	// This operation is not allowed under the current DTS status.
	FAILEDOPERATION_DTSSTATUSABNORMAL = "FailedOperation.DtsStatusAbnormal"

	// No process exists.
	FAILEDOPERATION_FLOWNOTEXISTS = "FailedOperation.FlowNotExists"

	// Failed to query the security group details. Try again later.
	FAILEDOPERATION_GETSECURITYGROUPDETAILFAILED = "FailedOperation.GetSecurityGroupDetailFailed"

	// Payment failed.
	FAILEDOPERATION_PAYFAILED = "FailedOperation.PayFailed"

	// No exact description for this error code for the time being.
	FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"

	// Failed to set the rule.
	FAILEDOPERATION_SETRULELOCATIONFAILED = "FailedOperation.SetRuleLocationFailed"

	// Internal system error, which is irrelevant to the business.
	FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"

	// The instance does not support this API.
	FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"

	// Invalid data is entered for weekday.
	FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"

	// Failed to update the security group information of the instance.
	FAILEDOPERATION_UPDATEINSTANCEINFOFAILED = "FailedOperation.UpdateInstanceInfoFailed"

	// Failed to update the security group.
	FAILEDOPERATION_UPDATESECURITYGROUPSFAILED = "FailedOperation.UpdateSecurityGroupsFailed"

	// Internal error.
	INTERNALERROR = "InternalError"

	// A CAM authentication error occurred.
	INTERNALERROR_CAMAUTHOSSRESPONSERETURNCODEERROR = "InternalError.CamAuthOssResponseReturnCodeError"

	// Internal system error with the database operation, which may be update, insert, select, etc.
	INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"

	// Failed to execute the HTTP request. Try again later.
	INTERNALERROR_EXECHTTPREQUESTERROR = "InternalError.ExecHttpRequestError"

	// You do not have the operation permission.
	INTERNALERROR_INSTANCEOPERATEPERMISSIONERROR = "InternalError.InstanceOperatePermissionError"

	// Internal error.
	INTERNALERROR_INTERNALERROR = "InternalError.InternalError"

	// An error occurred while obtaining the list of instances. Try again later.
	INTERNALERROR_LISTINSTANCESERROR = "InternalError.ListInstancesError"

	// A network error occurred.
	INTERNALERROR_NETWORKERR = "InternalError.NetWorkErr"

	// Incorrect parameter.
	INVALIDPARAMETER = "InvalidParameter"

	// The corresponding API was not found.
	INVALIDPARAMETER_ACTIONNOTFOUND = "InvalidParameter.ActionNotFound"

	// The parameter is empty.
	INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"

	// Invalid parameter.
	INVALIDPARAMETER_ILLEGALPARAMETERERROR = "InvalidParameter.IllegalParameterError"

	// The security groups of the instance exceeds the limit.
	INVALIDPARAMETER_INSTANCESGOVERLIMITERROR = "InvalidParameter.InstanceSGOverLimitError"

	// Invalid service parameter.
	INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"

	// The instance is not in a VPC.
	INVALIDPARAMETER_ISNOTVPCINSTANCE = "InvalidParameter.IsNotVpcInstance"

	// The operation is unsupported due to incorrect parameters.
	INVALIDPARAMETER_NOTSUPPORTED = "InvalidParameter.NotSupported"

	// Only VPCs are provided in the Shanghai Finance AZ.
	INVALIDPARAMETER_ONLYVPCONSPECZONEID = "InvalidParameter.OnlyVPCOnSpecZoneId"

	// The time format or time range is invalid.
	INVALIDPARAMETER_PERIOD = "InvalidParameter.Period"

	// The API has no CAM permissions.
	INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"

	// Incorrect parameter value.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// The backup does not exist.
	INVALIDPARAMETERVALUE_BACKUPNOTEXISTS = "InvalidParameterValue.BackupNotExists"

	// The instance is not in a VPC.
	INVALIDPARAMETERVALUE_BASENETWORKACCESSDENY = "InvalidParameterValue.BaseNetWorkAccessDeny"

	// Business verification failed
	INVALIDPARAMETERVALUE_CHECKNOTPASS = "InvalidParameterValue.CheckNotPass"

	// The type of instances requested for purchase is incorrect (TypeId - 1: Cluster Edition; 2: Master-Replica Edition, i.e., the legacy Master-Replica Edition).
	INVALIDPARAMETERVALUE_INVALIDINSTANCETYPEID = "InvalidParameterValue.InvalidInstanceTypeId"

	// The `vpcid` or subnet ID in the VPC is invalid.
	INVALIDPARAMETERVALUE_INVALIDSUBNETID = "InvalidParameterValue.InvalidSubnetId"

	// The requested capacity is out of the purchasable capacity range.
	INVALIDPARAMETERVALUE_MEMSIZENOTINRANGE = "InvalidParameterValue.MemSizeNotInRange"

	// The password is empty.
	INVALIDPARAMETERVALUE_PASSWORDEMPTY = "InvalidParameterValue.PasswordEmpty"

	// Password verification error due to incorrect password.
	INVALIDPARAMETERVALUE_PASSWORDERROR = "InvalidParameterValue.PasswordError"

	// Tencent internal accounts are not allowed to use password-free instances.
	INVALIDPARAMETERVALUE_PASSWORDFREEDENIED = "InvalidParameterValue.PasswordFreeDenied"

	// When the password is set, the old password passed in by MC does not match the previously set password.
	INVALIDPARAMETERVALUE_PASSWORDRULEERROR = "InvalidParameterValue.PasswordRuleError"

	// The request capacity is too small. Capacity reduction is not supported.
	INVALIDPARAMETERVALUE_REDUCECAPACITYNOTALLOWED = "InvalidParameterValue.ReduceCapacityNotAllowed"

	// The global replication group doesn’t exist.
	INVALIDPARAMETERVALUE_REPLICATIONGROUPNOTEXISTS = "InvalidParameterValue.ReplicationGroupNotExists"

	// The request parameter or security group ID is incorrect.
	INVALIDPARAMETERVALUE_SECURITYGROUPIDSNOTEXISTS = "InvalidParameterValue.SecurityGroupIdsNotExists"

	// The instance specification doesn’t exist.
	INVALIDPARAMETERVALUE_SPECNOTEXIST = "InvalidParameterValue.SpecNotExist"

	// The instance type is not supported.
	INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType"

	// The `uniqVpcId` or subnet ID in the VPC is invalid.
	INVALIDPARAMETERVALUE_UNVPCIDNOTEXISTS = "InvalidParameterValue.UnVpcIdNotExists"

	// Invalid data is entered for `weekday`.
	INVALIDPARAMETERVALUE_WEEKDAYSISINVALID = "InvalidParameterValue.WeekDaysIsInvalid"

	// The quota limit has been reached.
	LIMITEXCEEDED = "LimitExceeded"

	// The requested capacity is out of the purchasable specification range (`memSize` should be an integer multiple of 1,024 in MB).
	LIMITEXCEEDED_INVALIDMEMSIZE = "LimitExceeded.InvalidMemSize"

	// The number of instances requested for purchase at a time is out of the purchasable quantity range.
	LIMITEXCEEDED_INVALIDPARAMETERGOODSNUMNOTINRANGE = "LimitExceeded.InvalidParameterGoodsNumNotInRange"

	// The requested capacity is out of the purchasable capacity range.
	LIMITEXCEEDED_MEMSIZENOTINRANGE = "LimitExceeded.MemSizeNotInRange"

	// The requested length of purchase is more than three years and exceeds the maximum value.
	LIMITEXCEEDED_PERIODEXCEEDMAXLIMIT = "LimitExceeded.PeriodExceedMaxLimit"

	// The length of purchase is invalid. It must be at least one month.
	LIMITEXCEEDED_PERIODLESSTHANMINLIMIT = "LimitExceeded.PeriodLessThanMinLimit"

	// The quantity of requested TencentDB for Redis instances falls out of the limit range.
	LIMITEXCEEDED_REACHTHEAMOUNTLIMIT = "LimitExceeded.ReachTheAmountLimit"

	// Replication group locked
	LIMITEXCEEDED_REPLICATIONGROUPLOCKED = "LimitExceeded.ReplicationGroupLocked"

	// The instance is locked by another process.
	RESOURCEINUSE_INSTANCEBEENLOCKED = "ResourceInUse.InstanceBeenLocked"

	// The resource is insufficient.
	RESOURCEINSUFFICIENT = "ResourceInsufficient"

	// The resource doesn’t exist.
	RESOURCENOTFOUND = "ResourceNotFound"

	// The UIN value is empty.
	RESOURCENOTFOUND_ACCOUNTDOESNOTEXISTS = "ResourceNotFound.AccountDoesNotExists"

	// No Redis instance is found by the serialId.
	RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"

	// The instance was not found.
	RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"

	// The request order number does not exist.
	RESOURCEUNAVAILABLE_ACCOUNTBALANCENOTENOUGH = "ResourceUnavailable.AccountBalanceNotEnough"

	// The backup has been locked by another task, and the operation cannot be performed temporarily.
	RESOURCEUNAVAILABLE_BACKUPLOCKEDERROR = "ResourceUnavailable.BackupLockedError"

	// Backup status exception. The operation cannot be performed temporarily. The backup may have expired or been deleted.
	RESOURCEUNAVAILABLE_BACKUPSTATUSABNORMAL = "ResourceUnavailable.BackupStatusAbnormal"

	// Backup is not supported when the instance is not in the “Running” status.
	RESOURCEUNAVAILABLE_BACKUPSTATUSINVALID = "ResourceUnavailable.BackupStatusInvalid"

	// Failed to call the backend API.
	RESOURCEUNAVAILABLE_CALLOSSERROR = "ResourceUnavailable.CallOssError"

	// Failed to get the security group information.
	RESOURCEUNAVAILABLE_GETSECURITYERROR = "ResourceUnavailable.GetSecurityError"

	// An instance configuration error occurred.
	RESOURCEUNAVAILABLE_INSTANCECONFERROR = "ResourceUnavailable.InstanceConfError"

	// The instance has already been repossessed.
	RESOURCEUNAVAILABLE_INSTANCEDELETED = "ResourceUnavailable.InstanceDeleted"

	// The instance has expired.
	RESOURCEUNAVAILABLE_INSTANCEISOLATED = "ResourceUnavailable.InstanceIsolated"

	// Redis has been locked by another process.
	RESOURCEUNAVAILABLE_INSTANCELOCKEDERROR = "ResourceUnavailable.InstanceLockedError"

	// The order does not exist.
	RESOURCEUNAVAILABLE_INSTANCENODEAL = "ResourceUnavailable.InstanceNoDeal"

	// Instances in this status do not support the operation.
	RESOURCEUNAVAILABLE_INSTANCENOTSUPPORTOPERATION = "ResourceUnavailable.InstanceNotSupportOperation"

	// Instance status error.
	RESOURCEUNAVAILABLE_INSTANCESTATEERROR = "ResourceUnavailable.InstanceStateError"

	// The Redis status is exceptional, and the corresponding process cannot be executed.
	RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"

	// Operation unsupported: the instance is exceptional.
	RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"

	// The instance has been locked by another process.
	RESOURCEUNAVAILABLE_INSTANCEUNLOCKEDERROR = "ResourceUnavailable.InstanceUnLockedError"

	// The IP resources in the VPC are insufficient.
	RESOURCEUNAVAILABLE_NOENOUGHVIPINVPC = "ResourceUnavailable.NoEnoughVipInVPC"

	// The requested region currently does not provide the Redis service.
	RESOURCEUNAVAILABLE_NOREDISSERVICE = "ResourceUnavailable.NoRedisService"

	// The requested `zoneId` doesn’t provide Redis service.
	RESOURCEUNAVAILABLE_NOSERVICEAVAILABLEFORTHISZONEID = "ResourceUnavailable.NoServiceAvailableForThisZoneId"

	// The requested region currently does not provide the requested type of Redis service.
	RESOURCEUNAVAILABLE_NOTYPEIDREDISSERVICE = "ResourceUnavailable.NoTypeIdRedisService"

	// Resources of the specified type in the region are sold out.
	RESOURCEUNAVAILABLE_SALEOUT = "ResourceUnavailable.SaleOut"

	// The product has not been connected to any security group.
	RESOURCEUNAVAILABLE_SECURITYGROUPNOTSUPPORTED = "ResourceUnavailable.SecurityGroupNotSupported"

	// The operation is unauthorized.
	UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

	// No CAM permissions.
	UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

	// The user is not in the allowlist.
	UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

	// The operation is not supported.
	UNSUPPORTEDOPERATION = "UnsupportedOperation"

	// The Redis cluster edition is not allowed to connect to a security group.
	UNSUPPORTEDOPERATION_CLUSTERINSTANCEACCESSEDDENY = "UnsupportedOperation.ClusterInstanceAccessedDeny"

	// Inspecting replication group
	UNSUPPORTEDOPERATION_INSPECTION = "UnsupportedOperation.Inspection"

	// Unsupported operation
	UNSUPPORTEDOPERATION_INSTANCENOTOPERATION = "UnsupportedOperation.InstanceNotOperation"

	// There is an error with the auto-renewal flag.
	UNSUPPORTEDOPERATION_ISAUTORENEWERROR = "UnsupportedOperation.IsAutoRenewError"

	// The instance version is too low.
	UNSUPPORTEDOPERATION_LIMITPROXYVERSION = "UnsupportedOperation.LimitProxyVersion"

	// Only Cluster Edition instances support backup exporting.
	UNSUPPORTEDOPERATION_ONLYCLUSTERINSTANCECANEXPORTBACKUP = "UnsupportedOperation.OnlyClusterInstanceCanExportBackup"
)
View Source
const APIVersion = "2018-04-12"

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	// Instance ID
	// Note:  This field may return null, indicating that no valid values can be obtained.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Account name
	// Note:  This field may return null, indicating that no valid values can be obtained.
	AccountName *string `json:"AccountName,omitnil" name:"AccountName"`

	// Account description information
	// Note:  This field may return null, indicating that no valid values can be obtained.
	Remark *string `json:"Remark,omitnil" name:"Remark"`

	// Read/write permission policy. Valid values: `r` (read-only),  `w` (write-only),  `rw`  (read/write).
	// Note:  This field may return null, indicating that no valid values can be obtained.
	Privilege *string `json:"Privilege,omitnil" name:"Privilege"`

	// Read-only routing policy. Valid values: `master` (master node),  `replication`  (replica node).
	// Note:  This field may return null, indicating that no valid values can be obtained.
	ReadonlyPolicy []*string `json:"ReadonlyPolicy,omitnil" name:"ReadonlyPolicy"`

	// Sub-account status. Valid values:  `1` (being changed),  `2` (valid). `4` (deleted).
	// Note:  This field may return null, indicating that no valid values can be obtained.
	Status *int64 `json:"Status,omitnil" name:"Status"`
}

type AllocateWanAddressRequest

type AllocateWanAddressRequest struct {
	*tchttp.BaseRequest

	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

func NewAllocateWanAddressRequest

func NewAllocateWanAddressRequest() (request *AllocateWanAddressRequest)

func (*AllocateWanAddressRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AllocateWanAddressRequest) ToJsonString

func (r *AllocateWanAddressRequest) ToJsonString() string

type AllocateWanAddressRequestParams

type AllocateWanAddressRequestParams struct {
	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

Predefined struct for user

type AllocateWanAddressResponse

type AllocateWanAddressResponse struct {
	*tchttp.BaseResponse
	Response *AllocateWanAddressResponseParams `json:"Response"`
}

func NewAllocateWanAddressResponse

func NewAllocateWanAddressResponse() (response *AllocateWanAddressResponse)

func (*AllocateWanAddressResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AllocateWanAddressResponse) ToJsonString

func (r *AllocateWanAddressResponse) ToJsonString() string

type AllocateWanAddressResponseParams

type AllocateWanAddressResponseParams struct {
	// Async task ID
	FlowId *int64 `json:"FlowId,omitnil" name:"FlowId"`

	// Status of enabling public network access
	WanStatus *string `json:"WanStatus,omitnil" name:"WanStatus"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ApplyParamsTemplateRequest

type ApplyParamsTemplateRequest struct {
	*tchttp.BaseRequest

	// List of instance IDs
	InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"`

	// ID of the parameter template to be applied
	TemplateId *string `json:"TemplateId,omitnil" name:"TemplateId"`
}

func NewApplyParamsTemplateRequest

func NewApplyParamsTemplateRequest() (request *ApplyParamsTemplateRequest)

func (*ApplyParamsTemplateRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ApplyParamsTemplateRequest) ToJsonString

func (r *ApplyParamsTemplateRequest) ToJsonString() string

type ApplyParamsTemplateRequestParams

type ApplyParamsTemplateRequestParams struct {
	// List of instance IDs
	InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"`

	// ID of the parameter template to be applied
	TemplateId *string `json:"TemplateId,omitnil" name:"TemplateId"`
}

Predefined struct for user

type ApplyParamsTemplateResponse

type ApplyParamsTemplateResponse struct {
	*tchttp.BaseResponse
	Response *ApplyParamsTemplateResponseParams `json:"Response"`
}

func NewApplyParamsTemplateResponse

func NewApplyParamsTemplateResponse() (response *ApplyParamsTemplateResponse)

func (*ApplyParamsTemplateResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ApplyParamsTemplateResponse) ToJsonString

func (r *ApplyParamsTemplateResponse) ToJsonString() string

type ApplyParamsTemplateResponseParams

type ApplyParamsTemplateResponseParams struct {
	// Task ID
	TaskIds []*int64 `json:"TaskIds,omitnil" name:"TaskIds"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type AssociateSecurityGroupsRequest

type AssociateSecurityGroupsRequest struct {
	*tchttp.BaseRequest

	// Database engine name, which is `redis` for this API.
	Product *string `json:"Product,omitnil" name:"Product"`

	// ID of the security group to be associated in the format of sg-efil73jd.
	SecurityGroupId *string `json:"SecurityGroupId,omitnil" name:"SecurityGroupId"`

	// ID(s) of the instance(s) to be associated in the format of ins-lesecurk. You can specify multiple instances.
	InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"`
}

func NewAssociateSecurityGroupsRequest

func NewAssociateSecurityGroupsRequest() (request *AssociateSecurityGroupsRequest)

func (*AssociateSecurityGroupsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AssociateSecurityGroupsRequest) ToJsonString

func (r *AssociateSecurityGroupsRequest) ToJsonString() string

type AssociateSecurityGroupsRequestParams

type AssociateSecurityGroupsRequestParams struct {
	// Database engine name, which is `redis` for this API.
	Product *string `json:"Product,omitnil" name:"Product"`

	// ID of the security group to be associated in the format of sg-efil73jd.
	SecurityGroupId *string `json:"SecurityGroupId,omitnil" name:"SecurityGroupId"`

	// ID(s) of the instance(s) to be associated in the format of ins-lesecurk. You can specify multiple instances.
	InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"`
}

Predefined struct for user

type AssociateSecurityGroupsResponse

type AssociateSecurityGroupsResponse struct {
	*tchttp.BaseResponse
	Response *AssociateSecurityGroupsResponseParams `json:"Response"`
}

func NewAssociateSecurityGroupsResponse

func NewAssociateSecurityGroupsResponse() (response *AssociateSecurityGroupsResponse)

func (*AssociateSecurityGroupsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AssociateSecurityGroupsResponse) ToJsonString

func (r *AssociateSecurityGroupsResponse) ToJsonString() string

type AssociateSecurityGroupsResponseParams

type AssociateSecurityGroupsResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type BackupDownloadInfo

type BackupDownloadInfo struct {
	// Backup file name
	FileName *string `json:"FileName,omitnil" name:"FileName"`

	// Backup file size in bytes. If the parameter value is `0`, the backup file size is unknown.
	FileSize *uint64 `json:"FileSize,omitnil" name:"FileSize"`

	// Address (valid for six hours) used to download the backup file over the public network
	DownloadUrl *string `json:"DownloadUrl,omitnil" name:"DownloadUrl"`

	// Address (valid for six hours) used to download the backup file over the private network
	InnerDownloadUrl *string `json:"InnerDownloadUrl,omitnil" name:"InnerDownloadUrl"`
}

type BackupLimitVpcItem

type BackupLimitVpcItem struct {
	// The region of the VPC that corresponds to the download address of the backup file
	Region *string `json:"Region,omitnil" name:"Region"`

	// The list of VPCs that correspond to the download addresses of the backup files
	VpcList []*string `json:"VpcList,omitnil" name:"VpcList"`
}

type BigKeyInfo

type BigKeyInfo struct {
	// Database
	DB *int64 `json:"DB,omitnil" name:"DB"`

	// Big key
	Key *string `json:"Key,omitnil" name:"Key"`

	// Type
	Type *string `json:"Type,omitnil" name:"Type"`

	// Size
	Size *int64 `json:"Size,omitnil" name:"Size"`

	// Data timestamp
	Updatetime *int64 `json:"Updatetime,omitnil" name:"Updatetime"`
}

type BigKeyTypeInfo

type BigKeyTypeInfo struct {
	// Type
	Type *string `json:"Type,omitnil" name:"Type"`

	// Count
	Count *int64 `json:"Count,omitnil" name:"Count"`

	// Size
	Size *int64 `json:"Size,omitnil" name:"Size"`

	// Timestamp
	Updatetime *int64 `json:"Updatetime,omitnil" name:"Updatetime"`
}

type ChangeInstanceRoleRequest

type ChangeInstanceRoleRequest struct {
	*tchttp.BaseRequest

	// Replication group ID
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Instance role. Valid values: `rw` (read-write), `r`( read-only).
	InstanceRole *string `json:"InstanceRole,omitnil" name:"InstanceRole"`
}

func NewChangeInstanceRoleRequest

func NewChangeInstanceRoleRequest() (request *ChangeInstanceRoleRequest)

func (*ChangeInstanceRoleRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ChangeInstanceRoleRequest) ToJsonString

func (r *ChangeInstanceRoleRequest) ToJsonString() string

type ChangeInstanceRoleRequestParams

type ChangeInstanceRoleRequestParams struct {
	// Replication group ID
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Instance role. Valid values: `rw` (read-write), `r`( read-only).
	InstanceRole *string `json:"InstanceRole,omitnil" name:"InstanceRole"`
}

Predefined struct for user

type ChangeInstanceRoleResponse

type ChangeInstanceRoleResponse struct {
	*tchttp.BaseResponse
	Response *ChangeInstanceRoleResponseParams `json:"Response"`
}

func NewChangeInstanceRoleResponse

func NewChangeInstanceRoleResponse() (response *ChangeInstanceRoleResponse)

func (*ChangeInstanceRoleResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ChangeInstanceRoleResponse) ToJsonString

func (r *ChangeInstanceRoleResponse) ToJsonString() string

type ChangeInstanceRoleResponseParams

type ChangeInstanceRoleResponseParams struct {
	// Async task ID
	TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ChangeMasterInstanceRequest

type ChangeMasterInstanceRequest struct {
	*tchttp.BaseRequest

	// Replication group ID, such as `crs-rpl-m3zt****`. It is the unique identifier automatically assigned by the system when creating a replication group. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis/replication), and get it in the global replication list.
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`

	// ID of the read-only instance to be promoted to the master instance, such as `crs-xjhsdj****`. Log in to the the [TencentDB for Redis console](https://console.cloud.tencent.com/redis), and copy it in the instance list.
	//
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Whether to promote the read-only instance to the master instance forcibly. Valid values:
	// - `true`: Yes
	// - `false`: No
	ForceSwitch *bool `json:"ForceSwitch,omitnil" name:"ForceSwitch"`
}

func NewChangeMasterInstanceRequest

func NewChangeMasterInstanceRequest() (request *ChangeMasterInstanceRequest)

func (*ChangeMasterInstanceRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ChangeMasterInstanceRequest) ToJsonString

func (r *ChangeMasterInstanceRequest) ToJsonString() string

type ChangeMasterInstanceRequestParams

type ChangeMasterInstanceRequestParams struct {
	// Replication group ID, such as `crs-rpl-m3zt****`. It is the unique identifier automatically assigned by the system when creating a replication group. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis/replication), and get it in the global replication list.
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`

	// ID of the read-only instance to be promoted to the master instance, such as `crs-xjhsdj****`. Log in to the the [TencentDB for Redis console](https://console.cloud.tencent.com/redis), and copy it in the instance list.
	//
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Whether to promote the read-only instance to the master instance forcibly. Valid values:
	// - `true`: Yes
	// - `false`: No
	ForceSwitch *bool `json:"ForceSwitch,omitnil" name:"ForceSwitch"`
}

Predefined struct for user

type ChangeMasterInstanceResponse

type ChangeMasterInstanceResponse struct {
	*tchttp.BaseResponse
	Response *ChangeMasterInstanceResponseParams `json:"Response"`
}

func NewChangeMasterInstanceResponse

func NewChangeMasterInstanceResponse() (response *ChangeMasterInstanceResponse)

func (*ChangeMasterInstanceResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ChangeMasterInstanceResponse) ToJsonString

func (r *ChangeMasterInstanceResponse) ToJsonString() string

type ChangeMasterInstanceResponseParams

type ChangeMasterInstanceResponseParams struct {
	// Async task ID
	TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ChangeReplicaToMasterRequest

type ChangeReplicaToMasterRequest struct {
	*tchttp.BaseRequest

	// ID of the specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// ID of the replica node group. You can get more ID information of the multi-AZ replica node group though the [DescribeInstanceZoneInfo](https://intl.cloud.tencent.com/document/product/239/50312?from_cn_redirect=1) API.  This parameter is not required for a single-AZ replica node group.
	GroupId *int64 `json:"GroupId,omitnil" name:"GroupId"`
}

func NewChangeReplicaToMasterRequest

func NewChangeReplicaToMasterRequest() (request *ChangeReplicaToMasterRequest)

func (*ChangeReplicaToMasterRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ChangeReplicaToMasterRequest) ToJsonString

func (r *ChangeReplicaToMasterRequest) ToJsonString() string

type ChangeReplicaToMasterRequestParams

type ChangeReplicaToMasterRequestParams struct {
	// ID of the specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// ID of the replica node group. You can get more ID information of the multi-AZ replica node group though the [DescribeInstanceZoneInfo](https://intl.cloud.tencent.com/document/product/239/50312?from_cn_redirect=1) API.  This parameter is not required for a single-AZ replica node group.
	GroupId *int64 `json:"GroupId,omitnil" name:"GroupId"`
}

Predefined struct for user

type ChangeReplicaToMasterResponse

type ChangeReplicaToMasterResponse struct {
	*tchttp.BaseResponse
	Response *ChangeReplicaToMasterResponseParams `json:"Response"`
}

func NewChangeReplicaToMasterResponse

func NewChangeReplicaToMasterResponse() (response *ChangeReplicaToMasterResponse)

func (*ChangeReplicaToMasterResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ChangeReplicaToMasterResponse) ToJsonString

func (r *ChangeReplicaToMasterResponse) ToJsonString() string

type ChangeReplicaToMasterResponseParams

type ChangeReplicaToMasterResponseParams struct {
	// Async task ID
	TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type CleanUpInstanceRequest

type CleanUpInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

func NewCleanUpInstanceRequest

func NewCleanUpInstanceRequest() (request *CleanUpInstanceRequest)

func (*CleanUpInstanceRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CleanUpInstanceRequest) ToJsonString

func (r *CleanUpInstanceRequest) ToJsonString() string

type CleanUpInstanceRequestParams

type CleanUpInstanceRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

Predefined struct for user

type CleanUpInstanceResponse

type CleanUpInstanceResponse struct {
	*tchttp.BaseResponse
	Response *CleanUpInstanceResponseParams `json:"Response"`
}

func NewCleanUpInstanceResponse

func NewCleanUpInstanceResponse() (response *CleanUpInstanceResponse)

func (*CleanUpInstanceResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CleanUpInstanceResponse) ToJsonString

func (r *CleanUpInstanceResponse) ToJsonString() string

type CleanUpInstanceResponseParams

type CleanUpInstanceResponseParams struct {
	// Task ID
	TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ClearInstanceRequest

type ClearInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Redis instance password (this parameter is required for password-enabled instances but not for password-free instances)
	Password *string `json:"Password,omitnil" name:"Password"`
}

func NewClearInstanceRequest

func NewClearInstanceRequest() (request *ClearInstanceRequest)

func (*ClearInstanceRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ClearInstanceRequest) ToJsonString

func (r *ClearInstanceRequest) ToJsonString() string

type ClearInstanceRequestParams

type ClearInstanceRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Redis instance password (this parameter is required for password-enabled instances but not for password-free instances)
	Password *string `json:"Password,omitnil" name:"Password"`
}

Predefined struct for user

type ClearInstanceResponse

type ClearInstanceResponse struct {
	*tchttp.BaseResponse
	Response *ClearInstanceResponseParams `json:"Response"`
}

func NewClearInstanceResponse

func NewClearInstanceResponse() (response *ClearInstanceResponse)

func (*ClearInstanceResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ClearInstanceResponse) ToJsonString

func (r *ClearInstanceResponse) ToJsonString() string

type ClearInstanceResponseParams

type ClearInstanceResponseParams struct {
	// Task ID
	TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type Client

type Client struct {
	common.Client
}

func NewClient

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

func NewClientWithSecretId

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

Deprecated

func (*Client) AllocateWanAddress

func (c *Client) AllocateWanAddress(request *AllocateWanAddressRequest) (response *AllocateWanAddressResponse, err error)

AllocateWanAddress This API is used to enable public network access.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INVALIDPARAMETER_ISNOTVPCINSTANCE = "InvalidParameter.IsNotVpcInstance"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCEUNAVAILABLE_INSTANCEUNLOCKEDERROR = "ResourceUnavailable.InstanceUnLockedError"

func (*Client) AllocateWanAddressWithContext

func (c *Client) AllocateWanAddressWithContext(ctx context.Context, request *AllocateWanAddressRequest) (response *AllocateWanAddressResponse, err error)

AllocateWanAddress This API is used to enable public network access.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INVALIDPARAMETER_ISNOTVPCINSTANCE = "InvalidParameter.IsNotVpcInstance"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCEUNAVAILABLE_INSTANCEUNLOCKEDERROR = "ResourceUnavailable.InstanceUnLockedError"

func (*Client) ApplyParamsTemplate

func (c *Client) ApplyParamsTemplate(request *ApplyParamsTemplateRequest) (response *ApplyParamsTemplateResponse, err error)

ApplyParamsTemplate This API is used to apply a parameter template to instances.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_CALLOSSERROR = "ResourceUnavailable.CallOssError"
RESOURCEUNAVAILABLE_INSTANCECONFERROR = "ResourceUnavailable.InstanceConfError"
RESOURCEUNAVAILABLE_INSTANCELOCKEDERROR = "ResourceUnavailable.InstanceLockedError"
RESOURCEUNAVAILABLE_INSTANCESTATEERROR = "ResourceUnavailable.InstanceStateError"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) ApplyParamsTemplateWithContext

func (c *Client) ApplyParamsTemplateWithContext(ctx context.Context, request *ApplyParamsTemplateRequest) (response *ApplyParamsTemplateResponse, err error)

ApplyParamsTemplate This API is used to apply a parameter template to instances.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_CALLOSSERROR = "ResourceUnavailable.CallOssError"
RESOURCEUNAVAILABLE_INSTANCECONFERROR = "ResourceUnavailable.InstanceConfError"
RESOURCEUNAVAILABLE_INSTANCELOCKEDERROR = "ResourceUnavailable.InstanceLockedError"
RESOURCEUNAVAILABLE_INSTANCESTATEERROR = "ResourceUnavailable.InstanceStateError"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) AssociateSecurityGroups

func (c *Client) AssociateSecurityGroups(request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error)

AssociateSecurityGroups This API is used to bind a security group to instances in batches.

error code that may be returned:

FAILEDOPERATION_ADDINSTANCEINFOFAILED = "FailedOperation.AddInstanceInfoFailed"
FAILEDOPERATION_ASSOCIATESECURITYGROUPSFAILED = "FailedOperation.AssociateSecurityGroupsFailed"
FAILEDOPERATION_CLEARINSTANCEINFOFAILED = "FailedOperation.ClearInstanceInfoFailed"
FAILEDOPERATION_DISASSOCIATESECURITYGROUPSFAILED = "FailedOperation.DisassociateSecurityGroupsFailed"
FAILEDOPERATION_UPDATESECURITYGROUPSFAILED = "FailedOperation.UpdateSecurityGroupsFailed"
INTERNALERROR_LISTINSTANCESERROR = "InternalError.ListInstancesError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"

func (*Client) AssociateSecurityGroupsWithContext

func (c *Client) AssociateSecurityGroupsWithContext(ctx context.Context, request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error)

AssociateSecurityGroups This API is used to bind a security group to instances in batches.

error code that may be returned:

FAILEDOPERATION_ADDINSTANCEINFOFAILED = "FailedOperation.AddInstanceInfoFailed"
FAILEDOPERATION_ASSOCIATESECURITYGROUPSFAILED = "FailedOperation.AssociateSecurityGroupsFailed"
FAILEDOPERATION_CLEARINSTANCEINFOFAILED = "FailedOperation.ClearInstanceInfoFailed"
FAILEDOPERATION_DISASSOCIATESECURITYGROUPSFAILED = "FailedOperation.DisassociateSecurityGroupsFailed"
FAILEDOPERATION_UPDATESECURITYGROUPSFAILED = "FailedOperation.UpdateSecurityGroupsFailed"
INTERNALERROR_LISTINSTANCESERROR = "InternalError.ListInstancesError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"

func (*Client) ChangeInstanceRole

func (c *Client) ChangeInstanceRole(request *ChangeInstanceRoleRequest) (response *ChangeInstanceRoleResponse, err error)

ChangeInstanceRole This API is used to modify the role of an instance in a replication group.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETERVALUE_CHECKNOTPASS = "InvalidParameterValue.CheckNotPass"
INVALIDPARAMETERVALUE_REPLICATIONGROUPNOTEXISTS = "InvalidParameterValue.ReplicationGroupNotExists"
LIMITEXCEEDED_REPLICATIONGROUPLOCKED = "LimitExceeded.ReplicationGroupLocked"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
UNSUPPORTEDOPERATION_INSPECTION = "UnsupportedOperation.Inspection"
UNSUPPORTEDOPERATION_INSTANCENOTOPERATION = "UnsupportedOperation.InstanceNotOperation"

func (*Client) ChangeInstanceRoleWithContext

func (c *Client) ChangeInstanceRoleWithContext(ctx context.Context, request *ChangeInstanceRoleRequest) (response *ChangeInstanceRoleResponse, err error)

ChangeInstanceRole This API is used to modify the role of an instance in a replication group.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETERVALUE_CHECKNOTPASS = "InvalidParameterValue.CheckNotPass"
INVALIDPARAMETERVALUE_REPLICATIONGROUPNOTEXISTS = "InvalidParameterValue.ReplicationGroupNotExists"
LIMITEXCEEDED_REPLICATIONGROUPLOCKED = "LimitExceeded.ReplicationGroupLocked"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
UNSUPPORTEDOPERATION_INSPECTION = "UnsupportedOperation.Inspection"
UNSUPPORTEDOPERATION_INSTANCENOTOPERATION = "UnsupportedOperation.InstanceNotOperation"

func (*Client) ChangeMasterInstance

func (c *Client) ChangeMasterInstance(request *ChangeMasterInstanceRequest) (response *ChangeMasterInstanceResponse, err error)

ChangeMasterInstance This API is used to set a read-only instance in a replication group as a master instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_CHECKNOTPASS = "InvalidParameterValue.CheckNotPass"
INVALIDPARAMETERVALUE_REPLICATIONGROUPNOTEXISTS = "InvalidParameterValue.ReplicationGroupNotExists"
LIMITEXCEEDED_REPLICATIONGROUPLOCKED = "LimitExceeded.ReplicationGroupLocked"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
UNSUPPORTEDOPERATION_INSPECTION = "UnsupportedOperation.Inspection"
UNSUPPORTEDOPERATION_INSTANCENOTOPERATION = "UnsupportedOperation.InstanceNotOperation"

func (*Client) ChangeMasterInstanceWithContext

func (c *Client) ChangeMasterInstanceWithContext(ctx context.Context, request *ChangeMasterInstanceRequest) (response *ChangeMasterInstanceResponse, err error)

ChangeMasterInstance This API is used to set a read-only instance in a replication group as a master instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_CHECKNOTPASS = "InvalidParameterValue.CheckNotPass"
INVALIDPARAMETERVALUE_REPLICATIONGROUPNOTEXISTS = "InvalidParameterValue.ReplicationGroupNotExists"
LIMITEXCEEDED_REPLICATIONGROUPLOCKED = "LimitExceeded.ReplicationGroupLocked"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
UNSUPPORTEDOPERATION_INSPECTION = "UnsupportedOperation.Inspection"
UNSUPPORTEDOPERATION_INSTANCENOTOPERATION = "UnsupportedOperation.InstanceNotOperation"

func (*Client) ChangeReplicaToMaster

func (c *Client) ChangeReplicaToMaster(request *ChangeReplicaToMasterRequest) (response *ChangeReplicaToMasterResponse, err error)

ChangeReplicaToMaster This API is used to promote a replica node group to a master node group or a replica node to a master node for an instance.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_INVALIDAUTHORIZATION = "AuthFailure.InvalidAuthorization"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
INVALIDPARAMETER_ILLEGALPARAMETERERROR = "InvalidParameter.IllegalParameterError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"

func (*Client) ChangeReplicaToMasterWithContext

func (c *Client) ChangeReplicaToMasterWithContext(ctx context.Context, request *ChangeReplicaToMasterRequest) (response *ChangeReplicaToMasterResponse, err error)

ChangeReplicaToMaster This API is used to promote a replica node group to a master node group or a replica node to a master node for an instance.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_INVALIDAUTHORIZATION = "AuthFailure.InvalidAuthorization"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
INVALIDPARAMETER_ILLEGALPARAMETERERROR = "InvalidParameter.IllegalParameterError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"

func (*Client) CleanUpInstance

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

CleanUpInstance This API is used to eliminate an instance in the recycle bin immediately.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"

func (*Client) CleanUpInstanceWithContext

func (c *Client) CleanUpInstanceWithContext(ctx context.Context, request *CleanUpInstanceRequest) (response *CleanUpInstanceResponse, err error)

CleanUpInstance This API is used to eliminate an instance in the recycle bin immediately.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"

func (*Client) ClearInstance

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

ClearInstance This API is used to clear the data of a Redis instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_PASSWORDEMPTY = "InvalidParameterValue.PasswordEmpty"
INVALIDPARAMETERVALUE_PASSWORDERROR = "InvalidParameterValue.PasswordError"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) ClearInstanceWithContext

func (c *Client) ClearInstanceWithContext(ctx context.Context, request *ClearInstanceRequest) (response *ClearInstanceResponse, err error)

ClearInstance This API is used to clear the data of a Redis instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_PASSWORDEMPTY = "InvalidParameterValue.PasswordEmpty"
INVALIDPARAMETERVALUE_PASSWORDERROR = "InvalidParameterValue.PasswordError"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) CloneInstances

func (c *Client) CloneInstances(request *CloneInstancesRequest) (response *CloneInstancesResponse, err error)

CloneInstances This API is used to clone a complete new instance based on the current instance backup file.

error code that may be returned:

FAILEDOPERATION_PAYFAILED = "FailedOperation.PayFailed"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"
INVALIDPARAMETER_ONLYVPCONSPECZONEID = "InvalidParameter.OnlyVPCOnSpecZoneId"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_BASENETWORKACCESSDENY = "InvalidParameterValue.BaseNetWorkAccessDeny"
INVALIDPARAMETERVALUE_CHECKNOTPASS = "InvalidParameterValue.CheckNotPass"
INVALIDPARAMETERVALUE_INVALIDINSTANCETYPEID = "InvalidParameterValue.InvalidInstanceTypeId"
INVALIDPARAMETERVALUE_INVALIDSUBNETID = "InvalidParameterValue.InvalidSubnetId"
INVALIDPARAMETERVALUE_PASSWORDEMPTY = "InvalidParameterValue.PasswordEmpty"
INVALIDPARAMETERVALUE_PASSWORDFREEDENIED = "InvalidParameterValue.PasswordFreeDenied"
INVALIDPARAMETERVALUE_PASSWORDRULEERROR = "InvalidParameterValue.PasswordRuleError"
INVALIDPARAMETERVALUE_SECURITYGROUPIDSNOTEXISTS = "InvalidParameterValue.SecurityGroupIdsNotExists"
INVALIDPARAMETERVALUE_UNVPCIDNOTEXISTS = "InvalidParameterValue.UnVpcIdNotExists"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_INVALIDMEMSIZE = "LimitExceeded.InvalidMemSize"
LIMITEXCEEDED_INVALIDPARAMETERGOODSNUMNOTINRANGE = "LimitExceeded.InvalidParameterGoodsNumNotInRange"
LIMITEXCEEDED_PERIODLESSTHANMINLIMIT = "LimitExceeded.PeriodLessThanMinLimit"
LIMITEXCEEDED_REACHTHEAMOUNTLIMIT = "LimitExceeded.ReachTheAmountLimit"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND_ACCOUNTDOESNOTEXISTS = "ResourceNotFound.AccountDoesNotExists"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCEDELETED = "ResourceUnavailable.InstanceDeleted"
RESOURCEUNAVAILABLE_NOENOUGHVIPINVPC = "ResourceUnavailable.NoEnoughVipInVPC"
RESOURCEUNAVAILABLE_NOREDISSERVICE = "ResourceUnavailable.NoRedisService"
RESOURCEUNAVAILABLE_NOSERVICEAVAILABLEFORTHISZONEID = "ResourceUnavailable.NoServiceAvailableForThisZoneId"
RESOURCEUNAVAILABLE_SALEOUT = "ResourceUnavailable.SaleOut"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CloneInstancesWithContext

func (c *Client) CloneInstancesWithContext(ctx context.Context, request *CloneInstancesRequest) (response *CloneInstancesResponse, err error)

CloneInstances This API is used to clone a complete new instance based on the current instance backup file.

error code that may be returned:

FAILEDOPERATION_PAYFAILED = "FailedOperation.PayFailed"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"
INVALIDPARAMETER_ONLYVPCONSPECZONEID = "InvalidParameter.OnlyVPCOnSpecZoneId"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_BASENETWORKACCESSDENY = "InvalidParameterValue.BaseNetWorkAccessDeny"
INVALIDPARAMETERVALUE_CHECKNOTPASS = "InvalidParameterValue.CheckNotPass"
INVALIDPARAMETERVALUE_INVALIDINSTANCETYPEID = "InvalidParameterValue.InvalidInstanceTypeId"
INVALIDPARAMETERVALUE_INVALIDSUBNETID = "InvalidParameterValue.InvalidSubnetId"
INVALIDPARAMETERVALUE_PASSWORDEMPTY = "InvalidParameterValue.PasswordEmpty"
INVALIDPARAMETERVALUE_PASSWORDFREEDENIED = "InvalidParameterValue.PasswordFreeDenied"
INVALIDPARAMETERVALUE_PASSWORDRULEERROR = "InvalidParameterValue.PasswordRuleError"
INVALIDPARAMETERVALUE_SECURITYGROUPIDSNOTEXISTS = "InvalidParameterValue.SecurityGroupIdsNotExists"
INVALIDPARAMETERVALUE_UNVPCIDNOTEXISTS = "InvalidParameterValue.UnVpcIdNotExists"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_INVALIDMEMSIZE = "LimitExceeded.InvalidMemSize"
LIMITEXCEEDED_INVALIDPARAMETERGOODSNUMNOTINRANGE = "LimitExceeded.InvalidParameterGoodsNumNotInRange"
LIMITEXCEEDED_PERIODLESSTHANMINLIMIT = "LimitExceeded.PeriodLessThanMinLimit"
LIMITEXCEEDED_REACHTHEAMOUNTLIMIT = "LimitExceeded.ReachTheAmountLimit"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND_ACCOUNTDOESNOTEXISTS = "ResourceNotFound.AccountDoesNotExists"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCEDELETED = "ResourceUnavailable.InstanceDeleted"
RESOURCEUNAVAILABLE_NOENOUGHVIPINVPC = "ResourceUnavailable.NoEnoughVipInVPC"
RESOURCEUNAVAILABLE_NOREDISSERVICE = "ResourceUnavailable.NoRedisService"
RESOURCEUNAVAILABLE_NOSERVICEAVAILABLEFORTHISZONEID = "ResourceUnavailable.NoServiceAvailableForThisZoneId"
RESOURCEUNAVAILABLE_SALEOUT = "ResourceUnavailable.SaleOut"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CloseSSL

func (c *Client) CloseSSL(request *CloseSSLRequest) (response *CloseSSLResponse, err error)

CloseSSL This API is used to disable SSL.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
UNSUPPORTEDOPERATION_INSTANCENOTOPERATION = "UnsupportedOperation.InstanceNotOperation"
UNSUPPORTEDOPERATION_LIMITPROXYVERSION = "UnsupportedOperation.LimitProxyVersion"

func (*Client) CloseSSLWithContext

func (c *Client) CloseSSLWithContext(ctx context.Context, request *CloseSSLRequest) (response *CloseSSLResponse, err error)

CloseSSL This API is used to disable SSL.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
UNSUPPORTEDOPERATION_INSTANCENOTOPERATION = "UnsupportedOperation.InstanceNotOperation"
UNSUPPORTEDOPERATION_LIMITPROXYVERSION = "UnsupportedOperation.LimitProxyVersion"

func (*Client) CreateInstanceAccount

func (c *Client) CreateInstanceAccount(request *CreateInstanceAccountRequest) (response *CreateInstanceAccountResponse, err error)

CreateInstanceAccount This API is used to create an instance sub-account.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) CreateInstanceAccountWithContext

func (c *Client) CreateInstanceAccountWithContext(ctx context.Context, request *CreateInstanceAccountRequest) (response *CreateInstanceAccountResponse, err error)

CreateInstanceAccount This API is used to create an instance sub-account.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) CreateInstances

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

CreateInstances This API is used to create an TencentDB or Redis instance.

error code that may be returned:

FAILEDOPERATION_PAYFAILED = "FailedOperation.PayFailed"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"
INVALIDPARAMETER_ONLYVPCONSPECZONEID = "InvalidParameter.OnlyVPCOnSpecZoneId"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_BASENETWORKACCESSDENY = "InvalidParameterValue.BaseNetWorkAccessDeny"
INVALIDPARAMETERVALUE_INVALIDINSTANCETYPEID = "InvalidParameterValue.InvalidInstanceTypeId"
INVALIDPARAMETERVALUE_INVALIDSUBNETID = "InvalidParameterValue.InvalidSubnetId"
INVALIDPARAMETERVALUE_PASSWORDEMPTY = "InvalidParameterValue.PasswordEmpty"
INVALIDPARAMETERVALUE_PASSWORDFREEDENIED = "InvalidParameterValue.PasswordFreeDenied"
INVALIDPARAMETERVALUE_PASSWORDRULEERROR = "InvalidParameterValue.PasswordRuleError"
INVALIDPARAMETERVALUE_SECURITYGROUPIDSNOTEXISTS = "InvalidParameterValue.SecurityGroupIdsNotExists"
INVALIDPARAMETERVALUE_UNVPCIDNOTEXISTS = "InvalidParameterValue.UnVpcIdNotExists"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_INVALIDMEMSIZE = "LimitExceeded.InvalidMemSize"
LIMITEXCEEDED_INVALIDPARAMETERGOODSNUMNOTINRANGE = "LimitExceeded.InvalidParameterGoodsNumNotInRange"
LIMITEXCEEDED_PERIODEXCEEDMAXLIMIT = "LimitExceeded.PeriodExceedMaxLimit"
LIMITEXCEEDED_PERIODLESSTHANMINLIMIT = "LimitExceeded.PeriodLessThanMinLimit"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND_ACCOUNTDOESNOTEXISTS = "ResourceNotFound.AccountDoesNotExists"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCEDELETED = "ResourceUnavailable.InstanceDeleted"
RESOURCEUNAVAILABLE_NOENOUGHVIPINVPC = "ResourceUnavailable.NoEnoughVipInVPC"
RESOURCEUNAVAILABLE_NOREDISSERVICE = "ResourceUnavailable.NoRedisService"
RESOURCEUNAVAILABLE_NOTYPEIDREDISSERVICE = "ResourceUnavailable.NoTypeIdRedisService"
RESOURCEUNAVAILABLE_SALEOUT = "ResourceUnavailable.SaleOut"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateInstancesWithContext

func (c *Client) CreateInstancesWithContext(ctx context.Context, request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)

CreateInstances This API is used to create an TencentDB or Redis instance.

error code that may be returned:

FAILEDOPERATION_PAYFAILED = "FailedOperation.PayFailed"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"
INVALIDPARAMETER_ONLYVPCONSPECZONEID = "InvalidParameter.OnlyVPCOnSpecZoneId"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_BASENETWORKACCESSDENY = "InvalidParameterValue.BaseNetWorkAccessDeny"
INVALIDPARAMETERVALUE_INVALIDINSTANCETYPEID = "InvalidParameterValue.InvalidInstanceTypeId"
INVALIDPARAMETERVALUE_INVALIDSUBNETID = "InvalidParameterValue.InvalidSubnetId"
INVALIDPARAMETERVALUE_PASSWORDEMPTY = "InvalidParameterValue.PasswordEmpty"
INVALIDPARAMETERVALUE_PASSWORDFREEDENIED = "InvalidParameterValue.PasswordFreeDenied"
INVALIDPARAMETERVALUE_PASSWORDRULEERROR = "InvalidParameterValue.PasswordRuleError"
INVALIDPARAMETERVALUE_SECURITYGROUPIDSNOTEXISTS = "InvalidParameterValue.SecurityGroupIdsNotExists"
INVALIDPARAMETERVALUE_UNVPCIDNOTEXISTS = "InvalidParameterValue.UnVpcIdNotExists"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_INVALIDMEMSIZE = "LimitExceeded.InvalidMemSize"
LIMITEXCEEDED_INVALIDPARAMETERGOODSNUMNOTINRANGE = "LimitExceeded.InvalidParameterGoodsNumNotInRange"
LIMITEXCEEDED_PERIODEXCEEDMAXLIMIT = "LimitExceeded.PeriodExceedMaxLimit"
LIMITEXCEEDED_PERIODLESSTHANMINLIMIT = "LimitExceeded.PeriodLessThanMinLimit"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND_ACCOUNTDOESNOTEXISTS = "ResourceNotFound.AccountDoesNotExists"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCEDELETED = "ResourceUnavailable.InstanceDeleted"
RESOURCEUNAVAILABLE_NOENOUGHVIPINVPC = "ResourceUnavailable.NoEnoughVipInVPC"
RESOURCEUNAVAILABLE_NOREDISSERVICE = "ResourceUnavailable.NoRedisService"
RESOURCEUNAVAILABLE_NOTYPEIDREDISSERVICE = "ResourceUnavailable.NoTypeIdRedisService"
RESOURCEUNAVAILABLE_SALEOUT = "ResourceUnavailable.SaleOut"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateParamTemplate

func (c *Client) CreateParamTemplate(request *CreateParamTemplateRequest) (response *CreateParamTemplateResponse, err error)

CreateParamTemplate This API is used to create a parameter template.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) CreateParamTemplateWithContext

func (c *Client) CreateParamTemplateWithContext(ctx context.Context, request *CreateParamTemplateRequest) (response *CreateParamTemplateResponse, err error)

CreateParamTemplate This API is used to create a parameter template.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) DeleteInstanceAccount

func (c *Client) DeleteInstanceAccount(request *DeleteInstanceAccountRequest) (response *DeleteInstanceAccountResponse, err error)

DeleteInstanceAccount This API is used to delete an instance sub-account.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) DeleteInstanceAccountWithContext

func (c *Client) DeleteInstanceAccountWithContext(ctx context.Context, request *DeleteInstanceAccountRequest) (response *DeleteInstanceAccountResponse, err error)

DeleteInstanceAccount This API is used to delete an instance sub-account.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) DeleteParamTemplate

func (c *Client) DeleteParamTemplate(request *DeleteParamTemplateRequest) (response *DeleteParamTemplateResponse, err error)

DeleteParamTemplate This API is used to delete a parameter template.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) DeleteParamTemplateWithContext

func (c *Client) DeleteParamTemplateWithContext(ctx context.Context, request *DeleteParamTemplateRequest) (response *DeleteParamTemplateResponse, err error)

DeleteParamTemplate This API is used to delete a parameter template.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) DescribeAutoBackupConfig

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

DescribeAutoBackupConfig This API is used to get the configuration rules for an automatic backup.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) DescribeAutoBackupConfigWithContext

func (c *Client) DescribeAutoBackupConfigWithContext(ctx context.Context, request *DescribeAutoBackupConfigRequest) (response *DescribeAutoBackupConfigResponse, err error)

DescribeAutoBackupConfig This API is used to get the configuration rules for an automatic backup.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) DescribeBackupDownloadRestriction

func (c *Client) DescribeBackupDownloadRestriction(request *DescribeBackupDownloadRestrictionRequest) (response *DescribeBackupDownloadRestrictionResponse, err error)

DescribeBackupDownloadRestriction This API is used to query the download address for a database backup file in the current region.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) DescribeBackupDownloadRestrictionWithContext

func (c *Client) DescribeBackupDownloadRestrictionWithContext(ctx context.Context, request *DescribeBackupDownloadRestrictionRequest) (response *DescribeBackupDownloadRestrictionResponse, err error)

DescribeBackupDownloadRestriction This API is used to query the download address for a database backup file in the current region.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) DescribeBackupUrl

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

DescribeBackupUrl This API is used to query the download address of a backup RDB file.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_BACKUPNOTEXISTS = "InvalidParameterValue.BackupNotExists"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_BACKUPSTATUSINVALID = "ResourceUnavailable.BackupStatusInvalid"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
UNSUPPORTEDOPERATION_CLUSTERINSTANCEACCESSEDDENY = "UnsupportedOperation.ClusterInstanceAccessedDeny"
UNSUPPORTEDOPERATION_ISAUTORENEWERROR = "UnsupportedOperation.IsAutoRenewError"
UNSUPPORTEDOPERATION_ONLYCLUSTERINSTANCECANEXPORTBACKUP = "UnsupportedOperation.OnlyClusterInstanceCanExportBackup"

func (*Client) DescribeBackupUrlWithContext

func (c *Client) DescribeBackupUrlWithContext(ctx context.Context, request *DescribeBackupUrlRequest) (response *DescribeBackupUrlResponse, err error)

DescribeBackupUrl This API is used to query the download address of a backup RDB file.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_BACKUPNOTEXISTS = "InvalidParameterValue.BackupNotExists"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_BACKUPSTATUSINVALID = "ResourceUnavailable.BackupStatusInvalid"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
UNSUPPORTEDOPERATION_CLUSTERINSTANCEACCESSEDDENY = "UnsupportedOperation.ClusterInstanceAccessedDeny"
UNSUPPORTEDOPERATION_ISAUTORENEWERROR = "UnsupportedOperation.IsAutoRenewError"
UNSUPPORTEDOPERATION_ONLYCLUSTERINSTANCECANEXPORTBACKUP = "UnsupportedOperation.OnlyClusterInstanceCanExportBackup"

func (*Client) DescribeBandwidthRange

func (c *Client) DescribeBandwidthRange(request *DescribeBandwidthRangeRequest) (response *DescribeBandwidthRangeResponse, err error)

DescribeBandwidthRange This API is used to query the information of instance bandwidth.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_INVALIDAUTHORIZATION = "AuthFailure.InvalidAuthorization"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALPARAMETERERROR = "InvalidParameter.IllegalParameterError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"

func (*Client) DescribeBandwidthRangeWithContext

func (c *Client) DescribeBandwidthRangeWithContext(ctx context.Context, request *DescribeBandwidthRangeRequest) (response *DescribeBandwidthRangeResponse, err error)

DescribeBandwidthRange This API is used to query the information of instance bandwidth.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_INVALIDAUTHORIZATION = "AuthFailure.InvalidAuthorization"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_ILLEGALPARAMETERERROR = "InvalidParameter.IllegalParameterError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"

func (*Client) DescribeCommonDBInstances

func (c *Client) DescribeCommonDBInstances(request *DescribeCommonDBInstancesRequest) (response *DescribeCommonDBInstancesResponse, err error)

DescribeCommonDBInstances This API has been disused. It was used to query the list of Redis instance information.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"

func (*Client) DescribeCommonDBInstancesWithContext

func (c *Client) DescribeCommonDBInstancesWithContext(ctx context.Context, request *DescribeCommonDBInstancesRequest) (response *DescribeCommonDBInstancesResponse, err error)

DescribeCommonDBInstances This API has been disused. It was used to query the list of Redis instance information.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"

func (*Client) DescribeDBSecurityGroups

func (c *Client) DescribeDBSecurityGroups(request *DescribeDBSecurityGroupsRequest) (response *DescribeDBSecurityGroupsResponse, err error)

DescribeDBSecurityGroups This API is used to query the security group details of an instance.

error code that may be returned:

FAILEDOPERATION_ADDINSTANCEINFOFAILED = "FailedOperation.AddInstanceInfoFailed"
FAILEDOPERATION_ASSOCIATESECURITYGROUPSFAILED = "FailedOperation.AssociateSecurityGroupsFailed"
FAILEDOPERATION_CLEARINSTANCEINFOFAILED = "FailedOperation.ClearInstanceInfoFailed"
FAILEDOPERATION_DISASSOCIATESECURITYGROUPSFAILED = "FailedOperation.DisassociateSecurityGroupsFailed"
FAILEDOPERATION_GETSECURITYGROUPDETAILFAILED = "FailedOperation.GetSecurityGroupDetailFailed"
INTERNALERROR_CAMAUTHOSSRESPONSERETURNCODEERROR = "InternalError.CamAuthOssResponseReturnCodeError"
INTERNALERROR_EXECHTTPREQUESTERROR = "InternalError.ExecHttpRequestError"
INTERNALERROR_LISTINSTANCESERROR = "InternalError.ListInstancesError"
INTERNALERROR_NETWORKERR = "InternalError.NetWorkErr"
INVALIDPARAMETER_ACTIONNOTFOUND = "InvalidParameter.ActionNotFound"
INVALIDPARAMETER_ILLEGALPARAMETERERROR = "InvalidParameter.IllegalParameterError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"

func (*Client) DescribeDBSecurityGroupsWithContext

func (c *Client) DescribeDBSecurityGroupsWithContext(ctx context.Context, request *DescribeDBSecurityGroupsRequest) (response *DescribeDBSecurityGroupsResponse, err error)

DescribeDBSecurityGroups This API is used to query the security group details of an instance.

error code that may be returned:

FAILEDOPERATION_ADDINSTANCEINFOFAILED = "FailedOperation.AddInstanceInfoFailed"
FAILEDOPERATION_ASSOCIATESECURITYGROUPSFAILED = "FailedOperation.AssociateSecurityGroupsFailed"
FAILEDOPERATION_CLEARINSTANCEINFOFAILED = "FailedOperation.ClearInstanceInfoFailed"
FAILEDOPERATION_DISASSOCIATESECURITYGROUPSFAILED = "FailedOperation.DisassociateSecurityGroupsFailed"
FAILEDOPERATION_GETSECURITYGROUPDETAILFAILED = "FailedOperation.GetSecurityGroupDetailFailed"
INTERNALERROR_CAMAUTHOSSRESPONSERETURNCODEERROR = "InternalError.CamAuthOssResponseReturnCodeError"
INTERNALERROR_EXECHTTPREQUESTERROR = "InternalError.ExecHttpRequestError"
INTERNALERROR_LISTINSTANCESERROR = "InternalError.ListInstancesError"
INTERNALERROR_NETWORKERR = "InternalError.NetWorkErr"
INVALIDPARAMETER_ACTIONNOTFOUND = "InvalidParameter.ActionNotFound"
INVALIDPARAMETER_ILLEGALPARAMETERERROR = "InvalidParameter.IllegalParameterError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"

func (*Client) DescribeInstanceAccount

func (c *Client) DescribeInstanceAccount(request *DescribeInstanceAccountRequest) (response *DescribeInstanceAccountResponse, err error)

DescribeInstanceAccount This API is used to query the information of an instance sub-account.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) DescribeInstanceAccountWithContext

func (c *Client) DescribeInstanceAccountWithContext(ctx context.Context, request *DescribeInstanceAccountRequest) (response *DescribeInstanceAccountResponse, err error)

DescribeInstanceAccount This API is used to query the information of an instance sub-account.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) DescribeInstanceBackups

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

DescribeInstanceBackups This API is used to query the backup list of an instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeInstanceBackupsWithContext

func (c *Client) DescribeInstanceBackupsWithContext(ctx context.Context, request *DescribeInstanceBackupsRequest) (response *DescribeInstanceBackupsResponse, err error)

DescribeInstanceBackups This API is used to query the backup list of an instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeInstanceDTSInfo

func (c *Client) DescribeInstanceDTSInfo(request *DescribeInstanceDTSInfoRequest) (response *DescribeInstanceDTSInfoResponse, err error)

DescribeInstanceDTSInfo This API is used to query the DTS task details of an instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) DescribeInstanceDTSInfoWithContext

func (c *Client) DescribeInstanceDTSInfoWithContext(ctx context.Context, request *DescribeInstanceDTSInfoRequest) (response *DescribeInstanceDTSInfoResponse, err error)

DescribeInstanceDTSInfo This API is used to query the DTS task details of an instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) DescribeInstanceDealDetail

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

DescribeInstanceDealDetail This API is used to query the order information.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCEUNAVAILABLE_INSTANCECONFERROR = "ResourceUnavailable.InstanceConfError"

func (*Client) DescribeInstanceDealDetailWithContext

func (c *Client) DescribeInstanceDealDetailWithContext(ctx context.Context, request *DescribeInstanceDealDetailRequest) (response *DescribeInstanceDealDetailResponse, err error)

DescribeInstanceDealDetail This API is used to query the order information.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCEUNAVAILABLE_INSTANCECONFERROR = "ResourceUnavailable.InstanceConfError"

func (*Client) DescribeInstanceMonitorBigKey

func (c *Client) DescribeInstanceMonitorBigKey(request *DescribeInstanceMonitorBigKeyRequest) (response *DescribeInstanceMonitorBigKeyResponse, err error)

DescribeInstanceMonitorBigKey The API for querying big keys of a TencentDB for Redis instance was disused on October 31, 2022. For more information, see [API for Querying Instance Big Key Will Be Disused](https://intl.cloud.tencent.com/document/product/239/81005?from_cn_redirect=1).

error code that may be returned:

FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"

func (*Client) DescribeInstanceMonitorBigKeySizeDist

func (c *Client) DescribeInstanceMonitorBigKeySizeDist(request *DescribeInstanceMonitorBigKeySizeDistRequest) (response *DescribeInstanceMonitorBigKeySizeDistResponse, err error)

DescribeInstanceMonitorBigKeySizeDist The API for querying big keys of a TencentDB for Redis instance was disused on October 31, 2022. For more information, see [API for Querying Instance Big Key Will Be Disused](https://intl.cloud.tencent.com/document/product/239/81005?from_cn_redirect=1).

error code that may be returned:

FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"

func (*Client) DescribeInstanceMonitorBigKeySizeDistWithContext

func (c *Client) DescribeInstanceMonitorBigKeySizeDistWithContext(ctx context.Context, request *DescribeInstanceMonitorBigKeySizeDistRequest) (response *DescribeInstanceMonitorBigKeySizeDistResponse, err error)

DescribeInstanceMonitorBigKeySizeDist The API for querying big keys of a TencentDB for Redis instance was disused on October 31, 2022. For more information, see [API for Querying Instance Big Key Will Be Disused](https://intl.cloud.tencent.com/document/product/239/81005?from_cn_redirect=1).

error code that may be returned:

FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"

func (*Client) DescribeInstanceMonitorBigKeyTypeDist

func (c *Client) DescribeInstanceMonitorBigKeyTypeDist(request *DescribeInstanceMonitorBigKeyTypeDistRequest) (response *DescribeInstanceMonitorBigKeyTypeDistResponse, err error)

DescribeInstanceMonitorBigKeyTypeDist The API for querying big keys of a TencentDB for Redis instance was disused on October 31, 2022. For more information, see [API for Querying Instance Big Key Will Be Disused](https://intl.cloud.tencent.com/document/product/239/81005?from_cn_redirect=1).

error code that may be returned:

FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"

func (*Client) DescribeInstanceMonitorBigKeyTypeDistWithContext

func (c *Client) DescribeInstanceMonitorBigKeyTypeDistWithContext(ctx context.Context, request *DescribeInstanceMonitorBigKeyTypeDistRequest) (response *DescribeInstanceMonitorBigKeyTypeDistResponse, err error)

DescribeInstanceMonitorBigKeyTypeDist The API for querying big keys of a TencentDB for Redis instance was disused on October 31, 2022. For more information, see [API for Querying Instance Big Key Will Be Disused](https://intl.cloud.tencent.com/document/product/239/81005?from_cn_redirect=1).

error code that may be returned:

FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"

func (*Client) DescribeInstanceMonitorBigKeyWithContext

func (c *Client) DescribeInstanceMonitorBigKeyWithContext(ctx context.Context, request *DescribeInstanceMonitorBigKeyRequest) (response *DescribeInstanceMonitorBigKeyResponse, err error)

DescribeInstanceMonitorBigKey The API for querying big keys of a TencentDB for Redis instance was disused on October 31, 2022. For more information, see [API for Querying Instance Big Key Will Be Disused](https://intl.cloud.tencent.com/document/product/239/81005?from_cn_redirect=1).

error code that may be returned:

FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"

func (*Client) DescribeInstanceMonitorHotKey

func (c *Client) DescribeInstanceMonitorHotKey(request *DescribeInstanceMonitorHotKeyRequest) (response *DescribeInstanceMonitorHotKeyResponse, err error)

DescribeInstanceMonitorHotKey This API is used to query the hot key of an instance.

error code that may be returned:

FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"

func (*Client) DescribeInstanceMonitorHotKeyWithContext

func (c *Client) DescribeInstanceMonitorHotKeyWithContext(ctx context.Context, request *DescribeInstanceMonitorHotKeyRequest) (response *DescribeInstanceMonitorHotKeyResponse, err error)

DescribeInstanceMonitorHotKey This API is used to query the hot key of an instance.

error code that may be returned:

FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"

func (*Client) DescribeInstanceMonitorSIP

func (c *Client) DescribeInstanceMonitorSIP(request *DescribeInstanceMonitorSIPRequest) (response *DescribeInstanceMonitorSIPResponse, err error)

DescribeInstanceMonitorSIP This API is used to query the access source information of an instance.

error code that may be returned:

FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"

func (*Client) DescribeInstanceMonitorSIPWithContext

func (c *Client) DescribeInstanceMonitorSIPWithContext(ctx context.Context, request *DescribeInstanceMonitorSIPRequest) (response *DescribeInstanceMonitorSIPResponse, err error)

DescribeInstanceMonitorSIP This API is used to query the access source information of an instance.

error code that may be returned:

FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"

func (*Client) DescribeInstanceMonitorTookDist

func (c *Client) DescribeInstanceMonitorTookDist(request *DescribeInstanceMonitorTookDistRequest) (response *DescribeInstanceMonitorTookDistResponse, err error)

DescribeInstanceMonitorTookDist This API is used to query the distribution of instance access duration.

error code that may be returned:

FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"

func (*Client) DescribeInstanceMonitorTookDistWithContext

func (c *Client) DescribeInstanceMonitorTookDistWithContext(ctx context.Context, request *DescribeInstanceMonitorTookDistRequest) (response *DescribeInstanceMonitorTookDistResponse, err error)

DescribeInstanceMonitorTookDist This API is used to query the distribution of instance access duration.

error code that may be returned:

FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"

func (*Client) DescribeInstanceMonitorTopNCmd

func (c *Client) DescribeInstanceMonitorTopNCmd(request *DescribeInstanceMonitorTopNCmdRequest) (response *DescribeInstanceMonitorTopNCmdResponse, err error)

DescribeInstanceMonitorTopNCmd This API is used to query an instance access command.

error code that may be returned:

FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"

func (*Client) DescribeInstanceMonitorTopNCmdTook

func (c *Client) DescribeInstanceMonitorTopNCmdTook(request *DescribeInstanceMonitorTopNCmdTookRequest) (response *DescribeInstanceMonitorTopNCmdTookResponse, err error)

DescribeInstanceMonitorTopNCmdTook This API is used to query the instance CPU time.

error code that may be returned:

FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"

func (*Client) DescribeInstanceMonitorTopNCmdTookWithContext

func (c *Client) DescribeInstanceMonitorTopNCmdTookWithContext(ctx context.Context, request *DescribeInstanceMonitorTopNCmdTookRequest) (response *DescribeInstanceMonitorTopNCmdTookResponse, err error)

DescribeInstanceMonitorTopNCmdTook This API is used to query the instance CPU time.

error code that may be returned:

FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"

func (*Client) DescribeInstanceMonitorTopNCmdWithContext

func (c *Client) DescribeInstanceMonitorTopNCmdWithContext(ctx context.Context, request *DescribeInstanceMonitorTopNCmdRequest) (response *DescribeInstanceMonitorTopNCmdResponse, err error)

DescribeInstanceMonitorTopNCmd This API is used to query an instance access command.

error code that may be returned:

FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"

func (*Client) DescribeInstanceNodeInfo

func (c *Client) DescribeInstanceNodeInfo(request *DescribeInstanceNodeInfoRequest) (response *DescribeInstanceNodeInfoResponse, err error)

DescribeInstanceNodeInfo This API is used to query the information of an instance node.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"

func (*Client) DescribeInstanceNodeInfoWithContext

func (c *Client) DescribeInstanceNodeInfoWithContext(ctx context.Context, request *DescribeInstanceNodeInfoRequest) (response *DescribeInstanceNodeInfoResponse, err error)

DescribeInstanceNodeInfo This API is used to query the information of an instance node.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"

func (*Client) DescribeInstanceParamRecords

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

DescribeInstanceParamRecords This API is used to query the list of parameter modifications.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
UNSUPPORTEDOPERATION_CLUSTERINSTANCEACCESSEDDENY = "UnsupportedOperation.ClusterInstanceAccessedDeny"

func (*Client) DescribeInstanceParamRecordsWithContext

func (c *Client) DescribeInstanceParamRecordsWithContext(ctx context.Context, request *DescribeInstanceParamRecordsRequest) (response *DescribeInstanceParamRecordsResponse, err error)

DescribeInstanceParamRecords This API is used to query the list of parameter modifications.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
UNSUPPORTEDOPERATION_CLUSTERINSTANCEACCESSEDDENY = "UnsupportedOperation.ClusterInstanceAccessedDeny"

func (*Client) DescribeInstanceParams

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

DescribeInstanceParams This API is used to query the parameter list of an instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
UNSUPPORTEDOPERATION_CLUSTERINSTANCEACCESSEDDENY = "UnsupportedOperation.ClusterInstanceAccessedDeny"

func (*Client) DescribeInstanceParamsWithContext

func (c *Client) DescribeInstanceParamsWithContext(ctx context.Context, request *DescribeInstanceParamsRequest) (response *DescribeInstanceParamsResponse, err error)

DescribeInstanceParams This API is used to query the parameter list of an instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
UNSUPPORTEDOPERATION_CLUSTERINSTANCEACCESSEDDENY = "UnsupportedOperation.ClusterInstanceAccessedDeny"

func (*Client) DescribeInstanceSecurityGroup

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

DescribeInstanceSecurityGroup This API is used to query the security group information of an instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeInstanceSecurityGroupWithContext

func (c *Client) DescribeInstanceSecurityGroupWithContext(ctx context.Context, request *DescribeInstanceSecurityGroupRequest) (response *DescribeInstanceSecurityGroupResponse, err error)

DescribeInstanceSecurityGroup This API is used to query the security group information of an instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeInstanceShards

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

DescribeInstanceShards This API is used to get the shard information of the instance on cluster architecture.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType"

func (*Client) DescribeInstanceShardsWithContext

func (c *Client) DescribeInstanceShardsWithContext(ctx context.Context, request *DescribeInstanceShardsRequest) (response *DescribeInstanceShardsResponse, err error)

DescribeInstanceShards This API is used to get the shard information of the instance on cluster architecture.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType"

func (*Client) DescribeInstanceZoneInfo

func (c *Client) DescribeInstanceZoneInfo(request *DescribeInstanceZoneInfoRequest) (response *DescribeInstanceZoneInfoResponse, err error)

DescribeInstanceZoneInfo This API is used to query the details of a Redis node.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) DescribeInstanceZoneInfoWithContext

func (c *Client) DescribeInstanceZoneInfoWithContext(ctx context.Context, request *DescribeInstanceZoneInfoRequest) (response *DescribeInstanceZoneInfoResponse, err error)

DescribeInstanceZoneInfo This API is used to query the details of a Redis node.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) DescribeInstances

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

DescribeInstances This API is used to query the list of Redis instances.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeInstancesWithContext

func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)

DescribeInstances This API is used to query the list of Redis instances.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeMaintenanceWindow

func (c *Client) DescribeMaintenanceWindow(request *DescribeMaintenanceWindowRequest) (response *DescribeMaintenanceWindowResponse, err error)

DescribeMaintenanceWindow This API is used to query instance maintenance window. The maintenance window specifies a time period during which compatible version upgrade, architecture upgrade, backend maintenance, and other operations can be performed to avoid affecting business.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
UNSUPPORTEDOPERATION_CLUSTERINSTANCEACCESSEDDENY = "UnsupportedOperation.ClusterInstanceAccessedDeny"

func (*Client) DescribeMaintenanceWindowWithContext

func (c *Client) DescribeMaintenanceWindowWithContext(ctx context.Context, request *DescribeMaintenanceWindowRequest) (response *DescribeMaintenanceWindowResponse, err error)

DescribeMaintenanceWindow This API is used to query instance maintenance window. The maintenance window specifies a time period during which compatible version upgrade, architecture upgrade, backend maintenance, and other operations can be performed to avoid affecting business.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
UNSUPPORTEDOPERATION_CLUSTERINSTANCEACCESSEDDENY = "UnsupportedOperation.ClusterInstanceAccessedDeny"

func (*Client) DescribeParamTemplateInfo

func (c *Client) DescribeParamTemplateInfo(request *DescribeParamTemplateInfoRequest) (response *DescribeParamTemplateInfoResponse, err error)

DescribeParamTemplateInfo This API is used to query the details of a parameter template.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
UNSUPPORTEDOPERATION_CLUSTERINSTANCEACCESSEDDENY = "UnsupportedOperation.ClusterInstanceAccessedDeny"

func (*Client) DescribeParamTemplateInfoWithContext

func (c *Client) DescribeParamTemplateInfoWithContext(ctx context.Context, request *DescribeParamTemplateInfoRequest) (response *DescribeParamTemplateInfoResponse, err error)

DescribeParamTemplateInfo This API is used to query the details of a parameter template.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
UNSUPPORTEDOPERATION_CLUSTERINSTANCEACCESSEDDENY = "UnsupportedOperation.ClusterInstanceAccessedDeny"

func (*Client) DescribeParamTemplates

func (c *Client) DescribeParamTemplates(request *DescribeParamTemplatesRequest) (response *DescribeParamTemplatesResponse, err error)

DescribeParamTemplates This API is used to query the list of parameter templates.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) DescribeParamTemplatesWithContext

func (c *Client) DescribeParamTemplatesWithContext(ctx context.Context, request *DescribeParamTemplatesRequest) (response *DescribeParamTemplatesResponse, err error)

DescribeParamTemplates This API is used to query the list of parameter templates.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) DescribeProductInfo

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

DescribeProductInfo This API is used to query purchasable TencentDB for Redis specifications in all regions.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"

func (*Client) DescribeProductInfoWithContext

func (c *Client) DescribeProductInfoWithContext(ctx context.Context, request *DescribeProductInfoRequest) (response *DescribeProductInfoResponse, err error)

DescribeProductInfo This API is used to query purchasable TencentDB for Redis specifications in all regions.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"

func (*Client) DescribeProjectSecurityGroup

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

DescribeProjectSecurityGroup This API is used to query the security group information of a project.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCEUNAVAILABLE_GETSECURITYERROR = "ResourceUnavailable.GetSecurityError"
RESOURCEUNAVAILABLE_SECURITYGROUPNOTSUPPORTED = "ResourceUnavailable.SecurityGroupNotSupported"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) DescribeProjectSecurityGroupWithContext

func (c *Client) DescribeProjectSecurityGroupWithContext(ctx context.Context, request *DescribeProjectSecurityGroupRequest) (response *DescribeProjectSecurityGroupResponse, err error)

DescribeProjectSecurityGroup This API is used to query the security group information of a project.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCEUNAVAILABLE_GETSECURITYERROR = "ResourceUnavailable.GetSecurityError"
RESOURCEUNAVAILABLE_SECURITYGROUPNOTSUPPORTED = "ResourceUnavailable.SecurityGroupNotSupported"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) DescribeProjectSecurityGroups

func (c *Client) DescribeProjectSecurityGroups(request *DescribeProjectSecurityGroupsRequest) (response *DescribeProjectSecurityGroupsResponse, err error)

DescribeProjectSecurityGroups This API is used to query the security group details of a project.

error code that may be returned:

FAILEDOPERATION_ADDINSTANCEINFOFAILED = "FailedOperation.AddInstanceInfoFailed"
FAILEDOPERATION_ASSOCIATESECURITYGROUPSFAILED = "FailedOperation.AssociateSecurityGroupsFailed"
FAILEDOPERATION_CLEARINSTANCEINFOFAILED = "FailedOperation.ClearInstanceInfoFailed"
FAILEDOPERATION_DISASSOCIATESECURITYGROUPSFAILED = "FailedOperation.DisassociateSecurityGroupsFailed"
FAILEDOPERATION_DTSSTATUSABNORMAL = "FailedOperation.DtsStatusAbnormal"
FAILEDOPERATION_FLOWNOTEXISTS = "FailedOperation.FlowNotExists"
INVALIDPARAMETER_ACTIONNOTFOUND = "InvalidParameter.ActionNotFound"
INVALIDPARAMETER_ILLEGALPARAMETERERROR = "InvalidParameter.IllegalParameterError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"

func (*Client) DescribeProjectSecurityGroupsWithContext

func (c *Client) DescribeProjectSecurityGroupsWithContext(ctx context.Context, request *DescribeProjectSecurityGroupsRequest) (response *DescribeProjectSecurityGroupsResponse, err error)

DescribeProjectSecurityGroups This API is used to query the security group details of a project.

error code that may be returned:

FAILEDOPERATION_ADDINSTANCEINFOFAILED = "FailedOperation.AddInstanceInfoFailed"
FAILEDOPERATION_ASSOCIATESECURITYGROUPSFAILED = "FailedOperation.AssociateSecurityGroupsFailed"
FAILEDOPERATION_CLEARINSTANCEINFOFAILED = "FailedOperation.ClearInstanceInfoFailed"
FAILEDOPERATION_DISASSOCIATESECURITYGROUPSFAILED = "FailedOperation.DisassociateSecurityGroupsFailed"
FAILEDOPERATION_DTSSTATUSABNORMAL = "FailedOperation.DtsStatusAbnormal"
FAILEDOPERATION_FLOWNOTEXISTS = "FailedOperation.FlowNotExists"
INVALIDPARAMETER_ACTIONNOTFOUND = "InvalidParameter.ActionNotFound"
INVALIDPARAMETER_ILLEGALPARAMETERERROR = "InvalidParameter.IllegalParameterError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"

func (*Client) DescribeProxySlowLog

func (c *Client) DescribeProxySlowLog(request *DescribeProxySlowLogRequest) (response *DescribeProxySlowLogResponse, err error)

DescribeProxySlowLog This API is used to query the slow queries of the proxy.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"

func (*Client) DescribeProxySlowLogWithContext

func (c *Client) DescribeProxySlowLogWithContext(ctx context.Context, request *DescribeProxySlowLogRequest) (response *DescribeProxySlowLogResponse, err error)

DescribeProxySlowLog This API is used to query the slow queries of the proxy.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"

func (*Client) DescribeReplicationGroup

func (c *Client) DescribeReplicationGroup(request *DescribeReplicationGroupRequest) (response *DescribeReplicationGroupResponse, err error)

DescribeReplicationGroup This API is used to query a replication group.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETERVALUE_REPLICATIONGROUPNOTEXISTS = "InvalidParameterValue.ReplicationGroupNotExists"

func (*Client) DescribeReplicationGroupWithContext

func (c *Client) DescribeReplicationGroupWithContext(ctx context.Context, request *DescribeReplicationGroupRequest) (response *DescribeReplicationGroupResponse, err error)

DescribeReplicationGroup This API is used to query a replication group.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETERVALUE_REPLICATIONGROUPNOTEXISTS = "InvalidParameterValue.ReplicationGroupNotExists"

func (*Client) DescribeSSLStatus

func (c *Client) DescribeSSLStatus(request *DescribeSSLStatusRequest) (response *DescribeSSLStatusResponse, err error)

DescribeSSLStatus This API is used to query the SSL authentication information of an instance, such as enablement status, configuration status, and certificate address.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ACTIONNOTFOUND = "InvalidParameter.ActionNotFound"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"

func (*Client) DescribeSSLStatusWithContext

func (c *Client) DescribeSSLStatusWithContext(ctx context.Context, request *DescribeSSLStatusRequest) (response *DescribeSSLStatusResponse, err error)

DescribeSSLStatus This API is used to query the SSL authentication information of an instance, such as enablement status, configuration status, and certificate address.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ACTIONNOTFOUND = "InvalidParameter.ActionNotFound"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"

func (*Client) DescribeSlowLog

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

DescribeSlowLog This API is used to query the records of slow query.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"

func (*Client) DescribeSlowLogWithContext

func (c *Client) DescribeSlowLogWithContext(ctx context.Context, request *DescribeSlowLogRequest) (response *DescribeSlowLogResponse, err error)

DescribeSlowLog This API is used to query the records of slow query.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"

func (*Client) DescribeTaskInfo

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

DescribeTaskInfo This API is used to get the execution of a specified task.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"

func (*Client) DescribeTaskInfoWithContext

func (c *Client) DescribeTaskInfoWithContext(ctx context.Context, request *DescribeTaskInfoRequest) (response *DescribeTaskInfoResponse, err error)

DescribeTaskInfo This API is used to get the execution of a specified task.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"

func (*Client) DescribeTaskList

func (c *Client) DescribeTaskList(request *DescribeTaskListRequest) (response *DescribeTaskListResponse, err error)

DescribeTaskList This API is used to query the task list information of a specified instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"

func (*Client) DescribeTaskListWithContext

func (c *Client) DescribeTaskListWithContext(ctx context.Context, request *DescribeTaskListRequest) (response *DescribeTaskListResponse, err error)

DescribeTaskList This API is used to query the task list information of a specified instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"

func (*Client) DescribeTendisSlowLog

func (c *Client) DescribeTendisSlowLog(request *DescribeTendisSlowLogRequest) (response *DescribeTendisSlowLogResponse, err error)

DescribeTendisSlowLog This API is used to query slow queries of a Tendis instance.

error code that may be returned:

FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"

func (*Client) DescribeTendisSlowLogWithContext

func (c *Client) DescribeTendisSlowLogWithContext(ctx context.Context, request *DescribeTendisSlowLogRequest) (response *DescribeTendisSlowLogResponse, err error)

DescribeTendisSlowLog This API is used to query slow queries of a Tendis instance.

error code that may be returned:

FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"

func (*Client) DestroyPostpaidInstance

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

DestroyPostpaidInstance This API is used to terminate a pay-as-you-go instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) DestroyPostpaidInstanceWithContext

func (c *Client) DestroyPostpaidInstanceWithContext(ctx context.Context, request *DestroyPostpaidInstanceRequest) (response *DestroyPostpaidInstanceResponse, err error)

DestroyPostpaidInstance This API is used to terminate a pay-as-you-go instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) DestroyPrepaidInstance

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

DestroyPrepaidInstance This API is used to return a monthly subscribed instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCEDELETED = "ResourceUnavailable.InstanceDeleted"
RESOURCEUNAVAILABLE_INSTANCEISOLATED = "ResourceUnavailable.InstanceIsolated"
RESOURCEUNAVAILABLE_INSTANCENODEAL = "ResourceUnavailable.InstanceNoDeal"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) DestroyPrepaidInstanceWithContext

func (c *Client) DestroyPrepaidInstanceWithContext(ctx context.Context, request *DestroyPrepaidInstanceRequest) (response *DestroyPrepaidInstanceResponse, err error)

DestroyPrepaidInstance This API is used to return a monthly subscribed instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCEDELETED = "ResourceUnavailable.InstanceDeleted"
RESOURCEUNAVAILABLE_INSTANCEISOLATED = "ResourceUnavailable.InstanceIsolated"
RESOURCEUNAVAILABLE_INSTANCENODEAL = "ResourceUnavailable.InstanceNoDeal"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) DisableReplicaReadonly

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

DisableReplicaReadonly This API is used to disable read/write separation.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCEUNAVAILABLE_CALLOSSERROR = "ResourceUnavailable.CallOssError"

func (*Client) DisableReplicaReadonlyWithContext

func (c *Client) DisableReplicaReadonlyWithContext(ctx context.Context, request *DisableReplicaReadonlyRequest) (response *DisableReplicaReadonlyResponse, err error)

DisableReplicaReadonly This API is used to disable read/write separation.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCEUNAVAILABLE_CALLOSSERROR = "ResourceUnavailable.CallOssError"

func (*Client) DisassociateSecurityGroups

func (c *Client) DisassociateSecurityGroups(request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error)

DisassociateSecurityGroups This API is used to unbind a security group from instances in batches.

error code that may be returned:

FAILEDOPERATION_ADDINSTANCEINFOFAILED = "FailedOperation.AddInstanceInfoFailed"
FAILEDOPERATION_ASSOCIATESECURITYGROUPSFAILED = "FailedOperation.AssociateSecurityGroupsFailed"
FAILEDOPERATION_CLEARINSTANCEINFOFAILED = "FailedOperation.ClearInstanceInfoFailed"
FAILEDOPERATION_DISASSOCIATESECURITYGROUPSFAILED = "FailedOperation.DisassociateSecurityGroupsFailed"
INTERNALERROR_INSTANCEOPERATEPERMISSIONERROR = "InternalError.InstanceOperatePermissionError"
INTERNALERROR_LISTINSTANCESERROR = "InternalError.ListInstancesError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"

func (*Client) DisassociateSecurityGroupsWithContext

func (c *Client) DisassociateSecurityGroupsWithContext(ctx context.Context, request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error)

DisassociateSecurityGroups This API is used to unbind a security group from instances in batches.

error code that may be returned:

FAILEDOPERATION_ADDINSTANCEINFOFAILED = "FailedOperation.AddInstanceInfoFailed"
FAILEDOPERATION_ASSOCIATESECURITYGROUPSFAILED = "FailedOperation.AssociateSecurityGroupsFailed"
FAILEDOPERATION_CLEARINSTANCEINFOFAILED = "FailedOperation.ClearInstanceInfoFailed"
FAILEDOPERATION_DISASSOCIATESECURITYGROUPSFAILED = "FailedOperation.DisassociateSecurityGroupsFailed"
INTERNALERROR_INSTANCEOPERATEPERMISSIONERROR = "InternalError.InstanceOperatePermissionError"
INTERNALERROR_LISTINSTANCESERROR = "InternalError.ListInstancesError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"

func (*Client) EnableReplicaReadonly

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

EnableReplicaReadonly This API is used to enable read/write separation.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCEUNAVAILABLE_CALLOSSERROR = "ResourceUnavailable.CallOssError"
RESOURCEUNAVAILABLE_INSTANCECONFERROR = "ResourceUnavailable.InstanceConfError"

func (*Client) EnableReplicaReadonlyWithContext

func (c *Client) EnableReplicaReadonlyWithContext(ctx context.Context, request *EnableReplicaReadonlyRequest) (response *EnableReplicaReadonlyResponse, err error)

EnableReplicaReadonly This API is used to enable read/write separation.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCEUNAVAILABLE_CALLOSSERROR = "ResourceUnavailable.CallOssError"
RESOURCEUNAVAILABLE_INSTANCECONFERROR = "ResourceUnavailable.InstanceConfError"

func (*Client) InquiryPriceCreateInstance

func (c *Client) InquiryPriceCreateInstance(request *InquiryPriceCreateInstanceRequest) (response *InquiryPriceCreateInstanceResponse, err error)

InquiryPriceCreateInstance This API is used to query the price for purchasing an instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_SPECNOTEXIST = "InvalidParameterValue.SpecNotExist"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) InquiryPriceCreateInstanceWithContext

func (c *Client) InquiryPriceCreateInstanceWithContext(ctx context.Context, request *InquiryPriceCreateInstanceRequest) (response *InquiryPriceCreateInstanceResponse, err error)

InquiryPriceCreateInstance This API is used to query the price for purchasing an instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_SPECNOTEXIST = "InvalidParameterValue.SpecNotExist"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) InquiryPriceUpgradeInstance

func (c *Client) InquiryPriceUpgradeInstance(request *InquiryPriceUpgradeInstanceRequest) (response *InquiryPriceUpgradeInstanceResponse, err error)

InquiryPriceUpgradeInstance This API is used to query the price for scaling an instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_REDUCECAPACITYNOTALLOWED = "InvalidParameterValue.ReduceCapacityNotAllowed"
INVALIDPARAMETERVALUE_SPECNOTEXIST = "InvalidParameterValue.SpecNotExist"
LIMITEXCEEDED_MEMSIZENOTINRANGE = "LimitExceeded.MemSizeNotInRange"
RESOURCEUNAVAILABLE_INSTANCESTATEERROR = "ResourceUnavailable.InstanceStateError"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"

func (*Client) InquiryPriceUpgradeInstanceWithContext

func (c *Client) InquiryPriceUpgradeInstanceWithContext(ctx context.Context, request *InquiryPriceUpgradeInstanceRequest) (response *InquiryPriceUpgradeInstanceResponse, err error)

InquiryPriceUpgradeInstance This API is used to query the price for scaling an instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_REDUCECAPACITYNOTALLOWED = "InvalidParameterValue.ReduceCapacityNotAllowed"
INVALIDPARAMETERVALUE_SPECNOTEXIST = "InvalidParameterValue.SpecNotExist"
LIMITEXCEEDED_MEMSIZENOTINRANGE = "LimitExceeded.MemSizeNotInRange"
RESOURCEUNAVAILABLE_INSTANCESTATEERROR = "ResourceUnavailable.InstanceStateError"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"

func (*Client) KillMasterGroup

func (c *Client) KillMasterGroup(request *KillMasterGroupRequest) (response *KillMasterGroupResponse, err error)

KillMasterGroup This API is used to simulate the failure.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_INVALIDAUTHORIZATION = "AuthFailure.InvalidAuthorization"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_ILLEGALPARAMETERERROR = "InvalidParameter.IllegalParameterError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_PASSWORDEMPTY = "InvalidParameterValue.PasswordEmpty"
INVALIDPARAMETERVALUE_PASSWORDERROR = "InvalidParameterValue.PasswordError"
INVALIDPARAMETERVALUE_PASSWORDRULEERROR = "InvalidParameterValue.PasswordRuleError"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCENOTSUPPORTOPERATION = "ResourceUnavailable.InstanceNotSupportOperation"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"

func (*Client) KillMasterGroupWithContext

func (c *Client) KillMasterGroupWithContext(ctx context.Context, request *KillMasterGroupRequest) (response *KillMasterGroupResponse, err error)

KillMasterGroup This API is used to simulate the failure.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_INVALIDAUTHORIZATION = "AuthFailure.InvalidAuthorization"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_ILLEGALPARAMETERERROR = "InvalidParameter.IllegalParameterError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_PASSWORDEMPTY = "InvalidParameterValue.PasswordEmpty"
INVALIDPARAMETERVALUE_PASSWORDERROR = "InvalidParameterValue.PasswordError"
INVALIDPARAMETERVALUE_PASSWORDRULEERROR = "InvalidParameterValue.PasswordRuleError"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCENOTSUPPORTOPERATION = "ResourceUnavailable.InstanceNotSupportOperation"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"

func (*Client) ManualBackupInstance

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

ManualBackupInstance This API is used to manually back up a Redis instance.

error code that may be returned:

FAILEDOPERATION_COMMITFLOWERROR = "FailedOperation.CommitFlowError"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCELOCKEDERROR = "ResourceUnavailable.InstanceLockedError"
RESOURCEUNAVAILABLE_INSTANCESTATEERROR = "ResourceUnavailable.InstanceStateError"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) ManualBackupInstanceWithContext

func (c *Client) ManualBackupInstanceWithContext(ctx context.Context, request *ManualBackupInstanceRequest) (response *ManualBackupInstanceResponse, err error)

ManualBackupInstance This API is used to manually back up a Redis instance.

error code that may be returned:

FAILEDOPERATION_COMMITFLOWERROR = "FailedOperation.CommitFlowError"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCELOCKEDERROR = "ResourceUnavailable.InstanceLockedError"
RESOURCEUNAVAILABLE_INSTANCESTATEERROR = "ResourceUnavailable.InstanceStateError"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) ModfiyInstancePassword

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

ModfiyInstancePassword This API is used to modify the access password for an instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_PASSWORDERROR = "InvalidParameterValue.PasswordError"
INVALIDPARAMETERVALUE_PASSWORDRULEERROR = "InvalidParameterValue.PasswordRuleError"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCELOCKEDERROR = "ResourceUnavailable.InstanceLockedError"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) ModfiyInstancePasswordWithContext

func (c *Client) ModfiyInstancePasswordWithContext(ctx context.Context, request *ModfiyInstancePasswordRequest) (response *ModfiyInstancePasswordResponse, err error)

ModfiyInstancePassword This API is used to modify the access password for an instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_PASSWORDERROR = "InvalidParameterValue.PasswordError"
INVALIDPARAMETERVALUE_PASSWORDRULEERROR = "InvalidParameterValue.PasswordRuleError"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCELOCKEDERROR = "ResourceUnavailable.InstanceLockedError"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) ModifyAutoBackupConfig

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

ModifyAutoBackupConfig This API is used to set the configuration for an automatic backup.

error code that may be returned:

FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_NOTSUPPORTED = "InvalidParameter.NotSupported"
INVALIDPARAMETER_PERIOD = "InvalidParameter.Period"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_WEEKDAYSISINVALID = "InvalidParameterValue.WeekDaysIsInvalid"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) ModifyAutoBackupConfigWithContext

func (c *Client) ModifyAutoBackupConfigWithContext(ctx context.Context, request *ModifyAutoBackupConfigRequest) (response *ModifyAutoBackupConfigResponse, err error)

ModifyAutoBackupConfig This API is used to set the configuration for an automatic backup.

error code that may be returned:

FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_NOTSUPPORTED = "InvalidParameter.NotSupported"
INVALIDPARAMETER_PERIOD = "InvalidParameter.Period"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_WEEKDAYSISINVALID = "InvalidParameterValue.WeekDaysIsInvalid"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) ModifyBackupDownloadRestriction

func (c *Client) ModifyBackupDownloadRestriction(request *ModifyBackupDownloadRestrictionRequest) (response *ModifyBackupDownloadRestrictionResponse, err error)

ModifyBackupDownloadRestriction This API is used to modify the network information and address for downloading a backup file.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) ModifyBackupDownloadRestrictionWithContext

func (c *Client) ModifyBackupDownloadRestrictionWithContext(ctx context.Context, request *ModifyBackupDownloadRestrictionRequest) (response *ModifyBackupDownloadRestrictionResponse, err error)

ModifyBackupDownloadRestriction This API is used to modify the network information and address for downloading a backup file.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) ModifyDBInstanceSecurityGroups

func (c *Client) ModifyDBInstanceSecurityGroups(request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error)

ModifyDBInstanceSecurityGroups This API is used to modify the security groups bound to an instance.

error code that may be returned:

FAILEDOPERATION_ADDINSTANCEINFOFAILED = "FailedOperation.AddInstanceInfoFailed"
FAILEDOPERATION_ASSOCIATESECURITYGROUPSFAILED = "FailedOperation.AssociateSecurityGroupsFailed"
FAILEDOPERATION_CLEARINSTANCEINFOFAILED = "FailedOperation.ClearInstanceInfoFailed"
FAILEDOPERATION_DISASSOCIATESECURITYGROUPSFAILED = "FailedOperation.DisassociateSecurityGroupsFailed"
FAILEDOPERATION_GETSECURITYGROUPDETAILFAILED = "FailedOperation.GetSecurityGroupDetailFailed"
FAILEDOPERATION_SETRULELOCATIONFAILED = "FailedOperation.SetRuleLocationFailed"
FAILEDOPERATION_UPDATEINSTANCEINFOFAILED = "FailedOperation.UpdateInstanceInfoFailed"
FAILEDOPERATION_UPDATESECURITYGROUPSFAILED = "FailedOperation.UpdateSecurityGroupsFailed"
INTERNALERROR_INSTANCEOPERATEPERMISSIONERROR = "InternalError.InstanceOperatePermissionError"
INTERNALERROR_LISTINSTANCESERROR = "InternalError.ListInstancesError"
INVALIDPARAMETER_INSTANCESGOVERLIMITERROR = "InvalidParameter.InstanceSGOverLimitError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"

func (*Client) ModifyDBInstanceSecurityGroupsWithContext

func (c *Client) ModifyDBInstanceSecurityGroupsWithContext(ctx context.Context, request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error)

ModifyDBInstanceSecurityGroups This API is used to modify the security groups bound to an instance.

error code that may be returned:

FAILEDOPERATION_ADDINSTANCEINFOFAILED = "FailedOperation.AddInstanceInfoFailed"
FAILEDOPERATION_ASSOCIATESECURITYGROUPSFAILED = "FailedOperation.AssociateSecurityGroupsFailed"
FAILEDOPERATION_CLEARINSTANCEINFOFAILED = "FailedOperation.ClearInstanceInfoFailed"
FAILEDOPERATION_DISASSOCIATESECURITYGROUPSFAILED = "FailedOperation.DisassociateSecurityGroupsFailed"
FAILEDOPERATION_GETSECURITYGROUPDETAILFAILED = "FailedOperation.GetSecurityGroupDetailFailed"
FAILEDOPERATION_SETRULELOCATIONFAILED = "FailedOperation.SetRuleLocationFailed"
FAILEDOPERATION_UPDATEINSTANCEINFOFAILED = "FailedOperation.UpdateInstanceInfoFailed"
FAILEDOPERATION_UPDATESECURITYGROUPSFAILED = "FailedOperation.UpdateSecurityGroupsFailed"
INTERNALERROR_INSTANCEOPERATEPERMISSIONERROR = "InternalError.InstanceOperatePermissionError"
INTERNALERROR_LISTINSTANCESERROR = "InternalError.ListInstancesError"
INVALIDPARAMETER_INSTANCESGOVERLIMITERROR = "InvalidParameter.InstanceSGOverLimitError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"

func (*Client) ModifyInstance

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

ModifyInstance This API is used to modify instance information.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
UNSUPPORTEDOPERATION_CLUSTERINSTANCEACCESSEDDENY = "UnsupportedOperation.ClusterInstanceAccessedDeny"
UNSUPPORTEDOPERATION_ISAUTORENEWERROR = "UnsupportedOperation.IsAutoRenewError"
UNSUPPORTEDOPERATION_ONLYCLUSTERINSTANCECANEXPORTBACKUP = "UnsupportedOperation.OnlyClusterInstanceCanExportBackup"

func (*Client) ModifyInstanceAccount

func (c *Client) ModifyInstanceAccount(request *ModifyInstanceAccountRequest) (response *ModifyInstanceAccountResponse, err error)

ModifyInstanceAccount This API is used to modify an instance sub-account.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCEUNAVAILABLE_GETSECURITYERROR = "ResourceUnavailable.GetSecurityError"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) ModifyInstanceAccountWithContext

func (c *Client) ModifyInstanceAccountWithContext(ctx context.Context, request *ModifyInstanceAccountRequest) (response *ModifyInstanceAccountResponse, err error)

ModifyInstanceAccount This API is used to modify an instance sub-account.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCEUNAVAILABLE_GETSECURITYERROR = "ResourceUnavailable.GetSecurityError"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) ModifyInstanceParams

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

ModifyInstanceParams This API is used to modify the parameters of TencentDB for Redis instances

error code that may be returned:

FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_CALLOSSERROR = "ResourceUnavailable.CallOssError"
RESOURCEUNAVAILABLE_INSTANCECONFERROR = "ResourceUnavailable.InstanceConfError"
RESOURCEUNAVAILABLE_INSTANCELOCKEDERROR = "ResourceUnavailable.InstanceLockedError"
RESOURCEUNAVAILABLE_INSTANCESTATEERROR = "ResourceUnavailable.InstanceStateError"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) ModifyInstanceParamsWithContext

func (c *Client) ModifyInstanceParamsWithContext(ctx context.Context, request *ModifyInstanceParamsRequest) (response *ModifyInstanceParamsResponse, err error)

ModifyInstanceParams This API is used to modify the parameters of TencentDB for Redis instances

error code that may be returned:

FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_CALLOSSERROR = "ResourceUnavailable.CallOssError"
RESOURCEUNAVAILABLE_INSTANCECONFERROR = "ResourceUnavailable.InstanceConfError"
RESOURCEUNAVAILABLE_INSTANCELOCKEDERROR = "ResourceUnavailable.InstanceLockedError"
RESOURCEUNAVAILABLE_INSTANCESTATEERROR = "ResourceUnavailable.InstanceStateError"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) ModifyInstanceReadOnly

func (c *Client) ModifyInstanceReadOnly(request *ModifyInstanceReadOnlyRequest) (response *ModifyInstanceReadOnlyResponse, err error)

ModifyInstanceReadOnly This API is used to set instance input mode.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"

func (*Client) ModifyInstanceReadOnlyWithContext

func (c *Client) ModifyInstanceReadOnlyWithContext(ctx context.Context, request *ModifyInstanceReadOnlyRequest) (response *ModifyInstanceReadOnlyResponse, err error)

ModifyInstanceReadOnly This API is used to set instance input mode.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"

func (*Client) ModifyInstanceWithContext

func (c *Client) ModifyInstanceWithContext(ctx context.Context, request *ModifyInstanceRequest) (response *ModifyInstanceResponse, err error)

ModifyInstance This API is used to modify instance information.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
UNSUPPORTEDOPERATION_CLUSTERINSTANCEACCESSEDDENY = "UnsupportedOperation.ClusterInstanceAccessedDeny"
UNSUPPORTEDOPERATION_ISAUTORENEWERROR = "UnsupportedOperation.IsAutoRenewError"
UNSUPPORTEDOPERATION_ONLYCLUSTERINSTANCECANEXPORTBACKUP = "UnsupportedOperation.OnlyClusterInstanceCanExportBackup"

func (*Client) ModifyMaintenanceWindow

func (c *Client) ModifyMaintenanceWindow(request *ModifyMaintenanceWindowRequest) (response *ModifyMaintenanceWindowResponse, err error)

ModifyMaintenanceWindow This API is used to modify the instance maintenance time. The maintenance time specifies a time period during which compatible version upgrade, architecture upgrade, backend maintenance, and other operations can be performed to avoid affecting business. Note: if the compatible version upgrade or architecture upgrade task has been initiated for an instance, its maintenance time cannot be modified.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
UNSUPPORTEDOPERATION_CLUSTERINSTANCEACCESSEDDENY = "UnsupportedOperation.ClusterInstanceAccessedDeny"
UNSUPPORTEDOPERATION_ISAUTORENEWERROR = "UnsupportedOperation.IsAutoRenewError"

func (*Client) ModifyMaintenanceWindowWithContext

func (c *Client) ModifyMaintenanceWindowWithContext(ctx context.Context, request *ModifyMaintenanceWindowRequest) (response *ModifyMaintenanceWindowResponse, err error)

ModifyMaintenanceWindow This API is used to modify the instance maintenance time. The maintenance time specifies a time period during which compatible version upgrade, architecture upgrade, backend maintenance, and other operations can be performed to avoid affecting business. Note: if the compatible version upgrade or architecture upgrade task has been initiated for an instance, its maintenance time cannot be modified.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
UNSUPPORTEDOPERATION_CLUSTERINSTANCEACCESSEDDENY = "UnsupportedOperation.ClusterInstanceAccessedDeny"
UNSUPPORTEDOPERATION_ISAUTORENEWERROR = "UnsupportedOperation.IsAutoRenewError"

func (*Client) ModifyNetworkConfig

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

ModifyNetworkConfig This API is used to modify the network configuration of an instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_NOTSUPPORTED = "InvalidParameter.NotSupported"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_CHECKNOTPASS = "InvalidParameterValue.CheckNotPass"
RESOURCEUNAVAILABLE_INSTANCELOCKEDERROR = "ResourceUnavailable.InstanceLockedError"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
RESOURCEUNAVAILABLE_INSTANCEUNLOCKEDERROR = "ResourceUnavailable.InstanceUnLockedError"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) ModifyNetworkConfigWithContext

func (c *Client) ModifyNetworkConfigWithContext(ctx context.Context, request *ModifyNetworkConfigRequest) (response *ModifyNetworkConfigResponse, err error)

ModifyNetworkConfig This API is used to modify the network configuration of an instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_NOTSUPPORTED = "InvalidParameter.NotSupported"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_CHECKNOTPASS = "InvalidParameterValue.CheckNotPass"
RESOURCEUNAVAILABLE_INSTANCELOCKEDERROR = "ResourceUnavailable.InstanceLockedError"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
RESOURCEUNAVAILABLE_INSTANCEUNLOCKEDERROR = "ResourceUnavailable.InstanceUnLockedError"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) ModifyParamTemplate

func (c *Client) ModifyParamTemplate(request *ModifyParamTemplateRequest) (response *ModifyParamTemplateResponse, err error)

ModifyParamTemplate This API is used to modify a parameter template.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) ModifyParamTemplateWithContext

func (c *Client) ModifyParamTemplateWithContext(ctx context.Context, request *ModifyParamTemplateRequest) (response *ModifyParamTemplateResponse, err error)

ModifyParamTemplate This API is used to modify a parameter template.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) OpenSSL

func (c *Client) OpenSSL(request *OpenSSLRequest) (response *OpenSSLResponse, err error)

OpenSSL This API is used to enable SSL.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
UNSUPPORTEDOPERATION_INSTANCENOTOPERATION = "UnsupportedOperation.InstanceNotOperation"
UNSUPPORTEDOPERATION_LIMITPROXYVERSION = "UnsupportedOperation.LimitProxyVersion"

func (*Client) OpenSSLWithContext

func (c *Client) OpenSSLWithContext(ctx context.Context, request *OpenSSLRequest) (response *OpenSSLResponse, err error)

OpenSSL This API is used to enable SSL.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
UNSUPPORTEDOPERATION_INSTANCENOTOPERATION = "UnsupportedOperation.InstanceNotOperation"
UNSUPPORTEDOPERATION_LIMITPROXYVERSION = "UnsupportedOperation.LimitProxyVersion"

func (*Client) ReleaseWanAddress

func (c *Client) ReleaseWanAddress(request *ReleaseWanAddressRequest) (response *ReleaseWanAddressResponse, err error)

ReleaseWanAddress This API is used to disable public network access.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"

func (*Client) ReleaseWanAddressWithContext

func (c *Client) ReleaseWanAddressWithContext(ctx context.Context, request *ReleaseWanAddressRequest) (response *ReleaseWanAddressResponse, err error)

ReleaseWanAddress This API is used to disable public network access.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"

func (*Client) RemoveReplicationInstance

func (c *Client) RemoveReplicationInstance(request *RemoveReplicationInstanceRequest) (response *RemoveReplicationInstanceResponse, err error)

RemoveReplicationInstance This API is used to remove a member from a replication group.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETERVALUE_CHECKNOTPASS = "InvalidParameterValue.CheckNotPass"
INVALIDPARAMETERVALUE_REPLICATIONGROUPNOTEXISTS = "InvalidParameterValue.ReplicationGroupNotExists"
LIMITEXCEEDED_REPLICATIONGROUPLOCKED = "LimitExceeded.ReplicationGroupLocked"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
UNSUPPORTEDOPERATION_INSPECTION = "UnsupportedOperation.Inspection"
UNSUPPORTEDOPERATION_INSTANCENOTOPERATION = "UnsupportedOperation.InstanceNotOperation"

func (*Client) RemoveReplicationInstanceWithContext

func (c *Client) RemoveReplicationInstanceWithContext(ctx context.Context, request *RemoveReplicationInstanceRequest) (response *RemoveReplicationInstanceResponse, err error)

RemoveReplicationInstance This API is used to remove a member from a replication group.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETERVALUE_CHECKNOTPASS = "InvalidParameterValue.CheckNotPass"
INVALIDPARAMETERVALUE_REPLICATIONGROUPNOTEXISTS = "InvalidParameterValue.ReplicationGroupNotExists"
LIMITEXCEEDED_REPLICATIONGROUPLOCKED = "LimitExceeded.ReplicationGroupLocked"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
UNSUPPORTEDOPERATION_INSPECTION = "UnsupportedOperation.Inspection"
UNSUPPORTEDOPERATION_INSTANCENOTOPERATION = "UnsupportedOperation.InstanceNotOperation"

func (*Client) RenewInstance

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

RenewInstance This API is used to renew an instance.

error code that may be returned:

FAILEDOPERATION_PAYFAILED = "FailedOperation.PayFailed"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
LIMITEXCEEDED_PERIODEXCEEDMAXLIMIT = "LimitExceeded.PeriodExceedMaxLimit"
LIMITEXCEEDED_PERIODLESSTHANMINLIMIT = "LimitExceeded.PeriodLessThanMinLimit"
RESOURCEINUSE_INSTANCEBEENLOCKED = "ResourceInUse.InstanceBeenLocked"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_ACCOUNTBALANCENOTENOUGH = "ResourceUnavailable.AccountBalanceNotEnough"
RESOURCEUNAVAILABLE_INSTANCEDELETED = "ResourceUnavailable.InstanceDeleted"

func (*Client) RenewInstanceWithContext

func (c *Client) RenewInstanceWithContext(ctx context.Context, request *RenewInstanceRequest) (response *RenewInstanceResponse, err error)

RenewInstance This API is used to renew an instance.

error code that may be returned:

FAILEDOPERATION_PAYFAILED = "FailedOperation.PayFailed"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
LIMITEXCEEDED_PERIODEXCEEDMAXLIMIT = "LimitExceeded.PeriodExceedMaxLimit"
LIMITEXCEEDED_PERIODLESSTHANMINLIMIT = "LimitExceeded.PeriodLessThanMinLimit"
RESOURCEINUSE_INSTANCEBEENLOCKED = "ResourceInUse.InstanceBeenLocked"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_ACCOUNTBALANCENOTENOUGH = "ResourceUnavailable.AccountBalanceNotEnough"
RESOURCEUNAVAILABLE_INSTANCEDELETED = "ResourceUnavailable.InstanceDeleted"

func (*Client) ResetPassword

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

ResetPassword This API is used to reset a password.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_PASSWORDFREEDENIED = "InvalidParameterValue.PasswordFreeDenied"
INVALIDPARAMETERVALUE_PASSWORDRULEERROR = "InvalidParameterValue.PasswordRuleError"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) ResetPasswordWithContext

func (c *Client) ResetPasswordWithContext(ctx context.Context, request *ResetPasswordRequest) (response *ResetPasswordResponse, err error)

ResetPassword This API is used to reset a password.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_PASSWORDFREEDENIED = "InvalidParameterValue.PasswordFreeDenied"
INVALIDPARAMETERVALUE_PASSWORDRULEERROR = "InvalidParameterValue.PasswordRuleError"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) RestoreInstance

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

RestoreInstance This API is used to restore a Redis instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_BACKUPNOTEXISTS = "InvalidParameterValue.BackupNotExists"
INVALIDPARAMETERVALUE_PASSWORDERROR = "InvalidParameterValue.PasswordError"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_BACKUPLOCKEDERROR = "ResourceUnavailable.BackupLockedError"
RESOURCEUNAVAILABLE_BACKUPSTATUSABNORMAL = "ResourceUnavailable.BackupStatusAbnormal"
RESOURCEUNAVAILABLE_INSTANCELOCKEDERROR = "ResourceUnavailable.InstanceLockedError"
RESOURCEUNAVAILABLE_INSTANCESTATEERROR = "ResourceUnavailable.InstanceStateError"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) RestoreInstanceWithContext

func (c *Client) RestoreInstanceWithContext(ctx context.Context, request *RestoreInstanceRequest) (response *RestoreInstanceResponse, err error)

RestoreInstance This API is used to restore a Redis instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_BACKUPNOTEXISTS = "InvalidParameterValue.BackupNotExists"
INVALIDPARAMETERVALUE_PASSWORDERROR = "InvalidParameterValue.PasswordError"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_BACKUPLOCKEDERROR = "ResourceUnavailable.BackupLockedError"
RESOURCEUNAVAILABLE_BACKUPSTATUSABNORMAL = "ResourceUnavailable.BackupStatusAbnormal"
RESOURCEUNAVAILABLE_INSTANCELOCKEDERROR = "ResourceUnavailable.InstanceLockedError"
RESOURCEUNAVAILABLE_INSTANCESTATEERROR = "ResourceUnavailable.InstanceStateError"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) StartupInstance

func (c *Client) StartupInstance(request *StartupInstanceRequest) (response *StartupInstanceResponse, err error)

StartupInstance This API is used to deisolate an instance.

error code that may be returned:

FAILEDOPERATION_PAYFAILED = "FailedOperation.PayFailed"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCELOCKEDERROR = "ResourceUnavailable.InstanceLockedError"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"

func (*Client) StartupInstanceWithContext

func (c *Client) StartupInstanceWithContext(ctx context.Context, request *StartupInstanceRequest) (response *StartupInstanceResponse, err error)

StartupInstance This API is used to deisolate an instance.

error code that may be returned:

FAILEDOPERATION_PAYFAILED = "FailedOperation.PayFailed"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCELOCKEDERROR = "ResourceUnavailable.InstanceLockedError"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"

func (*Client) SwitchInstanceVip

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

SwitchInstanceVip This API is used to swap the VIPs of instances for instance disaster recovery switch in scenarios where cross-AZ disaster recovery is supported through DTS. After the VIPs of the source and target instances are swapped, the target instance can be written into and the DTS sync task between them will be disconnected.

error code that may be returned:

FAILEDOPERATION_DTSSTATUSABNORMAL = "FailedOperation.DtsStatusAbnormal"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType"
RESOURCEUNAVAILABLE_INSTANCESTATEERROR = "ResourceUnavailable.InstanceStateError"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"

func (*Client) SwitchInstanceVipWithContext

func (c *Client) SwitchInstanceVipWithContext(ctx context.Context, request *SwitchInstanceVipRequest) (response *SwitchInstanceVipResponse, err error)

SwitchInstanceVip This API is used to swap the VIPs of instances for instance disaster recovery switch in scenarios where cross-AZ disaster recovery is supported through DTS. After the VIPs of the source and target instances are swapped, the target instance can be written into and the DTS sync task between them will be disconnected.

error code that may be returned:

FAILEDOPERATION_DTSSTATUSABNORMAL = "FailedOperation.DtsStatusAbnormal"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType"
RESOURCEUNAVAILABLE_INSTANCESTATEERROR = "ResourceUnavailable.InstanceStateError"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"

func (*Client) SwitchProxy

func (c *Client) SwitchProxy(request *SwitchProxyRequest) (response *SwitchProxyResponse, err error)

SwitchProxy This API is used to simulate the failure of a proxy node.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"

func (*Client) SwitchProxyWithContext

func (c *Client) SwitchProxyWithContext(ctx context.Context, request *SwitchProxyRequest) (response *SwitchProxyResponse, err error)

SwitchProxy This API is used to simulate the failure of a proxy node.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"

func (*Client) UpgradeInstance

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

UpgradeInstance This API is used to modify the instance configuration.

error code that may be returned:

FAILEDOPERATION_PAYFAILED = "FailedOperation.PayFailed"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_MEMSIZENOTINRANGE = "InvalidParameterValue.MemSizeNotInRange"
INVALIDPARAMETERVALUE_REDUCECAPACITYNOTALLOWED = "InvalidParameterValue.ReduceCapacityNotAllowed"
INVALIDPARAMETERVALUE_SPECNOTEXIST = "InvalidParameterValue.SpecNotExist"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_INVALIDMEMSIZE = "LimitExceeded.InvalidMemSize"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_ACCOUNTBALANCENOTENOUGH = "ResourceUnavailable.AccountBalanceNotEnough"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
RESOURCEUNAVAILABLE_SALEOUT = "ResourceUnavailable.SaleOut"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) UpgradeInstanceVersion

func (c *Client) UpgradeInstanceVersion(request *UpgradeInstanceVersionRequest) (response *UpgradeInstanceVersionResponse, err error)

UpgradeInstanceVersion This API is used to upgrade the instance to a later version or to upgrade the current standard architecture to the cluster architecture.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) UpgradeInstanceVersionWithContext

func (c *Client) UpgradeInstanceVersionWithContext(ctx context.Context, request *UpgradeInstanceVersionRequest) (response *UpgradeInstanceVersionResponse, err error)

UpgradeInstanceVersion This API is used to upgrade the instance to a later version or to upgrade the current standard architecture to the cluster architecture.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"

func (*Client) UpgradeInstanceWithContext

func (c *Client) UpgradeInstanceWithContext(ctx context.Context, request *UpgradeInstanceRequest) (response *UpgradeInstanceResponse, err error)

UpgradeInstance This API is used to modify the instance configuration.

error code that may be returned:

FAILEDOPERATION_PAYFAILED = "FailedOperation.PayFailed"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_MEMSIZENOTINRANGE = "InvalidParameterValue.MemSizeNotInRange"
INVALIDPARAMETERVALUE_REDUCECAPACITYNOTALLOWED = "InvalidParameterValue.ReduceCapacityNotAllowed"
INVALIDPARAMETERVALUE_SPECNOTEXIST = "InvalidParameterValue.SpecNotExist"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_INVALIDMEMSIZE = "LimitExceeded.InvalidMemSize"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_ACCOUNTBALANCENOTENOUGH = "ResourceUnavailable.AccountBalanceNotEnough"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
RESOURCEUNAVAILABLE_SALEOUT = "ResourceUnavailable.SaleOut"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) UpgradeProxyVersion

func (c *Client) UpgradeProxyVersion(request *UpgradeProxyVersionRequest) (response *UpgradeProxyVersionResponse, err error)

UpgradeProxyVersion This API is used to upgrade instance proxy version.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"

func (*Client) UpgradeProxyVersionWithContext

func (c *Client) UpgradeProxyVersionWithContext(ctx context.Context, request *UpgradeProxyVersionRequest) (response *UpgradeProxyVersionResponse, err error)

UpgradeProxyVersion This API is used to upgrade instance proxy version.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"

func (*Client) UpgradeSmallVersion

func (c *Client) UpgradeSmallVersion(request *UpgradeSmallVersionRequest) (response *UpgradeSmallVersionResponse, err error)

UpgradeSmallVersion This API is used to upgrade instance minor version.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNSUPPORTEDOPERATION_INSTANCENOTOPERATION = "UnsupportedOperation.InstanceNotOperation"

func (*Client) UpgradeSmallVersionWithContext

func (c *Client) UpgradeSmallVersionWithContext(ctx context.Context, request *UpgradeSmallVersionRequest) (response *UpgradeSmallVersionResponse, err error)

UpgradeSmallVersion This API is used to upgrade instance minor version.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNSUPPORTEDOPERATION_INSTANCENOTOPERATION = "UnsupportedOperation.InstanceNotOperation"

func (*Client) UpgradeVersionToMultiAvailabilityZones

func (c *Client) UpgradeVersionToMultiAvailabilityZones(request *UpgradeVersionToMultiAvailabilityZonesRequest) (response *UpgradeVersionToMultiAvailabilityZonesResponse, err error)

UpgradeVersionToMultiAvailabilityZones This API is used to upgrade an instance to support multi-AZ deployment.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNSUPPORTEDOPERATION_INSTANCENOTOPERATION = "UnsupportedOperation.InstanceNotOperation"
UNSUPPORTEDOPERATION_LIMITPROXYVERSION = "UnsupportedOperation.LimitProxyVersion"

func (*Client) UpgradeVersionToMultiAvailabilityZonesWithContext

func (c *Client) UpgradeVersionToMultiAvailabilityZonesWithContext(ctx context.Context, request *UpgradeVersionToMultiAvailabilityZonesRequest) (response *UpgradeVersionToMultiAvailabilityZonesResponse, err error)

UpgradeVersionToMultiAvailabilityZones This API is used to upgrade an instance to support multi-AZ deployment.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNSUPPORTEDOPERATION_INSTANCENOTOPERATION = "UnsupportedOperation.InstanceNotOperation"
UNSUPPORTEDOPERATION_LIMITPROXYVERSION = "UnsupportedOperation.LimitProxyVersion"

type CloneInstancesRequest

type CloneInstancesRequest struct {
	*tchttp.BaseRequest

	// The ID of the source instance to be cloned, such as "crs-xjhsdj****". Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// The number of clone instances at a time
	// - The maximum number of monthly subscribed instances is 100 for each purchase.
	// - The maximum number of pay-as-you-go instances is 30 for each purchase.
	GoodsNum *uint64 `json:"GoodsNum,omitnil" name:"GoodsNum"`

	// ID of the AZ where the clone instance resides. For more information, see [Regions and AZs](https://intl.cloud.tencent.com/document/product/239/4106?from_cn_redirect=1).
	ZoneId *uint64 `json:"ZoneId,omitnil" name:"ZoneId"`

	// Billing mode. Valid values: <ul><li>`0` (Pay-as-you-go) </li><li>`1` (Monthly subscription) </li></ul>
	BillingMode *int64 `json:"BillingMode,omitnil" name:"BillingMode"`

	// Purchase duration of an instance. <ul><li>Unit: Month</li><li>Valid values: `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`, `48`, `60` (for monthly subscription mode).</li><li> Valid value: `1` (for pay-as-you-go mode).</li></ul>
	Period *uint64 `json:"Period,omitnil" name:"Period"`

	// Security group ID, which can be obtained on the <b>Security Group</b> page in the console.
	SecurityGroupIdList []*string `json:"SecurityGroupIdList,omitnil" name:"SecurityGroupIdList"`

	// Backup ID of the clone instance, which can be obtained through the [DescribeInstanceBackups](https://intl.cloud.tencent.com/document/product/239/20011?from_cn_redirect=1) API.
	BackupId *string `json:"BackupId,omitnil" name:"BackupId"`

	// Whether the clone instance supports password-free access. Valid values: <ul><li>`true` (Yes)</li><li>`false` (No. When SSL or public network is enabled). Default value: `false`.</li></ul>
	NoAuth *bool `json:"NoAuth,omitnil" name:"NoAuth"`

	// The VPC ID of the clone instance. If this parameter is not passed in, the classic network will be selected by default.
	VpcId *string `json:"VpcId,omitnil" name:"VpcId"`

	// The VPC subnet ID to which the clone instance belongs, which is not required for the classic network.
	SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"`

	// Name of the clone instance. <br>Enter up to 60 letters, digits, hyphens, and underscores.</br>
	InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"`

	// The access password of the clone instance. <ul><li>When the input parameter <b>NoAuth</b> is <b>true</b>, this parameter is not required. </li><li>When the instance is Redis 2.8, 4.0, or 5.0, the password must contain 8–30 characters in at least two of the following types: lowercase letters, uppercase letters, digits, and special characters `()`~!@#$%^&*-+=_|{}[]:;<>,.?/` and cannot start with `/`.</li><li>When the instance is CKV 3.2, the password must and can only contain 8–30 letters and digits.</li></ul>
	Password *string `json:"Password,omitnil" name:"Password"`

	// The auto-renewal flag. Valid values <ul><li>`0`: Manual renewal (default). </li><li>`1`: Auto-renewal. </li><li>`2`: Not auto-renewal (set by user).</ul>
	AutoRenew *uint64 `json:"AutoRenew,omitnil" name:"AutoRenew"`

	// Customized port. Valid range: 1024-65535. Default value: `6379`.
	VPort *uint64 `json:"VPort,omitnil" name:"VPort"`

	// Node information of an instance. <ul><li>Currently supported type and AZ information of a node to be configured (master node or replica node) For more information, see [RedisNodeInfo](https://intl.cloud.tencent.com/document/product/239/20022?from_cn_redirect=1#RedisNodeInfo).</li><li>This parameter is not required for single-AZ deployment.</li></ul>
	NodeSet []*RedisNodeInfo `json:"NodeSet,omitnil" name:"NodeSet"`

	// Project ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis#/), and find the project ID in <b>Account Center</b> > <b>Project Management</b> in the top-right corner.
	ProjectId *int64 `json:"ProjectId,omitnil" name:"ProjectId"`

	// Tag to be bound for the clone instance
	ResourceTags []*ResourceTag `json:"ResourceTags,omitnil" name:"ResourceTags"`

	// The parameter template ID associated with the clone instance
	// - If this parameter is not configured, the system will automatically adapt the corresponding default template based on the selected compatible version and architecture.
	// - You can query the parameter template list of the instance to get the template ID through the [DescribeParamTemplates](https://intl.cloud.tencent.com/document/product/239/58750?from_cn_redirect=1) API.
	TemplateId *string `json:"TemplateId,omitnil" name:"TemplateId"`

	// The alarm policy ID of the instance to be cloned. Log in to the [Tencent Cloud Observable Platform console](https://console.cloud.tencent.com/monitor/alarm2/policy), and get the policy ID in <b>Alarm Management</b> > <b>Policy Management</b>.
	AlarmPolicyList []*string `json:"AlarmPolicyList,omitnil" name:"AlarmPolicyList"`
}

func NewCloneInstancesRequest

func NewCloneInstancesRequest() (request *CloneInstancesRequest)

func (*CloneInstancesRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CloneInstancesRequest) ToJsonString

func (r *CloneInstancesRequest) ToJsonString() string

type CloneInstancesRequestParams

type CloneInstancesRequestParams struct {
	// The ID of the source instance to be cloned, such as "crs-xjhsdj****". Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// The number of clone instances at a time
	// - The maximum number of monthly subscribed instances is 100 for each purchase.
	// - The maximum number of pay-as-you-go instances is 30 for each purchase.
	GoodsNum *uint64 `json:"GoodsNum,omitnil" name:"GoodsNum"`

	// ID of the AZ where the clone instance resides. For more information, see [Regions and AZs](https://intl.cloud.tencent.com/document/product/239/4106?from_cn_redirect=1).
	ZoneId *uint64 `json:"ZoneId,omitnil" name:"ZoneId"`

	// Billing mode. Valid values: <ul><li>`0` (Pay-as-you-go) </li><li>`1` (Monthly subscription) </li></ul>
	BillingMode *int64 `json:"BillingMode,omitnil" name:"BillingMode"`

	// Purchase duration of an instance. <ul><li>Unit: Month</li><li>Valid values: `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`, `48`, `60` (for monthly subscription mode).</li><li> Valid value: `1` (for pay-as-you-go mode).</li></ul>
	Period *uint64 `json:"Period,omitnil" name:"Period"`

	// Security group ID, which can be obtained on the <b>Security Group</b> page in the console.
	SecurityGroupIdList []*string `json:"SecurityGroupIdList,omitnil" name:"SecurityGroupIdList"`

	// Backup ID of the clone instance, which can be obtained through the [DescribeInstanceBackups](https://intl.cloud.tencent.com/document/product/239/20011?from_cn_redirect=1) API.
	BackupId *string `json:"BackupId,omitnil" name:"BackupId"`

	// Whether the clone instance supports password-free access. Valid values: <ul><li>`true` (Yes)</li><li>`false` (No. When SSL or public network is enabled). Default value: `false`.</li></ul>
	NoAuth *bool `json:"NoAuth,omitnil" name:"NoAuth"`

	// The VPC ID of the clone instance. If this parameter is not passed in, the classic network will be selected by default.
	VpcId *string `json:"VpcId,omitnil" name:"VpcId"`

	// The VPC subnet ID to which the clone instance belongs, which is not required for the classic network.
	SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"`

	// Name of the clone instance. <br>Enter up to 60 letters, digits, hyphens, and underscores.</br>
	InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"`

	// The access password of the clone instance. <ul><li>When the input parameter <b>NoAuth</b> is <b>true</b>, this parameter is not required. </li><li>When the instance is Redis 2.8, 4.0, or 5.0, the password must contain 8–30 characters in at least two of the following types: lowercase letters, uppercase letters, digits, and special characters `()`~!@#$%^&*-+=_|{}[]:;<>,.?/` and cannot start with `/`.</li><li>When the instance is CKV 3.2, the password must and can only contain 8–30 letters and digits.</li></ul>
	Password *string `json:"Password,omitnil" name:"Password"`

	// The auto-renewal flag. Valid values <ul><li>`0`: Manual renewal (default). </li><li>`1`: Auto-renewal. </li><li>`2`: Not auto-renewal (set by user).</ul>
	AutoRenew *uint64 `json:"AutoRenew,omitnil" name:"AutoRenew"`

	// Customized port. Valid range: 1024-65535. Default value: `6379`.
	VPort *uint64 `json:"VPort,omitnil" name:"VPort"`

	// Node information of an instance. <ul><li>Currently supported type and AZ information of a node to be configured (master node or replica node) For more information, see [RedisNodeInfo](https://intl.cloud.tencent.com/document/product/239/20022?from_cn_redirect=1#RedisNodeInfo).</li><li>This parameter is not required for single-AZ deployment.</li></ul>
	NodeSet []*RedisNodeInfo `json:"NodeSet,omitnil" name:"NodeSet"`

	// Project ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis#/), and find the project ID in <b>Account Center</b> > <b>Project Management</b> in the top-right corner.
	ProjectId *int64 `json:"ProjectId,omitnil" name:"ProjectId"`

	// Tag to be bound for the clone instance
	ResourceTags []*ResourceTag `json:"ResourceTags,omitnil" name:"ResourceTags"`

	// The parameter template ID associated with the clone instance
	// - If this parameter is not configured, the system will automatically adapt the corresponding default template based on the selected compatible version and architecture.
	// - You can query the parameter template list of the instance to get the template ID through the [DescribeParamTemplates](https://intl.cloud.tencent.com/document/product/239/58750?from_cn_redirect=1) API.
	TemplateId *string `json:"TemplateId,omitnil" name:"TemplateId"`

	// The alarm policy ID of the instance to be cloned. Log in to the [Tencent Cloud Observable Platform console](https://console.cloud.tencent.com/monitor/alarm2/policy), and get the policy ID in <b>Alarm Management</b> > <b>Policy Management</b>.
	AlarmPolicyList []*string `json:"AlarmPolicyList,omitnil" name:"AlarmPolicyList"`
}

Predefined struct for user

type CloneInstancesResponse

type CloneInstancesResponse struct {
	*tchttp.BaseResponse
	Response *CloneInstancesResponseParams `json:"Response"`
}

func NewCloneInstancesResponse

func NewCloneInstancesResponse() (response *CloneInstancesResponse)

func (*CloneInstancesResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CloneInstancesResponse) ToJsonString

func (r *CloneInstancesResponse) ToJsonString() string

type CloneInstancesResponseParams

type CloneInstancesResponseParams struct {
	// Request task ID
	DealId *string `json:"DealId,omitnil" name:"DealId"`

	// Clone instance ID
	InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type CloseSSLRequest

type CloseSSLRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

func NewCloseSSLRequest

func NewCloseSSLRequest() (request *CloseSSLRequest)

func (*CloseSSLRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CloseSSLRequest) ToJsonString

func (r *CloseSSLRequest) ToJsonString() string

type CloseSSLRequestParams

type CloseSSLRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

Predefined struct for user

type CloseSSLResponse

type CloseSSLResponse struct {
	*tchttp.BaseResponse
	Response *CloseSSLResponseParams `json:"Response"`
}

func NewCloseSSLResponse

func NewCloseSSLResponse() (response *CloseSSLResponse)

func (*CloseSSLResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CloseSSLResponse) ToJsonString

func (r *CloseSSLResponse) ToJsonString() string

type CloseSSLResponseParams

type CloseSSLResponseParams struct {
	// Task ID
	TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type CommandTake

type CommandTake struct {
	// Command
	Cmd *string `json:"Cmd,omitnil" name:"Cmd"`

	// Duration
	Took *int64 `json:"Took,omitnil" name:"Took"`
}

type CreateInstanceAccountRequest

type CreateInstanceAccountRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Sub-account name
	AccountName *string `json:"AccountName,omitnil" name:"AccountName"`

	// 1. The password must contain 8–30 characters. A password of 12 or more characters is recommended.
	// 2. It cannot start with a slash (/).
	// 3. It must contain characters in at least two of the following types:
	//     a. Lowercase letters (a–z)
	//     b. Uppercase letters (A–Z)
	//     c. Digits (0–9)
	//     d. ()`~!@#$%^&*-+=_|{}[]:;<>,.?/
	AccountPassword *string `json:"AccountPassword,omitnil" name:"AccountPassword"`

	// Routing policy. Valid values: master (master node); replication (replica node)
	ReadonlyPolicy []*string `json:"ReadonlyPolicy,omitnil" name:"ReadonlyPolicy"`

	// Read/Write policy. Valid values: r (read-only); rw (read/write).
	Privilege *string `json:"Privilege,omitnil" name:"Privilege"`

	// Sub-account description information
	Remark *string `json:"Remark,omitnil" name:"Remark"`
}

func NewCreateInstanceAccountRequest

func NewCreateInstanceAccountRequest() (request *CreateInstanceAccountRequest)

func (*CreateInstanceAccountRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateInstanceAccountRequest) ToJsonString

func (r *CreateInstanceAccountRequest) ToJsonString() string

type CreateInstanceAccountRequestParams

type CreateInstanceAccountRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Sub-account name
	AccountName *string `json:"AccountName,omitnil" name:"AccountName"`

	// 1. The password must contain 8–30 characters. A password of 12 or more characters is recommended.
	// 2. It cannot start with a slash (/).
	// 3. It must contain characters in at least two of the following types:
	//     a. Lowercase letters (a–z)
	//     b. Uppercase letters (A–Z)
	//     c. Digits (0–9)
	//     d. ()`~!@#$%^&*-+=_|{}[]:;<>,.?/
	AccountPassword *string `json:"AccountPassword,omitnil" name:"AccountPassword"`

	// Routing policy. Valid values: master (master node); replication (replica node)
	ReadonlyPolicy []*string `json:"ReadonlyPolicy,omitnil" name:"ReadonlyPolicy"`

	// Read/Write policy. Valid values: r (read-only); rw (read/write).
	Privilege *string `json:"Privilege,omitnil" name:"Privilege"`

	// Sub-account description information
	Remark *string `json:"Remark,omitnil" name:"Remark"`
}

Predefined struct for user

type CreateInstanceAccountResponse

type CreateInstanceAccountResponse struct {
	*tchttp.BaseResponse
	Response *CreateInstanceAccountResponseParams `json:"Response"`
}

func NewCreateInstanceAccountResponse

func NewCreateInstanceAccountResponse() (response *CreateInstanceAccountResponse)

func (*CreateInstanceAccountResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateInstanceAccountResponse) ToJsonString

func (r *CreateInstanceAccountResponse) ToJsonString() string

type CreateInstanceAccountResponseParams

type CreateInstanceAccountResponseParams struct {
	// Task ID
	TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type CreateInstancesRequest

type CreateInstancesRequest struct {
	*tchttp.BaseRequest

	// Instance type
	// <ul><li>`2`: Redis 2.8 Memory Edition (Standard Architecture). </li><li>`3`: CKV 3.2 Memory Edition (Standard Architecture). </li><li>`4`: CKV 3.2 Memory Edition (Cluster Architecture). </li><li>`6`: Redis 4.0 Memory Edition (Standard Architecture). </li><li>`7`: Redis 4.0 Memory Edition (Cluster Architecture). </li><li>`8`: Redis 5.0 Memory Edition (Standard Architecture). </li><li>`9`: Redis 5.0 Memory Edition (Cluster Architecture). </li><li>`15`: Redis 6.2 Memory Edition (Standard Architecture). </li><li>`16`: Redis 6.2 Memory Edition (Cluster Architecture).</li></ul>
	TypeId *uint64 `json:"TypeId,omitnil" name:"TypeId"`

	// Memory capacity in MB, which must be an integer multiple of 1024. For specific specifications, query the sales specifications in all regions through the [DescribeProductInfo](https://intl.cloud.tencent.com/document/api/239/30600?from_cn_redirect=1) API.
	// - When **TypeId** is a standard architecture, **MemSize** is the total memory capacity of the instance;
	// - When **TypeId** is a cluster architecture, **MemSize** is the single-shard memory capacity.
	MemSize *uint64 `json:"MemSize,omitnil" name:"MemSize"`

	// The number of instances for each purchase. For details, query the sales specifications in all regions through the [DescribeProductInfo](https://intl.cloud.tencent.com/document/api/239/30600?from_cn_redirect=1) API.
	GoodsNum *uint64 `json:"GoodsNum,omitnil" name:"GoodsNum"`

	// The purchase duration of an instance
	// - If `BillingMode` is `1`, that is, when the billing mode is monthly subscription, you need to set this parameter to specify the duration of the purchased instance. Unit: month. Value range: [1,2,3,4,5,6,7,8,9,10,11,12,24,36].
	// - If `BillingMode` is `0`, that is, when the billing mode is pay-as-you-go, you need to set this parameter to `1`.
	Period *uint64 `json:"Period,omitnil" name:"Period"`

	// Billing mode. 0: pay-as-you-go
	BillingMode *int64 `json:"BillingMode,omitnil" name:"BillingMode"`

	// ID of the AZ where the instance resides. For more information, see [Regions and AZs](https://intl.cloud.tencent.com/document/product/239/4106?from_cn_redirect=1).
	ZoneId *uint64 `json:"ZoneId,omitnil" name:"ZoneId"`

	// Instance access password
	// - When the input parameter `NoAuth` is `true`, it means that the instance access is set to be password-free, and the `Password` field does not need to be configured; otherwise, `Password` is a required parameter.
	// - When the instance type `TypeId` is Redis 2.8 Memory Edition (Standard Architecture), Redis 4.0, 5.0, 6.0 (regardless of architecture), the password must contains 8-30 characters in at least two of the following types: lowercase letters, uppercase letters, digits, and symbols (()`~!@#$%^&*-+=_|{}[]:;<>,.?/), and it cannot start with a slash (/).
	// - When the instance type **TypeId** is CKV 3.2 Memory Edition (regardless of architecture), the password contains 8-30 letters and digits and excludes other characters.
	Password *string `json:"Password,omitnil" name:"Password"`

	// VPC ID. If this parameter is not passed in, the classic network will be selected by default. You can query the specific VPC ID in the [VPC console](https://console.cloud.tencent.com/vpc).
	VpcId *string `json:"VpcId,omitnil" name:"VpcId"`

	// VPC subnet ID. This parameter is not required for the classic network. You can get the specific subnet ID by querying the subnet list in the [VPC console](https://console.cloud.tencent.com/vpc).
	SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"`

	// Project ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis#/), go to the account information menu in the top-right corner, and select **Project Management** to query the project ID.
	ProjectId *int64 `json:"ProjectId,omitnil" name:"ProjectId"`

	// Auto-renewal flag
	// - `0`: Manual renewal (default).
	// - `1`: Auto-renewal.
	// - `2`: Not auto-renewal (set by user).
	AutoRenew *uint64 `json:"AutoRenew,omitnil" name:"AutoRenew"`

	// Array of security group IDs. Get the security group ID of the instance through the [DescribeInstanceSecurityGroup](https://intl.cloud.tencent.com/document/product/239/34447?from_cn_redirect=1) API.
	SecurityGroupIdList []*string `json:"SecurityGroupIdList,omitnil" name:"SecurityGroupIdList"`

	// User-defined network port. Default value: `6379`. Range: [1024,65535].
	VPort *uint64 `json:"VPort,omitnil" name:"VPort"`

	// Quantity of instance shards
	// - This parameter is not required for instances of Standard Edition.
	// - For instances of Cluster Edition, the range of shard quantity is [1, 3, 5, 8, 12, 16, 24, 32, 40, 48, 64, 80, 96, 128].
	RedisShardNum *int64 `json:"RedisShardNum,omitnil" name:"RedisShardNum"`

	// Quantity of instance replicas
	// - For Redis Memory Edition 4.0, 5.0, 6.2 (regardless of architecture), the range of replica quantity is [1,5].
	// - For Redis 2.8 Standard Edition and CKV Standard Edition, the replica quantity is `1`.
	RedisReplicasNum *int64 `json:"RedisReplicasNum,omitnil" name:"RedisReplicasNum"`

	// Whether to support read-only replicas.
	// - Redis 2.8 Standard Edition and CKV Standard Edition don’t support read-only replicas.
	// - If read-only replicas are enabled, read/write separation will be automatically enabled for an instance, with write requests routed to the master node and read requests to the replica node.
	// - To enable read-only replicas, we recommend that you create two or more replicas.
	ReplicasReadonly *bool `json:"ReplicasReadonly,omitnil" name:"ReplicasReadonly"`

	// Instance name, which can contain up to 60 letters, digits, hyphens, and underscores.
	InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"`

	// Whether to support password-free access for an instance
	// - `true`: The instance access is password-free.
	// - `false`: The instance access is password-enabled. Default value: `false`. Only instances in a VPC support the password-free access.
	NoAuth *bool `json:"NoAuth,omitnil" name:"NoAuth"`

	// The node information of the instance, including node ID, type, and AZ. For more information, see [RedisNodeInfo](https://intl.cloud.tencent.com/document/product/239/20022?from_cn_redirect=1).
	// Node information of an instance. Currently, information about the node type (master or replica) and node AZ can be passed in. This parameter is not required for instances deployed in a single AZ.
	NodeSet []*RedisNodeInfo `json:"NodeSet,omitnil" name:"NodeSet"`

	// The tag for an instance
	ResourceTags []*ResourceTag `json:"ResourceTags,omitnil" name:"ResourceTags"`

	// Name of the AZ where the instance resides. For more information, see [Regions and AZs](https://intl.cloud.tencent.com/document/product/239/4106?from_cn_redirect=1).
	ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"`

	// The parameter template ID associated with the instance
	// - If this parameter is not configured, the system will automatically adapt the corresponding default template based on the selected compatible version and architecture.
	// - Query the list of parameter templates of an instance to get the template ID through the [DescribeParamTemplates](https://intl.cloud.tencent.com/document/product/239/58750?from_cn_redirect=1) API.
	TemplateId *string `json:"TemplateId,omitnil" name:"TemplateId"`

	// An internal parameter used to indicate whether to check when creating an instance.
	// - `false`: Default value. Send a normal request and create an instance if all the requirements are met.
	// - `true`: Send a check request and create no instance.
	DryRun *bool `json:"DryRun,omitnil" name:"DryRun"`

	// The product edition of the instance
	// - `local`: Local Disk Edition.
	// - `cloud`: Cloud Disk Edition.
	// - `cdc`: Dedicated Cluster Edition. Default value: `local`.
	ProductVersion *string `json:"ProductVersion,omitnil" name:"ProductVersion"`

	// Exclusive cluster ID. When `ProductVersion` is set to `cdc`, this parameter is required.
	RedisClusterId *string `json:"RedisClusterId,omitnil" name:"RedisClusterId"`
}

func NewCreateInstancesRequest

func NewCreateInstancesRequest() (request *CreateInstancesRequest)

func (*CreateInstancesRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateInstancesRequest) ToJsonString

func (r *CreateInstancesRequest) ToJsonString() string

type CreateInstancesRequestParams

type CreateInstancesRequestParams struct {
	// Instance type
	// <ul><li>`2`: Redis 2.8 Memory Edition (Standard Architecture). </li><li>`3`: CKV 3.2 Memory Edition (Standard Architecture). </li><li>`4`: CKV 3.2 Memory Edition (Cluster Architecture). </li><li>`6`: Redis 4.0 Memory Edition (Standard Architecture). </li><li>`7`: Redis 4.0 Memory Edition (Cluster Architecture). </li><li>`8`: Redis 5.0 Memory Edition (Standard Architecture). </li><li>`9`: Redis 5.0 Memory Edition (Cluster Architecture). </li><li>`15`: Redis 6.2 Memory Edition (Standard Architecture). </li><li>`16`: Redis 6.2 Memory Edition (Cluster Architecture).</li></ul>
	TypeId *uint64 `json:"TypeId,omitnil" name:"TypeId"`

	// Memory capacity in MB, which must be an integer multiple of 1024. For specific specifications, query the sales specifications in all regions through the [DescribeProductInfo](https://intl.cloud.tencent.com/document/api/239/30600?from_cn_redirect=1) API.
	// - When **TypeId** is a standard architecture, **MemSize** is the total memory capacity of the instance;
	// - When **TypeId** is a cluster architecture, **MemSize** is the single-shard memory capacity.
	MemSize *uint64 `json:"MemSize,omitnil" name:"MemSize"`

	// The number of instances for each purchase. For details, query the sales specifications in all regions through the [DescribeProductInfo](https://intl.cloud.tencent.com/document/api/239/30600?from_cn_redirect=1) API.
	GoodsNum *uint64 `json:"GoodsNum,omitnil" name:"GoodsNum"`

	// The purchase duration of an instance
	// - If `BillingMode` is `1`, that is, when the billing mode is monthly subscription, you need to set this parameter to specify the duration of the purchased instance. Unit: month. Value range: [1,2,3,4,5,6,7,8,9,10,11,12,24,36].
	// - If `BillingMode` is `0`, that is, when the billing mode is pay-as-you-go, you need to set this parameter to `1`.
	Period *uint64 `json:"Period,omitnil" name:"Period"`

	// Billing mode. 0: pay-as-you-go
	BillingMode *int64 `json:"BillingMode,omitnil" name:"BillingMode"`

	// ID of the AZ where the instance resides. For more information, see [Regions and AZs](https://intl.cloud.tencent.com/document/product/239/4106?from_cn_redirect=1).
	ZoneId *uint64 `json:"ZoneId,omitnil" name:"ZoneId"`

	// Instance access password
	// - When the input parameter `NoAuth` is `true`, it means that the instance access is set to be password-free, and the `Password` field does not need to be configured; otherwise, `Password` is a required parameter.
	// - When the instance type `TypeId` is Redis 2.8 Memory Edition (Standard Architecture), Redis 4.0, 5.0, 6.0 (regardless of architecture), the password must contains 8-30 characters in at least two of the following types: lowercase letters, uppercase letters, digits, and symbols (()`~!@#$%^&*-+=_|{}[]:;<>,.?/), and it cannot start with a slash (/).
	// - When the instance type **TypeId** is CKV 3.2 Memory Edition (regardless of architecture), the password contains 8-30 letters and digits and excludes other characters.
	Password *string `json:"Password,omitnil" name:"Password"`

	// VPC ID. If this parameter is not passed in, the classic network will be selected by default. You can query the specific VPC ID in the [VPC console](https://console.cloud.tencent.com/vpc).
	VpcId *string `json:"VpcId,omitnil" name:"VpcId"`

	// VPC subnet ID. This parameter is not required for the classic network. You can get the specific subnet ID by querying the subnet list in the [VPC console](https://console.cloud.tencent.com/vpc).
	SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"`

	// Project ID. Log in to the [Redis console](https://console.cloud.tencent.com/redis#/), go to the account information menu in the top-right corner, and select **Project Management** to query the project ID.
	ProjectId *int64 `json:"ProjectId,omitnil" name:"ProjectId"`

	// Auto-renewal flag
	// - `0`: Manual renewal (default).
	// - `1`: Auto-renewal.
	// - `2`: Not auto-renewal (set by user).
	AutoRenew *uint64 `json:"AutoRenew,omitnil" name:"AutoRenew"`

	// Array of security group IDs. Get the security group ID of the instance through the [DescribeInstanceSecurityGroup](https://intl.cloud.tencent.com/document/product/239/34447?from_cn_redirect=1) API.
	SecurityGroupIdList []*string `json:"SecurityGroupIdList,omitnil" name:"SecurityGroupIdList"`

	// User-defined network port. Default value: `6379`. Range: [1024,65535].
	VPort *uint64 `json:"VPort,omitnil" name:"VPort"`

	// Quantity of instance shards
	// - This parameter is not required for instances of Standard Edition.
	// - For instances of Cluster Edition, the range of shard quantity is [1, 3, 5, 8, 12, 16, 24, 32, 40, 48, 64, 80, 96, 128].
	RedisShardNum *int64 `json:"RedisShardNum,omitnil" name:"RedisShardNum"`

	// Quantity of instance replicas
	// - For Redis Memory Edition 4.0, 5.0, 6.2 (regardless of architecture), the range of replica quantity is [1,5].
	// - For Redis 2.8 Standard Edition and CKV Standard Edition, the replica quantity is `1`.
	RedisReplicasNum *int64 `json:"RedisReplicasNum,omitnil" name:"RedisReplicasNum"`

	// Whether to support read-only replicas.
	// - Redis 2.8 Standard Edition and CKV Standard Edition don’t support read-only replicas.
	// - If read-only replicas are enabled, read/write separation will be automatically enabled for an instance, with write requests routed to the master node and read requests to the replica node.
	// - To enable read-only replicas, we recommend that you create two or more replicas.
	ReplicasReadonly *bool `json:"ReplicasReadonly,omitnil" name:"ReplicasReadonly"`

	// Instance name, which can contain up to 60 letters, digits, hyphens, and underscores.
	InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"`

	// Whether to support password-free access for an instance
	// - `true`: The instance access is password-free.
	// - `false`: The instance access is password-enabled. Default value: `false`. Only instances in a VPC support the password-free access.
	NoAuth *bool `json:"NoAuth,omitnil" name:"NoAuth"`

	// The node information of the instance, including node ID, type, and AZ. For more information, see [RedisNodeInfo](https://intl.cloud.tencent.com/document/product/239/20022?from_cn_redirect=1).
	// Node information of an instance. Currently, information about the node type (master or replica) and node AZ can be passed in. This parameter is not required for instances deployed in a single AZ.
	NodeSet []*RedisNodeInfo `json:"NodeSet,omitnil" name:"NodeSet"`

	// The tag for an instance
	ResourceTags []*ResourceTag `json:"ResourceTags,omitnil" name:"ResourceTags"`

	// Name of the AZ where the instance resides. For more information, see [Regions and AZs](https://intl.cloud.tencent.com/document/product/239/4106?from_cn_redirect=1).
	ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"`

	// The parameter template ID associated with the instance
	// - If this parameter is not configured, the system will automatically adapt the corresponding default template based on the selected compatible version and architecture.
	// - Query the list of parameter templates of an instance to get the template ID through the [DescribeParamTemplates](https://intl.cloud.tencent.com/document/product/239/58750?from_cn_redirect=1) API.
	TemplateId *string `json:"TemplateId,omitnil" name:"TemplateId"`

	// An internal parameter used to indicate whether to check when creating an instance.
	// - `false`: Default value. Send a normal request and create an instance if all the requirements are met.
	// - `true`: Send a check request and create no instance.
	DryRun *bool `json:"DryRun,omitnil" name:"DryRun"`

	// The product edition of the instance
	// - `local`: Local Disk Edition.
	// - `cloud`: Cloud Disk Edition.
	// - `cdc`: Dedicated Cluster Edition. Default value: `local`.
	ProductVersion *string `json:"ProductVersion,omitnil" name:"ProductVersion"`

	// Exclusive cluster ID. When `ProductVersion` is set to `cdc`, this parameter is required.
	RedisClusterId *string `json:"RedisClusterId,omitnil" name:"RedisClusterId"`
}

Predefined struct for user

type CreateInstancesResponse

type CreateInstancesResponse struct {
	*tchttp.BaseResponse
	Response *CreateInstancesResponseParams `json:"Response"`
}

func NewCreateInstancesResponse

func NewCreateInstancesResponse() (response *CreateInstancesResponse)

func (*CreateInstancesResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateInstancesResponse) ToJsonString

func (r *CreateInstancesResponse) ToJsonString() string

type CreateInstancesResponseParams

type CreateInstancesResponseParams struct {
	// Transaction ID
	DealId *string `json:"DealId,omitnil" name:"DealId"`

	// Instance ID
	InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type CreateParamTemplateRequest

type CreateParamTemplateRequest struct {
	*tchttp.BaseRequest

	// Parameter template name.
	Name *string `json:"Name,omitnil" name:"Name"`

	// Parameter template description.
	Description *string `json:"Description,omitnil" name:"Description"`

	// Instance type. Valid values: `1` (Redis 2.8 Memory Edition in cluster architecture), `2` (Redis 2.8 Memory Edition in standard architecture), `3` (CKV 3.2 Memory Edition in standard architecture), `4` (CKV 3.2 Memory Edition in cluster architecture), `5` (Redis 2.8 Memory Edition in standalone architecture), `6` (Redis 4.0 Memory Edition in standard architecture), `7` (Redis 4.0 Memory Edition in cluster architecture), `8` (Redis 5.0 Memory Edition in standard architecture), `9` (Redis 5.0 Memory Edition in cluster architecture). If `TempateId` is specified, this parameter can be left blank; otherwise, it is required.
	ProductType *uint64 `json:"ProductType,omitnil" name:"ProductType"`

	// ID of the source parameter template.
	TemplateId *string `json:"TemplateId,omitnil" name:"TemplateId"`

	// Parameter list.
	ParamList []*InstanceParam `json:"ParamList,omitnil" name:"ParamList"`
}

func NewCreateParamTemplateRequest

func NewCreateParamTemplateRequest() (request *CreateParamTemplateRequest)

func (*CreateParamTemplateRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateParamTemplateRequest) ToJsonString

func (r *CreateParamTemplateRequest) ToJsonString() string

type CreateParamTemplateRequestParams

type CreateParamTemplateRequestParams struct {
	// Parameter template name.
	Name *string `json:"Name,omitnil" name:"Name"`

	// Parameter template description.
	Description *string `json:"Description,omitnil" name:"Description"`

	// Instance type. Valid values: `1` (Redis 2.8 Memory Edition in cluster architecture), `2` (Redis 2.8 Memory Edition in standard architecture), `3` (CKV 3.2 Memory Edition in standard architecture), `4` (CKV 3.2 Memory Edition in cluster architecture), `5` (Redis 2.8 Memory Edition in standalone architecture), `6` (Redis 4.0 Memory Edition in standard architecture), `7` (Redis 4.0 Memory Edition in cluster architecture), `8` (Redis 5.0 Memory Edition in standard architecture), `9` (Redis 5.0 Memory Edition in cluster architecture). If `TempateId` is specified, this parameter can be left blank; otherwise, it is required.
	ProductType *uint64 `json:"ProductType,omitnil" name:"ProductType"`

	// ID of the source parameter template.
	TemplateId *string `json:"TemplateId,omitnil" name:"TemplateId"`

	// Parameter list.
	ParamList []*InstanceParam `json:"ParamList,omitnil" name:"ParamList"`
}

Predefined struct for user

type CreateParamTemplateResponse

type CreateParamTemplateResponse struct {
	*tchttp.BaseResponse
	Response *CreateParamTemplateResponseParams `json:"Response"`
}

func NewCreateParamTemplateResponse

func NewCreateParamTemplateResponse() (response *CreateParamTemplateResponse)

func (*CreateParamTemplateResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateParamTemplateResponse) ToJsonString

func (r *CreateParamTemplateResponse) ToJsonString() string

type CreateParamTemplateResponseParams

type CreateParamTemplateResponseParams struct {
	// Parameter template ID.
	TemplateId *string `json:"TemplateId,omitnil" name:"TemplateId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DelayDistribution

type DelayDistribution struct {
	// The delay distribution. The mapping between delay range and `Ladder` value is as follows:  - `1`: [0ms,1ms]. - `5`: [1ms,5ms]. - `10`: [5ms,10ms]. - `50`: [10ms,50ms]. - `200`:  [50ms,200ms]. - `-1`: [200ms,∞].
	Ladder *int64 `json:"Ladder,omitnil" name:"Ladder"`

	// The number of commands with delay falling within the current delay range -
	Size *int64 `json:"Size,omitnil" name:"Size"`

	// Modification time
	Updatetime *int64 `json:"Updatetime,omitnil" name:"Updatetime"`
}

type DeleteInstanceAccountRequest

type DeleteInstanceAccountRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Sub-account name
	AccountName *string `json:"AccountName,omitnil" name:"AccountName"`
}

func NewDeleteInstanceAccountRequest

func NewDeleteInstanceAccountRequest() (request *DeleteInstanceAccountRequest)

func (*DeleteInstanceAccountRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteInstanceAccountRequest) ToJsonString

func (r *DeleteInstanceAccountRequest) ToJsonString() string

type DeleteInstanceAccountRequestParams

type DeleteInstanceAccountRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Sub-account name
	AccountName *string `json:"AccountName,omitnil" name:"AccountName"`
}

Predefined struct for user

type DeleteInstanceAccountResponse

type DeleteInstanceAccountResponse struct {
	*tchttp.BaseResponse
	Response *DeleteInstanceAccountResponseParams `json:"Response"`
}

func NewDeleteInstanceAccountResponse

func NewDeleteInstanceAccountResponse() (response *DeleteInstanceAccountResponse)

func (*DeleteInstanceAccountResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteInstanceAccountResponse) ToJsonString

func (r *DeleteInstanceAccountResponse) ToJsonString() string

type DeleteInstanceAccountResponseParams

type DeleteInstanceAccountResponseParams struct {
	// Task ID
	TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DeleteParamTemplateRequest

type DeleteParamTemplateRequest struct {
	*tchttp.BaseRequest

	// Parameter template ID.
	TemplateId *string `json:"TemplateId,omitnil" name:"TemplateId"`
}

func NewDeleteParamTemplateRequest

func NewDeleteParamTemplateRequest() (request *DeleteParamTemplateRequest)

func (*DeleteParamTemplateRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteParamTemplateRequest) ToJsonString

func (r *DeleteParamTemplateRequest) ToJsonString() string

type DeleteParamTemplateRequestParams

type DeleteParamTemplateRequestParams struct {
	// Parameter template ID.
	TemplateId *string `json:"TemplateId,omitnil" name:"TemplateId"`
}

Predefined struct for user

type DeleteParamTemplateResponse

type DeleteParamTemplateResponse struct {
	*tchttp.BaseResponse
	Response *DeleteParamTemplateResponseParams `json:"Response"`
}

func NewDeleteParamTemplateResponse

func NewDeleteParamTemplateResponse() (response *DeleteParamTemplateResponse)

func (*DeleteParamTemplateResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteParamTemplateResponse) ToJsonString

func (r *DeleteParamTemplateResponse) ToJsonString() string

type DeleteParamTemplateResponseParams

type DeleteParamTemplateResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeAutoBackupConfigRequest

type DescribeAutoBackupConfigRequest struct {
	*tchttp.BaseRequest

	// ID of the specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

func NewDescribeAutoBackupConfigRequest

func NewDescribeAutoBackupConfigRequest() (request *DescribeAutoBackupConfigRequest)

func (*DescribeAutoBackupConfigRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAutoBackupConfigRequest) ToJsonString

func (r *DescribeAutoBackupConfigRequest) ToJsonString() string

type DescribeAutoBackupConfigRequestParams

type DescribeAutoBackupConfigRequestParams struct {
	// ID of the specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

Predefined struct for user

type DescribeAutoBackupConfigResponse

type DescribeAutoBackupConfigResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAutoBackupConfigResponseParams `json:"Response"`
}

func NewDescribeAutoBackupConfigResponse

func NewDescribeAutoBackupConfigResponse() (response *DescribeAutoBackupConfigResponse)

func (*DescribeAutoBackupConfigResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAutoBackupConfigResponse) ToJsonString

func (r *DescribeAutoBackupConfigResponse) ToJsonString() string

type DescribeAutoBackupConfigResponseParams

type DescribeAutoBackupConfigResponseParams struct {
	// This parameter is retained due to compatibility and can be ignored.
	AutoBackupType *int64 `json:"AutoBackupType,omitnil" name:"AutoBackupType"`

	// Backup cycle, which will be daily by default. Valid values: `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`.
	WeekDays []*string `json:"WeekDays,omitnil" name:"WeekDays"`

	// Time period for backup task initialization
	TimePeriod *string `json:"TimePeriod,omitnil" name:"TimePeriod"`

	// Retention time of full backup files in days.  Default value: `7`.  To retain the files for more days, [submit a ticket](https://console.cloud.tencent.com/workorder/category) for application.
	BackupStorageDays *int64 `json:"BackupStorageDays,omitnil" name:"BackupStorageDays"`

	// This parameter has been disused.
	BinlogStorageDays *int64 `json:"BinlogStorageDays,omitnil" name:"BinlogStorageDays"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeBackupDownloadRestrictionRequest

type DescribeBackupDownloadRestrictionRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeBackupDownloadRestrictionRequest

func NewDescribeBackupDownloadRestrictionRequest() (request *DescribeBackupDownloadRestrictionRequest)

func (*DescribeBackupDownloadRestrictionRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupDownloadRestrictionRequest) ToJsonString

type DescribeBackupDownloadRestrictionRequestParams

type DescribeBackupDownloadRestrictionRequestParams struct {
}

Predefined struct for user

type DescribeBackupDownloadRestrictionResponse

type DescribeBackupDownloadRestrictionResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBackupDownloadRestrictionResponseParams `json:"Response"`
}

func NewDescribeBackupDownloadRestrictionResponse

func NewDescribeBackupDownloadRestrictionResponse() (response *DescribeBackupDownloadRestrictionResponse)

func (*DescribeBackupDownloadRestrictionResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupDownloadRestrictionResponse) ToJsonString

type DescribeBackupDownloadRestrictionResponseParams

type DescribeBackupDownloadRestrictionResponseParams struct {
	// Type of the network restrictions for downloading backup files. Valid values:
	//
	// - `NoLimit`: Backup files can be downloaded over both public and private networks.
	// - `LimitOnlyIntranet`: Backup files can be downloaded only at private network addresses auto-assigned by Tencent Cloud.
	// - `Customize`: Backup files can be downloaded only in the customized VPC.
	LimitType *string `json:"LimitType,omitnil" name:"LimitType"`

	// Only `In` can be passed in for this parameter, indicating that backup files can be downloaded in the custom `LimitVpc`.
	VpcComparisonSymbol *string `json:"VpcComparisonSymbol,omitnil" name:"VpcComparisonSymbol"`

	// Whether backups can be downloaded at the custom `LimitIp` address.
	//
	// - `In`: Download is allowed for the custom IP.
	// - `NotIn`: Download is not allowed for the custom IP.
	IpComparisonSymbol *string `json:"IpComparisonSymbol,omitnil" name:"IpComparisonSymbol"`

	// VPC ID of the custom backup file download address, which will be displayed if `LimitType` is `Customize`.
	LimitVpc []*BackupLimitVpcItem `json:"LimitVpc,omitnil" name:"LimitVpc"`

	// VPC ID of the custom backup file download address, which will be displayed if `LimitType` is `Customize`.
	LimitIp []*string `json:"LimitIp,omitnil" name:"LimitIp"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeBackupUrlRequest

type DescribeBackupUrlRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Backup ID, which can be obtained through the `RedisBackupSet` parameter returned by the [DescribeInstanceBackups](https://intl.cloud.tencent.com/document/product/239/20011?from_cn_redirect=1) API.
	BackupId *string `json:"BackupId,omitnil" name:"BackupId"`

	// Type of the network restriction for downloading backup files. If this parameter is not configured, the user-defined configuration will be used.
	//
	// - `NoLimit`: Backup files can be downloaded over both public and private networks.
	// - `LimitOnlyIntranet`: Backup files can be downloaded only at private network addresses auto-assigned by Tencent Cloud.
	// - `Customize`: Backup files can be downloaded only in the customized VPC.
	LimitType *string `json:"LimitType,omitnil" name:"LimitType"`

	// Only `In` can be passed in for this parameter, indicating that backup files can be downloaded in the custom `LimitVpc`.
	VpcComparisonSymbol *string `json:"VpcComparisonSymbol,omitnil" name:"VpcComparisonSymbol"`

	// Whether backups can be downloaded at the custom `LimitIp` address.
	//
	// - `In` (default value): Download is allowed for the custom IP.
	// - `NotIn`: Download is not allowed for the custom IP.
	IpComparisonSymbol *string `json:"IpComparisonSymbol,omitnil" name:"IpComparisonSymbol"`

	// VPC ID of the custom backup file download address, which is required if `LimitType` is `Customize`.
	LimitVpc []*BackupLimitVpcItem `json:"LimitVpc,omitnil" name:"LimitVpc"`

	// VPC IP of the custom backup file download address, which is required if `LimitType` is `Customize`.
	LimitIp []*string `json:"LimitIp,omitnil" name:"LimitIp"`
}

func NewDescribeBackupUrlRequest

func NewDescribeBackupUrlRequest() (request *DescribeBackupUrlRequest)

func (*DescribeBackupUrlRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupUrlRequest) ToJsonString

func (r *DescribeBackupUrlRequest) ToJsonString() string

type DescribeBackupUrlRequestParams

type DescribeBackupUrlRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Backup ID, which can be obtained through the `RedisBackupSet` parameter returned by the [DescribeInstanceBackups](https://intl.cloud.tencent.com/document/product/239/20011?from_cn_redirect=1) API.
	BackupId *string `json:"BackupId,omitnil" name:"BackupId"`

	// Type of the network restriction for downloading backup files. If this parameter is not configured, the user-defined configuration will be used.
	//
	// - `NoLimit`: Backup files can be downloaded over both public and private networks.
	// - `LimitOnlyIntranet`: Backup files can be downloaded only at private network addresses auto-assigned by Tencent Cloud.
	// - `Customize`: Backup files can be downloaded only in the customized VPC.
	LimitType *string `json:"LimitType,omitnil" name:"LimitType"`

	// Only `In` can be passed in for this parameter, indicating that backup files can be downloaded in the custom `LimitVpc`.
	VpcComparisonSymbol *string `json:"VpcComparisonSymbol,omitnil" name:"VpcComparisonSymbol"`

	// Whether backups can be downloaded at the custom `LimitIp` address.
	//
	// - `In` (default value): Download is allowed for the custom IP.
	// - `NotIn`: Download is not allowed for the custom IP.
	IpComparisonSymbol *string `json:"IpComparisonSymbol,omitnil" name:"IpComparisonSymbol"`

	// VPC ID of the custom backup file download address, which is required if `LimitType` is `Customize`.
	LimitVpc []*BackupLimitVpcItem `json:"LimitVpc,omitnil" name:"LimitVpc"`

	// VPC IP of the custom backup file download address, which is required if `LimitType` is `Customize`.
	LimitIp []*string `json:"LimitIp,omitnil" name:"LimitIp"`
}

Predefined struct for user

type DescribeBackupUrlResponse

type DescribeBackupUrlResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBackupUrlResponseParams `json:"Response"`
}

func NewDescribeBackupUrlResponse

func NewDescribeBackupUrlResponse() (response *DescribeBackupUrlResponse)

func (*DescribeBackupUrlResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBackupUrlResponse) ToJsonString

func (r *DescribeBackupUrlResponse) ToJsonString() string

type DescribeBackupUrlResponseParams

type DescribeBackupUrlResponseParams struct {
	// Public network download address (valid for six hours). This field will be disused soon.
	DownloadUrl []*string `json:"DownloadUrl,omitnil" name:"DownloadUrl"`

	// Private network download address (valid for six hours). This field will be disused soon.
	InnerDownloadUrl []*string `json:"InnerDownloadUrl,omitnil" name:"InnerDownloadUrl"`

	// Filename. This field will be disused soon.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Filenames []*string `json:"Filenames,omitnil" name:"Filenames"`

	// List of backup file information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	BackupInfos []*BackupDownloadInfo `json:"BackupInfos,omitnil" name:"BackupInfos"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeBandwidthRangeRequest

type DescribeBandwidthRangeRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

func NewDescribeBandwidthRangeRequest

func NewDescribeBandwidthRangeRequest() (request *DescribeBandwidthRangeRequest)

func (*DescribeBandwidthRangeRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBandwidthRangeRequest) ToJsonString

func (r *DescribeBandwidthRangeRequest) ToJsonString() string

type DescribeBandwidthRangeRequestParams

type DescribeBandwidthRangeRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

Predefined struct for user

type DescribeBandwidthRangeResponse

type DescribeBandwidthRangeResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBandwidthRangeResponseParams `json:"Response"`
}

func NewDescribeBandwidthRangeResponse

func NewDescribeBandwidthRangeResponse() (response *DescribeBandwidthRangeResponse)

func (*DescribeBandwidthRangeResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBandwidthRangeResponse) ToJsonString

func (r *DescribeBandwidthRangeResponse) ToJsonString() string

type DescribeBandwidthRangeResponseParams

type DescribeBandwidthRangeResponseParams struct {
	// Standard bandwidth, which is the bandwidth allocated by the system to each node when an instance is purchased.
	BaseBandwidth *int64 `json:"BaseBandwidth,omitnil" name:"BaseBandwidth"`

	// The additional bandwidth of the instance. If the standard bandwidth does not meet your needs, you can increase the bandwidth on your own. <ul><li>If read-only replica is enabled, the total instance bandwidth = additional bandwidth * shard quantity + standard bandwidth * shard quantity * Max ([read-only replica quantity, 1]). The shard quantity in the standard architecture is 1. </li><li>If read-only replica is not enabled, the total instance bandwidth = additional bandwidth * shard quantity + standard bandwidth * shard quantity. The shard quantity in the standard architecture is 1.</li></ul>
	AddBandwidth *int64 `json:"AddBandwidth,omitnil" name:"AddBandwidth"`

	// The lower limit for additional bandwidth
	MinAddBandwidth *int64 `json:"MinAddBandwidth,omitnil" name:"MinAddBandwidth"`

	// The upper limit for additional bandwidth
	MaxAddBandwidth *int64 `json:"MaxAddBandwidth,omitnil" name:"MaxAddBandwidth"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeCommonDBInstancesRequest

type DescribeCommonDBInstancesRequest struct {
	*tchttp.BaseRequest

	// List of VPC IDs
	VpcIds []*int64 `json:"VpcIds,omitnil" name:"VpcIds"`

	// List of subnet IDs
	SubnetIds []*int64 `json:"SubnetIds,omitnil" name:"SubnetIds"`

	// List of billing modes. 0: monthly subscription; 1: pay-as-you-go
	PayMode *int64 `json:"PayMode,omitnil" name:"PayMode"`

	// List of instance IDs
	InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"`

	// List of instance names
	InstanceNames []*string `json:"InstanceNames,omitnil" name:"InstanceNames"`

	// List of instance status
	Status []*string `json:"Status,omitnil" name:"Status"`

	// Sorting field
	OrderBy *string `json:"OrderBy,omitnil" name:"OrderBy"`

	// Sorting order
	OrderByType *string `json:"OrderByType,omitnil" name:"OrderByType"`

	// List of instance VIPs
	Vips []*string `json:"Vips,omitnil" name:"Vips"`

	// List of VPC IDs
	UniqVpcIds []*string `json:"UniqVpcIds,omitnil" name:"UniqVpcIds"`

	// List of unique subnet IDs
	UniqSubnetIds []*string `json:"UniqSubnetIds,omitnil" name:"UniqSubnetIds"`

	// Quantity limit. Recommended default value: 100.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`
}

func NewDescribeCommonDBInstancesRequest

func NewDescribeCommonDBInstancesRequest() (request *DescribeCommonDBInstancesRequest)

func (*DescribeCommonDBInstancesRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCommonDBInstancesRequest) ToJsonString

func (r *DescribeCommonDBInstancesRequest) ToJsonString() string

type DescribeCommonDBInstancesRequestParams

type DescribeCommonDBInstancesRequestParams struct {
	// List of VPC IDs
	VpcIds []*int64 `json:"VpcIds,omitnil" name:"VpcIds"`

	// List of subnet IDs
	SubnetIds []*int64 `json:"SubnetIds,omitnil" name:"SubnetIds"`

	// List of billing modes. 0: monthly subscription; 1: pay-as-you-go
	PayMode *int64 `json:"PayMode,omitnil" name:"PayMode"`

	// List of instance IDs
	InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"`

	// List of instance names
	InstanceNames []*string `json:"InstanceNames,omitnil" name:"InstanceNames"`

	// List of instance status
	Status []*string `json:"Status,omitnil" name:"Status"`

	// Sorting field
	OrderBy *string `json:"OrderBy,omitnil" name:"OrderBy"`

	// Sorting order
	OrderByType *string `json:"OrderByType,omitnil" name:"OrderByType"`

	// List of instance VIPs
	Vips []*string `json:"Vips,omitnil" name:"Vips"`

	// List of VPC IDs
	UniqVpcIds []*string `json:"UniqVpcIds,omitnil" name:"UniqVpcIds"`

	// List of unique subnet IDs
	UniqSubnetIds []*string `json:"UniqSubnetIds,omitnil" name:"UniqSubnetIds"`

	// Quantity limit. Recommended default value: 100.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`
}

Predefined struct for user

type DescribeCommonDBInstancesResponse

type DescribeCommonDBInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCommonDBInstancesResponseParams `json:"Response"`
}

func NewDescribeCommonDBInstancesResponse

func NewDescribeCommonDBInstancesResponse() (response *DescribeCommonDBInstancesResponse)

func (*DescribeCommonDBInstancesResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCommonDBInstancesResponse) ToJsonString

func (r *DescribeCommonDBInstancesResponse) ToJsonString() string

type DescribeCommonDBInstancesResponseParams

type DescribeCommonDBInstancesResponseParams struct {
	// Number of instances
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// Instance information
	InstanceDetails []*RedisCommonInstanceList `json:"InstanceDetails,omitnil" name:"InstanceDetails"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeDBSecurityGroupsRequest

type DescribeDBSecurityGroupsRequest struct {
	*tchttp.BaseRequest

	// Database engine name, which is `redis` for this API.
	Product *string `json:"Product,omitnil" name:"Product"`

	// ID of the specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

func NewDescribeDBSecurityGroupsRequest

func NewDescribeDBSecurityGroupsRequest() (request *DescribeDBSecurityGroupsRequest)

func (*DescribeDBSecurityGroupsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBSecurityGroupsRequest) ToJsonString

func (r *DescribeDBSecurityGroupsRequest) ToJsonString() string

type DescribeDBSecurityGroupsRequestParams

type DescribeDBSecurityGroupsRequestParams struct {
	// Database engine name, which is `redis` for this API.
	Product *string `json:"Product,omitnil" name:"Product"`

	// ID of the specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

Predefined struct for user

type DescribeDBSecurityGroupsResponse

type DescribeDBSecurityGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDBSecurityGroupsResponseParams `json:"Response"`
}

func NewDescribeDBSecurityGroupsResponse

func NewDescribeDBSecurityGroupsResponse() (response *DescribeDBSecurityGroupsResponse)

func (*DescribeDBSecurityGroupsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDBSecurityGroupsResponse) ToJsonString

func (r *DescribeDBSecurityGroupsResponse) ToJsonString() string

type DescribeDBSecurityGroupsResponseParams

type DescribeDBSecurityGroupsResponseParams struct {
	// Security group rules
	Groups []*SecurityGroup `json:"Groups,omitnil" name:"Groups"`

	// Private IPv4 address of an instance
	VIP *string `json:"VIP,omitnil" name:"VIP"`

	// Private network port
	VPort *string `json:"VPort,omitnil" name:"VPort"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceAccountRequest

type DescribeInstanceAccountRequest struct {
	*tchttp.BaseRequest

	// ID of a specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Number of entries per page
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Pagination offset,  which is an integral multiple of `Limit`.  Calculation formula:  `offset` = `limit` * (page number - 1).
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`
}

func NewDescribeInstanceAccountRequest

func NewDescribeInstanceAccountRequest() (request *DescribeInstanceAccountRequest)

func (*DescribeInstanceAccountRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceAccountRequest) ToJsonString

func (r *DescribeInstanceAccountRequest) ToJsonString() string

type DescribeInstanceAccountRequestParams

type DescribeInstanceAccountRequestParams struct {
	// ID of a specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Number of entries per page
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Pagination offset,  which is an integral multiple of `Limit`.  Calculation formula:  `offset` = `limit` * (page number - 1).
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`
}

Predefined struct for user

type DescribeInstanceAccountResponse

type DescribeInstanceAccountResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceAccountResponseParams `json:"Response"`
}

func NewDescribeInstanceAccountResponse

func NewDescribeInstanceAccountResponse() (response *DescribeInstanceAccountResponse)

func (*DescribeInstanceAccountResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceAccountResponse) ToJsonString

func (r *DescribeInstanceAccountResponse) ToJsonString() string

type DescribeInstanceAccountResponseParams

type DescribeInstanceAccountResponseParams struct {
	// Account details
	// Note:  This field may return null, indicating that no valid values can be obtained.
	Accounts []*Account `json:"Accounts,omitnil" name:"Accounts"`

	// Number of accounts
	// Note:  This field may return null, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceBackupsRequest

type DescribeInstanceBackupsRequest struct {
	*tchttp.BaseRequest

	// Number of backups returned per page. Default value: `20`. Maximum value: `100`.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Pagination offset, which is an integral multiple of `Limit`. `offset` = `limit` * (page number - 1).
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// ID of the instance to be operated on, which can be obtained through the `InstanceId` field in the return value of the `DescribeInstance` API.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Start time in the format of yyyy-MM-dd HH:mm:ss, such as 2017-02-08 16:46:34. This parameter is used to query the list of instance backups started during the [beginTime, endTime] range.
	BeginTime *string `json:"BeginTime,omitnil" name:"BeginTime"`

	// End time in the format of yyyy-MM-dd HH:mm:ss, such as 2017-02-08 19:09:26. This parameter is used to query the list of instance backups started during the [beginTime, endTime] range.
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Backup task status:
	// `1`: The backup is in the process.
	// `2`: The backup is normal.
	// `3`: The backup is being converted to an RDB file.
	// `4`: Conversion to RDB has been completed.
	// `-1`: The backup expired.
	// `-2`: The backup has been deleted.
	Status []*int64 `json:"Status,omitnil" name:"Status"`

	// Instance name, which can be fuzzily searched.
	InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"`
}

func NewDescribeInstanceBackupsRequest

func NewDescribeInstanceBackupsRequest() (request *DescribeInstanceBackupsRequest)

func (*DescribeInstanceBackupsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceBackupsRequest) ToJsonString

func (r *DescribeInstanceBackupsRequest) ToJsonString() string

type DescribeInstanceBackupsRequestParams

type DescribeInstanceBackupsRequestParams struct {
	// Number of backups returned per page. Default value: `20`. Maximum value: `100`.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Pagination offset, which is an integral multiple of `Limit`. `offset` = `limit` * (page number - 1).
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// ID of the instance to be operated on, which can be obtained through the `InstanceId` field in the return value of the `DescribeInstance` API.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Start time in the format of yyyy-MM-dd HH:mm:ss, such as 2017-02-08 16:46:34. This parameter is used to query the list of instance backups started during the [beginTime, endTime] range.
	BeginTime *string `json:"BeginTime,omitnil" name:"BeginTime"`

	// End time in the format of yyyy-MM-dd HH:mm:ss, such as 2017-02-08 19:09:26. This parameter is used to query the list of instance backups started during the [beginTime, endTime] range.
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Backup task status:
	// `1`: The backup is in the process.
	// `2`: The backup is normal.
	// `3`: The backup is being converted to an RDB file.
	// `4`: Conversion to RDB has been completed.
	// `-1`: The backup expired.
	// `-2`: The backup has been deleted.
	Status []*int64 `json:"Status,omitnil" name:"Status"`

	// Instance name, which can be fuzzily searched.
	InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"`
}

Predefined struct for user

type DescribeInstanceBackupsResponse

type DescribeInstanceBackupsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceBackupsResponseParams `json:"Response"`
}

func NewDescribeInstanceBackupsResponse

func NewDescribeInstanceBackupsResponse() (response *DescribeInstanceBackupsResponse)

func (*DescribeInstanceBackupsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceBackupsResponse) ToJsonString

func (r *DescribeInstanceBackupsResponse) ToJsonString() string

type DescribeInstanceBackupsResponseParams

type DescribeInstanceBackupsResponseParams struct {
	// Total number of backups.
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// Array of instance backups.
	BackupSet []*RedisBackupSet `json:"BackupSet,omitnil" name:"BackupSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceDTSInfoRequest

type DescribeInstanceDTSInfoRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

func NewDescribeInstanceDTSInfoRequest

func NewDescribeInstanceDTSInfoRequest() (request *DescribeInstanceDTSInfoRequest)

func (*DescribeInstanceDTSInfoRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceDTSInfoRequest) ToJsonString

func (r *DescribeInstanceDTSInfoRequest) ToJsonString() string

type DescribeInstanceDTSInfoRequestParams

type DescribeInstanceDTSInfoRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

Predefined struct for user

type DescribeInstanceDTSInfoResponse

type DescribeInstanceDTSInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceDTSInfoResponseParams `json:"Response"`
}

func NewDescribeInstanceDTSInfoResponse

func NewDescribeInstanceDTSInfoResponse() (response *DescribeInstanceDTSInfoResponse)

func (*DescribeInstanceDTSInfoResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceDTSInfoResponse) ToJsonString

func (r *DescribeInstanceDTSInfoResponse) ToJsonString() string

type DescribeInstanceDTSInfoResponseParams

type DescribeInstanceDTSInfoResponseParams struct {
	// DTS task ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	JobId *string `json:"JobId,omitnil" name:"JobId"`

	// DTS task name
	// Note: This field may return null, indicating that no valid values can be obtained.
	JobName *string `json:"JobName,omitnil" name:"JobName"`

	// Task status. Valid values: 1 (Creating), 3 (Checking), 4 (CheckPass), 5 (CheckNotPass), 7 (Running), 8 (ReadyComplete), 9 (Success), 10 (Failed), 11 (Stopping), 12 (Completing)
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Status description
	// Note: This field may return null, indicating that no valid values can be obtained.
	StatusDesc *string `json:"StatusDesc,omitnil" name:"StatusDesc"`

	// Sync latency in bytes
	// Note: This field may return null, indicating that no valid values can be obtained.
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Disconnection time
	// Note: This field may return null, indicating that no valid values can be obtained.
	CutDownTime *string `json:"CutDownTime,omitnil" name:"CutDownTime"`

	// Source instance information
	// Note: This field may return null, indicating that no valid values can be obtained.
	SrcInfo *DescribeInstanceDTSInstanceInfo `json:"SrcInfo,omitnil" name:"SrcInfo"`

	// Target instance information
	// Note: This field may return null, indicating that no valid values can be obtained.
	DstInfo *DescribeInstanceDTSInstanceInfo `json:"DstInfo,omitnil" name:"DstInfo"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceDTSInstanceInfo

type DescribeInstanceDTSInstanceInfo struct {
	// Region ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	RegionId *int64 `json:"RegionId,omitnil" name:"RegionId"`

	// Instance ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Repository ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	SetId *int64 `json:"SetId,omitnil" name:"SetId"`

	// AZ ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	ZoneId *int64 `json:"ZoneId,omitnil" name:"ZoneId"`

	// Instance type
	// Note: This field may return null, indicating that no valid values can be obtained.
	Type *int64 `json:"Type,omitnil" name:"Type"`

	// Instance name
	// Note: This field may return null, indicating that no valid values can be obtained.
	InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"`

	// Instance access address
	// Note: This field may return null, indicating that no valid values can be obtained.
	Vip *string `json:"Vip,omitnil" name:"Vip"`

	// Status
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *int64 `json:"Status,omitnil" name:"Status"`
}

type DescribeInstanceDealDetailRequest

type DescribeInstanceDealDetailRequest struct {
	*tchttp.BaseRequest

	// Array of order transaction IDs, i.e., the `DealId` output parameter of the [CreateInstances](https://intl.cloud.tencent.com/document/api/239/20026?from_cn_redirect=1) API.
	DealIds []*string `json:"DealIds,omitnil" name:"DealIds"`
}

func NewDescribeInstanceDealDetailRequest

func NewDescribeInstanceDealDetailRequest() (request *DescribeInstanceDealDetailRequest)

func (*DescribeInstanceDealDetailRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceDealDetailRequest) ToJsonString

func (r *DescribeInstanceDealDetailRequest) ToJsonString() string

type DescribeInstanceDealDetailRequestParams

type DescribeInstanceDealDetailRequestParams struct {
	// Array of order transaction IDs, i.e., the `DealId` output parameter of the [CreateInstances](https://intl.cloud.tencent.com/document/api/239/20026?from_cn_redirect=1) API.
	DealIds []*string `json:"DealIds,omitnil" name:"DealIds"`
}

Predefined struct for user

type DescribeInstanceDealDetailResponse

type DescribeInstanceDealDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceDealDetailResponseParams `json:"Response"`
}

func NewDescribeInstanceDealDetailResponse

func NewDescribeInstanceDealDetailResponse() (response *DescribeInstanceDealDetailResponse)

func (*DescribeInstanceDealDetailResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceDealDetailResponse) ToJsonString

func (r *DescribeInstanceDealDetailResponse) ToJsonString() string

type DescribeInstanceDealDetailResponseParams

type DescribeInstanceDealDetailResponseParams struct {
	// Order details
	DealDetails []*TradeDealDetail `json:"DealDetails,omitnil" name:"DealDetails"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceMonitorBigKeyRequest

type DescribeInstanceMonitorBigKeyRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Request type. 1: string type; 2: all types
	ReqType *int64 `json:"ReqType,omitnil" name:"ReqType"`

	// Time, such as "20190219"
	Date *string `json:"Date,omitnil" name:"Date"`
}

func NewDescribeInstanceMonitorBigKeyRequest

func NewDescribeInstanceMonitorBigKeyRequest() (request *DescribeInstanceMonitorBigKeyRequest)

func (*DescribeInstanceMonitorBigKeyRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceMonitorBigKeyRequest) ToJsonString

func (r *DescribeInstanceMonitorBigKeyRequest) ToJsonString() string

type DescribeInstanceMonitorBigKeyRequestParams

type DescribeInstanceMonitorBigKeyRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Request type. 1: string type; 2: all types
	ReqType *int64 `json:"ReqType,omitnil" name:"ReqType"`

	// Time, such as "20190219"
	Date *string `json:"Date,omitnil" name:"Date"`
}

Predefined struct for user

type DescribeInstanceMonitorBigKeyResponse

type DescribeInstanceMonitorBigKeyResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceMonitorBigKeyResponseParams `json:"Response"`
}

func NewDescribeInstanceMonitorBigKeyResponse

func NewDescribeInstanceMonitorBigKeyResponse() (response *DescribeInstanceMonitorBigKeyResponse)

func (*DescribeInstanceMonitorBigKeyResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceMonitorBigKeyResponse) ToJsonString

type DescribeInstanceMonitorBigKeyResponseParams

type DescribeInstanceMonitorBigKeyResponseParams struct {
	// Big key details
	Data []*BigKeyInfo `json:"Data,omitnil" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceMonitorBigKeySizeDistRequest

type DescribeInstanceMonitorBigKeySizeDistRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Time, such as "20190219"
	Date *string `json:"Date,omitnil" name:"Date"`
}

func NewDescribeInstanceMonitorBigKeySizeDistRequest

func NewDescribeInstanceMonitorBigKeySizeDistRequest() (request *DescribeInstanceMonitorBigKeySizeDistRequest)

func (*DescribeInstanceMonitorBigKeySizeDistRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceMonitorBigKeySizeDistRequest) ToJsonString

type DescribeInstanceMonitorBigKeySizeDistRequestParams

type DescribeInstanceMonitorBigKeySizeDistRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Time, such as "20190219"
	Date *string `json:"Date,omitnil" name:"Date"`
}

Predefined struct for user

type DescribeInstanceMonitorBigKeySizeDistResponse

type DescribeInstanceMonitorBigKeySizeDistResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceMonitorBigKeySizeDistResponseParams `json:"Response"`
}

func NewDescribeInstanceMonitorBigKeySizeDistResponse

func NewDescribeInstanceMonitorBigKeySizeDistResponse() (response *DescribeInstanceMonitorBigKeySizeDistResponse)

func (*DescribeInstanceMonitorBigKeySizeDistResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceMonitorBigKeySizeDistResponse) ToJsonString

type DescribeInstanceMonitorBigKeySizeDistResponseParams

type DescribeInstanceMonitorBigKeySizeDistResponseParams struct {
	// Big key size distribution details
	Data []*DelayDistribution `json:"Data,omitnil" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceMonitorBigKeyTypeDistRequest

type DescribeInstanceMonitorBigKeyTypeDistRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Time, such as "20190219"
	Date *string `json:"Date,omitnil" name:"Date"`
}

func NewDescribeInstanceMonitorBigKeyTypeDistRequest

func NewDescribeInstanceMonitorBigKeyTypeDistRequest() (request *DescribeInstanceMonitorBigKeyTypeDistRequest)

func (*DescribeInstanceMonitorBigKeyTypeDistRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceMonitorBigKeyTypeDistRequest) ToJsonString

type DescribeInstanceMonitorBigKeyTypeDistRequestParams

type DescribeInstanceMonitorBigKeyTypeDistRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Time, such as "20190219"
	Date *string `json:"Date,omitnil" name:"Date"`
}

Predefined struct for user

type DescribeInstanceMonitorBigKeyTypeDistResponse

type DescribeInstanceMonitorBigKeyTypeDistResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceMonitorBigKeyTypeDistResponseParams `json:"Response"`
}

func NewDescribeInstanceMonitorBigKeyTypeDistResponse

func NewDescribeInstanceMonitorBigKeyTypeDistResponse() (response *DescribeInstanceMonitorBigKeyTypeDistResponse)

func (*DescribeInstanceMonitorBigKeyTypeDistResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceMonitorBigKeyTypeDistResponse) ToJsonString

type DescribeInstanceMonitorBigKeyTypeDistResponseParams

type DescribeInstanceMonitorBigKeyTypeDistResponseParams struct {
	// Big key type distribution details
	Data []*BigKeyTypeInfo `json:"Data,omitnil" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceMonitorHotKeyRequest

type DescribeInstanceMonitorHotKeyRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Time span. 1: real time; 2: past 30 minutes; 3: past 6 hours; 4: past 24 hours
	SpanType *int64 `json:"SpanType,omitnil" name:"SpanType"`
}

func NewDescribeInstanceMonitorHotKeyRequest

func NewDescribeInstanceMonitorHotKeyRequest() (request *DescribeInstanceMonitorHotKeyRequest)

func (*DescribeInstanceMonitorHotKeyRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceMonitorHotKeyRequest) ToJsonString

func (r *DescribeInstanceMonitorHotKeyRequest) ToJsonString() string

type DescribeInstanceMonitorHotKeyRequestParams

type DescribeInstanceMonitorHotKeyRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Time span. 1: real time; 2: past 30 minutes; 3: past 6 hours; 4: past 24 hours
	SpanType *int64 `json:"SpanType,omitnil" name:"SpanType"`
}

Predefined struct for user

type DescribeInstanceMonitorHotKeyResponse

type DescribeInstanceMonitorHotKeyResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceMonitorHotKeyResponseParams `json:"Response"`
}

func NewDescribeInstanceMonitorHotKeyResponse

func NewDescribeInstanceMonitorHotKeyResponse() (response *DescribeInstanceMonitorHotKeyResponse)

func (*DescribeInstanceMonitorHotKeyResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceMonitorHotKeyResponse) ToJsonString

type DescribeInstanceMonitorHotKeyResponseParams

type DescribeInstanceMonitorHotKeyResponseParams struct {
	// Hot key details
	Data []*HotKeyInfo `json:"Data,omitnil" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceMonitorSIPRequest

type DescribeInstanceMonitorSIPRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

func NewDescribeInstanceMonitorSIPRequest

func NewDescribeInstanceMonitorSIPRequest() (request *DescribeInstanceMonitorSIPRequest)

func (*DescribeInstanceMonitorSIPRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceMonitorSIPRequest) ToJsonString

func (r *DescribeInstanceMonitorSIPRequest) ToJsonString() string

type DescribeInstanceMonitorSIPRequestParams

type DescribeInstanceMonitorSIPRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

Predefined struct for user

type DescribeInstanceMonitorSIPResponse

type DescribeInstanceMonitorSIPResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceMonitorSIPResponseParams `json:"Response"`
}

func NewDescribeInstanceMonitorSIPResponse

func NewDescribeInstanceMonitorSIPResponse() (response *DescribeInstanceMonitorSIPResponse)

func (*DescribeInstanceMonitorSIPResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceMonitorSIPResponse) ToJsonString

func (r *DescribeInstanceMonitorSIPResponse) ToJsonString() string

type DescribeInstanceMonitorSIPResponseParams

type DescribeInstanceMonitorSIPResponseParams struct {
	// Access source information
	Data []*SourceInfo `json:"Data,omitnil" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceMonitorTookDistRequest

type DescribeInstanceMonitorTookDistRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Time, such as "20190219"
	Date *string `json:"Date,omitnil" name:"Date"`

	// Time span. 1: real time; 2: last 30 minutes; 3: last 6 hours; 4: last 24 hours
	SpanType *int64 `json:"SpanType,omitnil" name:"SpanType"`
}

func NewDescribeInstanceMonitorTookDistRequest

func NewDescribeInstanceMonitorTookDistRequest() (request *DescribeInstanceMonitorTookDistRequest)

func (*DescribeInstanceMonitorTookDistRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceMonitorTookDistRequest) ToJsonString

type DescribeInstanceMonitorTookDistRequestParams

type DescribeInstanceMonitorTookDistRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Time, such as "20190219"
	Date *string `json:"Date,omitnil" name:"Date"`

	// Time span. 1: real time; 2: last 30 minutes; 3: last 6 hours; 4: last 24 hours
	SpanType *int64 `json:"SpanType,omitnil" name:"SpanType"`
}

Predefined struct for user

type DescribeInstanceMonitorTookDistResponse

type DescribeInstanceMonitorTookDistResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceMonitorTookDistResponseParams `json:"Response"`
}

func NewDescribeInstanceMonitorTookDistResponse

func NewDescribeInstanceMonitorTookDistResponse() (response *DescribeInstanceMonitorTookDistResponse)

func (*DescribeInstanceMonitorTookDistResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceMonitorTookDistResponse) ToJsonString

type DescribeInstanceMonitorTookDistResponseParams

type DescribeInstanceMonitorTookDistResponseParams struct {
	// Latency distribution information
	Data []*DelayDistribution `json:"Data,omitnil" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceMonitorTopNCmdRequest

type DescribeInstanceMonitorTopNCmdRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Time span. 1: real time; 2: last 30 minutes; 3: last 6 hours; 4: last 24 hours
	SpanType *int64 `json:"SpanType,omitnil" name:"SpanType"`
}

func NewDescribeInstanceMonitorTopNCmdRequest

func NewDescribeInstanceMonitorTopNCmdRequest() (request *DescribeInstanceMonitorTopNCmdRequest)

func (*DescribeInstanceMonitorTopNCmdRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceMonitorTopNCmdRequest) ToJsonString

type DescribeInstanceMonitorTopNCmdRequestParams

type DescribeInstanceMonitorTopNCmdRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Time span. 1: real time; 2: last 30 minutes; 3: last 6 hours; 4: last 24 hours
	SpanType *int64 `json:"SpanType,omitnil" name:"SpanType"`
}

Predefined struct for user

type DescribeInstanceMonitorTopNCmdResponse

type DescribeInstanceMonitorTopNCmdResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceMonitorTopNCmdResponseParams `json:"Response"`
}

func NewDescribeInstanceMonitorTopNCmdResponse

func NewDescribeInstanceMonitorTopNCmdResponse() (response *DescribeInstanceMonitorTopNCmdResponse)

func (*DescribeInstanceMonitorTopNCmdResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceMonitorTopNCmdResponse) ToJsonString

type DescribeInstanceMonitorTopNCmdResponseParams

type DescribeInstanceMonitorTopNCmdResponseParams struct {
	// Access command information
	Data []*SourceCommand `json:"Data,omitnil" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceMonitorTopNCmdTookRequest

type DescribeInstanceMonitorTopNCmdTookRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Time span. 1: real time; 2: last 30 minutes; 3: last 6 hours; 4: last 24 hours
	SpanType *int64 `json:"SpanType,omitnil" name:"SpanType"`
}

func NewDescribeInstanceMonitorTopNCmdTookRequest

func NewDescribeInstanceMonitorTopNCmdTookRequest() (request *DescribeInstanceMonitorTopNCmdTookRequest)

func (*DescribeInstanceMonitorTopNCmdTookRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceMonitorTopNCmdTookRequest) ToJsonString

type DescribeInstanceMonitorTopNCmdTookRequestParams

type DescribeInstanceMonitorTopNCmdTookRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Time span. 1: real time; 2: last 30 minutes; 3: last 6 hours; 4: last 24 hours
	SpanType *int64 `json:"SpanType,omitnil" name:"SpanType"`
}

Predefined struct for user

type DescribeInstanceMonitorTopNCmdTookResponse

type DescribeInstanceMonitorTopNCmdTookResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceMonitorTopNCmdTookResponseParams `json:"Response"`
}

func NewDescribeInstanceMonitorTopNCmdTookResponse

func NewDescribeInstanceMonitorTopNCmdTookResponse() (response *DescribeInstanceMonitorTopNCmdTookResponse)

func (*DescribeInstanceMonitorTopNCmdTookResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceMonitorTopNCmdTookResponse) ToJsonString

type DescribeInstanceMonitorTopNCmdTookResponseParams

type DescribeInstanceMonitorTopNCmdTookResponseParams struct {
	// Duration details
	Data []*CommandTake `json:"Data,omitnil" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceNodeInfoRequest

type DescribeInstanceNodeInfoRequest struct {
	*tchttp.BaseRequest

	// ID of a specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// List size Size of node information returned per page.  Default value: `20`. Maximum value: `1000`.  This field has been disused.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Pagination offset, which is an integral multiple of `Limit`. Calculation formula:  `offset` = `limit` * (page number - 1). This field has been disused.
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`
}

func NewDescribeInstanceNodeInfoRequest

func NewDescribeInstanceNodeInfoRequest() (request *DescribeInstanceNodeInfoRequest)

func (*DescribeInstanceNodeInfoRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceNodeInfoRequest) ToJsonString

func (r *DescribeInstanceNodeInfoRequest) ToJsonString() string

type DescribeInstanceNodeInfoRequestParams

type DescribeInstanceNodeInfoRequestParams struct {
	// ID of a specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// List size Size of node information returned per page.  Default value: `20`. Maximum value: `1000`.  This field has been disused.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Pagination offset, which is an integral multiple of `Limit`. Calculation formula:  `offset` = `limit` * (page number - 1). This field has been disused.
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`
}

Predefined struct for user

type DescribeInstanceNodeInfoResponse

type DescribeInstanceNodeInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceNodeInfoResponseParams `json:"Response"`
}

func NewDescribeInstanceNodeInfoResponse

func NewDescribeInstanceNodeInfoResponse() (response *DescribeInstanceNodeInfoResponse)

func (*DescribeInstanceNodeInfoResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceNodeInfoResponse) ToJsonString

func (r *DescribeInstanceNodeInfoResponse) ToJsonString() string

type DescribeInstanceNodeInfoResponseParams

type DescribeInstanceNodeInfoResponseParams struct {
	// The number of proxy nodes
	ProxyCount *int64 `json:"ProxyCount,omitnil" name:"ProxyCount"`

	// Proxy node information
	// Note:  This field may return null, indicating that no valid values can be obtained.
	Proxy []*ProxyNodes `json:"Proxy,omitnil" name:"Proxy"`

	// The number of Redis nodes
	RedisCount *int64 `json:"RedisCount,omitnil" name:"RedisCount"`

	// Redis node information
	// Note:  This field may return null, indicating that no valid values can be obtained.
	Redis []*RedisNodes `json:"Redis,omitnil" name:"Redis"`

	// This parameter has been disused.
	TendisCount *int64 `json:"TendisCount,omitnil" name:"TendisCount"`

	// This parameter has been disused.
	// Note:  This field may return null, indicating that no valid values can be obtained.
	Tendis []*TendisNodes `json:"Tendis,omitnil" name:"Tendis"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceParamRecordsRequest

type DescribeInstanceParamRecordsRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Maximum number of results returned per page
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`

	// Offset, which is an integral multiple of `Limit`.
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`
}

func NewDescribeInstanceParamRecordsRequest

func NewDescribeInstanceParamRecordsRequest() (request *DescribeInstanceParamRecordsRequest)

func (*DescribeInstanceParamRecordsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceParamRecordsRequest) ToJsonString

func (r *DescribeInstanceParamRecordsRequest) ToJsonString() string

type DescribeInstanceParamRecordsRequestParams

type DescribeInstanceParamRecordsRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Maximum number of results returned per page
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`

	// Offset, which is an integral multiple of `Limit`.
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`
}

Predefined struct for user

type DescribeInstanceParamRecordsResponse

type DescribeInstanceParamRecordsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceParamRecordsResponseParams `json:"Response"`
}

func NewDescribeInstanceParamRecordsResponse

func NewDescribeInstanceParamRecordsResponse() (response *DescribeInstanceParamRecordsResponse)

func (*DescribeInstanceParamRecordsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceParamRecordsResponse) ToJsonString

func (r *DescribeInstanceParamRecordsResponse) ToJsonString() string

type DescribeInstanceParamRecordsResponseParams

type DescribeInstanceParamRecordsResponseParams struct {
	// Total number of modifications.
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// Information of modifications.
	InstanceParamHistory []*InstanceParamHistory `json:"InstanceParamHistory,omitnil" name:"InstanceParamHistory"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceParamsRequest

type DescribeInstanceParamsRequest struct {
	*tchttp.BaseRequest

	// ID of a specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

func NewDescribeInstanceParamsRequest

func NewDescribeInstanceParamsRequest() (request *DescribeInstanceParamsRequest)

func (*DescribeInstanceParamsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceParamsRequest) ToJsonString

func (r *DescribeInstanceParamsRequest) ToJsonString() string

type DescribeInstanceParamsRequestParams

type DescribeInstanceParamsRequestParams struct {
	// ID of a specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

Predefined struct for user

type DescribeInstanceParamsResponse

type DescribeInstanceParamsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceParamsResponseParams `json:"Response"`
}

func NewDescribeInstanceParamsResponse

func NewDescribeInstanceParamsResponse() (response *DescribeInstanceParamsResponse)

func (*DescribeInstanceParamsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceParamsResponse) ToJsonString

func (r *DescribeInstanceParamsResponse) ToJsonString() string

type DescribeInstanceParamsResponseParams

type DescribeInstanceParamsResponseParams struct {
	// Total number of the parameter lists
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// Instance parameter in Enum type
	InstanceEnumParam []*InstanceEnumParam `json:"InstanceEnumParam,omitnil" name:"InstanceEnumParam"`

	// Instance parameter in Integer type
	InstanceIntegerParam []*InstanceIntegerParam `json:"InstanceIntegerParam,omitnil" name:"InstanceIntegerParam"`

	// Instance parameter in Char type
	InstanceTextParam []*InstanceTextParam `json:"InstanceTextParam,omitnil" name:"InstanceTextParam"`

	// Instance parameter in Multi type
	InstanceMultiParam []*InstanceMultiParam `json:"InstanceMultiParam,omitnil" name:"InstanceMultiParam"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceSecurityGroupRequest

type DescribeInstanceSecurityGroupRequest struct {
	*tchttp.BaseRequest

	// List of instance IDs,  such as "crs-f2ho5rsz\n".
	InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"`
}

func NewDescribeInstanceSecurityGroupRequest

func NewDescribeInstanceSecurityGroupRequest() (request *DescribeInstanceSecurityGroupRequest)

func (*DescribeInstanceSecurityGroupRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceSecurityGroupRequest) ToJsonString

func (r *DescribeInstanceSecurityGroupRequest) ToJsonString() string

type DescribeInstanceSecurityGroupRequestParams

type DescribeInstanceSecurityGroupRequestParams struct {
	// List of instance IDs,  such as "crs-f2ho5rsz\n".
	InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"`
}

Predefined struct for user

type DescribeInstanceSecurityGroupResponse

type DescribeInstanceSecurityGroupResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceSecurityGroupResponseParams `json:"Response"`
}

func NewDescribeInstanceSecurityGroupResponse

func NewDescribeInstanceSecurityGroupResponse() (response *DescribeInstanceSecurityGroupResponse)

func (*DescribeInstanceSecurityGroupResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceSecurityGroupResponse) ToJsonString

type DescribeInstanceSecurityGroupResponseParams

type DescribeInstanceSecurityGroupResponseParams struct {
	// Security group information of an instance
	InstanceSecurityGroupsDetail []*InstanceSecurityGroupDetail `json:"InstanceSecurityGroupsDetail,omitnil" name:"InstanceSecurityGroupsDetail"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceShardsRequest

type DescribeInstanceShardsRequest struct {
	*tchttp.BaseRequest

	// ID of a specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Whether to filter out the replica node information. Valid values: `true` (yes),  `false` (no).
	FilterSlave *bool `json:"FilterSlave,omitnil" name:"FilterSlave"`
}

func NewDescribeInstanceShardsRequest

func NewDescribeInstanceShardsRequest() (request *DescribeInstanceShardsRequest)

func (*DescribeInstanceShardsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceShardsRequest) ToJsonString

func (r *DescribeInstanceShardsRequest) ToJsonString() string

type DescribeInstanceShardsRequestParams

type DescribeInstanceShardsRequestParams struct {
	// ID of a specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Whether to filter out the replica node information. Valid values: `true` (yes),  `false` (no).
	FilterSlave *bool `json:"FilterSlave,omitnil" name:"FilterSlave"`
}

Predefined struct for user

type DescribeInstanceShardsResponse

type DescribeInstanceShardsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceShardsResponseParams `json:"Response"`
}

func NewDescribeInstanceShardsResponse

func NewDescribeInstanceShardsResponse() (response *DescribeInstanceShardsResponse)

func (*DescribeInstanceShardsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceShardsResponse) ToJsonString

func (r *DescribeInstanceShardsResponse) ToJsonString() string

type DescribeInstanceShardsResponseParams

type DescribeInstanceShardsResponseParams struct {
	// List information of the instance shards, which includes  node information, node ID, key count, used capacity, and capacity slope.
	InstanceShards []*InstanceClusterShard `json:"InstanceShards,omitnil" name:"InstanceShards"`

	// Number of instance shard nodes
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceZoneInfoRequest

type DescribeInstanceZoneInfoRequest struct {
	*tchttp.BaseRequest

	// ID of a specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

func NewDescribeInstanceZoneInfoRequest

func NewDescribeInstanceZoneInfoRequest() (request *DescribeInstanceZoneInfoRequest)

func (*DescribeInstanceZoneInfoRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceZoneInfoRequest) ToJsonString

func (r *DescribeInstanceZoneInfoRequest) ToJsonString() string

type DescribeInstanceZoneInfoRequestParams

type DescribeInstanceZoneInfoRequestParams struct {
	// ID of a specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

Predefined struct for user

type DescribeInstanceZoneInfoResponse

type DescribeInstanceZoneInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceZoneInfoResponseParams `json:"Response"`
}

func NewDescribeInstanceZoneInfoResponse

func NewDescribeInstanceZoneInfoResponse() (response *DescribeInstanceZoneInfoResponse)

func (*DescribeInstanceZoneInfoResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceZoneInfoResponse) ToJsonString

func (r *DescribeInstanceZoneInfoResponse) ToJsonString() string

type DescribeInstanceZoneInfoResponseParams

type DescribeInstanceZoneInfoResponseParams struct {
	// Number of instance node groups
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// List of instance node groups
	ReplicaGroups []*ReplicaGroup `json:"ReplicaGroups,omitnil" name:"ReplicaGroups"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeInstancesRequest

type DescribeInstancesRequest struct {
	*tchttp.BaseRequest

	// Number of instances returned per page. Default value: `20`. Maximum value: `1000`.
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`

	// Pagination offset, which is an integral multiple of `Limit`. Calculation formula:  `offset` = `limit` * (page number - 1).
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// ID of a specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	//
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Instance list sorting criteria. The enumerated values are as listed below:  <ul><li>`projectId`:  Project ID.  </li><li>`createtime`:  Instance creation time.  </li><li>`instancename`:  Instance name.  </li><li>`type`:  Instance type. </li><li>`curDeadline`:  Instance expiration time. </li></ul>
	OrderBy *string `json:"OrderBy,omitnil" name:"OrderBy"`

	// Instance sorting order. <ul><li>`1`: Descending. </li><li>`0`: Ascending. Default value: `1`.</li></ul>
	OrderType *int64 `json:"OrderType,omitnil" name:"OrderType"`

	// Array of VPC IDs such as 47525. If this parameter is not passed in or the array is empty, the classic network will be selected by default. This parameter is retained and can be ignored. It is set based on `UniqVpcIds` parameter format.
	VpcIds []*string `json:"VpcIds,omitnil" name:"VpcIds"`

	// Array of VPC subnet IDs such as 56854. This parameter is retained and can be ignored. It is set based on `UniqSubnetIds` parameter format.
	SubnetIds []*string `json:"SubnetIds,omitnil" name:"SubnetIds"`

	// Keywords for fuzzy query. which can be used to fuzzy query an instance by its ID or name.
	SearchKey *string `json:"SearchKey,omitnil" name:"SearchKey"`

	// Array of project IDs
	ProjectIds []*int64 `json:"ProjectIds,omitnil" name:"ProjectIds"`

	// Instance name
	InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"`

	// Array of VPC IDs such as vpc-sad23jfdfk. If this parameter is not passed in or or the array is empty, the classic network will be selected by default.
	UniqVpcIds []*string `json:"UniqVpcIds,omitnil" name:"UniqVpcIds"`

	// Array of VPC subnet IDs such as subnet-fdj24n34j2
	UniqSubnetIds []*string `json:"UniqSubnetIds,omitnil" name:"UniqSubnetIds"`

	// Array of region IDs (disused). The corresponding region can be queried through the common parameter `Region`.
	RegionIds []*int64 `json:"RegionIds,omitnil" name:"RegionIds"`

	// Instance status. <ul><li>`0`: Uninitialized. </li><li>`1`: In the process. </li><li>`2`: Running. </li><li>`-2`: Isolated. </li><li>`-3`: To be deleted. </li></ul>
	Status []*int64 `json:"Status,omitnil" name:"Status"`

	// Instance architecture. <ul><li>`1`: Standalone edition. </li><li>`2`: Master-replica edition. </li><li>`3`: Cluster edition. </li></ul>
	TypeVersion *int64 `json:"TypeVersion,omitnil" name:"TypeVersion"`

	// Storage engine information. Valid values: `Redis-2.8`, `Redis-4.0`, `Redis-5.0`, `Redis-6.0` or `CKV`.
	EngineName *string `json:"EngineName,omitnil" name:"EngineName"`

	// Renewal mode. Valid values:  <ul><li>`0`:  Manual renewal </li><li>`1`:  Auto-renewal </li><li>`2`:  No renewal upon expiration </ul>
	AutoRenew []*int64 `json:"AutoRenew,omitnil" name:"AutoRenew"`

	// Billing mode. Only pay-as-you-go billing is supported.
	BillingMode *string `json:"BillingMode,omitnil" name:"BillingMode"`

	// Instance type. Valid values:  - `2`: Redis 2.8 Memory Edition (Standard Architecture). - `3`: CKV 3.2 Memory Edition (Standard Architecture). - `4`: CKV 3.2 Memory Edition (Cluster Architecture). - `5`: Redis 2.8 Memory Edition (Standalone). - `6`: Redis 4.0 Memory Edition (Standard Architecture). - `7`: Redis 4.0 Memory Edition (Cluster Architecture). - `8`: Redis 5.0 Memory Edition (Standard Architecture). - `9`: Redis 5.0 Memory Edition (Cluster Architecture). - `15`: Redis 6.2 Memory Edition (Standard Architecture). - `16`: Redis 6.2 Memory Edition (Cluster Architecture).
	Type *int64 `json:"Type,omitnil" name:"Type"`

	// Array of the search keywords, which can query the instance by its ID, name, IP address.
	SearchKeys []*string `json:"SearchKeys,omitnil" name:"SearchKeys"`

	// Internal parameter, which can be ignored.
	TypeList []*int64 `json:"TypeList,omitnil" name:"TypeList"`

	// Internal parameter, which can be ignored.
	MonitorVersion *string `json:"MonitorVersion,omitnil" name:"MonitorVersion"`

	// Resources filter by tag key and value. If this parameter is not specified or is an empty array, resources will not be filtered.
	InstanceTags []*InstanceTagInfo `json:"InstanceTags,omitnil" name:"InstanceTags"`

	// Resources filter by tag key. If this parameter is not specified or is an empty array, resources will not be filtered.
	TagKeys []*string `json:"TagKeys,omitnil" name:"TagKeys"`

	// Instance product version.  If this parameter is not passed in or the array is empty, the instances will not be filtered based this parameter by default.  <ul><li>`local`:  Local disk edition.  </li><li>`cdc`:  Dedicated cluster edition.  </li></ul>
	ProductVersions []*string `json:"ProductVersions,omitnil" name:"ProductVersions"`

	// Batch query of the specified instances ID. The number of results returned is based on `Limit`.
	InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"`

	// AZ deployment mode. <ul><li>`singleaz`: Single-AZ. </li><li>`1`: Multi-AZ. </li></ul>
	AzMode *string `json:"AzMode,omitnil" name:"AzMode"`
}

func NewDescribeInstancesRequest

func NewDescribeInstancesRequest() (request *DescribeInstancesRequest)

func (*DescribeInstancesRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstancesRequest) ToJsonString

func (r *DescribeInstancesRequest) ToJsonString() string

type DescribeInstancesRequestParams

type DescribeInstancesRequestParams struct {
	// Number of instances returned per page. Default value: `20`. Maximum value: `1000`.
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`

	// Pagination offset, which is an integral multiple of `Limit`. Calculation formula:  `offset` = `limit` * (page number - 1).
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// ID of a specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	//
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Instance list sorting criteria. The enumerated values are as listed below:  <ul><li>`projectId`:  Project ID.  </li><li>`createtime`:  Instance creation time.  </li><li>`instancename`:  Instance name.  </li><li>`type`:  Instance type. </li><li>`curDeadline`:  Instance expiration time. </li></ul>
	OrderBy *string `json:"OrderBy,omitnil" name:"OrderBy"`

	// Instance sorting order. <ul><li>`1`: Descending. </li><li>`0`: Ascending. Default value: `1`.</li></ul>
	OrderType *int64 `json:"OrderType,omitnil" name:"OrderType"`

	// Array of VPC IDs such as 47525. If this parameter is not passed in or the array is empty, the classic network will be selected by default. This parameter is retained and can be ignored. It is set based on `UniqVpcIds` parameter format.
	VpcIds []*string `json:"VpcIds,omitnil" name:"VpcIds"`

	// Array of VPC subnet IDs such as 56854. This parameter is retained and can be ignored. It is set based on `UniqSubnetIds` parameter format.
	SubnetIds []*string `json:"SubnetIds,omitnil" name:"SubnetIds"`

	// Keywords for fuzzy query. which can be used to fuzzy query an instance by its ID or name.
	SearchKey *string `json:"SearchKey,omitnil" name:"SearchKey"`

	// Array of project IDs
	ProjectIds []*int64 `json:"ProjectIds,omitnil" name:"ProjectIds"`

	// Instance name
	InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"`

	// Array of VPC IDs such as vpc-sad23jfdfk. If this parameter is not passed in or or the array is empty, the classic network will be selected by default.
	UniqVpcIds []*string `json:"UniqVpcIds,omitnil" name:"UniqVpcIds"`

	// Array of VPC subnet IDs such as subnet-fdj24n34j2
	UniqSubnetIds []*string `json:"UniqSubnetIds,omitnil" name:"UniqSubnetIds"`

	// Array of region IDs (disused). The corresponding region can be queried through the common parameter `Region`.
	RegionIds []*int64 `json:"RegionIds,omitnil" name:"RegionIds"`

	// Instance status. <ul><li>`0`: Uninitialized. </li><li>`1`: In the process. </li><li>`2`: Running. </li><li>`-2`: Isolated. </li><li>`-3`: To be deleted. </li></ul>
	Status []*int64 `json:"Status,omitnil" name:"Status"`

	// Instance architecture. <ul><li>`1`: Standalone edition. </li><li>`2`: Master-replica edition. </li><li>`3`: Cluster edition. </li></ul>
	TypeVersion *int64 `json:"TypeVersion,omitnil" name:"TypeVersion"`

	// Storage engine information. Valid values: `Redis-2.8`, `Redis-4.0`, `Redis-5.0`, `Redis-6.0` or `CKV`.
	EngineName *string `json:"EngineName,omitnil" name:"EngineName"`

	// Renewal mode. Valid values:  <ul><li>`0`:  Manual renewal </li><li>`1`:  Auto-renewal </li><li>`2`:  No renewal upon expiration </ul>
	AutoRenew []*int64 `json:"AutoRenew,omitnil" name:"AutoRenew"`

	// Billing mode. Only pay-as-you-go billing is supported.
	BillingMode *string `json:"BillingMode,omitnil" name:"BillingMode"`

	// Instance type. Valid values:  - `2`: Redis 2.8 Memory Edition (Standard Architecture). - `3`: CKV 3.2 Memory Edition (Standard Architecture). - `4`: CKV 3.2 Memory Edition (Cluster Architecture). - `5`: Redis 2.8 Memory Edition (Standalone). - `6`: Redis 4.0 Memory Edition (Standard Architecture). - `7`: Redis 4.0 Memory Edition (Cluster Architecture). - `8`: Redis 5.0 Memory Edition (Standard Architecture). - `9`: Redis 5.0 Memory Edition (Cluster Architecture). - `15`: Redis 6.2 Memory Edition (Standard Architecture). - `16`: Redis 6.2 Memory Edition (Cluster Architecture).
	Type *int64 `json:"Type,omitnil" name:"Type"`

	// Array of the search keywords, which can query the instance by its ID, name, IP address.
	SearchKeys []*string `json:"SearchKeys,omitnil" name:"SearchKeys"`

	// Internal parameter, which can be ignored.
	TypeList []*int64 `json:"TypeList,omitnil" name:"TypeList"`

	// Internal parameter, which can be ignored.
	MonitorVersion *string `json:"MonitorVersion,omitnil" name:"MonitorVersion"`

	// Resources filter by tag key and value. If this parameter is not specified or is an empty array, resources will not be filtered.
	InstanceTags []*InstanceTagInfo `json:"InstanceTags,omitnil" name:"InstanceTags"`

	// Resources filter by tag key. If this parameter is not specified or is an empty array, resources will not be filtered.
	TagKeys []*string `json:"TagKeys,omitnil" name:"TagKeys"`

	// Instance product version.  If this parameter is not passed in or the array is empty, the instances will not be filtered based this parameter by default.  <ul><li>`local`:  Local disk edition.  </li><li>`cdc`:  Dedicated cluster edition.  </li></ul>
	ProductVersions []*string `json:"ProductVersions,omitnil" name:"ProductVersions"`

	// Batch query of the specified instances ID. The number of results returned is based on `Limit`.
	InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"`

	// AZ deployment mode. <ul><li>`singleaz`: Single-AZ. </li><li>`1`: Multi-AZ. </li></ul>
	AzMode *string `json:"AzMode,omitnil" name:"AzMode"`
}

Predefined struct for user

type DescribeInstancesResponse

type DescribeInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstancesResponseParams `json:"Response"`
}

func NewDescribeInstancesResponse

func NewDescribeInstancesResponse() (response *DescribeInstancesResponse)

func (*DescribeInstancesResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstancesResponse) ToJsonString

func (r *DescribeInstancesResponse) ToJsonString() string

type DescribeInstancesResponseParams

type DescribeInstancesResponseParams struct {
	// Total number of instances
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// List of instance details
	InstanceSet []*InstanceSet `json:"InstanceSet,omitnil" name:"InstanceSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeMaintenanceWindowRequest

type DescribeMaintenanceWindowRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

func NewDescribeMaintenanceWindowRequest

func NewDescribeMaintenanceWindowRequest() (request *DescribeMaintenanceWindowRequest)

func (*DescribeMaintenanceWindowRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMaintenanceWindowRequest) ToJsonString

func (r *DescribeMaintenanceWindowRequest) ToJsonString() string

type DescribeMaintenanceWindowRequestParams

type DescribeMaintenanceWindowRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

Predefined struct for user

type DescribeMaintenanceWindowResponse

type DescribeMaintenanceWindowResponse struct {
	*tchttp.BaseResponse
	Response *DescribeMaintenanceWindowResponseParams `json:"Response"`
}

func NewDescribeMaintenanceWindowResponse

func NewDescribeMaintenanceWindowResponse() (response *DescribeMaintenanceWindowResponse)

func (*DescribeMaintenanceWindowResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMaintenanceWindowResponse) ToJsonString

func (r *DescribeMaintenanceWindowResponse) ToJsonString() string

type DescribeMaintenanceWindowResponseParams

type DescribeMaintenanceWindowResponseParams struct {
	// Start time of the maintenance window, such as 17:00.
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

	// End time of the maintenance window, such as 19:00.
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeParamTemplateInfoRequest

type DescribeParamTemplateInfoRequest struct {
	*tchttp.BaseRequest

	// The parameter template ID for query. Get parameter template list information through the [DescribeParamTemplates](https://intl.cloud.tencent.com/document/product/239/58750?from_cn_redirect=1) API.
	TemplateId *string `json:"TemplateId,omitnil" name:"TemplateId"`
}

func NewDescribeParamTemplateInfoRequest

func NewDescribeParamTemplateInfoRequest() (request *DescribeParamTemplateInfoRequest)

func (*DescribeParamTemplateInfoRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeParamTemplateInfoRequest) ToJsonString

func (r *DescribeParamTemplateInfoRequest) ToJsonString() string

type DescribeParamTemplateInfoRequestParams

type DescribeParamTemplateInfoRequestParams struct {
	// The parameter template ID for query. Get parameter template list information through the [DescribeParamTemplates](https://intl.cloud.tencent.com/document/product/239/58750?from_cn_redirect=1) API.
	TemplateId *string `json:"TemplateId,omitnil" name:"TemplateId"`
}

Predefined struct for user

type DescribeParamTemplateInfoResponse

type DescribeParamTemplateInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribeParamTemplateInfoResponseParams `json:"Response"`
}

func NewDescribeParamTemplateInfoResponse

func NewDescribeParamTemplateInfoResponse() (response *DescribeParamTemplateInfoResponse)

func (*DescribeParamTemplateInfoResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeParamTemplateInfoResponse) ToJsonString

func (r *DescribeParamTemplateInfoResponse) ToJsonString() string

type DescribeParamTemplateInfoResponseParams

type DescribeParamTemplateInfoResponseParams struct {
	// Quantity of parameters in the parameter template
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// Parameter template ID.
	TemplateId *string `json:"TemplateId,omitnil" name:"TemplateId"`

	// Parameter template name.
	Name *string `json:"Name,omitnil" name:"Name"`

	// Product type
	// - `2`: Redis 2.8 Memory Edition (Standard Architecture).
	// - `3`: CKV 3.2 Memory Edition (Standard Architecture).
	// - `4`: CKV 3.2 Memory Edition (Cluster Architecture).
	// - `5`: Redis 2.8 Memory Edition (Standalone).
	// - `6`: Redis 4.0 Memory Edition (Standard Architecture).
	// - `7`: Redis 4.0 Memory Edition (Cluster Architecture).
	// - `8`: Redis 5.0 Memory Edition (Standard Architecture).
	// - `9`: Redis 5.0 Memory Edition (Cluster Architecture).
	// - `15`: Redis 6.2 Memory Edition (Standard Architecture).
	// - `16`: Redis 6.2 Memory Edition (Cluster Architecture).
	ProductType *uint64 `json:"ProductType,omitnil" name:"ProductType"`

	// Parameter template description
	Description *string `json:"Description,omitnil" name:"Description"`

	// Parameter details, including parameter name, current value, default value, maximum value, minimum value, enumeration value and other information.
	Items []*ParameterDetail `json:"Items,omitnil" name:"Items"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeParamTemplatesRequest

type DescribeParamTemplatesRequest struct {
	*tchttp.BaseRequest

	// Array of instance types. Valid values: `1` (Redis 2.8 Memory Edition in cluster architecture), `2` (Redis 2.8 Memory Edition in standard architecture), `3` (CKV 3.2 Memory Edition in standard architecture), `4` (CKV 3.2 Memory Edition in cluster architecture), `5` (Redis 2.8 Memory Edition in standalone architecture), `6` (Redis 4.0 Memory Edition in standard architecture), `7` (Redis 4.0 Memory Edition in cluster architecture), `8` (Redis 5.0 Memory Edition in standard architecture), `9` (Redis 5.0 Memory Edition in cluster architecture).
	ProductTypes []*int64 `json:"ProductTypes,omitnil" name:"ProductTypes"`

	// Array of template names.
	TemplateNames []*string `json:"TemplateNames,omitnil" name:"TemplateNames"`

	// Array of template IDs.
	TemplateIds []*string `json:"TemplateIds,omitnil" name:"TemplateIds"`
}

func NewDescribeParamTemplatesRequest

func NewDescribeParamTemplatesRequest() (request *DescribeParamTemplatesRequest)

func (*DescribeParamTemplatesRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeParamTemplatesRequest) ToJsonString

func (r *DescribeParamTemplatesRequest) ToJsonString() string

type DescribeParamTemplatesRequestParams

type DescribeParamTemplatesRequestParams struct {
	// Array of instance types. Valid values: `1` (Redis 2.8 Memory Edition in cluster architecture), `2` (Redis 2.8 Memory Edition in standard architecture), `3` (CKV 3.2 Memory Edition in standard architecture), `4` (CKV 3.2 Memory Edition in cluster architecture), `5` (Redis 2.8 Memory Edition in standalone architecture), `6` (Redis 4.0 Memory Edition in standard architecture), `7` (Redis 4.0 Memory Edition in cluster architecture), `8` (Redis 5.0 Memory Edition in standard architecture), `9` (Redis 5.0 Memory Edition in cluster architecture).
	ProductTypes []*int64 `json:"ProductTypes,omitnil" name:"ProductTypes"`

	// Array of template names.
	TemplateNames []*string `json:"TemplateNames,omitnil" name:"TemplateNames"`

	// Array of template IDs.
	TemplateIds []*string `json:"TemplateIds,omitnil" name:"TemplateIds"`
}

Predefined struct for user

type DescribeParamTemplatesResponse

type DescribeParamTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeParamTemplatesResponseParams `json:"Response"`
}

func NewDescribeParamTemplatesResponse

func NewDescribeParamTemplatesResponse() (response *DescribeParamTemplatesResponse)

func (*DescribeParamTemplatesResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeParamTemplatesResponse) ToJsonString

func (r *DescribeParamTemplatesResponse) ToJsonString() string

type DescribeParamTemplatesResponseParams

type DescribeParamTemplatesResponseParams struct {
	// Number of parameter templates of the user.
	TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// Parameter template details.
	Items []*ParamTemplateInfo `json:"Items,omitnil" name:"Items"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeProductInfoRequest

type DescribeProductInfoRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeProductInfoRequest

func NewDescribeProductInfoRequest() (request *DescribeProductInfoRequest)

func (*DescribeProductInfoRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProductInfoRequest) ToJsonString

func (r *DescribeProductInfoRequest) ToJsonString() string

type DescribeProductInfoRequestParams

type DescribeProductInfoRequestParams struct {
}

Predefined struct for user

type DescribeProductInfoResponse

type DescribeProductInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProductInfoResponseParams `json:"Response"`
}

func NewDescribeProductInfoResponse

func NewDescribeProductInfoResponse() (response *DescribeProductInfoResponse)

func (*DescribeProductInfoResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProductInfoResponse) ToJsonString

func (r *DescribeProductInfoResponse) ToJsonString() string

type DescribeProductInfoResponseParams

type DescribeProductInfoResponseParams struct {
	// Sale information of a region.
	RegionSet []*RegionConf `json:"RegionSet,omitnil" name:"RegionSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeProjectSecurityGroupRequest

type DescribeProjectSecurityGroupRequest struct {
	*tchttp.BaseRequest

	// 0: default project; -1: all projects; >0: specified project
	ProjectId *int64 `json:"ProjectId,omitnil" name:"ProjectId"`

	// Security group ID
	SecurityGroupId *string `json:"SecurityGroupId,omitnil" name:"SecurityGroupId"`
}

func NewDescribeProjectSecurityGroupRequest

func NewDescribeProjectSecurityGroupRequest() (request *DescribeProjectSecurityGroupRequest)

func (*DescribeProjectSecurityGroupRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProjectSecurityGroupRequest) ToJsonString

func (r *DescribeProjectSecurityGroupRequest) ToJsonString() string

type DescribeProjectSecurityGroupRequestParams

type DescribeProjectSecurityGroupRequestParams struct {
	// 0: default project; -1: all projects; >0: specified project
	ProjectId *int64 `json:"ProjectId,omitnil" name:"ProjectId"`

	// Security group ID
	SecurityGroupId *string `json:"SecurityGroupId,omitnil" name:"SecurityGroupId"`
}

Predefined struct for user

type DescribeProjectSecurityGroupResponse

type DescribeProjectSecurityGroupResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProjectSecurityGroupResponseParams `json:"Response"`
}

func NewDescribeProjectSecurityGroupResponse

func NewDescribeProjectSecurityGroupResponse() (response *DescribeProjectSecurityGroupResponse)

func (*DescribeProjectSecurityGroupResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProjectSecurityGroupResponse) ToJsonString

func (r *DescribeProjectSecurityGroupResponse) ToJsonString() string

type DescribeProjectSecurityGroupResponseParams

type DescribeProjectSecurityGroupResponseParams struct {
	// Security group of the project
	SecurityGroupDetails []*SecurityGroupDetail `json:"SecurityGroupDetails,omitnil" name:"SecurityGroupDetails"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeProjectSecurityGroupsRequest

type DescribeProjectSecurityGroupsRequest struct {
	*tchttp.BaseRequest

	// Database engine name, which is `redis` for this API.
	Product *string `json:"Product,omitnil" name:"Product"`

	// Project ID
	ProjectId *uint64 `json:"ProjectId,omitnil" name:"ProjectId"`

	// Offset, which is an integral multiple of `Limit`.
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// The number of security groups to be pulled. Default value: `20`.
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`

	// Search criteria. You can enter a security group ID or name.
	SearchKey *string `json:"SearchKey,omitnil" name:"SearchKey"`
}

func NewDescribeProjectSecurityGroupsRequest

func NewDescribeProjectSecurityGroupsRequest() (request *DescribeProjectSecurityGroupsRequest)

func (*DescribeProjectSecurityGroupsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProjectSecurityGroupsRequest) ToJsonString

func (r *DescribeProjectSecurityGroupsRequest) ToJsonString() string

type DescribeProjectSecurityGroupsRequestParams

type DescribeProjectSecurityGroupsRequestParams struct {
	// Database engine name, which is `redis` for this API.
	Product *string `json:"Product,omitnil" name:"Product"`

	// Project ID
	ProjectId *uint64 `json:"ProjectId,omitnil" name:"ProjectId"`

	// Offset, which is an integral multiple of `Limit`.
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// The number of security groups to be pulled. Default value: `20`.
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`

	// Search criteria. You can enter a security group ID or name.
	SearchKey *string `json:"SearchKey,omitnil" name:"SearchKey"`
}

Predefined struct for user

type DescribeProjectSecurityGroupsResponse

type DescribeProjectSecurityGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProjectSecurityGroupsResponseParams `json:"Response"`
}

func NewDescribeProjectSecurityGroupsResponse

func NewDescribeProjectSecurityGroupsResponse() (response *DescribeProjectSecurityGroupsResponse)

func (*DescribeProjectSecurityGroupsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProjectSecurityGroupsResponse) ToJsonString

type DescribeProjectSecurityGroupsResponseParams

type DescribeProjectSecurityGroupsResponseParams struct {
	// Security group rules.
	Groups []*SecurityGroup `json:"Groups,omitnil" name:"Groups"`

	// Total number of eligible security groups.
	Total *uint64 `json:"Total,omitnil" name:"Total"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeProxySlowLogRequest

type DescribeProxySlowLogRequest struct {
	*tchttp.BaseRequest

	// ID of a specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Start time of slow query
	BeginTime *string `json:"BeginTime,omitnil" name:"BeginTime"`

	// End time of slow query
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Slow query threshold  in milliseconds
	MinQueryTime *int64 `json:"MinQueryTime,omitnil" name:"MinQueryTime"`

	// Number of results per page.  Default value: `20`. Value range: [20,1000].
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Offset, which is an integral multiple of `Limit`.
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`
}

func NewDescribeProxySlowLogRequest

func NewDescribeProxySlowLogRequest() (request *DescribeProxySlowLogRequest)

func (*DescribeProxySlowLogRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProxySlowLogRequest) ToJsonString

func (r *DescribeProxySlowLogRequest) ToJsonString() string

type DescribeProxySlowLogRequestParams

type DescribeProxySlowLogRequestParams struct {
	// ID of a specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Start time of slow query
	BeginTime *string `json:"BeginTime,omitnil" name:"BeginTime"`

	// End time of slow query
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Slow query threshold  in milliseconds
	MinQueryTime *int64 `json:"MinQueryTime,omitnil" name:"MinQueryTime"`

	// Number of results per page.  Default value: `20`. Value range: [20,1000].
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Offset, which is an integral multiple of `Limit`.
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`
}

Predefined struct for user

type DescribeProxySlowLogResponse

type DescribeProxySlowLogResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProxySlowLogResponseParams `json:"Response"`
}

func NewDescribeProxySlowLogResponse

func NewDescribeProxySlowLogResponse() (response *DescribeProxySlowLogResponse)

func (*DescribeProxySlowLogResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProxySlowLogResponse) ToJsonString

func (r *DescribeProxySlowLogResponse) ToJsonString() string

type DescribeProxySlowLogResponseParams

type DescribeProxySlowLogResponseParams struct {
	// Total number of slow queries
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// Slow query details
	InstanceProxySlowLogDetail []*InstanceProxySlowlogDetail `json:"InstanceProxySlowLogDetail,omitnil" name:"InstanceProxySlowLogDetail"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeReplicationGroupRequest

type DescribeReplicationGroupRequest struct {
	*tchttp.BaseRequest

	// Number of instances returned per page. Default value: `20`.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Pagination offset, which is an integral multiple of `Limit`. `offset` = `limit` * (page number - 1).
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// ID of the specified replication group, such as `crs-rpl-m3zt****`. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis/replication), and get it in the global replication group list.
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`

	// Keyword for fuzzy query, which can be a replication group ID or name. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis/replication), and get them in the global replication group list.
	SearchKey *string `json:"SearchKey,omitnil" name:"SearchKey"`
}

func NewDescribeReplicationGroupRequest

func NewDescribeReplicationGroupRequest() (request *DescribeReplicationGroupRequest)

func (*DescribeReplicationGroupRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeReplicationGroupRequest) ToJsonString

func (r *DescribeReplicationGroupRequest) ToJsonString() string

type DescribeReplicationGroupRequestParams

type DescribeReplicationGroupRequestParams struct {
	// Number of instances returned per page. Default value: `20`.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Pagination offset, which is an integral multiple of `Limit`. `offset` = `limit` * (page number - 1).
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// ID of the specified replication group, such as `crs-rpl-m3zt****`. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis/replication), and get it in the global replication group list.
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`

	// Keyword for fuzzy query, which can be a replication group ID or name. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis/replication), and get them in the global replication group list.
	SearchKey *string `json:"SearchKey,omitnil" name:"SearchKey"`
}

Predefined struct for user

type DescribeReplicationGroupResponse

type DescribeReplicationGroupResponse struct {
	*tchttp.BaseResponse
	Response *DescribeReplicationGroupResponseParams `json:"Response"`
}

func NewDescribeReplicationGroupResponse

func NewDescribeReplicationGroupResponse() (response *DescribeReplicationGroupResponse)

func (*DescribeReplicationGroupResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeReplicationGroupResponse) ToJsonString

func (r *DescribeReplicationGroupResponse) ToJsonString() string

type DescribeReplicationGroupResponseParams

type DescribeReplicationGroupResponseParams struct {
	// Number of replication groups
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// Replication group information
	Groups []*Groups `json:"Groups,omitnil" name:"Groups"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeSSLStatusRequest

type DescribeSSLStatusRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

func NewDescribeSSLStatusRequest

func NewDescribeSSLStatusRequest() (request *DescribeSSLStatusRequest)

func (*DescribeSSLStatusRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSSLStatusRequest) ToJsonString

func (r *DescribeSSLStatusRequest) ToJsonString() string

type DescribeSSLStatusRequestParams

type DescribeSSLStatusRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

Predefined struct for user

type DescribeSSLStatusResponse

type DescribeSSLStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSSLStatusResponseParams `json:"Response"`
}

func NewDescribeSSLStatusResponse

func NewDescribeSSLStatusResponse() (response *DescribeSSLStatusResponse)

func (*DescribeSSLStatusResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSSLStatusResponse) ToJsonString

func (r *DescribeSSLStatusResponse) ToJsonString() string

type DescribeSSLStatusResponseParams

type DescribeSSLStatusResponseParams struct {
	// Download address for SSL certificate
	CertDownloadUrl *string `json:"CertDownloadUrl,omitnil" name:"CertDownloadUrl"`

	// Expiration time of the certificate download address
	UrlExpiredTime *string `json:"UrlExpiredTime,omitnil" name:"UrlExpiredTime"`

	// Whether the SSL is enabled for the identified instance.
	// - `true`: Enabled
	// - `false`: Disabled
	SSLConfig *bool `json:"SSLConfig,omitnil" name:"SSLConfig"`

	// Whether SSL is supported for the identified instance.
	// -`true`: Supported
	// -`false`: Not supported
	FeatureSupport *bool `json:"FeatureSupport,omitnil" name:"FeatureSupport"`

	// Status of SSL configuration
	// - `1`: Configuring
	// - `2`: Configured successfully
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeSlowLogRequest

type DescribeSlowLogRequest struct {
	*tchttp.BaseRequest

	// ID of a specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Start time for prequerying a slow log
	BeginTime *string `json:"BeginTime,omitnil" name:"BeginTime"`

	// End time for prequerying a slow log
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// The average execution time threshold of slow query  in microseconds
	MinQueryTime *int64 `json:"MinQueryTime,omitnil" name:"MinQueryTime"`

	// Number of slow queries displayed per page. Default value: `20`. Value range:  [20,1000].
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Slow query offset, which is an integral multiple of `Limit`. Calculation formula:  `offset` = `limit` * (page number - 1).
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Node role. <ul><li>`Master`: Master node</li><li>`Slave`: Replica node</li></ul>
	Role *string `json:"Role,omitnil" name:"Role"`
}

func NewDescribeSlowLogRequest

func NewDescribeSlowLogRequest() (request *DescribeSlowLogRequest)

func (*DescribeSlowLogRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSlowLogRequest) ToJsonString

func (r *DescribeSlowLogRequest) ToJsonString() string

type DescribeSlowLogRequestParams

type DescribeSlowLogRequestParams struct {
	// ID of a specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Start time for prequerying a slow log
	BeginTime *string `json:"BeginTime,omitnil" name:"BeginTime"`

	// End time for prequerying a slow log
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// The average execution time threshold of slow query  in microseconds
	MinQueryTime *int64 `json:"MinQueryTime,omitnil" name:"MinQueryTime"`

	// Number of slow queries displayed per page. Default value: `20`. Value range:  [20,1000].
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Slow query offset, which is an integral multiple of `Limit`. Calculation formula:  `offset` = `limit` * (page number - 1).
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Node role. <ul><li>`Master`: Master node</li><li>`Slave`: Replica node</li></ul>
	Role *string `json:"Role,omitnil" name:"Role"`
}

Predefined struct for user

type DescribeSlowLogResponse

type DescribeSlowLogResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSlowLogResponseParams `json:"Response"`
}

func NewDescribeSlowLogResponse

func NewDescribeSlowLogResponse() (response *DescribeSlowLogResponse)

func (*DescribeSlowLogResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSlowLogResponse) ToJsonString

func (r *DescribeSlowLogResponse) ToJsonString() string

type DescribeSlowLogResponseParams

type DescribeSlowLogResponseParams struct {
	// Total number of slow queries
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// Slow query details
	InstanceSlowlogDetail []*InstanceSlowlogDetail `json:"InstanceSlowlogDetail,omitnil" name:"InstanceSlowlogDetail"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeTaskInfoRequest

type DescribeTaskInfoRequest struct {
	*tchttp.BaseRequest

	// Task ID
	TaskId *uint64 `json:"TaskId,omitnil" name:"TaskId"`
}

func NewDescribeTaskInfoRequest

func NewDescribeTaskInfoRequest() (request *DescribeTaskInfoRequest)

func (*DescribeTaskInfoRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTaskInfoRequest) ToJsonString

func (r *DescribeTaskInfoRequest) ToJsonString() string

type DescribeTaskInfoRequestParams

type DescribeTaskInfoRequestParams struct {
	// Task ID
	TaskId *uint64 `json:"TaskId,omitnil" name:"TaskId"`
}

Predefined struct for user

type DescribeTaskInfoResponse

type DescribeTaskInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTaskInfoResponseParams `json:"Response"`
}

func NewDescribeTaskInfoResponse

func NewDescribeTaskInfoResponse() (response *DescribeTaskInfoResponse)

func (*DescribeTaskInfoResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTaskInfoResponse) ToJsonString

func (r *DescribeTaskInfoResponse) ToJsonString() string

type DescribeTaskInfoResponseParams

type DescribeTaskInfoResponseParams struct {
	// Task status. Valid values:
	// - `preparing`: To be run
	// - `running`: Running
	// - `succeed`: Succeeded
	// - `failed`: Failed
	// - `Error`: Error occurred while running
	Status *string `json:"Status,omitnil" name:"Status"`

	// Task start time
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

	// Task type, including `Create`, `Configure`, `Disable Instance`, `Clear Instance`, `Reset Password`, `Upgrade Version`, `Back up Instance`, `Modify Network`, `Migrate to New AZ` and `Promote to Master`.
	TaskType *string `json:"TaskType,omitnil" name:"TaskType"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Message returned by task execution, which will be an error message when execution fails or be empty when the status is `running `or `succeed-`.
	TaskMessage *string `json:"TaskMessage,omitnil" name:"TaskMessage"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeTaskListRequest

type DescribeTaskListRequest struct {
	*tchttp.BaseRequest

	// ID of a specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Instance name
	InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"`

	// Number of taskss returned per page.  Default value: `20`. Maximum value: `100`.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Pagination offset, which is an integral multiple of `Limit`. Calculation formula:  `offset` = `limit` * (page number - 1).
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Project ID Log in to the [Redis console](https://console.cloud.tencent.com/redis#/), go to the account information menu in the top-right corner, and select **Project Management** to query the project ID.
	ProjectIds []*int64 `json:"ProjectIds,omitnil" name:"ProjectIds"`

	// Task type. Valid values:  - `FLOW_CREATE`: Create an instance. - `FLOW_MODIFYCONNECTIONCONFIG`: Adjust the number of bandwidth connections. - `FLOW_MODIFYINSTANCEPASSWORDFREE`: Modify the process of password-free access. - `FLOW_CLEARNETWORK`: Returning VPC - `FLOW_SETPWD`: Set the access password. - `FLOW_EXPORSHR`: Expand or reduce the capacity. - `FLOW_UpgradeArch`: Upgrade the instance architecture. - `FLOW_MODIFYINSTANCEPARAMS`: Modify the instance parameters. - `FLOW_MODIFYINSTACEREADONLY`: Modify read-only process. - `FLOW_CLOSE`: Disable the instance. - `FLOW_DELETE`: Delete the instance. - `FLOW_OPEN_WAN`: Enable the public network. - `FLOW_FLOW_CLEAN`: Clear the instance. - `FLOW_MODIFYINSTANCEACCOUNT`: Modify the instance account. - `FLOW_ENABLEINSTANCE_REPLICATE`: Enable the replica read-only feature. - `FLOW_DISABLEINSTANCE_REPLICATE`: Disable the replica read-only feature. - `FLOW_SWITCHINSTANCEVIP`: Swap the VIPs of instances. - FLOW_CHANGE_REPLICA_TO_MSTER: Promote the replica node to the mater node. - `FLOW_BACKUPINSTANCE`: Back up an instance.
	TaskTypes []*string `json:"TaskTypes,omitnil" name:"TaskTypes"`

	// Start time for executing a task,  in the format of  “2020-10-12 00:00:00”.
	BeginTime *string `json:"BeginTime,omitnil" name:"BeginTime"`

	// End time for executing a task,  in the format of  “2021-12-30 20:59:35”.
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// This parameter is only for internal use and can be ignored.
	TaskStatus []*int64 `json:"TaskStatus,omitnil" name:"TaskStatus"`

	// Task execution status. Valid values: - `0` (initilized) - `1` (executing) - `2` (completed) - `4` (failed)
	Result []*int64 `json:"Result,omitnil" name:"Result"`

	// The field `OperatorUin` has been disused and replaced by `OperateUin`.
	OperatorUin []*int64 `json:"OperatorUin,omitnil" name:"OperatorUin"`

	// Operator account ID or UIN
	OperateUin []*string `json:"OperateUin,omitnil" name:"OperateUin"`
}

func NewDescribeTaskListRequest

func NewDescribeTaskListRequest() (request *DescribeTaskListRequest)

func (*DescribeTaskListRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTaskListRequest) ToJsonString

func (r *DescribeTaskListRequest) ToJsonString() string

type DescribeTaskListRequestParams

type DescribeTaskListRequestParams struct {
	// ID of a specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Instance name
	InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"`

	// Number of taskss returned per page.  Default value: `20`. Maximum value: `100`.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Pagination offset, which is an integral multiple of `Limit`. Calculation formula:  `offset` = `limit` * (page number - 1).
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Project ID Log in to the [Redis console](https://console.cloud.tencent.com/redis#/), go to the account information menu in the top-right corner, and select **Project Management** to query the project ID.
	ProjectIds []*int64 `json:"ProjectIds,omitnil" name:"ProjectIds"`

	// Task type. Valid values:  - `FLOW_CREATE`: Create an instance. - `FLOW_MODIFYCONNECTIONCONFIG`: Adjust the number of bandwidth connections. - `FLOW_MODIFYINSTANCEPASSWORDFREE`: Modify the process of password-free access. - `FLOW_CLEARNETWORK`: Returning VPC - `FLOW_SETPWD`: Set the access password. - `FLOW_EXPORSHR`: Expand or reduce the capacity. - `FLOW_UpgradeArch`: Upgrade the instance architecture. - `FLOW_MODIFYINSTANCEPARAMS`: Modify the instance parameters. - `FLOW_MODIFYINSTACEREADONLY`: Modify read-only process. - `FLOW_CLOSE`: Disable the instance. - `FLOW_DELETE`: Delete the instance. - `FLOW_OPEN_WAN`: Enable the public network. - `FLOW_FLOW_CLEAN`: Clear the instance. - `FLOW_MODIFYINSTANCEACCOUNT`: Modify the instance account. - `FLOW_ENABLEINSTANCE_REPLICATE`: Enable the replica read-only feature. - `FLOW_DISABLEINSTANCE_REPLICATE`: Disable the replica read-only feature. - `FLOW_SWITCHINSTANCEVIP`: Swap the VIPs of instances. - FLOW_CHANGE_REPLICA_TO_MSTER: Promote the replica node to the mater node. - `FLOW_BACKUPINSTANCE`: Back up an instance.
	TaskTypes []*string `json:"TaskTypes,omitnil" name:"TaskTypes"`

	// Start time for executing a task,  in the format of  “2020-10-12 00:00:00”.
	BeginTime *string `json:"BeginTime,omitnil" name:"BeginTime"`

	// End time for executing a task,  in the format of  “2021-12-30 20:59:35”.
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// This parameter is only for internal use and can be ignored.
	TaskStatus []*int64 `json:"TaskStatus,omitnil" name:"TaskStatus"`

	// Task execution status. Valid values: - `0` (initilized) - `1` (executing) - `2` (completed) - `4` (failed)
	Result []*int64 `json:"Result,omitnil" name:"Result"`

	// The field `OperatorUin` has been disused and replaced by `OperateUin`.
	OperatorUin []*int64 `json:"OperatorUin,omitnil" name:"OperatorUin"`

	// Operator account ID or UIN
	OperateUin []*string `json:"OperateUin,omitnil" name:"OperateUin"`
}

Predefined struct for user

type DescribeTaskListResponse

type DescribeTaskListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTaskListResponseParams `json:"Response"`
}

func NewDescribeTaskListResponse

func NewDescribeTaskListResponse() (response *DescribeTaskListResponse)

func (*DescribeTaskListResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTaskListResponse) ToJsonString

func (r *DescribeTaskListResponse) ToJsonString() string

type DescribeTaskListResponseParams

type DescribeTaskListResponseParams struct {
	// Total number of tasks
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// Task details
	Tasks []*TaskInfoDetail `json:"Tasks,omitnil" name:"Tasks"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeTendisSlowLogRequest

type DescribeTendisSlowLogRequest struct {
	*tchttp.BaseRequest

	// Instance ID in the format of crs-ngvou0i1
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Start time in the format of 2019-09-08 12:12:41
	BeginTime *string `json:"BeginTime,omitnil" name:"BeginTime"`

	// End time in the format of 2019-09-09 12:12:41
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Slow query threshold in ms
	MinQueryTime *int64 `json:"MinQueryTime,omitnil" name:"MinQueryTime"`

	// Maximum number of results returned per page. Default value: 20.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Offset, which is an integral multiple of `Limit`.
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`
}

func NewDescribeTendisSlowLogRequest

func NewDescribeTendisSlowLogRequest() (request *DescribeTendisSlowLogRequest)

func (*DescribeTendisSlowLogRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTendisSlowLogRequest) ToJsonString

func (r *DescribeTendisSlowLogRequest) ToJsonString() string

type DescribeTendisSlowLogRequestParams

type DescribeTendisSlowLogRequestParams struct {
	// Instance ID in the format of crs-ngvou0i1
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Start time in the format of 2019-09-08 12:12:41
	BeginTime *string `json:"BeginTime,omitnil" name:"BeginTime"`

	// End time in the format of 2019-09-09 12:12:41
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Slow query threshold in ms
	MinQueryTime *int64 `json:"MinQueryTime,omitnil" name:"MinQueryTime"`

	// Maximum number of results returned per page. Default value: 20.
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Offset, which is an integral multiple of `Limit`.
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`
}

Predefined struct for user

type DescribeTendisSlowLogResponse

type DescribeTendisSlowLogResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTendisSlowLogResponseParams `json:"Response"`
}

func NewDescribeTendisSlowLogResponse

func NewDescribeTendisSlowLogResponse() (response *DescribeTendisSlowLogResponse)

func (*DescribeTendisSlowLogResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTendisSlowLogResponse) ToJsonString

func (r *DescribeTendisSlowLogResponse) ToJsonString() string

type DescribeTendisSlowLogResponseParams

type DescribeTendisSlowLogResponseParams struct {
	// Total number of slow queries
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// Slow query details
	TendisSlowLogDetail []*TendisSlowLogDetail `json:"TendisSlowLogDetail,omitnil" name:"TendisSlowLogDetail"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DestroyPostpaidInstanceRequest

type DestroyPostpaidInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

func NewDestroyPostpaidInstanceRequest

func NewDestroyPostpaidInstanceRequest() (request *DestroyPostpaidInstanceRequest)

func (*DestroyPostpaidInstanceRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DestroyPostpaidInstanceRequest) ToJsonString

func (r *DestroyPostpaidInstanceRequest) ToJsonString() string

type DestroyPostpaidInstanceRequestParams

type DestroyPostpaidInstanceRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

Predefined struct for user

type DestroyPostpaidInstanceResponse

type DestroyPostpaidInstanceResponse struct {
	*tchttp.BaseResponse
	Response *DestroyPostpaidInstanceResponseParams `json:"Response"`
}

func NewDestroyPostpaidInstanceResponse

func NewDestroyPostpaidInstanceResponse() (response *DestroyPostpaidInstanceResponse)

func (*DestroyPostpaidInstanceResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DestroyPostpaidInstanceResponse) ToJsonString

func (r *DestroyPostpaidInstanceResponse) ToJsonString() string

type DestroyPostpaidInstanceResponseParams

type DestroyPostpaidInstanceResponseParams struct {
	// Task ID
	TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DestroyPrepaidInstanceRequest

type DestroyPrepaidInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

func NewDestroyPrepaidInstanceRequest

func NewDestroyPrepaidInstanceRequest() (request *DestroyPrepaidInstanceRequest)

func (*DestroyPrepaidInstanceRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DestroyPrepaidInstanceRequest) ToJsonString

func (r *DestroyPrepaidInstanceRequest) ToJsonString() string

type DestroyPrepaidInstanceRequestParams

type DestroyPrepaidInstanceRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

Predefined struct for user

type DestroyPrepaidInstanceResponse

type DestroyPrepaidInstanceResponse struct {
	*tchttp.BaseResponse
	Response *DestroyPrepaidInstanceResponseParams `json:"Response"`
}

func NewDestroyPrepaidInstanceResponse

func NewDestroyPrepaidInstanceResponse() (response *DestroyPrepaidInstanceResponse)

func (*DestroyPrepaidInstanceResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DestroyPrepaidInstanceResponse) ToJsonString

func (r *DestroyPrepaidInstanceResponse) ToJsonString() string

type DestroyPrepaidInstanceResponseParams

type DestroyPrepaidInstanceResponseParams struct {
	// Order ID
	DealId *string `json:"DealId,omitnil" name:"DealId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DisableReplicaReadonlyRequest

type DisableReplicaReadonlyRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

func NewDisableReplicaReadonlyRequest

func NewDisableReplicaReadonlyRequest() (request *DisableReplicaReadonlyRequest)

func (*DisableReplicaReadonlyRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableReplicaReadonlyRequest) ToJsonString

func (r *DisableReplicaReadonlyRequest) ToJsonString() string

type DisableReplicaReadonlyRequestParams

type DisableReplicaReadonlyRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

Predefined struct for user

type DisableReplicaReadonlyResponse

type DisableReplicaReadonlyResponse struct {
	*tchttp.BaseResponse
	Response *DisableReplicaReadonlyResponseParams `json:"Response"`
}

func NewDisableReplicaReadonlyResponse

func NewDisableReplicaReadonlyResponse() (response *DisableReplicaReadonlyResponse)

func (*DisableReplicaReadonlyResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableReplicaReadonlyResponse) ToJsonString

func (r *DisableReplicaReadonlyResponse) ToJsonString() string

type DisableReplicaReadonlyResponseParams

type DisableReplicaReadonlyResponseParams struct {
	// Task ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DisassociateSecurityGroupsRequest

type DisassociateSecurityGroupsRequest struct {
	*tchttp.BaseRequest

	// Database engine name, which is `redis` for this API.
	Product *string `json:"Product,omitnil" name:"Product"`

	// Security group ID
	SecurityGroupId *string `json:"SecurityGroupId,omitnil" name:"SecurityGroupId"`

	// List of instance IDs, which is an array of one or more instance IDs.
	InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"`
}

func NewDisassociateSecurityGroupsRequest

func NewDisassociateSecurityGroupsRequest() (request *DisassociateSecurityGroupsRequest)

func (*DisassociateSecurityGroupsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisassociateSecurityGroupsRequest) ToJsonString

func (r *DisassociateSecurityGroupsRequest) ToJsonString() string

type DisassociateSecurityGroupsRequestParams

type DisassociateSecurityGroupsRequestParams struct {
	// Database engine name, which is `redis` for this API.
	Product *string `json:"Product,omitnil" name:"Product"`

	// Security group ID
	SecurityGroupId *string `json:"SecurityGroupId,omitnil" name:"SecurityGroupId"`

	// List of instance IDs, which is an array of one or more instance IDs.
	InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"`
}

Predefined struct for user

type DisassociateSecurityGroupsResponse

type DisassociateSecurityGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DisassociateSecurityGroupsResponseParams `json:"Response"`
}

func NewDisassociateSecurityGroupsResponse

func NewDisassociateSecurityGroupsResponse() (response *DisassociateSecurityGroupsResponse)

func (*DisassociateSecurityGroupsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisassociateSecurityGroupsResponse) ToJsonString

func (r *DisassociateSecurityGroupsResponse) ToJsonString() string

type DisassociateSecurityGroupsResponseParams

type DisassociateSecurityGroupsResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type EnableReplicaReadonlyRequest

type EnableReplicaReadonlyRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Account routing policy. If `master` or `replication` is entered, it means to route to the master or replica node; if this parameter is left empty, it means to write into the master node and read from the replica node by default.
	ReadonlyPolicy []*string `json:"ReadonlyPolicy,omitnil" name:"ReadonlyPolicy"`
}

func NewEnableReplicaReadonlyRequest

func NewEnableReplicaReadonlyRequest() (request *EnableReplicaReadonlyRequest)

func (*EnableReplicaReadonlyRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EnableReplicaReadonlyRequest) ToJsonString

func (r *EnableReplicaReadonlyRequest) ToJsonString() string

type EnableReplicaReadonlyRequestParams

type EnableReplicaReadonlyRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Account routing policy. If `master` or `replication` is entered, it means to route to the master or replica node; if this parameter is left empty, it means to write into the master node and read from the replica node by default.
	ReadonlyPolicy []*string `json:"ReadonlyPolicy,omitnil" name:"ReadonlyPolicy"`
}

Predefined struct for user

type EnableReplicaReadonlyResponse

type EnableReplicaReadonlyResponse struct {
	*tchttp.BaseResponse
	Response *EnableReplicaReadonlyResponseParams `json:"Response"`
}

func NewEnableReplicaReadonlyResponse

func NewEnableReplicaReadonlyResponse() (response *EnableReplicaReadonlyResponse)

func (*EnableReplicaReadonlyResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EnableReplicaReadonlyResponse) ToJsonString

func (r *EnableReplicaReadonlyResponse) ToJsonString() string

type EnableReplicaReadonlyResponseParams

type EnableReplicaReadonlyResponseParams struct {
	// Valid values: `ERROR`, `OK`. This field has been disused.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *string `json:"Status,omitnil" name:"Status"`

	// Task ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type Groups

type Groups struct {
	// User APPID, which is the unique application ID that matches an account. Some Tencent Cloud products use this APPID.
	AppId *int64 `json:"AppId,omitnil" name:"AppId"`

	// Region ID. Valid values:
	// - `1`: Guangzhou
	// - `4`: Shanghai
	// - `5`: Hong Kong (China)
	// - `6`: Toronto
	// - `7`: Shanghai Finance
	// - `8`: Beijing
	// - `9`: Singapore
	// - `11`: Shenzhen Finance
	// - `15`: Silicon Valley (West US)
	// - `16`: Chengdu
	// - `17`: Germany
	// - `18`: South Korea
	// - `19`: Chongqing
	// - `21`: India
	// - `22`: Virginia (East US)
	// - `23`: Thailand
	// - `25`: Japan
	RegionId *int64 `json:"RegionId,omitnil" name:"RegionId"`

	// Replication group ID in the format of "crs-rpl-deind****"
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`

	// Replication group name
	// Note: This field may return null, indicating that no valid values can be obtained.
	GroupName *string `json:"GroupName,omitnil" name:"GroupName"`

	// Status of replication group
	// - `37`: Associating replication group
	// - `38`: Reconnecting to replication group
	// - `51`: Disassociating replication group
	// - `52`: Switching with master instance in replication group
	// - `53`: Modifying the roles
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Number of replication groups
	InstanceCount *int64 `json:"InstanceCount,omitnil" name:"InstanceCount"`

	// Instance information in replication groups
	// Note: This field may return null, indicating that no valid values can be obtained.
	Instances []*Instances `json:"Instances,omitnil" name:"Instances"`

	// Remarks
	// Note: This field may return null, indicating that no valid values can be obtained.
	Remark *string `json:"Remark,omitnil" name:"Remark"`
}

type HotKeyInfo

type HotKeyInfo struct {
	// Hot key
	Key *string `json:"Key,omitnil" name:"Key"`

	// Type
	Type *string `json:"Type,omitnil" name:"Type"`

	// Count
	Count *int64 `json:"Count,omitnil" name:"Count"`
}

type Inbound

type Inbound struct {
	// Policy. Valid values: ACCEPT, DROP.
	Action *string `json:"Action,omitnil" name:"Action"`

	// All the addresses that the address group ID represents.
	AddressModule *string `json:"AddressModule,omitnil" name:"AddressModule"`

	// Source IP or IP address range, such as 192.168.0.0/16.
	CidrIp *string `json:"CidrIp,omitnil" name:"CidrIp"`

	// Description.
	Desc *string `json:"Desc,omitnil" name:"Desc"`

	// Network protocol, such as UDP and TCP.
	IpProtocol *string `json:"IpProtocol,omitnil" name:"IpProtocol"`

	// Port.
	PortRange *string `json:"PortRange,omitnil" name:"PortRange"`

	// All the protocols and ports that the service group ID represents.
	ServiceModule *string `json:"ServiceModule,omitnil" name:"ServiceModule"`

	// All the addresses that the security group ID represents.
	Id *string `json:"Id,omitnil" name:"Id"`
}

type InquiryPriceCreateInstanceRequest

type InquiryPriceCreateInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance type. Valid values: `2` (Redis 2.8 memory edition in standard architecture), `3` (CKV 3.2 memory edition in standard architecture), `4` (CKV 3.2 memory edition in cluster architecture), `6` (Redis 4.0 memory edition in standard architecture), `7` (Redis 4.0 memory edition in cluster architecture), `8` (Redis 5.0 memory edition in standard architecture), `9` (Redis 5.0 memory edition in cluster architecture).
	TypeId *uint64 `json:"TypeId,omitnil" name:"TypeId"`

	// Memory capacity in MB, which must be a multiple of 1,024. It is subject to the purchasable specifications returned by the [DescribeProductInfo API](https://intl.cloud.tencent.com/document/api/239/30600?from_cn_redirect=1).
	// If `TypeId` indicates the standard architecture, `MemSize` indicates the total memory capacity of an instance; if `TypeId` indicates the cluster architecture, `MemSize` indicates the memory capacity per shard.
	MemSize *uint64 `json:"MemSize,omitnil" name:"MemSize"`

	// Number of instances. The actual quantity purchasable at a time is subject to the specifications returned by the [DescribeProductInfo API](https://intl.cloud.tencent.com/document/api/239/30600?from_cn_redirect=1).
	GoodsNum *uint64 `json:"GoodsNum,omitnil" name:"GoodsNum"`

	// Length of purchase in months, which is required when creating a monthly-subscribed instance. Value range: [1,2,3,4,5,6,7,8,9,10,11,12,24,36]. For pay-as-you-go instances, set the parameter to `1`.
	Period *uint64 `json:"Period,omitnil" name:"Period"`

	// Billing mode. Valid values: `0` (pay-as-you-go), `1` (monthly subscription).
	BillingMode *int64 `json:"BillingMode,omitnil" name:"BillingMode"`

	// ID of the AZ where the instance resides. For more information, see [Regions and AZs](https://intl.cloud.tencent.com/document/product/239/4106?from_cn_redirect=1).
	ZoneId *uint64 `json:"ZoneId,omitnil" name:"ZoneId"`

	// Instance shard quantity. This field is not required by Redis 2.8 standard architecture, CKV standard architecture, Redis 2.8 standalone edition, and Redis 4.0 standard architecture.
	RedisShardNum *int64 `json:"RedisShardNum,omitnil" name:"RedisShardNum"`

	// Instance replica quantity. This field is not required by Redis 2.8 standard architecture, CKV standard architecture, and Redis 2.8 standalone edition.
	RedisReplicasNum *int64 `json:"RedisReplicasNum,omitnil" name:"RedisReplicasNum"`

	// Whether to support read-only replicas. This field is not required by Redis 2.8 standard architecture, CKV standard architecture, and Redis 2.8 standalone edition.
	ReplicasReadonly *bool `json:"ReplicasReadonly,omitnil" name:"ReplicasReadonly"`

	// Name of the AZ where the instance resides. For more information, see [Regions and AZs](https://intl.cloud.tencent.com/document/product/239/4106?from_cn_redirect=1).
	ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"`

	// Valid values: `local` (local disk edition), `cloud` (cloud disk edition), `cdc` (dedicated cluster edition). Default value: `local` (local disk edition)
	ProductVersion *string `json:"ProductVersion,omitnil" name:"ProductVersion"`
}

func NewInquiryPriceCreateInstanceRequest

func NewInquiryPriceCreateInstanceRequest() (request *InquiryPriceCreateInstanceRequest)

func (*InquiryPriceCreateInstanceRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquiryPriceCreateInstanceRequest) ToJsonString

func (r *InquiryPriceCreateInstanceRequest) ToJsonString() string

type InquiryPriceCreateInstanceRequestParams

type InquiryPriceCreateInstanceRequestParams struct {
	// Instance type. Valid values: `2` (Redis 2.8 memory edition in standard architecture), `3` (CKV 3.2 memory edition in standard architecture), `4` (CKV 3.2 memory edition in cluster architecture), `6` (Redis 4.0 memory edition in standard architecture), `7` (Redis 4.0 memory edition in cluster architecture), `8` (Redis 5.0 memory edition in standard architecture), `9` (Redis 5.0 memory edition in cluster architecture).
	TypeId *uint64 `json:"TypeId,omitnil" name:"TypeId"`

	// Memory capacity in MB, which must be a multiple of 1,024. It is subject to the purchasable specifications returned by the [DescribeProductInfo API](https://intl.cloud.tencent.com/document/api/239/30600?from_cn_redirect=1).
	// If `TypeId` indicates the standard architecture, `MemSize` indicates the total memory capacity of an instance; if `TypeId` indicates the cluster architecture, `MemSize` indicates the memory capacity per shard.
	MemSize *uint64 `json:"MemSize,omitnil" name:"MemSize"`

	// Number of instances. The actual quantity purchasable at a time is subject to the specifications returned by the [DescribeProductInfo API](https://intl.cloud.tencent.com/document/api/239/30600?from_cn_redirect=1).
	GoodsNum *uint64 `json:"GoodsNum,omitnil" name:"GoodsNum"`

	// Length of purchase in months, which is required when creating a monthly-subscribed instance. Value range: [1,2,3,4,5,6,7,8,9,10,11,12,24,36]. For pay-as-you-go instances, set the parameter to `1`.
	Period *uint64 `json:"Period,omitnil" name:"Period"`

	// Billing mode. Valid values: `0` (pay-as-you-go), `1` (monthly subscription).
	BillingMode *int64 `json:"BillingMode,omitnil" name:"BillingMode"`

	// ID of the AZ where the instance resides. For more information, see [Regions and AZs](https://intl.cloud.tencent.com/document/product/239/4106?from_cn_redirect=1).
	ZoneId *uint64 `json:"ZoneId,omitnil" name:"ZoneId"`

	// Instance shard quantity. This field is not required by Redis 2.8 standard architecture, CKV standard architecture, Redis 2.8 standalone edition, and Redis 4.0 standard architecture.
	RedisShardNum *int64 `json:"RedisShardNum,omitnil" name:"RedisShardNum"`

	// Instance replica quantity. This field is not required by Redis 2.8 standard architecture, CKV standard architecture, and Redis 2.8 standalone edition.
	RedisReplicasNum *int64 `json:"RedisReplicasNum,omitnil" name:"RedisReplicasNum"`

	// Whether to support read-only replicas. This field is not required by Redis 2.8 standard architecture, CKV standard architecture, and Redis 2.8 standalone edition.
	ReplicasReadonly *bool `json:"ReplicasReadonly,omitnil" name:"ReplicasReadonly"`

	// Name of the AZ where the instance resides. For more information, see [Regions and AZs](https://intl.cloud.tencent.com/document/product/239/4106?from_cn_redirect=1).
	ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"`

	// Valid values: `local` (local disk edition), `cloud` (cloud disk edition), `cdc` (dedicated cluster edition). Default value: `local` (local disk edition)
	ProductVersion *string `json:"ProductVersion,omitnil" name:"ProductVersion"`
}

Predefined struct for user

type InquiryPriceCreateInstanceResponse

type InquiryPriceCreateInstanceResponse struct {
	*tchttp.BaseResponse
	Response *InquiryPriceCreateInstanceResponseParams `json:"Response"`
}

func NewInquiryPriceCreateInstanceResponse

func NewInquiryPriceCreateInstanceResponse() (response *InquiryPriceCreateInstanceResponse)

func (*InquiryPriceCreateInstanceResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquiryPriceCreateInstanceResponse) ToJsonString

func (r *InquiryPriceCreateInstanceResponse) ToJsonString() string

type InquiryPriceCreateInstanceResponseParams

type InquiryPriceCreateInstanceResponseParams struct {
	// Price. Unit: USD (accurate down to the cent)
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Price *float64 `json:"Price,omitnil" name:"Price"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type InquiryPriceUpgradeInstanceRequest

type InquiryPriceUpgradeInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Shard size in MB.
	MemSize *uint64 `json:"MemSize,omitnil" name:"MemSize"`

	// Number of shards. This parameter can be left blank for Redis 2.8 in standard architecture, CKV in standard architecture, and Redis 2.8 in standalone architecture.
	RedisShardNum *uint64 `json:"RedisShardNum,omitnil" name:"RedisShardNum"`

	// Number of replicas. This parameter can be left blank for Redis 2.8 in standard architecture, CKV in standard architecture, and Redis 2.8 in standalone architecture.
	RedisReplicasNum *uint64 `json:"RedisReplicasNum,omitnil" name:"RedisReplicasNum"`
}

func NewInquiryPriceUpgradeInstanceRequest

func NewInquiryPriceUpgradeInstanceRequest() (request *InquiryPriceUpgradeInstanceRequest)

func (*InquiryPriceUpgradeInstanceRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquiryPriceUpgradeInstanceRequest) ToJsonString

func (r *InquiryPriceUpgradeInstanceRequest) ToJsonString() string

type InquiryPriceUpgradeInstanceRequestParams

type InquiryPriceUpgradeInstanceRequestParams struct {
	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Shard size in MB.
	MemSize *uint64 `json:"MemSize,omitnil" name:"MemSize"`

	// Number of shards. This parameter can be left blank for Redis 2.8 in standard architecture, CKV in standard architecture, and Redis 2.8 in standalone architecture.
	RedisShardNum *uint64 `json:"RedisShardNum,omitnil" name:"RedisShardNum"`

	// Number of replicas. This parameter can be left blank for Redis 2.8 in standard architecture, CKV in standard architecture, and Redis 2.8 in standalone architecture.
	RedisReplicasNum *uint64 `json:"RedisReplicasNum,omitnil" name:"RedisReplicasNum"`
}

Predefined struct for user

type InquiryPriceUpgradeInstanceResponse

type InquiryPriceUpgradeInstanceResponse struct {
	*tchttp.BaseResponse
	Response *InquiryPriceUpgradeInstanceResponseParams `json:"Response"`
}

func NewInquiryPriceUpgradeInstanceResponse

func NewInquiryPriceUpgradeInstanceResponse() (response *InquiryPriceUpgradeInstanceResponse)

func (*InquiryPriceUpgradeInstanceResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquiryPriceUpgradeInstanceResponse) ToJsonString

func (r *InquiryPriceUpgradeInstanceResponse) ToJsonString() string

type InquiryPriceUpgradeInstanceResponseParams

type InquiryPriceUpgradeInstanceResponseParams struct {
	// Price. Unit: USD
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Price *float64 `json:"Price,omitnil" name:"Price"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type InstanceClusterNode

type InstanceClusterNode struct {
	// Node name
	Name *string `json:"Name,omitnil" name:"Name"`

	// ID of the runtime node of an instance
	RunId *string `json:"RunId,omitnil" name:"RunId"`

	// Cluster role. Valid values:  - `0` (master) - `1` (replica)
	Role *int64 `json:"Role,omitnil" name:"Role"`

	// Node status. Valid values:  - `0` (read/write) - `1` (read) - `2` (backup)
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Service status. Valid values: `0` (down), `1` (on).
	Connected *int64 `json:"Connected,omitnil" name:"Connected"`

	// Node creation time
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// Node elimination time
	DownTime *string `json:"DownTime,omitnil" name:"DownTime"`

	// Node slot distribution range
	Slots *string `json:"Slots,omitnil" name:"Slots"`

	// Distribution of node keys
	Keys *int64 `json:"Keys,omitnil" name:"Keys"`

	// Node QPS Number of executions per second on sharded nodes Unit: Counts/sec
	Qps *int64 `json:"Qps,omitnil" name:"Qps"`

	// QPS slope of a node
	QpsSlope *float64 `json:"QpsSlope,omitnil" name:"QpsSlope"`

	// Node storage
	Storage *int64 `json:"Storage,omitnil" name:"Storage"`

	// Node storage slope
	StorageSlope *float64 `json:"StorageSlope,omitnil" name:"StorageSlope"`
}

type InstanceClusterShard

type InstanceClusterShard struct {
	// The name of a shard node
	ShardName *string `json:"ShardName,omitnil" name:"ShardName"`

	// The serial number of a shard node
	ShardId *string `json:"ShardId,omitnil" name:"ShardId"`

	// The role of a shard node
	// - `0`: Master node.
	// - `1`: Replica node.
	Role *int64 `json:"Role,omitnil" name:"Role"`

	// Number of keys
	Keys *int64 `json:"Keys,omitnil" name:"Keys"`

	// Slot information
	Slots *string `json:"Slots,omitnil" name:"Slots"`

	// Used Capacity
	Storage *int64 `json:"Storage,omitnil" name:"Storage"`

	// Capacity slope
	StorageSlope *float64 `json:"StorageSlope,omitnil" name:"StorageSlope"`

	// Instance runtime node ID
	Runid *string `json:"Runid,omitnil" name:"Runid"`

	// Service status
	// - `0`: Down.
	// - `1`: On.
	Connected *int64 `json:"Connected,omitnil" name:"Connected"`
}

type InstanceEnumParam

type InstanceEnumParam struct {
	// Parameter name
	ParamName *string `json:"ParamName,omitnil" name:"ParamName"`

	// Parameter type, such as `Enum`.
	ValueType *string `json:"ValueType,omitnil" name:"ValueType"`

	// Whether to restart the database after modifying the parameters. Valid values: - `true` (required) - `false` (not required)
	NeedRestart *string `json:"NeedRestart,omitnil" name:"NeedRestart"`

	// Default value of the parameter
	DefaultValue *string `json:"DefaultValue,omitnil" name:"DefaultValue"`

	// Current value
	CurrentValue *string `json:"CurrentValue,omitnil" name:"CurrentValue"`

	// Description
	Tips *string `json:"Tips,omitnil" name:"Tips"`

	// Acceptable values for the parameter
	EnumValue []*string `json:"EnumValue,omitnil" name:"EnumValue"`

	// Parameter modification status. Valid values: - `1` (modifying) - `2` (modified)
	Status *int64 `json:"Status,omitnil" name:"Status"`
}

type InstanceIntegerParam

type InstanceIntegerParam struct {
	// Parameter name
	ParamName *string `json:"ParamName,omitnil" name:"ParamName"`

	// Parameter type: Integer
	ValueType *string `json:"ValueType,omitnil" name:"ValueType"`

	// Whether restart is required after a modification is made. Valid values: true, false
	NeedRestart *string `json:"NeedRestart,omitnil" name:"NeedRestart"`

	// Default value of the parameter
	DefaultValue *string `json:"DefaultValue,omitnil" name:"DefaultValue"`

	// Current value
	CurrentValue *string `json:"CurrentValue,omitnil" name:"CurrentValue"`

	// Parameter description
	Tips *string `json:"Tips,omitnil" name:"Tips"`

	// Minimum value of the parameter
	Min *string `json:"Min,omitnil" name:"Min"`

	// Maximum value of the parameter
	Max *string `json:"Max,omitnil" name:"Max"`

	// Parameter status. 1: modifying; 2: modified
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Parameter unit
	// Note: This field may return null, indicating that no valid values can be obtained.
	Unit *string `json:"Unit,omitnil" name:"Unit"`
}

type InstanceMultiParam

type InstanceMultiParam struct {
	// Parameter name
	ParamName *string `json:"ParamName,omitnil" name:"ParamName"`

	// Parameter Type such as  `MULTI`
	ValueType *string `json:"ValueType,omitnil" name:"ValueType"`

	// Whether to restart the database after modifying the parameter. Valid values:  - `true` (required) - `false` (not required)
	NeedRestart *string `json:"NeedRestart,omitnil" name:"NeedRestart"`

	// Default value of the parameter
	DefaultValue *string `json:"DefaultValue,omitnil" name:"DefaultValue"`

	// Current value
	CurrentValue *string `json:"CurrentValue,omitnil" name:"CurrentValue"`

	// Description
	Tips *string `json:"Tips,omitnil" name:"Tips"`

	// Description
	EnumValue []*string `json:"EnumValue,omitnil" name:"EnumValue"`

	// Parameter modification status. Valid values: - `1` (modifying) - `2` (modified)
	Status *int64 `json:"Status,omitnil" name:"Status"`
}

type InstanceNode

type InstanceNode struct {
	// Instance ID
	Id *int64 `json:"Id,omitnil" name:"Id"`

	// Node details
	InstanceClusterNode []*InstanceClusterNode `json:"InstanceClusterNode,omitnil" name:"InstanceClusterNode"`
}

type InstanceParam

type InstanceParam struct {
	// Parameter name, such as “timeout”. For supported custom parameters, see <a href="https://www.tencentcloud.com/document/product/239/39796">Setting Instance Parameters</a>
	Key *string `json:"Key,omitnil" name:"Key"`

	// Current parameter value. For example, if you set the current value of “timeout” to 120 (in seconds), the client connections that remain idle longer than 120 seconds will be closed. For more information on parameter values, see <a href="https://www.tencentcloud.com/document/product/239/39796">Setting Instance Parameters</a>
	Value *string `json:"Value,omitnil" name:"Value"`
}

type InstanceParamHistory

type InstanceParamHistory struct {
	// Parameter name
	ParamName *string `json:"ParamName,omitnil" name:"ParamName"`

	// The value of the parameter before modification
	PreValue *string `json:"PreValue,omitnil" name:"PreValue"`

	// The value of the parameter after modification
	NewValue *string `json:"NewValue,omitnil" name:"NewValue"`

	// Parameter configuration status
	// - `1`: The parameter configuration is being modified.
	// - `2`: The parameter configuration has been modified successfully.
	// - `3`: Failed to modify the parameter configuration.
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Modification time
	ModifyTime *string `json:"ModifyTime,omitnil" name:"ModifyTime"`
}

type InstanceProxySlowlogDetail

type InstanceProxySlowlogDetail struct {
	// Slow query duration in milliseconds
	Duration *int64 `json:"Duration,omitnil" name:"Duration"`

	// Client address
	Client *string `json:"Client,omitnil" name:"Client"`

	// Slow query command
	Command *string `json:"Command,omitnil" name:"Command"`

	// Detailed command line information of slow query
	CommandLine *string `json:"CommandLine,omitnil" name:"CommandLine"`

	// Execution time
	ExecuteTime *string `json:"ExecuteTime,omitnil" name:"ExecuteTime"`
}

type InstanceSecurityGroupDetail

type InstanceSecurityGroupDetail struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Security group information, which includes  security group ID, name, outbound and inbound rules.
	SecurityGroupDetails []*SecurityGroupDetail `json:"SecurityGroupDetails,omitnil" name:"SecurityGroupDetails"`
}

type InstanceSet

type InstanceSet struct {
	// Instance name
	InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// User APPID, which is the unique application ID that matches an account. Some Tencent Cloud products use this APPID.
	Appid *int64 `json:"Appid,omitnil" name:"Appid"`

	// Project ID
	ProjectId *int64 `json:"ProjectId,omitnil" name:"ProjectId"`

	// Region ID. <ul><li>`1`: Guangzhou. </li><li>`4`: Shanghai. </li><li>`5`: Hong Kong (China). </li><li>`6`: Toronto. </li> <li>`7`: Shanghai Finance. </li> <li>`8`: Beijing. </li> <li>`9`: Singapore. </li> <li>`11`: Shenzhen Finance. </li> <li>`15`: West US (Silicon Valley). </li><li>`16`: Chengdu. </li><li>`17`: Frankfurt. </li><li>`18`: Seoul. </li><li>`19`: Chongqing. </li><li>`21`: Mumbai. </li><li>`22`: East US (Virginia). </li><li>`23`: Bangkok. </li><li>`24`: Moscow. </li><li>`25`: Tokyo. </li></ul>
	RegionId *int64 `json:"RegionId,omitnil" name:"RegionId"`

	// Region ID
	ZoneId *int64 `json:"ZoneId,omitnil" name:"ZoneId"`

	// VPC ID, such as `75101`.
	VpcId *int64 `json:"VpcId,omitnil" name:"VpcId"`

	// Subnet ID, such as `46315`.
	SubnetId *int64 `json:"SubnetId,omitnil" name:"SubnetId"`

	// Current instance status. <ul><li>`0`: To be initialized. </li><li>`1`: In the process. </li><li>`2`: Running. </li><li>`-2`: Isolated. </li><li>`-3`: To be deleted. </li></ul>
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Instance VIP
	WanIp *string `json:"WanIp,omitnil" name:"WanIp"`

	// Port number of an instance
	Port *int64 `json:"Port,omitnil" name:"Port"`

	// Instance creation time in the format of "2020-01-15 10:20:00"
	Createtime *string `json:"Createtime,omitnil" name:"Createtime"`

	// Instance memory capacity in MB (1 MB = 1024 KB)
	Size *float64 `json:"Size,omitnil" name:"Size"`

	// This field has been disused. You can use the TCOP’s [GetMonitorData](https://intl.cloud.tencent.com/document/product/248/31014?from_cn_redirect=1) API to query the capacity used by the instance.
	SizeUsed *float64 `json:"SizeUsed,omitnil" name:"SizeUsed"`

	// Instance type
	// - `2`: Redis 2.8 Memory Edition (Standard Architecture).
	// - `3`: CKV 3.2 Memory Edition (Standard Architecture).
	// - `4`: CKV 3.2 Memory Edition (Cluster Architecture).
	// - `5`: Redis 2.8 Memory Edition (Standalone).
	// - `6`: Redis 4.0 Memory Edition (Standard Architecture).
	// - `7`: Redis 4.0 Memory Edition (Cluster Architecture).
	// - `8`: Redis 5.0 Memory Edition (Standard Architecture).
	// - `9`: Redis 5.0 Memory Edition (Cluster Architecture).
	// - `15`: Redis 6.2 Memory Edition (Standard Architecture).
	// - `16`: Redis 6.2 Memory Edition (Cluster Architecture).
	Type *int64 `json:"Type,omitnil" name:"Type"`

	// Whether to set the auto-renewal flag for an instance. <ul><li>`1`: Auto-renewal set. </li><li>`0`: Auto-renewal not set.</li></ul>
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil" name:"AutoRenewFlag"`

	// The time when a monthly subscribed instance expires
	DeadlineTime *string `json:"DeadlineTime,omitnil" name:"DeadlineTime"`

	// Engine: Redis community edition, Tencent Cloud CKV
	Engine *string `json:"Engine,omitnil" name:"Engine"`

	// Product type. <ul><li>`standalone`: Standard edition. </li><li>`cluster`: Cluster edition. </li></ul>
	ProductType *string `json:"ProductType,omitnil" name:"ProductType"`

	// VPC ID, such as vpc-fk33jsf43kgv.
	UniqVpcId *string `json:"UniqVpcId,omitnil" name:"UniqVpcId"`

	// VPC subnet ID, such as subnet-fd3j6l35mm0.
	UniqSubnetId *string `json:"UniqSubnetId,omitnil" name:"UniqSubnetId"`

	// Billing mode. Only pay-as-you-go billing is supported.
	BillingMode *int64 `json:"BillingMode,omitnil" name:"BillingMode"`

	// Description of an instance status, such as "Running".
	InstanceTitle *string `json:"InstanceTitle,omitnil" name:"InstanceTitle"`

	// The default termination time for isolated instances in the format of "2020-02-15 10:20:00". By default, a pay-as-you-go instance will be terminated after two hours of isolation, and a monthly subscribed instance will be terminated after seven days by default.
	OfflineTime *string `json:"OfflineTime,omitnil" name:"OfflineTime"`

	// Sub-status returned for an instance in process
	SubStatus *int64 `json:"SubStatus,omitnil" name:"SubStatus"`

	// Anti-affinity tag
	Tags []*string `json:"Tags,omitnil" name:"Tags"`

	// Instance node information
	InstanceNode []*InstanceNode `json:"InstanceNode,omitnil" name:"InstanceNode"`

	// Shard size
	RedisShardSize *int64 `json:"RedisShardSize,omitnil" name:"RedisShardSize"`

	// Number of shards
	RedisShardNum *int64 `json:"RedisShardNum,omitnil" name:"RedisShardNum"`

	// Number of replicas
	RedisReplicasNum *int64 `json:"RedisReplicasNum,omitnil" name:"RedisReplicasNum"`

	// Billing ID
	PriceId *int64 `json:"PriceId,omitnil" name:"PriceId"`

	// The time when an instance start to be isolated
	CloseTime *string `json:"CloseTime,omitnil" name:"CloseTime"`

	// Read weight of a replica node
	SlaveReadWeight *int64 `json:"SlaveReadWeight,omitnil" name:"SlaveReadWeight"`

	// Instance tag information
	// Note: This field may return null, indicating that no valid value can be obtained.
	InstanceTags []*InstanceTagInfo `json:"InstanceTags,omitnil" name:"InstanceTags"`

	// Project name
	// Note: This field may return null, indicating that no valid value can be obtained.
	ProjectName *string `json:"ProjectName,omitnil" name:"ProjectName"`

	// Whether an instance is password-free. <ul><li>`true`: Yes. </li><li>`false`: No. </li></ul>
	// Note: This field may return null, indicating that no valid value can be obtained.
	NoAuth *bool `json:"NoAuth,omitnil" name:"NoAuth"`

	// Number of client connections
	// Note: This field may return null, indicating that no valid value can be obtained.
	ClientLimit *int64 `json:"ClientLimit,omitnil" name:"ClientLimit"`

	// DTS status (internal parameter, which can be ignored)
	// Note: This field may return null, indicating that no valid value can be obtained.
	DtsStatus *int64 `json:"DtsStatus,omitnil" name:"DtsStatus"`

	// Upper shard bandwidth limit in MB
	// Note: This field may return null, indicating that no valid value can be obtained.
	NetLimit *int64 `json:"NetLimit,omitnil" name:"NetLimit"`

	// Password-free instance flag (internal parameter, which can be ignored)
	// Note: This field may return null, indicating that no valid value can be obtained.
	PasswordFree *int64 `json:"PasswordFree,omitnil" name:"PasswordFree"`

	// Internal parameter, which can be ignored.
	// Note: This field may return null, indicating that no valid value can be obtained.
	Vip6 *string `json:"Vip6,omitnil" name:"Vip6"`

	// Read-only instance flag (internal parameter, which can be ignored)
	// Note: This field may return null, indicating that no valid value can be obtained.
	ReadOnly *int64 `json:"ReadOnly,omitnil" name:"ReadOnly"`

	// Internal parameter, which can be ignored.
	// Note: This field may return null, indicating that no valid value can be obtained.
	RemainBandwidthDuration *string `json:"RemainBandwidthDuration,omitnil" name:"RemainBandwidthDuration"`

	// This parameter can be ignored for Redis instance.
	// Note: This field may return null, indicating that no valid value can be obtained.
	DiskSize *int64 `json:"DiskSize,omitnil" name:"DiskSize"`

	// Monitoring granularity. <ul><li>`1m`: Monitoring at one-minute granularity. This granularity has been disused. For more information, see [1-Minute Granularity Will Be Disused](https://www.tencentcloud.com/document/product/239/50440).</li><li>`5s`: Monitoring at five-second granularity.</li></ul>
	// Note: This field may return null, indicating that no valid values can be obtained.
	MonitorVersion *string `json:"MonitorVersion,omitnil" name:"MonitorVersion"`

	// The minimum number of max client connections
	// Note: This field may return null, indicating that no valid value can be obtained.
	ClientLimitMin *int64 `json:"ClientLimitMin,omitnil" name:"ClientLimitMin"`

	// The maximum number of max client connections
	// Note: This field may return null, indicating that no valid value can be obtained.
	ClientLimitMax *int64 `json:"ClientLimitMax,omitnil" name:"ClientLimitMax"`

	// Instance node details
	// Note: This field may return null, indicating that no valid value can be obtained.
	NodeSet []*RedisNodeInfo `json:"NodeSet,omitnil" name:"NodeSet"`

	// Information of the region where the instance is deployed, such as `ap-guangzhou`.
	// Note: This field may return null, indicating that no valid value can be obtained.
	Region *string `json:"Region,omitnil" name:"Region"`

	// Public IP
	// Note: This field may return null, indicating that no valid value can be obtained.
	WanAddress *string `json:"WanAddress,omitnil" name:"WanAddress"`

	// Polaris service address, which is for internal use.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PolarisServer *string `json:"PolarisServer,omitnil" name:"PolarisServer"`

	// The current proxy version of an instance
	// Note: This field may return null, indicating that no valid value can be obtained.
	CurrentProxyVersion *string `json:"CurrentProxyVersion,omitnil" name:"CurrentProxyVersion"`

	// The current cache minor version of an instance
	// Note: This field may return null, indicating that no valid value can be obtained.
	CurrentRedisVersion *string `json:"CurrentRedisVersion,omitnil" name:"CurrentRedisVersion"`

	// Proxy version, which can be upgraded for the instance
	// Note: This field may return null, indicating that no valid value can be obtained.
	UpgradeProxyVersion *string `json:"UpgradeProxyVersion,omitnil" name:"UpgradeProxyVersion"`

	// Cache minor version, which can be upgraded for the instance
	// Note: This field may return null, indicating that no valid value can be obtained.
	UpgradeRedisVersion *string `json:"UpgradeRedisVersion,omitnil" name:"UpgradeRedisVersion"`
}

type InstanceSlowlogDetail

type InstanceSlowlogDetail struct {
	// Slow log duration
	Duration *int64 `json:"Duration,omitnil" name:"Duration"`

	// Client address
	Client *string `json:"Client,omitnil" name:"Client"`

	// Command
	Command *string `json:"Command,omitnil" name:"Command"`

	// Command line details
	CommandLine *string `json:"CommandLine,omitnil" name:"CommandLine"`

	// Execution duration
	ExecuteTime *string `json:"ExecuteTime,omitnil" name:"ExecuteTime"`

	// Node ID
	Node *string `json:"Node,omitnil" name:"Node"`
}

type InstanceTagInfo

type InstanceTagInfo struct {
	// Tag key
	TagKey *string `json:"TagKey,omitnil" name:"TagKey"`

	// Tag value
	TagValue *string `json:"TagValue,omitnil" name:"TagValue"`
}

type InstanceTextParam

type InstanceTextParam struct {
	// Parameter name
	ParamName *string `json:"ParamName,omitnil" name:"ParamName"`

	// Parameter type such as  `Text`.
	ValueType *string `json:"ValueType,omitnil" name:"ValueType"`

	// Whether to restart the database after modifying the parameter. Valid values:  - `true` (required) - `false` (not required)
	NeedRestart *string `json:"NeedRestart,omitnil" name:"NeedRestart"`

	// Default value of the parameter
	DefaultValue *string `json:"DefaultValue,omitnil" name:"DefaultValue"`

	// Current value
	CurrentValue *string `json:"CurrentValue,omitnil" name:"CurrentValue"`

	// Description
	Tips *string `json:"Tips,omitnil" name:"Tips"`

	// Acceptable values of the parameter
	TextValue []*string `json:"TextValue,omitnil" name:"TextValue"`

	// Parameter modification status. Valid values: - `1` (modifying) - `2` (modified)
	Status *int64 `json:"Status,omitnil" name:"Status"`
}

type Instances

type Instances struct {
	// User APPID, which is the unique application ID that matches an account. Some Tencent Cloud products use this APPID.
	AppId *int64 `json:"AppId,omitnil" name:"AppId"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Instance name
	InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"`

	// Region ID. <ul><li>`1`: Guangzhou. </li><li>`4`: Shanghai. </li><li>`5`: Hong Kong (China). </li> <li>`6`: Toronto. </li> <li>`7`: Shanghai Finance. </li> <li>`8`: Beijing. </li> <li>`9`: Singapore. </li> <li>`11`: Shenzhen Finance. </li> <li>`15`: West US (Silicon Valley). </li> </ul>
	RegionId *uint64 `json:"RegionId,omitnil" name:"RegionId"`

	// Region ID
	ZoneId *uint64 `json:"ZoneId,omitnil" name:"ZoneId"`

	// Number of replicas
	RedisReplicasNum *uint64 `json:"RedisReplicasNum,omitnil" name:"RedisReplicasNum"`

	// Number of shards
	RedisShardNum *int64 `json:"RedisShardNum,omitnil" name:"RedisShardNum"`

	// Shard memory size.
	RedisShardSize *int64 `json:"RedisShardSize,omitnil" name:"RedisShardSize"`

	// Instance disk size
	// Note: This field may return null, indicating that no valid values can be obtained.
	DiskSize *int64 `json:"DiskSize,omitnil" name:"DiskSize"`

	// Engine: Redis Community Edition, Tencent Cloud CKV.
	Engine *string `json:"Engine,omitnil" name:"Engine"`

	// Read-write permission of the instance. <ul><li>`rw`: Read/Write. </li><li>`r`: Read-only. </li></ul>
	Role *string `json:"Role,omitnil" name:"Role"`

	// Instance VIP
	Vip *string `json:"Vip,omitnil" name:"Vip"`

	// Internal parameter, which can be ignored.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Vip6 *string `json:"Vip6,omitnil" name:"Vip6"`

	// VPC ID, such as `75101`.
	VpcID *int64 `json:"VpcID,omitnil" name:"VpcID"`

	// Instance port
	VPort *int64 `json:"VPort,omitnil" name:"VPort"`

	// Instance status. <ul><li>`0`: Uninitialized. </li><li>`1`: In the process. </li><li>`2`: Running. </li><li>`-2`: Isolated. </li><li>`-3`: To be deleted. </li></ul>
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Repository ID
	GrocerySysId *int64 `json:"GrocerySysId,omitnil" name:"GrocerySysId"`

	// Instance type
	// - `2`: Redis 2.8 Memory Edition (Standard Architecture).
	// - `3`: CKV 3.2 Memory Edition (Standard Architecture).
	// - `4`: CKV 3.2 Memory Edition (Cluster Architecture)
	// - `5`: Redis 2.8 Memory Edition (Standalone)
	// - `6`: Redis 4.0 Memory Edition (Standard Architecture).
	// - `7`: Redis 4.0 Memory Edition (Cluster Architecture)
	// - `8`: Redis 5.0 Memory Edition (Standard Architecture).
	// - `9`: Redis 5.0 Memory Edition (Cluster Architecture)
	// - `15`: Redis 6.2 Memory Edition (Standard Architecture).
	// - `16`: Redis 6.2 Memory Edition (Cluster Architecture)
	ProductType *int64 `json:"ProductType,omitnil" name:"ProductType"`

	// The time when the instance was added to the replication group.
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// The time when instances in the replication group were updated.
	UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"`
}

type KillMasterGroupRequest

type KillMasterGroupRequest struct {
	*tchttp.BaseRequest

	// ID of a specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// A parameter used to configure the access password for a specified instance. If password-free authentication is enabled, this parameter will not be required. Required password strength. - It must contains 8-30 characters. We recommend that you use a password of more than 12 characters. - It must contain at least two of the following types: lowercase letters, uppercase letters, digits, and symbols (()`~!@#$%^&*-+=_|{}[]:;<>,.?/), and it cannot start with a slash (/).
	Password *string `json:"Password,omitnil" name:"Password"`

	// Shard ID of a sharded cluster
	ShardIds []*int64 `json:"ShardIds,omitnil" name:"ShardIds"`
}

func NewKillMasterGroupRequest

func NewKillMasterGroupRequest() (request *KillMasterGroupRequest)

func (*KillMasterGroupRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*KillMasterGroupRequest) ToJsonString

func (r *KillMasterGroupRequest) ToJsonString() string

type KillMasterGroupRequestParams

type KillMasterGroupRequestParams struct {
	// ID of a specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// A parameter used to configure the access password for a specified instance. If password-free authentication is enabled, this parameter will not be required. Required password strength. - It must contains 8-30 characters. We recommend that you use a password of more than 12 characters. - It must contain at least two of the following types: lowercase letters, uppercase letters, digits, and symbols (()`~!@#$%^&*-+=_|{}[]:;<>,.?/), and it cannot start with a slash (/).
	Password *string `json:"Password,omitnil" name:"Password"`

	// Shard ID of a sharded cluster
	ShardIds []*int64 `json:"ShardIds,omitnil" name:"ShardIds"`
}

Predefined struct for user

type KillMasterGroupResponse

type KillMasterGroupResponse struct {
	*tchttp.BaseResponse
	Response *KillMasterGroupResponseParams `json:"Response"`
}

func NewKillMasterGroupResponse

func NewKillMasterGroupResponse() (response *KillMasterGroupResponse)

func (*KillMasterGroupResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*KillMasterGroupResponse) ToJsonString

func (r *KillMasterGroupResponse) ToJsonString() string

type KillMasterGroupResponseParams

type KillMasterGroupResponseParams struct {
	// Async task ID
	TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ManualBackupInstanceRequest

type ManualBackupInstanceRequest struct {
	*tchttp.BaseRequest

	// ID of a specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Remarks for manual backup task
	Remark *string `json:"Remark,omitnil" name:"Remark"`

	// Retention period of backup data in days.  Default value: 7 days.  Value range: [0,1825].  If the value exceeds 7 days, [submit a ticket](https://console.cloud.tencent.com/workorder/category) for application. - If this parameter is not configured, it will set to be the same as the period of automatic backup retention. - If automatic backup is not set, the default value will be 7 days.
	StorageDays *int64 `json:"StorageDays,omitnil" name:"StorageDays"`
}

func NewManualBackupInstanceRequest

func NewManualBackupInstanceRequest() (request *ManualBackupInstanceRequest)

func (*ManualBackupInstanceRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ManualBackupInstanceRequest) ToJsonString

func (r *ManualBackupInstanceRequest) ToJsonString() string

type ManualBackupInstanceRequestParams

type ManualBackupInstanceRequestParams struct {
	// ID of a specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Remarks for manual backup task
	Remark *string `json:"Remark,omitnil" name:"Remark"`

	// Retention period of backup data in days.  Default value: 7 days.  Value range: [0,1825].  If the value exceeds 7 days, [submit a ticket](https://console.cloud.tencent.com/workorder/category) for application. - If this parameter is not configured, it will set to be the same as the period of automatic backup retention. - If automatic backup is not set, the default value will be 7 days.
	StorageDays *int64 `json:"StorageDays,omitnil" name:"StorageDays"`
}

Predefined struct for user

type ManualBackupInstanceResponse

type ManualBackupInstanceResponse struct {
	*tchttp.BaseResponse
	Response *ManualBackupInstanceResponseParams `json:"Response"`
}

func NewManualBackupInstanceResponse

func NewManualBackupInstanceResponse() (response *ManualBackupInstanceResponse)

func (*ManualBackupInstanceResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ManualBackupInstanceResponse) ToJsonString

func (r *ManualBackupInstanceResponse) ToJsonString() string

type ManualBackupInstanceResponseParams

type ManualBackupInstanceResponseParams struct {
	// Task ID
	TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModfiyInstancePasswordRequest

type ModfiyInstancePasswordRequest struct {
	*tchttp.BaseRequest

	// Instance ID, such as "crs-xjhsdj****". Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Old password of an instance
	OldPassword *string `json:"OldPassword,omitnil" name:"OldPassword"`

	// New instance password, which has the following requirements:
	// - It must contain 8-30 characters, preferably 12 or more.
	// - It cannot start with a slash (/)
	// - It must contain two of the following three types: lowercase letters, uppercase letters, and symbols (()~!@#$%^&*-+=_|{}[]:;<>,.?/)
	Password *string `json:"Password,omitnil" name:"Password"`
}

func NewModfiyInstancePasswordRequest

func NewModfiyInstancePasswordRequest() (request *ModfiyInstancePasswordRequest)

func (*ModfiyInstancePasswordRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModfiyInstancePasswordRequest) ToJsonString

func (r *ModfiyInstancePasswordRequest) ToJsonString() string

type ModfiyInstancePasswordRequestParams

type ModfiyInstancePasswordRequestParams struct {
	// Instance ID, such as "crs-xjhsdj****". Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Old password of an instance
	OldPassword *string `json:"OldPassword,omitnil" name:"OldPassword"`

	// New instance password, which has the following requirements:
	// - It must contain 8-30 characters, preferably 12 or more.
	// - It cannot start with a slash (/)
	// - It must contain two of the following three types: lowercase letters, uppercase letters, and symbols (()~!@#$%^&*-+=_|{}[]:;<>,.?/)
	Password *string `json:"Password,omitnil" name:"Password"`
}

Predefined struct for user

type ModfiyInstancePasswordResponse

type ModfiyInstancePasswordResponse struct {
	*tchttp.BaseResponse
	Response *ModfiyInstancePasswordResponseParams `json:"Response"`
}

func NewModfiyInstancePasswordResponse

func NewModfiyInstancePasswordResponse() (response *ModfiyInstancePasswordResponse)

func (*ModfiyInstancePasswordResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModfiyInstancePasswordResponse) ToJsonString

func (r *ModfiyInstancePasswordResponse) ToJsonString() string

type ModfiyInstancePasswordResponseParams

type ModfiyInstancePasswordResponseParams struct {
	// Task ID
	TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyAutoBackupConfigRequest

type ModifyAutoBackupConfigRequest struct {
	*tchttp.BaseRequest

	// ID of a specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Automatic backup cycle. Valid values: `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. This parameter currently cannot be modified.
	WeekDays []*string `json:"WeekDays,omitnil" name:"WeekDays"`

	// Automatic backup time in the format of 00:00-01:00, 01:00-02:00... 23:00-00:00.
	TimePeriod *string `json:"TimePeriod,omitnil" name:"TimePeriod"`

	// Automatic backup type.  Valid value:  `1` (scheduled backup).
	AutoBackupType *int64 `json:"AutoBackupType,omitnil" name:"AutoBackupType"`
}

func NewModifyAutoBackupConfigRequest

func NewModifyAutoBackupConfigRequest() (request *ModifyAutoBackupConfigRequest)

func (*ModifyAutoBackupConfigRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAutoBackupConfigRequest) ToJsonString

func (r *ModifyAutoBackupConfigRequest) ToJsonString() string

type ModifyAutoBackupConfigRequestParams

type ModifyAutoBackupConfigRequestParams struct {
	// ID of a specified instance,  such as  "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Automatic backup cycle. Valid values: `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. This parameter currently cannot be modified.
	WeekDays []*string `json:"WeekDays,omitnil" name:"WeekDays"`

	// Automatic backup time in the format of 00:00-01:00, 01:00-02:00... 23:00-00:00.
	TimePeriod *string `json:"TimePeriod,omitnil" name:"TimePeriod"`

	// Automatic backup type.  Valid value:  `1` (scheduled backup).
	AutoBackupType *int64 `json:"AutoBackupType,omitnil" name:"AutoBackupType"`
}

Predefined struct for user

type ModifyAutoBackupConfigResponse

type ModifyAutoBackupConfigResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAutoBackupConfigResponseParams `json:"Response"`
}

func NewModifyAutoBackupConfigResponse

func NewModifyAutoBackupConfigResponse() (response *ModifyAutoBackupConfigResponse)

func (*ModifyAutoBackupConfigResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAutoBackupConfigResponse) ToJsonString

func (r *ModifyAutoBackupConfigResponse) ToJsonString() string

type ModifyAutoBackupConfigResponseParams

type ModifyAutoBackupConfigResponseParams struct {
	// Automatic backup type.  Valid value:  `1` (scheduled backup).
	AutoBackupType *int64 `json:"AutoBackupType,omitnil" name:"AutoBackupType"`

	// Automatic backup cycle. Valid values: `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`.
	WeekDays []*string `json:"WeekDays,omitnil" name:"WeekDays"`

	// Time period for automatic scheduled backup  in the format of  “00:00-01:00, 01:00-02:00...... 23:00-00:00”.
	TimePeriod *string `json:"TimePeriod,omitnil" name:"TimePeriod"`

	// Retention time of full backup files in days
	BackupStorageDays *int64 `json:"BackupStorageDays,omitnil" name:"BackupStorageDays"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyBackupDownloadRestrictionRequest

type ModifyBackupDownloadRestrictionRequest struct {
	*tchttp.BaseRequest

	// Type of the network restrictions for downloading backup files. Valid values:
	//
	// - `NoLimit`: Backup files can be downloaded over both public and private networks.
	// - `LimitOnlyIntranet`: Backup files can be downloaded only at private network addresses auto-assigned by Tencent Cloud.
	// - `Customize`: Backup files can be downloaded only in the customized VPC.
	LimitType *string `json:"LimitType,omitnil" name:"LimitType"`

	// Only `In` can be passed in for this parameter, indicating that backup files can be downloaded in the custom `LimitVpc`.
	VpcComparisonSymbol *string `json:"VpcComparisonSymbol,omitnil" name:"VpcComparisonSymbol"`

	// Whether backups can be downloaded at the custom `LimitIp` address.
	//
	// - `In`: Download is allowed for the custom IP.
	// - `NotIn`: Download is not allowed for the custom IP.
	IpComparisonSymbol *string `json:"IpComparisonSymbol,omitnil" name:"IpComparisonSymbol"`

	// VPC ID of the custom backup file download address, which is required if `LimitType` is `Customize`.
	LimitVpc []*BackupLimitVpcItem `json:"LimitVpc,omitnil" name:"LimitVpc"`

	// VPC IP of the custom backup file download address, which is required if `LimitType` is `Customize`.
	LimitIp []*string `json:"LimitIp,omitnil" name:"LimitIp"`
}

func NewModifyBackupDownloadRestrictionRequest

func NewModifyBackupDownloadRestrictionRequest() (request *ModifyBackupDownloadRestrictionRequest)

func (*ModifyBackupDownloadRestrictionRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyBackupDownloadRestrictionRequest) ToJsonString

type ModifyBackupDownloadRestrictionRequestParams

type ModifyBackupDownloadRestrictionRequestParams struct {
	// Type of the network restrictions for downloading backup files. Valid values:
	//
	// - `NoLimit`: Backup files can be downloaded over both public and private networks.
	// - `LimitOnlyIntranet`: Backup files can be downloaded only at private network addresses auto-assigned by Tencent Cloud.
	// - `Customize`: Backup files can be downloaded only in the customized VPC.
	LimitType *string `json:"LimitType,omitnil" name:"LimitType"`

	// Only `In` can be passed in for this parameter, indicating that backup files can be downloaded in the custom `LimitVpc`.
	VpcComparisonSymbol *string `json:"VpcComparisonSymbol,omitnil" name:"VpcComparisonSymbol"`

	// Whether backups can be downloaded at the custom `LimitIp` address.
	//
	// - `In`: Download is allowed for the custom IP.
	// - `NotIn`: Download is not allowed for the custom IP.
	IpComparisonSymbol *string `json:"IpComparisonSymbol,omitnil" name:"IpComparisonSymbol"`

	// VPC ID of the custom backup file download address, which is required if `LimitType` is `Customize`.
	LimitVpc []*BackupLimitVpcItem `json:"LimitVpc,omitnil" name:"LimitVpc"`

	// VPC IP of the custom backup file download address, which is required if `LimitType` is `Customize`.
	LimitIp []*string `json:"LimitIp,omitnil" name:"LimitIp"`
}

Predefined struct for user

type ModifyBackupDownloadRestrictionResponse

type ModifyBackupDownloadRestrictionResponse struct {
	*tchttp.BaseResponse
	Response *ModifyBackupDownloadRestrictionResponseParams `json:"Response"`
}

func NewModifyBackupDownloadRestrictionResponse

func NewModifyBackupDownloadRestrictionResponse() (response *ModifyBackupDownloadRestrictionResponse)

func (*ModifyBackupDownloadRestrictionResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyBackupDownloadRestrictionResponse) ToJsonString

type ModifyBackupDownloadRestrictionResponseParams

type ModifyBackupDownloadRestrictionResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyDBInstanceSecurityGroupsRequest

type ModifyDBInstanceSecurityGroupsRequest struct {
	*tchttp.BaseRequest

	// Database engine name, which is `redis` for this API.
	Product *string `json:"Product,omitnil" name:"Product"`

	// List of IDs of security groups to be modified, which is an array of one or more security group IDs.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil" name:"SecurityGroupIds"`

	// Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed in the TencentDB console.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

func NewModifyDBInstanceSecurityGroupsRequest

func NewModifyDBInstanceSecurityGroupsRequest() (request *ModifyDBInstanceSecurityGroupsRequest)

func (*ModifyDBInstanceSecurityGroupsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceSecurityGroupsRequest) ToJsonString

type ModifyDBInstanceSecurityGroupsRequestParams

type ModifyDBInstanceSecurityGroupsRequestParams struct {
	// Database engine name, which is `redis` for this API.
	Product *string `json:"Product,omitnil" name:"Product"`

	// List of IDs of security groups to be modified, which is an array of one or more security group IDs.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil" name:"SecurityGroupIds"`

	// Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed in the TencentDB console.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

Predefined struct for user

type ModifyDBInstanceSecurityGroupsResponse

type ModifyDBInstanceSecurityGroupsResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDBInstanceSecurityGroupsResponseParams `json:"Response"`
}

func NewModifyDBInstanceSecurityGroupsResponse

func NewModifyDBInstanceSecurityGroupsResponse() (response *ModifyDBInstanceSecurityGroupsResponse)

func (*ModifyDBInstanceSecurityGroupsResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDBInstanceSecurityGroupsResponse) ToJsonString

type ModifyDBInstanceSecurityGroupsResponseParams

type ModifyDBInstanceSecurityGroupsResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyInstanceAccountRequest

type ModifyInstanceAccountRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Sub-account name. If the root account is to be modified, enter `root`.
	AccountName *string `json:"AccountName,omitnil" name:"AccountName"`

	// Sub-account password
	AccountPassword *string `json:"AccountPassword,omitnil" name:"AccountPassword"`

	// Sub-account description information
	Remark *string `json:"Remark,omitnil" name:"Remark"`

	// Routing policy. Valid values: master (master node); replication (replica node)
	ReadonlyPolicy []*string `json:"ReadonlyPolicy,omitnil" name:"ReadonlyPolicy"`

	// Sub-account read/write policy. Valid values: r (read-only); w (write-only); rw (read/write).
	Privilege *string `json:"Privilege,omitnil" name:"Privilege"`

	// true: make the root account password-free. This is applicable to root accounts only. Sub-accounts cannot be made password-free.
	NoAuth *bool `json:"NoAuth,omitnil" name:"NoAuth"`
}

func NewModifyInstanceAccountRequest

func NewModifyInstanceAccountRequest() (request *ModifyInstanceAccountRequest)

func (*ModifyInstanceAccountRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyInstanceAccountRequest) ToJsonString

func (r *ModifyInstanceAccountRequest) ToJsonString() string

type ModifyInstanceAccountRequestParams

type ModifyInstanceAccountRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Sub-account name. If the root account is to be modified, enter `root`.
	AccountName *string `json:"AccountName,omitnil" name:"AccountName"`

	// Sub-account password
	AccountPassword *string `json:"AccountPassword,omitnil" name:"AccountPassword"`

	// Sub-account description information
	Remark *string `json:"Remark,omitnil" name:"Remark"`

	// Routing policy. Valid values: master (master node); replication (replica node)
	ReadonlyPolicy []*string `json:"ReadonlyPolicy,omitnil" name:"ReadonlyPolicy"`

	// Sub-account read/write policy. Valid values: r (read-only); w (write-only); rw (read/write).
	Privilege *string `json:"Privilege,omitnil" name:"Privilege"`

	// true: make the root account password-free. This is applicable to root accounts only. Sub-accounts cannot be made password-free.
	NoAuth *bool `json:"NoAuth,omitnil" name:"NoAuth"`
}

Predefined struct for user

type ModifyInstanceAccountResponse

type ModifyInstanceAccountResponse struct {
	*tchttp.BaseResponse
	Response *ModifyInstanceAccountResponseParams `json:"Response"`
}

func NewModifyInstanceAccountResponse

func NewModifyInstanceAccountResponse() (response *ModifyInstanceAccountResponse)

func (*ModifyInstanceAccountResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyInstanceAccountResponse) ToJsonString

func (r *ModifyInstanceAccountResponse) ToJsonString() string

type ModifyInstanceAccountResponseParams

type ModifyInstanceAccountResponseParams struct {
	// Task ID
	TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyInstanceParamsRequest

type ModifyInstanceParamsRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// List of instance parameters modified
	InstanceParams []*InstanceParam `json:"InstanceParams,omitnil" name:"InstanceParams"`
}

func NewModifyInstanceParamsRequest

func NewModifyInstanceParamsRequest() (request *ModifyInstanceParamsRequest)

func (*ModifyInstanceParamsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyInstanceParamsRequest) ToJsonString

func (r *ModifyInstanceParamsRequest) ToJsonString() string

type ModifyInstanceParamsRequestParams

type ModifyInstanceParamsRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// List of instance parameters modified
	InstanceParams []*InstanceParam `json:"InstanceParams,omitnil" name:"InstanceParams"`
}

Predefined struct for user

type ModifyInstanceParamsResponse

type ModifyInstanceParamsResponse struct {
	*tchttp.BaseResponse
	Response *ModifyInstanceParamsResponseParams `json:"Response"`
}

func NewModifyInstanceParamsResponse

func NewModifyInstanceParamsResponse() (response *ModifyInstanceParamsResponse)

func (*ModifyInstanceParamsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyInstanceParamsResponse) ToJsonString

func (r *ModifyInstanceParamsResponse) ToJsonString() string

type ModifyInstanceParamsResponseParams

type ModifyInstanceParamsResponseParams struct {
	// Whether the parameter is modified successfully. <br><li>`True`: Yes<br><li>`False`: No<br>
	Changed *bool `json:"Changed,omitnil" name:"Changed"`

	// ID of the task
	TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyInstanceReadOnlyRequest

type ModifyInstanceReadOnlyRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Instance input mode. Valid values: `0` (read/write), `1` (read-only)
	InputMode *string `json:"InputMode,omitnil" name:"InputMode"`
}

func NewModifyInstanceReadOnlyRequest

func NewModifyInstanceReadOnlyRequest() (request *ModifyInstanceReadOnlyRequest)

func (*ModifyInstanceReadOnlyRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyInstanceReadOnlyRequest) ToJsonString

func (r *ModifyInstanceReadOnlyRequest) ToJsonString() string

type ModifyInstanceReadOnlyRequestParams

type ModifyInstanceReadOnlyRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Instance input mode. Valid values: `0` (read/write), `1` (read-only)
	InputMode *string `json:"InputMode,omitnil" name:"InputMode"`
}

Predefined struct for user

type ModifyInstanceReadOnlyResponse

type ModifyInstanceReadOnlyResponse struct {
	*tchttp.BaseResponse
	Response *ModifyInstanceReadOnlyResponseParams `json:"Response"`
}

func NewModifyInstanceReadOnlyResponse

func NewModifyInstanceReadOnlyResponse() (response *ModifyInstanceReadOnlyResponse)

func (*ModifyInstanceReadOnlyResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyInstanceReadOnlyResponse) ToJsonString

func (r *ModifyInstanceReadOnlyResponse) ToJsonString() string

type ModifyInstanceReadOnlyResponseParams

type ModifyInstanceReadOnlyResponseParams struct {
	// Task ID
	TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyInstanceRequest

type ModifyInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance modification type. rename: rename an instance; modifyProject: modify the project of an instance; modifyAutoRenew: modify the auto-renewal flag of an instance.
	Operation *string `json:"Operation,omitnil" name:"Operation"`

	// Instance ID
	InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"`

	// New name of the instance
	InstanceNames []*string `json:"InstanceNames,omitnil" name:"InstanceNames"`

	// Project ID
	ProjectId *int64 `json:"ProjectId,omitnil" name:"ProjectId"`

	// Auto-renewal flag. 0: default status (manual renewal); 1: auto-renewal enabled; 2: auto-renewal disabled
	AutoRenews []*int64 `json:"AutoRenews,omitnil" name:"AutoRenews"`

	// Disused
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Disused
	InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"`

	// Disused
	AutoRenew *int64 `json:"AutoRenew,omitnil" name:"AutoRenew"`
}

func NewModifyInstanceRequest

func NewModifyInstanceRequest() (request *ModifyInstanceRequest)

func (*ModifyInstanceRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyInstanceRequest) ToJsonString

func (r *ModifyInstanceRequest) ToJsonString() string

type ModifyInstanceRequestParams

type ModifyInstanceRequestParams struct {
	// Instance modification type. rename: rename an instance; modifyProject: modify the project of an instance; modifyAutoRenew: modify the auto-renewal flag of an instance.
	Operation *string `json:"Operation,omitnil" name:"Operation"`

	// Instance ID
	InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"`

	// New name of the instance
	InstanceNames []*string `json:"InstanceNames,omitnil" name:"InstanceNames"`

	// Project ID
	ProjectId *int64 `json:"ProjectId,omitnil" name:"ProjectId"`

	// Auto-renewal flag. 0: default status (manual renewal); 1: auto-renewal enabled; 2: auto-renewal disabled
	AutoRenews []*int64 `json:"AutoRenews,omitnil" name:"AutoRenews"`

	// Disused
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Disused
	InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"`

	// Disused
	AutoRenew *int64 `json:"AutoRenew,omitnil" name:"AutoRenew"`
}

Predefined struct for user

type ModifyInstanceResponse

type ModifyInstanceResponse struct {
	*tchttp.BaseResponse
	Response *ModifyInstanceResponseParams `json:"Response"`
}

func NewModifyInstanceResponse

func NewModifyInstanceResponse() (response *ModifyInstanceResponse)

func (*ModifyInstanceResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyInstanceResponse) ToJsonString

func (r *ModifyInstanceResponse) ToJsonString() string

type ModifyInstanceResponseParams

type ModifyInstanceResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyMaintenanceWindowRequest

type ModifyMaintenanceWindowRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Maintenance start time, such as 17:00
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

	// Maintenance end time, such as 19:00
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`
}

func NewModifyMaintenanceWindowRequest

func NewModifyMaintenanceWindowRequest() (request *ModifyMaintenanceWindowRequest)

func (*ModifyMaintenanceWindowRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyMaintenanceWindowRequest) ToJsonString

func (r *ModifyMaintenanceWindowRequest) ToJsonString() string

type ModifyMaintenanceWindowRequestParams

type ModifyMaintenanceWindowRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Maintenance start time, such as 17:00
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

	// Maintenance end time, such as 19:00
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`
}

Predefined struct for user

type ModifyMaintenanceWindowResponse

type ModifyMaintenanceWindowResponse struct {
	*tchttp.BaseResponse
	Response *ModifyMaintenanceWindowResponseParams `json:"Response"`
}

func NewModifyMaintenanceWindowResponse

func NewModifyMaintenanceWindowResponse() (response *ModifyMaintenanceWindowResponse)

func (*ModifyMaintenanceWindowResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyMaintenanceWindowResponse) ToJsonString

func (r *ModifyMaintenanceWindowResponse) ToJsonString() string

type ModifyMaintenanceWindowResponseParams

type ModifyMaintenanceWindowResponseParams struct {
	// Modification status. Valid values: success, failed.
	Status *string `json:"Status,omitnil" name:"Status"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyNetworkConfigRequest

type ModifyNetworkConfigRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Network change type. Valid values:
	// - `changeVip`: VPC change, including the private IPv4 address and port.
	// - `changeVpc`: Subnet change.
	// - `changeBaseToVpc`: Change from classic network to VPC.
	// - `changeVPort`: Port change.
	Operation *string `json:"Operation,omitnil" name:"Operation"`

	// Private IPv4 address of the instance, which is required if `Operation` is `changeVip`.
	Vip *string `json:"Vip,omitnil" name:"Vip"`

	// VPC ID after the change, which is required if `Operation` is `changeVpc` or `changeBaseToVpc`.
	VpcId *string `json:"VpcId,omitnil" name:"VpcId"`

	// Subnet ID after the change, which is required if `Operation` is `changeVpc` or `changeBaseToVpc`.
	SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"`

	// Retention period of the original private IPv4 address
	// - Unit: Days.
	// - Valid values: `0`, `1`, `2`, `3`, `7`, `15`.
	//
	// **Note**: You can set the retention period of the original address only in the latest SDK. In earlier SDKs, the original address is released immediately. To view the SDK version, go to [SDK Center](https://intl.cloud.tencent.com/document/sdk?from_cn_redirect=1).
	Recycle *int64 `json:"Recycle,omitnil" name:"Recycle"`

	// Network port after the change, which is required if `Operation` is `changeVPort` or `changeVip`. Value range: [1024,65535].
	VPort *int64 `json:"VPort,omitnil" name:"VPort"`
}

func NewModifyNetworkConfigRequest

func NewModifyNetworkConfigRequest() (request *ModifyNetworkConfigRequest)

func (*ModifyNetworkConfigRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyNetworkConfigRequest) ToJsonString

func (r *ModifyNetworkConfigRequest) ToJsonString() string

type ModifyNetworkConfigRequestParams

type ModifyNetworkConfigRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Network change type. Valid values:
	// - `changeVip`: VPC change, including the private IPv4 address and port.
	// - `changeVpc`: Subnet change.
	// - `changeBaseToVpc`: Change from classic network to VPC.
	// - `changeVPort`: Port change.
	Operation *string `json:"Operation,omitnil" name:"Operation"`

	// Private IPv4 address of the instance, which is required if `Operation` is `changeVip`.
	Vip *string `json:"Vip,omitnil" name:"Vip"`

	// VPC ID after the change, which is required if `Operation` is `changeVpc` or `changeBaseToVpc`.
	VpcId *string `json:"VpcId,omitnil" name:"VpcId"`

	// Subnet ID after the change, which is required if `Operation` is `changeVpc` or `changeBaseToVpc`.
	SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"`

	// Retention period of the original private IPv4 address
	// - Unit: Days.
	// - Valid values: `0`, `1`, `2`, `3`, `7`, `15`.
	//
	// **Note**: You can set the retention period of the original address only in the latest SDK. In earlier SDKs, the original address is released immediately. To view the SDK version, go to [SDK Center](https://intl.cloud.tencent.com/document/sdk?from_cn_redirect=1).
	Recycle *int64 `json:"Recycle,omitnil" name:"Recycle"`

	// Network port after the change, which is required if `Operation` is `changeVPort` or `changeVip`. Value range: [1024,65535].
	VPort *int64 `json:"VPort,omitnil" name:"VPort"`
}

Predefined struct for user

type ModifyNetworkConfigResponse

type ModifyNetworkConfigResponse struct {
	*tchttp.BaseResponse
	Response *ModifyNetworkConfigResponseParams `json:"Response"`
}

func NewModifyNetworkConfigResponse

func NewModifyNetworkConfigResponse() (response *ModifyNetworkConfigResponse)

func (*ModifyNetworkConfigResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyNetworkConfigResponse) ToJsonString

func (r *ModifyNetworkConfigResponse) ToJsonString() string

type ModifyNetworkConfigResponseParams

type ModifyNetworkConfigResponseParams struct {
	// Execution status. Ignore this parameter.
	Status *bool `json:"Status,omitnil" name:"Status"`

	// New subnet ID of the instance
	SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"`

	// New VPC ID of the instance
	VpcId *string `json:"VpcId,omitnil" name:"VpcId"`

	// New private IPv4 address of the instance
	Vip *string `json:"Vip,omitnil" name:"Vip"`

	// Task ID, which can be used to query the task execution status through the `DescribeTaskInfo` API.
	TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyParamTemplateRequest

type ModifyParamTemplateRequest struct {
	*tchttp.BaseRequest

	// ID of the source parameter template.
	TemplateId *string `json:"TemplateId,omitnil" name:"TemplateId"`

	// New name after the parameter template is modified.
	Name *string `json:"Name,omitnil" name:"Name"`

	// New description after the parameter template is modified.
	Description *string `json:"Description,omitnil" name:"Description"`

	// New parameter list after the parameter template is modified.
	ParamList []*InstanceParam `json:"ParamList,omitnil" name:"ParamList"`
}

func NewModifyParamTemplateRequest

func NewModifyParamTemplateRequest() (request *ModifyParamTemplateRequest)

func (*ModifyParamTemplateRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyParamTemplateRequest) ToJsonString

func (r *ModifyParamTemplateRequest) ToJsonString() string

type ModifyParamTemplateRequestParams

type ModifyParamTemplateRequestParams struct {
	// ID of the source parameter template.
	TemplateId *string `json:"TemplateId,omitnil" name:"TemplateId"`

	// New name after the parameter template is modified.
	Name *string `json:"Name,omitnil" name:"Name"`

	// New description after the parameter template is modified.
	Description *string `json:"Description,omitnil" name:"Description"`

	// New parameter list after the parameter template is modified.
	ParamList []*InstanceParam `json:"ParamList,omitnil" name:"ParamList"`
}

Predefined struct for user

type ModifyParamTemplateResponse

type ModifyParamTemplateResponse struct {
	*tchttp.BaseResponse
	Response *ModifyParamTemplateResponseParams `json:"Response"`
}

func NewModifyParamTemplateResponse

func NewModifyParamTemplateResponse() (response *ModifyParamTemplateResponse)

func (*ModifyParamTemplateResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyParamTemplateResponse) ToJsonString

func (r *ModifyParamTemplateResponse) ToJsonString() string

type ModifyParamTemplateResponseParams

type ModifyParamTemplateResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type OpenSSLRequest

type OpenSSLRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

func NewOpenSSLRequest

func NewOpenSSLRequest() (request *OpenSSLRequest)

func (*OpenSSLRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*OpenSSLRequest) ToJsonString

func (r *OpenSSLRequest) ToJsonString() string

type OpenSSLRequestParams

type OpenSSLRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

Predefined struct for user

type OpenSSLResponse

type OpenSSLResponse struct {
	*tchttp.BaseResponse
	Response *OpenSSLResponseParams `json:"Response"`
}

func NewOpenSSLResponse

func NewOpenSSLResponse() (response *OpenSSLResponse)

func (*OpenSSLResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*OpenSSLResponse) ToJsonString

func (r *OpenSSLResponse) ToJsonString() string

type OpenSSLResponseParams

type OpenSSLResponseParams struct {
	// Task ID
	TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type Outbound

type Outbound struct {
	// Policy. Valid values: ACCEPT, DROP.
	Action *string `json:"Action,omitnil" name:"Action"`

	// All the addresses that the address group ID represents.
	AddressModule *string `json:"AddressModule,omitnil" name:"AddressModule"`

	// Source IP or IP address range, such as 192.168.0.0/16.
	CidrIp *string `json:"CidrIp,omitnil" name:"CidrIp"`

	// Description.
	Desc *string `json:"Desc,omitnil" name:"Desc"`

	// Network protocol, such as UDP and TCP.
	IpProtocol *string `json:"IpProtocol,omitnil" name:"IpProtocol"`

	// Port.
	PortRange *string `json:"PortRange,omitnil" name:"PortRange"`

	// All the protocols and ports that the service group ID represents.
	ServiceModule *string `json:"ServiceModule,omitnil" name:"ServiceModule"`

	// All the addresses that the security group ID represents.
	Id *string `json:"Id,omitnil" name:"Id"`
}

type ParamTemplateInfo

type ParamTemplateInfo struct {
	// Parameter template ID
	TemplateId *string `json:"TemplateId,omitnil" name:"TemplateId"`

	// Parameter template name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Parameter template description
	Description *string `json:"Description,omitnil" name:"Description"`

	// Instance type
	// - `2`: Redis 2.8 Memory Edition (Standard Architecture).
	// - `3`: CKV 3.2 Memory Edition (Standard Architecture).
	// - `4`: CKV 3.2 Memory Edition (Cluster Architecture).
	// - `5`: Redis 2.8 Memory Edition (Standalone).
	// - `6`: Redis 4.0 Memory Edition (Standard Architecture).
	// - `7`: Redis 4.0 Memory Edition (Cluster Architecture).
	// - `8`: Redis 5.0 Memory Edition (Standard Architecture).
	// - `9`: Redis 5.0 Memory Edition (Cluster Architecture).
	// - `15`: Redis 6.2 Memory Edition (Standard Architecture).
	// - `16`: Redis 6.2 Memory Edition (Cluster Architecture).
	ProductType *uint64 `json:"ProductType,omitnil" name:"ProductType"`
}

type ParameterDetail

type ParameterDetail struct {
	// Parameter name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Parameter Type
	ParamType *string `json:"ParamType,omitnil" name:"ParamType"`

	// Default value of the parameter
	Default *string `json:"Default,omitnil" name:"Default"`

	// Parameter description
	Description *string `json:"Description,omitnil" name:"Description"`

	// Current value of the parameter
	CurrentValue *string `json:"CurrentValue,omitnil" name:"CurrentValue"`

	// Whether to restart the database for the modified parameters to take effect
	// - `0`: No restart.
	// - `1`: Restart required.
	NeedReboot *int64 `json:"NeedReboot,omitnil" name:"NeedReboot"`

	// Maximum value of the parameter
	// Note: This field may return null, indicating that no valid values can be obtained.
	Max *string `json:"Max,omitnil" name:"Max"`

	// Minimum value of the parameter
	// Note: This field may return null, indicating that no valid values can be obtained.
	Min *string `json:"Min,omitnil" name:"Min"`

	// Enumerated values of the parameter. It is null if the parameter is non-enumerated
	// Note: This field may return null, indicating that no valid values can be obtained.
	EnumValue []*string `json:"EnumValue,omitnil" name:"EnumValue"`
}

type ProductConf

type ProductConf struct {
	// Product type
	// - `2`: Redis 2.8 Memory Edition (Standard Architecture).
	// - `3`: CKV 3.2 Memory Edition (Standard Architecture).
	// - `4`: CKV 3.2 Memory Edition (Cluster Architecture).
	// - `5`: Redis 2.8 Memory Edition (Standalone).
	// - `6`: Redis 4.0 Memory Edition (Standard Architecture).
	// - `7`: Redis 4.0 Memory Edition (Cluster Architecture).
	// - `8`: Redis 5.0 Memory Edition (Standard Architecture).
	// - `9`: Redis 5.0 Memory Edition (Cluster Architecture).
	// - `15`: Redis 6.2 Memory Edition (Standard Architecture).
	// - `16`: Redis 6.2 Memory Edition (Cluster Architecture).
	Type *int64 `json:"Type,omitnil" name:"Type"`

	// Product names, including Redis Master-Replica Edition, Redis Standalone Edition, Redis 4.0 Cluster Edition, CKV Master-Replica Edition, and CKV Standalone Edition.
	TypeName *string `json:"TypeName,omitnil" name:"TypeName"`

	// Minimum purchasable quantity
	MinBuyNum *int64 `json:"MinBuyNum,omitnil" name:"MinBuyNum"`

	// Maximum purchasable quantity
	MaxBuyNum *int64 `json:"MaxBuyNum,omitnil" name:"MaxBuyNum"`

	// Whether a product is sold out
	// - `true`: Sold out.
	// - `false`: Not sold out.
	Saleout *bool `json:"Saleout,omitnil" name:"Saleout"`

	// Product engines, including Tencent Cloud CKV and Redis Community Edition.
	Engine *string `json:"Engine,omitnil" name:"Engine"`

	// Compatible versions, including Redis 2.8, 3.2, 4.0, 5.0, and 6.2.
	Version *string `json:"Version,omitnil" name:"Version"`

	// Total capacity in GB
	TotalSize []*string `json:"TotalSize,omitnil" name:"TotalSize"`

	// Shard size in GB
	ShardSize []*string `json:"ShardSize,omitnil" name:"ShardSize"`

	// Quantity of replicas
	ReplicaNum []*string `json:"ReplicaNum,omitnil" name:"ReplicaNum"`

	// Quantity of shards
	ShardNum []*string `json:"ShardNum,omitnil" name:"ShardNum"`

	// Supported billing modes
	// - `1`: Monthly subscription.
	// - `0`: Pay-as-you-go.
	PayMode *string `json:"PayMode,omitnil" name:"PayMode"`

	// Whether to support read-only replicas
	// - `true`: Supported.
	// -`false`: Not supported.
	EnableRepicaReadOnly *bool `json:"EnableRepicaReadOnly,omitnil" name:"EnableRepicaReadOnly"`
}

type ProxyNodes

type ProxyNodes struct {
	// Node ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	NodeId *string `json:"NodeId,omitnil" name:"NodeId"`

	// AZ ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	ZoneId *int64 `json:"ZoneId,omitnil" name:"ZoneId"`
}

type RedisBackupSet

type RedisBackupSet struct {
	// Backup start time
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

	// Backup task ID
	BackupId *string `json:"BackupId,omitnil" name:"BackupId"`

	// Backup type. Valid values:  `1` (Automatic backup in the early morning initiated by the system.) `0`: Manual backup initiated by the user.
	BackupType *string `json:"BackupType,omitnil" name:"BackupType"`

	// Backup status. Valid values:  - `1`: The backup is locked by another process. - `2`: The backup is normal and not locked by any process. - `-1`: The backup is expired. - `3`: The backup is being exported. - `4`: Exported the backup successfully.
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Backup remarks
	Remark *string `json:"Remark,omitnil" name:"Remark"`

	// Whether the backup is locked. Valid values:  - `0` (no) - `1` (yes)
	Locked *int64 `json:"Locked,omitnil" name:"Locked"`

	// Internal field, which can be ignored.
	// Note: This field may return null, indicating that no valid values can be obtained.
	BackupSize *int64 `json:"BackupSize,omitnil" name:"BackupSize"`

	// Internal field, which can be ignored.
	// Note: This field may return null, indicating that no valid values can be obtained.
	FullBackup *int64 `json:"FullBackup,omitnil" name:"FullBackup"`

	// Internal field, which can be ignored.
	// Note: This field may return null, indicating that no valid values can be obtained.
	InstanceType *int64 `json:"InstanceType,omitnil" name:"InstanceType"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Instance name
	InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"`

	// The region where the local backup resides.
	Region *string `json:"Region,omitnil" name:"Region"`

	// Backup end time
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Backup file type
	FileType *string `json:"FileType,omitnil" name:"FileType"`

	// Backup file expiration time
	ExpireTime *string `json:"ExpireTime,omitnil" name:"ExpireTime"`
}

type RedisCommonInstanceList

type RedisCommonInstanceList struct {
	// Instance name
	InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// User APPID, which is the unique application ID that matches an account. Some Tencent Cloud products use this APPID.
	AppId *int64 `json:"AppId,omitnil" name:"AppId"`

	// Project ID of the instance
	ProjectId *int64 `json:"ProjectId,omitnil" name:"ProjectId"`

	// Instance region
	Region *string `json:"Region,omitnil" name:"Region"`

	// Instance AZ
	Zone *string `json:"Zone,omitnil" name:"Zone"`

	// Instance VPC ID
	VpcId *string `json:"VpcId,omitnil" name:"VpcId"`

	// VPC subnet ID
	SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"`

	// Instance status information
	// - `1`: Task running.
	// - `2`: Instance running.
	// - `-2`: Instance isolated.
	// - `-3`: Instance being eliminated.
	// - `-4`: Instance eliminated.
	Status *string `json:"Status,omitnil" name:"Status"`

	// Private network IP address of an instance
	Vips []*string `json:"Vips,omitnil" name:"Vips"`

	// Instance network port
	Vport *int64 `json:"Vport,omitnil" name:"Vport"`

	// Instance creation time
	Createtime *string `json:"Createtime,omitnil" name:"Createtime"`

	// Billing type
	// - `0`: Pay-as-you-go.
	// - `1`: Monthly subscription.
	PayMode *int64 `json:"PayMode,omitnil" name:"PayMode"`

	// Network Type
	// - `0`: Classic network.
	// - `1`: VPC.
	NetType *int64 `json:"NetType,omitnil" name:"NetType"`
}

type RedisNode

type RedisNode struct {
	// Number of keys on Redis nodes
	Keys *int64 `json:"Keys,omitnil" name:"Keys"`

	// Slot distribution range for Redis node.  Value range:  0-5460.
	Slot *string `json:"Slot,omitnil" name:"Slot"`

	// Node sequence ID
	NodeId *string `json:"NodeId,omitnil" name:"NodeId"`

	// Node status
	Status *string `json:"Status,omitnil" name:"Status"`

	// Node role
	Role *string `json:"Role,omitnil" name:"Role"`
}

type RedisNodeInfo

type RedisNodeInfo struct {
	// Node type. <ul><li>`0`: Master node.</li><li>`1`: Replica node.</li></ul>
	NodeType *int64 `json:"NodeType,omitnil" name:"NodeType"`

	// ID of the master or replica node <ul><li>This parameter is optional when the [CreateInstances](https://intl.cloud.tencent.com/document/product/239/20026?from_cn_redirect=1) API is used to create a TencentDB for Redis instance, but it is required when the [UpgradeInstance](https://intl.cloud.tencent.com/document/product/239/20013?from_cn_redirect=1) API is used to adjust the configuration of an instance by deleting a replica.  </li><li>You can use the [DescribeInstances](https://intl.cloud.tencent.com/document/product/239/20018?from_cn_redirect=1) API to get the node ID of integer type. </li></ul> </li></ul>
	NodeId *int64 `json:"NodeId,omitnil" name:"NodeId"`

	// ID of the AZ of the master or replica node
	ZoneId *uint64 `json:"ZoneId,omitnil" name:"ZoneId"`

	// Name of the AZ of the master or replica node
	ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"`
}

type RedisNodes

type RedisNodes struct {
	// Node ID
	NodeId *string `json:"NodeId,omitnil" name:"NodeId"`

	// Node role
	NodeRole *string `json:"NodeRole,omitnil" name:"NodeRole"`

	// Shard ID
	ClusterId *int64 `json:"ClusterId,omitnil" name:"ClusterId"`

	// AZ ID
	ZoneId *int64 `json:"ZoneId,omitnil" name:"ZoneId"`
}

type RegionConf

type RegionConf struct {
	// Region ID
	RegionId *string `json:"RegionId,omitnil" name:"RegionId"`

	// Region name
	RegionName *string `json:"RegionName,omitnil" name:"RegionName"`

	// Region abbreviation
	RegionShortName *string `json:"RegionShortName,omitnil" name:"RegionShortName"`

	// Name of the area where a region is located
	Area *string `json:"Area,omitnil" name:"Area"`

	// AZ information
	ZoneSet []*ZoneCapacityConf `json:"ZoneSet,omitnil" name:"ZoneSet"`
}

type ReleaseWanAddressRequest

type ReleaseWanAddressRequest struct {
	*tchttp.BaseRequest

	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

func NewReleaseWanAddressRequest

func NewReleaseWanAddressRequest() (request *ReleaseWanAddressRequest)

func (*ReleaseWanAddressRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ReleaseWanAddressRequest) ToJsonString

func (r *ReleaseWanAddressRequest) ToJsonString() string

type ReleaseWanAddressRequestParams

type ReleaseWanAddressRequestParams struct {
	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

Predefined struct for user

type ReleaseWanAddressResponse

type ReleaseWanAddressResponse struct {
	*tchttp.BaseResponse
	Response *ReleaseWanAddressResponseParams `json:"Response"`
}

func NewReleaseWanAddressResponse

func NewReleaseWanAddressResponse() (response *ReleaseWanAddressResponse)

func (*ReleaseWanAddressResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ReleaseWanAddressResponse) ToJsonString

func (r *ReleaseWanAddressResponse) ToJsonString() string

type ReleaseWanAddressResponseParams

type ReleaseWanAddressResponseParams struct {
	// Async task ID
	FlowId *int64 `json:"FlowId,omitnil" name:"FlowId"`

	// Status of disabling public network access
	WanStatus *string `json:"WanStatus,omitnil" name:"WanStatus"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type RemoveReplicationInstanceRequest

type RemoveReplicationInstanceRequest struct {
	*tchttp.BaseRequest

	// Replication group ID
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Data sync type. Valid values: `true` (strong sync is required), `false` (strong sync is not required, only the master instance can be deleted).
	SyncType *bool `json:"SyncType,omitnil" name:"SyncType"`
}

func NewRemoveReplicationInstanceRequest

func NewRemoveReplicationInstanceRequest() (request *RemoveReplicationInstanceRequest)

func (*RemoveReplicationInstanceRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RemoveReplicationInstanceRequest) ToJsonString

func (r *RemoveReplicationInstanceRequest) ToJsonString() string

type RemoveReplicationInstanceRequestParams

type RemoveReplicationInstanceRequestParams struct {
	// Replication group ID
	GroupId *string `json:"GroupId,omitnil" name:"GroupId"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Data sync type. Valid values: `true` (strong sync is required), `false` (strong sync is not required, only the master instance can be deleted).
	SyncType *bool `json:"SyncType,omitnil" name:"SyncType"`
}

Predefined struct for user

type RemoveReplicationInstanceResponse

type RemoveReplicationInstanceResponse struct {
	*tchttp.BaseResponse
	Response *RemoveReplicationInstanceResponseParams `json:"Response"`
}

func NewRemoveReplicationInstanceResponse

func NewRemoveReplicationInstanceResponse() (response *RemoveReplicationInstanceResponse)

func (*RemoveReplicationInstanceResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RemoveReplicationInstanceResponse) ToJsonString

func (r *RemoveReplicationInstanceResponse) ToJsonString() string

type RemoveReplicationInstanceResponseParams

type RemoveReplicationInstanceResponseParams struct {
	// Async task ID
	TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type RenewInstanceRequest

type RenewInstanceRequest struct {
	*tchttp.BaseRequest

	// Validity period in months
	Period *uint64 `json:"Period,omitnil" name:"Period"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// The parameter used to determine whether to modify the billing mode. <ul><li>If you want to change the billing mode from pay-as-you-go to monthly subscription, specify this parameter as <b>prepaid</b>. </li><li>If the current instance is monthly subscribed, this parameter is not required. </li></ul>
	ModifyPayMode *string `json:"ModifyPayMode,omitnil" name:"ModifyPayMode"`
}

func NewRenewInstanceRequest

func NewRenewInstanceRequest() (request *RenewInstanceRequest)

func (*RenewInstanceRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RenewInstanceRequest) ToJsonString

func (r *RenewInstanceRequest) ToJsonString() string

type RenewInstanceRequestParams

type RenewInstanceRequestParams struct {
	// Validity period in months
	Period *uint64 `json:"Period,omitnil" name:"Period"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// The parameter used to determine whether to modify the billing mode. <ul><li>If you want to change the billing mode from pay-as-you-go to monthly subscription, specify this parameter as <b>prepaid</b>. </li><li>If the current instance is monthly subscribed, this parameter is not required. </li></ul>
	ModifyPayMode *string `json:"ModifyPayMode,omitnil" name:"ModifyPayMode"`
}

Predefined struct for user

type RenewInstanceResponse

type RenewInstanceResponse struct {
	*tchttp.BaseResponse
	Response *RenewInstanceResponseParams `json:"Response"`
}

func NewRenewInstanceResponse

func NewRenewInstanceResponse() (response *RenewInstanceResponse)

func (*RenewInstanceResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RenewInstanceResponse) ToJsonString

func (r *RenewInstanceResponse) ToJsonString() string

type RenewInstanceResponseParams

type RenewInstanceResponseParams struct {
	// Transaction ID
	DealId *string `json:"DealId,omitnil" name:"DealId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ReplicaGroup

type ReplicaGroup struct {
	// Node group ID
	GroupId *int64 `json:"GroupId,omitnil" name:"GroupId"`

	// Node group name, which is empty for the master node
	GroupName *string `json:"GroupName,omitnil" name:"GroupName"`

	// Node AZ ID, such as ap-guangzhou-1
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// Node group type. Valid values: master (master node group); replica (replica node group)
	Role *string `json:"Role,omitnil" name:"Role"`

	// List of nodes in the node group
	RedisNodes []*RedisNode `json:"RedisNodes,omitnil" name:"RedisNodes"`
}

type ResetPasswordRequest

type ResetPasswordRequest struct {
	*tchttp.BaseRequest

	// Redis instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Password reset (this parameter can be left blank when switching to password-free instance mode and is required in other cases)
	Password *string `json:"Password,omitnil" name:"Password"`

	// Whether to switch to password-free instance mode. false: switch to password-enabled instance mode; true: switch to password-free instance mode. Default value: false.
	NoAuth *bool `json:"NoAuth,omitnil" name:"NoAuth"`
}

func NewResetPasswordRequest

func NewResetPasswordRequest() (request *ResetPasswordRequest)

func (*ResetPasswordRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ResetPasswordRequest) ToJsonString

func (r *ResetPasswordRequest) ToJsonString() string

type ResetPasswordRequestParams

type ResetPasswordRequestParams struct {
	// Redis instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Password reset (this parameter can be left blank when switching to password-free instance mode and is required in other cases)
	Password *string `json:"Password,omitnil" name:"Password"`

	// Whether to switch to password-free instance mode. false: switch to password-enabled instance mode; true: switch to password-free instance mode. Default value: false.
	NoAuth *bool `json:"NoAuth,omitnil" name:"NoAuth"`
}

Predefined struct for user

type ResetPasswordResponse

type ResetPasswordResponse struct {
	*tchttp.BaseResponse
	Response *ResetPasswordResponseParams `json:"Response"`
}

func NewResetPasswordResponse

func NewResetPasswordResponse() (response *ResetPasswordResponse)

func (*ResetPasswordResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ResetPasswordResponse) ToJsonString

func (r *ResetPasswordResponse) ToJsonString() string

type ResetPasswordResponseParams

type ResetPasswordResponseParams struct {
	// Task ID (this parameter is the task ID when changing a password. If you are switching between password-free and password-enabled instance mode, you can leave this parameter alone)
	TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ResourceTag

type ResourceTag struct {
	// Tag key
	TagKey *string `json:"TagKey,omitnil" name:"TagKey"`

	// The value corresponding to the tag key
	TagValue *string `json:"TagValue,omitnil" name:"TagValue"`
}

type RestoreInstanceRequest

type RestoreInstanceRequest struct {
	*tchttp.BaseRequest

	// ID of the instance to be operated on, which can be obtained through the `InstanceId` field in the return value of the `DescribeInstances` API.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Backup ID, which can be obtained through the `backupId` field in the return value of the `GetRedisBackupList` API.
	BackupId *string `json:"BackupId,omitnil" name:"BackupId"`

	// Instance password, which needs to be validated during instance restoration (this parameter is not required for password-free instances)
	Password *string `json:"Password,omitnil" name:"Password"`
}

func NewRestoreInstanceRequest

func NewRestoreInstanceRequest() (request *RestoreInstanceRequest)

func (*RestoreInstanceRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RestoreInstanceRequest) ToJsonString

func (r *RestoreInstanceRequest) ToJsonString() string

type RestoreInstanceRequestParams

type RestoreInstanceRequestParams struct {
	// ID of the instance to be operated on, which can be obtained through the `InstanceId` field in the return value of the `DescribeInstances` API.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Backup ID, which can be obtained through the `backupId` field in the return value of the `GetRedisBackupList` API.
	BackupId *string `json:"BackupId,omitnil" name:"BackupId"`

	// Instance password, which needs to be validated during instance restoration (this parameter is not required for password-free instances)
	Password *string `json:"Password,omitnil" name:"Password"`
}

Predefined struct for user

type RestoreInstanceResponse

type RestoreInstanceResponse struct {
	*tchttp.BaseResponse
	Response *RestoreInstanceResponseParams `json:"Response"`
}

func NewRestoreInstanceResponse

func NewRestoreInstanceResponse() (response *RestoreInstanceResponse)

func (*RestoreInstanceResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RestoreInstanceResponse) ToJsonString

func (r *RestoreInstanceResponse) ToJsonString() string

type RestoreInstanceResponseParams

type RestoreInstanceResponseParams struct {
	// Task ID, which can be used to query the task execution status through the `DescribeTaskInfo` API.
	TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type SecurityGroup

type SecurityGroup struct {
	// Creation time in the format of yyyy-mm-dd hh:mm:ss.
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// Project ID.
	ProjectId *uint64 `json:"ProjectId,omitnil" name:"ProjectId"`

	// Security group ID.
	SecurityGroupId *string `json:"SecurityGroupId,omitnil" name:"SecurityGroupId"`

	// Security group name.
	SecurityGroupName *string `json:"SecurityGroupName,omitnil" name:"SecurityGroupName"`

	// Security group remarks.
	SecurityGroupRemark *string `json:"SecurityGroupRemark,omitnil" name:"SecurityGroupRemark"`

	// Outbound rule.
	Outbound []*Outbound `json:"Outbound,omitnil" name:"Outbound"`

	// Inbound rule.
	Inbound []*Inbound `json:"Inbound,omitnil" name:"Inbound"`
}

type SecurityGroupDetail

type SecurityGroupDetail struct {
	// Project ID
	ProjectId *int64 `json:"ProjectId,omitnil" name:"ProjectId"`

	// Security group creation time
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// Security group ID
	SecurityGroupId *string `json:"SecurityGroupId,omitnil" name:"SecurityGroupId"`

	// Security group name
	SecurityGroupName *string `json:"SecurityGroupName,omitnil" name:"SecurityGroupName"`

	// Security group remarks
	SecurityGroupRemark *string `json:"SecurityGroupRemark,omitnil" name:"SecurityGroupRemark"`

	// Inbound rules of the security group, which control the access source to the database.
	InboundRule []*SecurityGroupsInboundAndOutbound `json:"InboundRule,omitnil" name:"InboundRule"`

	// Security group outbound rule
	OutboundRule []*SecurityGroupsInboundAndOutbound `json:"OutboundRule,omitnil" name:"OutboundRule"`
}

type SecurityGroupsInboundAndOutbound

type SecurityGroupsInboundAndOutbound struct {
	// Identify whether the IP and port for accessing the database are allowed
	Action *string `json:"Action,omitnil" name:"Action"`

	// IP address for accessing the database
	Ip *string `json:"Ip,omitnil" name:"Ip"`

	// Port number
	Port *string `json:"Port,omitnil" name:"Port"`

	// Protocol type
	Proto *string `json:"Proto,omitnil" name:"Proto"`
}

type SourceCommand

type SourceCommand struct {
	// Command
	Cmd *string `json:"Cmd,omitnil" name:"Cmd"`

	// Number of executions
	Count *int64 `json:"Count,omitnil" name:"Count"`
}

type SourceInfo

type SourceInfo struct {
	// Source IP
	Ip *string `json:"Ip,omitnil" name:"Ip"`

	// Number of connections
	Conn *int64 `json:"Conn,omitnil" name:"Conn"`

	// Command
	Cmd *int64 `json:"Cmd,omitnil" name:"Cmd"`
}

type StartupInstanceRequest

type StartupInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

func NewStartupInstanceRequest

func NewStartupInstanceRequest() (request *StartupInstanceRequest)

func (*StartupInstanceRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartupInstanceRequest) ToJsonString

func (r *StartupInstanceRequest) ToJsonString() string

type StartupInstanceRequestParams

type StartupInstanceRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

Predefined struct for user

type StartupInstanceResponse

type StartupInstanceResponse struct {
	*tchttp.BaseResponse
	Response *StartupInstanceResponseParams `json:"Response"`
}

func NewStartupInstanceResponse

func NewStartupInstanceResponse() (response *StartupInstanceResponse)

func (*StartupInstanceResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartupInstanceResponse) ToJsonString

func (r *StartupInstanceResponse) ToJsonString() string

type StartupInstanceResponseParams

type StartupInstanceResponseParams struct {
	// Task ID
	TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type SwitchInstanceVipRequest

type SwitchInstanceVipRequest struct {
	*tchttp.BaseRequest

	// Source instance ID
	SrcInstanceId *string `json:"SrcInstanceId,omitnil" name:"SrcInstanceId"`

	// Target instance ID
	DstInstanceId *string `json:"DstInstanceId,omitnil" name:"DstInstanceId"`

	// The time that lapses in seconds since DTS is disconnected between the source instance and the target instance. If the DTS disconnection time period is greater than TimeDelay, the VIP will not be switched. We recommend you set an acceptable value based on the actual business conditions.
	TimeDelay *int64 `json:"TimeDelay,omitnil" name:"TimeDelay"`

	// Whether to force the switch when DTS is disconnected. 1: yes; 0: no.
	ForceSwitch *int64 `json:"ForceSwitch,omitnil" name:"ForceSwitch"`

	// now: switch now; syncComplete: switch after sync is completed
	SwitchTime *string `json:"SwitchTime,omitnil" name:"SwitchTime"`
}

func NewSwitchInstanceVipRequest

func NewSwitchInstanceVipRequest() (request *SwitchInstanceVipRequest)

func (*SwitchInstanceVipRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SwitchInstanceVipRequest) ToJsonString

func (r *SwitchInstanceVipRequest) ToJsonString() string

type SwitchInstanceVipRequestParams

type SwitchInstanceVipRequestParams struct {
	// Source instance ID
	SrcInstanceId *string `json:"SrcInstanceId,omitnil" name:"SrcInstanceId"`

	// Target instance ID
	DstInstanceId *string `json:"DstInstanceId,omitnil" name:"DstInstanceId"`

	// The time that lapses in seconds since DTS is disconnected between the source instance and the target instance. If the DTS disconnection time period is greater than TimeDelay, the VIP will not be switched. We recommend you set an acceptable value based on the actual business conditions.
	TimeDelay *int64 `json:"TimeDelay,omitnil" name:"TimeDelay"`

	// Whether to force the switch when DTS is disconnected. 1: yes; 0: no.
	ForceSwitch *int64 `json:"ForceSwitch,omitnil" name:"ForceSwitch"`

	// now: switch now; syncComplete: switch after sync is completed
	SwitchTime *string `json:"SwitchTime,omitnil" name:"SwitchTime"`
}

Predefined struct for user

type SwitchInstanceVipResponse

type SwitchInstanceVipResponse struct {
	*tchttp.BaseResponse
	Response *SwitchInstanceVipResponseParams `json:"Response"`
}

func NewSwitchInstanceVipResponse

func NewSwitchInstanceVipResponse() (response *SwitchInstanceVipResponse)

func (*SwitchInstanceVipResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SwitchInstanceVipResponse) ToJsonString

func (r *SwitchInstanceVipResponse) ToJsonString() string

type SwitchInstanceVipResponseParams

type SwitchInstanceVipResponseParams struct {
	// Task ID
	TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type SwitchProxyRequest

type SwitchProxyRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Instance ProxyID
	ProxyID *string `json:"ProxyID,omitnil" name:"ProxyID"`
}

func NewSwitchProxyRequest

func NewSwitchProxyRequest() (request *SwitchProxyRequest)

func (*SwitchProxyRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SwitchProxyRequest) ToJsonString

func (r *SwitchProxyRequest) ToJsonString() string

type SwitchProxyRequestParams

type SwitchProxyRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Instance ProxyID
	ProxyID *string `json:"ProxyID,omitnil" name:"ProxyID"`
}

Predefined struct for user

type SwitchProxyResponse

type SwitchProxyResponse struct {
	*tchttp.BaseResponse
	Response *SwitchProxyResponseParams `json:"Response"`
}

func NewSwitchProxyResponse

func NewSwitchProxyResponse() (response *SwitchProxyResponse)

func (*SwitchProxyResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SwitchProxyResponse) ToJsonString

func (r *SwitchProxyResponse) ToJsonString() string

type SwitchProxyResponseParams

type SwitchProxyResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type TaskInfoDetail

type TaskInfoDetail struct {
	// Task ID
	// Note:  This field may return null, indicating that no valid values can be obtained.
	TaskId *int64 `json:"TaskId,omitnil" name:"TaskId"`

	// Task start time
	// Note:  This field may return null, indicating that no valid values can be obtained.
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

	// Task type. Valid values:  - `FLOW_CREATE`: Create an instance. - `FLOW_MODIFYCONNECTIONCONFIG`: Adjust the number of bandwidth connections. - `FLOW_MODIFYINSTANCEPASSWORDFREE`: Modify the process of password-free access. - `FLOW_CLEARNETWORK`: Returning VPC - `FLOW_SETPWD`: Set the access password. - `FLOW_EXPORSHR`: Expand or reduce the capacity. - `FLOW_UpgradeArch`: Upgrade the instance architecture. - `FLOW_MODIFYINSTANCEPARAMS`: Modify the instance parameters. - `FLOW_MODIFYINSTACEREADONLY`: Modify read-only process. - `FLOW_CLOSE`: Disable the instance. - `FLOW_DELETE`: Delete the instance. - `FLOW_OPEN_WAN`: Enable the public network. - `FLOW_FLOW_CLEAN`: Clear the instance. - `FLOW_MODIFYINSTANCEACCOUNT`: Modify the instance account. - `FLOW_ENABLEINSTANCE_REPLICATE`: Enable the replica read-only feature. - `FLOW_DISABLEINSTANCE_REPLICATE`: Disable the replica read-only feature. - `FLOW_SWITCHINSTANCEVIP`: Swap the VIPs of instances. - FLOW_CHANGE_REPLICA_TO_MSTER: Promote the replica node to the mater node. Backup instance
	// Note:  This field may return null, indicating that no valid values can be obtained.
	TaskType *string `json:"TaskType,omitnil" name:"TaskType"`

	// Instance name
	// Note:  This field may return null, indicating that no valid values can be obtained.
	InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"`

	// Instance ID
	// Note:  This field may return null, indicating that no valid values can be obtained.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Project ID
	// Note:  This field may return null, indicating that no valid values can be obtained.
	ProjectId *int64 `json:"ProjectId,omitnil" name:"ProjectId"`

	// Task progress
	// Note:  This field may return null, indicating that no valid values can be obtained.
	Progress *float64 `json:"Progress,omitnil" name:"Progress"`

	// Task end time
	// Note:  This field may return null, indicating that no valid values can be obtained.
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Task execution status. Valid values: - `0` (initilized) - `1` (executing) - `2` (completed) - `4` (failed)
	// Note:  This field may return null, indicating that no valid values can be obtained.
	Result *int64 `json:"Result,omitnil" name:"Result"`
}

type TendisNodes

type TendisNodes struct {
	// Node ID
	NodeId *string `json:"NodeId,omitnil" name:"NodeId"`

	// Node role
	NodeRole *string `json:"NodeRole,omitnil" name:"NodeRole"`
}

type TendisSlowLogDetail

type TendisSlowLogDetail struct {
	// Execution time
	ExecuteTime *string `json:"ExecuteTime,omitnil" name:"ExecuteTime"`

	// Duration of the slow query (ms)
	Duration *int64 `json:"Duration,omitnil" name:"Duration"`

	// Command
	Command *string `json:"Command,omitnil" name:"Command"`

	// Command line details
	CommandLine *string `json:"CommandLine,omitnil" name:"CommandLine"`

	// Node ID
	Node *string `json:"Node,omitnil" name:"Node"`
}

type TradeDealDetail

type TradeDealDetail struct {
	// Order ID, which is used when a TencentCloud API is called.
	DealId *string `json:"DealId,omitnil" name:"DealId"`

	// Long order ID, which is used when an order issue is submitted for assistance.
	DealName *string `json:"DealName,omitnil" name:"DealName"`

	// AZ ID
	ZoneId *int64 `json:"ZoneId,omitnil" name:"ZoneId"`

	// Number of instances associated with the order
	GoodsNum *int64 `json:"GoodsNum,omitnil" name:"GoodsNum"`

	// Creator UIN
	Creater *string `json:"Creater,omitnil" name:"Creater"`

	// Order creation time
	CreatTime *string `json:"CreatTime,omitnil" name:"CreatTime"`

	// Order timeout period
	OverdueTime *string `json:"OverdueTime,omitnil" name:"OverdueTime"`

	// Order completion time
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Order status. 1: unpaid; 2: paid but not delivered; 3: In delivery; 4: successfully delivered; 5: delivery failed; 6: refunded; 7: order closed; 8: order expired; 9: order invalidated; 10: product invalidated; 11: requested payment rejected; 12: paying
	Status *int64 `json:"Status,omitnil" name:"Status"`

	// Order status description
	Description *string `json:"Description,omitnil" name:"Description"`

	// Actual total price of the order in 0.01 CNY
	Price *int64 `json:"Price,omitnil" name:"Price"`

	// Instance ID
	InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"`
}

type UpgradeInstanceRequest

type UpgradeInstanceRequest struct {
	*tchttp.BaseRequest

	// The ID of instance to be modified.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// New memory size of an instance shard. <ul><li>Unit: MB. </li><li>You can only modify one of the three parameters at a time: `MemSize`, `RedisShardNum`, and `RedisReplicasNum`. To modify one of them, you need to enter the other two, which are consistent with the original configuration specifications of the instance. </li><li>In case of capacity reduction, the new specification must be at least 1.3 times the used capacity; otherwise, the operation will fail.</li></ul>
	MemSize *uint64 `json:"MemSize,omitnil" name:"MemSize"`

	// New number of instance shards. <ul><li>This parameter is not required for standard architecture instances, but for cluster architecture instances. </li><li>For cluster architecture, you can only modify one of the three parameters at a time: `MemSize`, `RedisShardNum`, and `RedisReplicasNum`. To modify one of them, you need to enter the other two, which are consistent with the original configuration specifications of the instance. </li></ul>
	RedisShardNum *uint64 `json:"RedisShardNum,omitnil" name:"RedisShardNum"`

	// New replica quantity. <ul><li>You can only modify one of the three parameters at a time: `MemSize`, `RedisShardNum`, and `RedisReplicasNum`. To modify one of them, you need to enter the other two, which are consistent with the original configuration specifications of the instance. </li></ul>To modify the number of replicas in a multi-AZ instance, `NodeSet` must be passed in.</li></ul>
	RedisReplicasNum *uint64 `json:"RedisReplicasNum,omitnil" name:"RedisReplicasNum"`

	// Additional information for adding replicas for multi-AZ instances, including replica AZ and type (`NodeType` is `1`). This parameter is not required for single-AZ instances.
	NodeSet []*RedisNodeInfo `json:"NodeSet,omitnil" name:"NodeSet"`
}

func NewUpgradeInstanceRequest

func NewUpgradeInstanceRequest() (request *UpgradeInstanceRequest)

func (*UpgradeInstanceRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpgradeInstanceRequest) ToJsonString

func (r *UpgradeInstanceRequest) ToJsonString() string

type UpgradeInstanceRequestParams

type UpgradeInstanceRequestParams struct {
	// The ID of instance to be modified.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// New memory size of an instance shard. <ul><li>Unit: MB. </li><li>You can only modify one of the three parameters at a time: `MemSize`, `RedisShardNum`, and `RedisReplicasNum`. To modify one of them, you need to enter the other two, which are consistent with the original configuration specifications of the instance. </li><li>In case of capacity reduction, the new specification must be at least 1.3 times the used capacity; otherwise, the operation will fail.</li></ul>
	MemSize *uint64 `json:"MemSize,omitnil" name:"MemSize"`

	// New number of instance shards. <ul><li>This parameter is not required for standard architecture instances, but for cluster architecture instances. </li><li>For cluster architecture, you can only modify one of the three parameters at a time: `MemSize`, `RedisShardNum`, and `RedisReplicasNum`. To modify one of them, you need to enter the other two, which are consistent with the original configuration specifications of the instance. </li></ul>
	RedisShardNum *uint64 `json:"RedisShardNum,omitnil" name:"RedisShardNum"`

	// New replica quantity. <ul><li>You can only modify one of the three parameters at a time: `MemSize`, `RedisShardNum`, and `RedisReplicasNum`. To modify one of them, you need to enter the other two, which are consistent with the original configuration specifications of the instance. </li></ul>To modify the number of replicas in a multi-AZ instance, `NodeSet` must be passed in.</li></ul>
	RedisReplicasNum *uint64 `json:"RedisReplicasNum,omitnil" name:"RedisReplicasNum"`

	// Additional information for adding replicas for multi-AZ instances, including replica AZ and type (`NodeType` is `1`). This parameter is not required for single-AZ instances.
	NodeSet []*RedisNodeInfo `json:"NodeSet,omitnil" name:"NodeSet"`
}

Predefined struct for user

type UpgradeInstanceResponse

type UpgradeInstanceResponse struct {
	*tchttp.BaseResponse
	Response *UpgradeInstanceResponseParams `json:"Response"`
}

func NewUpgradeInstanceResponse

func NewUpgradeInstanceResponse() (response *UpgradeInstanceResponse)

func (*UpgradeInstanceResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpgradeInstanceResponse) ToJsonString

func (r *UpgradeInstanceResponse) ToJsonString() string

type UpgradeInstanceResponseParams

type UpgradeInstanceResponseParams struct {
	// Order ID
	DealId *string `json:"DealId,omitnil" name:"DealId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type UpgradeInstanceVersionRequest

type UpgradeInstanceVersionRequest struct {
	*tchttp.BaseRequest

	// Target instance type after the change, which is the same as the `TypeId` of the [CreateInstances](https://intl.cloud.tencent.com/document/api/239/20026?from_cn_redirect=1) API.
	// - For Redis 4.0 or later, a standard architecture instance can be upgraded to a cluster architecture instance on the same version; for example, you can upgrade from Redis 4.0 Standard Architecture to Redis 4.0 Cluster Architecture.
	// - Cross-version architecture upgrade is not supported; for example, you cannot upgrade from Redis 4.0 Standard Architecture to Redis 5.0 Cluster Architecture.
	// - The architecture of Redis 2.8 cannot be upgraded.
	// - Cluster architecture cannot be downgraded to standard architecture.
	TargetInstanceType *string `json:"TargetInstanceType,omitnil" name:"TargetInstanceType"`

	// Switch time. Valid values:
	// - `1`: Switch in the maintenance time.
	// - `2` (default value): Switch now.
	SwitchOption *int64 `json:"SwitchOption,omitnil" name:"SwitchOption"`

	// ID of the specified instance, such as `crs-xjhsdj****`. Log in to the [Redis console](https://console.cloud.tencent.com/redis#/), and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

func NewUpgradeInstanceVersionRequest

func NewUpgradeInstanceVersionRequest() (request *UpgradeInstanceVersionRequest)

func (*UpgradeInstanceVersionRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpgradeInstanceVersionRequest) ToJsonString

func (r *UpgradeInstanceVersionRequest) ToJsonString() string

type UpgradeInstanceVersionRequestParams

type UpgradeInstanceVersionRequestParams struct {
	// Target instance type after the change, which is the same as the `TypeId` of the [CreateInstances](https://intl.cloud.tencent.com/document/api/239/20026?from_cn_redirect=1) API.
	// - For Redis 4.0 or later, a standard architecture instance can be upgraded to a cluster architecture instance on the same version; for example, you can upgrade from Redis 4.0 Standard Architecture to Redis 4.0 Cluster Architecture.
	// - Cross-version architecture upgrade is not supported; for example, you cannot upgrade from Redis 4.0 Standard Architecture to Redis 5.0 Cluster Architecture.
	// - The architecture of Redis 2.8 cannot be upgraded.
	// - Cluster architecture cannot be downgraded to standard architecture.
	TargetInstanceType *string `json:"TargetInstanceType,omitnil" name:"TargetInstanceType"`

	// Switch time. Valid values:
	// - `1`: Switch in the maintenance time.
	// - `2` (default value): Switch now.
	SwitchOption *int64 `json:"SwitchOption,omitnil" name:"SwitchOption"`

	// ID of the specified instance, such as `crs-xjhsdj****`. Log in to the [Redis console](https://console.cloud.tencent.com/redis#/), and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

Predefined struct for user

type UpgradeInstanceVersionResponse

type UpgradeInstanceVersionResponse struct {
	*tchttp.BaseResponse
	Response *UpgradeInstanceVersionResponseParams `json:"Response"`
}

func NewUpgradeInstanceVersionResponse

func NewUpgradeInstanceVersionResponse() (response *UpgradeInstanceVersionResponse)

func (*UpgradeInstanceVersionResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpgradeInstanceVersionResponse) ToJsonString

func (r *UpgradeInstanceVersionResponse) ToJsonString() string

type UpgradeInstanceVersionResponseParams

type UpgradeInstanceVersionResponseParams struct {
	// Order ID
	DealId *string `json:"DealId,omitnil" name:"DealId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type UpgradeProxyVersionRequest

type UpgradeProxyVersionRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// The current proxy version
	CurrentProxyVersion *string `json:"CurrentProxyVersion,omitnil" name:"CurrentProxyVersion"`

	// Upgradeable redis version
	UpgradeProxyVersion *string `json:"UpgradeProxyVersion,omitnil" name:"UpgradeProxyVersion"`

	// `1` (upgrade immediately), `0` (upgrade during maintenance time)
	InstanceTypeUpgradeNow *int64 `json:"InstanceTypeUpgradeNow,omitnil" name:"InstanceTypeUpgradeNow"`
}

func NewUpgradeProxyVersionRequest

func NewUpgradeProxyVersionRequest() (request *UpgradeProxyVersionRequest)

func (*UpgradeProxyVersionRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpgradeProxyVersionRequest) ToJsonString

func (r *UpgradeProxyVersionRequest) ToJsonString() string

type UpgradeProxyVersionRequestParams

type UpgradeProxyVersionRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// The current proxy version
	CurrentProxyVersion *string `json:"CurrentProxyVersion,omitnil" name:"CurrentProxyVersion"`

	// Upgradeable redis version
	UpgradeProxyVersion *string `json:"UpgradeProxyVersion,omitnil" name:"UpgradeProxyVersion"`

	// `1` (upgrade immediately), `0` (upgrade during maintenance time)
	InstanceTypeUpgradeNow *int64 `json:"InstanceTypeUpgradeNow,omitnil" name:"InstanceTypeUpgradeNow"`
}

Predefined struct for user

type UpgradeProxyVersionResponse

type UpgradeProxyVersionResponse struct {
	*tchttp.BaseResponse
	Response *UpgradeProxyVersionResponseParams `json:"Response"`
}

func NewUpgradeProxyVersionResponse

func NewUpgradeProxyVersionResponse() (response *UpgradeProxyVersionResponse)

func (*UpgradeProxyVersionResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpgradeProxyVersionResponse) ToJsonString

func (r *UpgradeProxyVersionResponse) ToJsonString() string

type UpgradeProxyVersionResponseParams

type UpgradeProxyVersionResponseParams struct {
	// Async task ID
	FlowId *int64 `json:"FlowId,omitnil" name:"FlowId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type UpgradeSmallVersionRequest

type UpgradeSmallVersionRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// The current redis version
	CurrentRedisVersion *string `json:"CurrentRedisVersion,omitnil" name:"CurrentRedisVersion"`

	// Upgradeable redis version
	UpgradeRedisVersion *string `json:"UpgradeRedisVersion,omitnil" name:"UpgradeRedisVersion"`

	// `1` (upgrade immediately), `0` (upgrade during maintenance time)
	InstanceTypeUpgradeNow *int64 `json:"InstanceTypeUpgradeNow,omitnil" name:"InstanceTypeUpgradeNow"`
}

func NewUpgradeSmallVersionRequest

func NewUpgradeSmallVersionRequest() (request *UpgradeSmallVersionRequest)

func (*UpgradeSmallVersionRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpgradeSmallVersionRequest) ToJsonString

func (r *UpgradeSmallVersionRequest) ToJsonString() string

type UpgradeSmallVersionRequestParams

type UpgradeSmallVersionRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// The current redis version
	CurrentRedisVersion *string `json:"CurrentRedisVersion,omitnil" name:"CurrentRedisVersion"`

	// Upgradeable redis version
	UpgradeRedisVersion *string `json:"UpgradeRedisVersion,omitnil" name:"UpgradeRedisVersion"`

	// `1` (upgrade immediately), `0` (upgrade during maintenance time)
	InstanceTypeUpgradeNow *int64 `json:"InstanceTypeUpgradeNow,omitnil" name:"InstanceTypeUpgradeNow"`
}

Predefined struct for user

type UpgradeSmallVersionResponse

type UpgradeSmallVersionResponse struct {
	*tchttp.BaseResponse
	Response *UpgradeSmallVersionResponseParams `json:"Response"`
}

func NewUpgradeSmallVersionResponse

func NewUpgradeSmallVersionResponse() (response *UpgradeSmallVersionResponse)

func (*UpgradeSmallVersionResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpgradeSmallVersionResponse) ToJsonString

func (r *UpgradeSmallVersionResponse) ToJsonString() string

type UpgradeSmallVersionResponseParams

type UpgradeSmallVersionResponseParams struct {
	// Async task ID
	FlowId *int64 `json:"FlowId,omitnil" name:"FlowId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type UpgradeVersionToMultiAvailabilityZonesRequest

type UpgradeVersionToMultiAvailabilityZonesRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Whether to support “Reading Local Nodes Only” feature after upgrading to multi-AZ deployment.
	// ul><li>`true`: The “Read Local Nodes Only” feature is supported. During the upgrade, you need to upgrade the proxy version and Redis kernel minor version simultaneously, which will involve data migration and may take hours to complete. </li><li>`false`: The “Read Local Nodes Only” feature is not supported. Upgrading to multi-AZ deployment will involve metadata migration only without affecting the service, which generally take less than three minutes to complete.</li></ul>
	UpgradeProxyAndRedisServer *bool `json:"UpgradeProxyAndRedisServer,omitnil" name:"UpgradeProxyAndRedisServer"`
}

func NewUpgradeVersionToMultiAvailabilityZonesRequest

func NewUpgradeVersionToMultiAvailabilityZonesRequest() (request *UpgradeVersionToMultiAvailabilityZonesRequest)

func (*UpgradeVersionToMultiAvailabilityZonesRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpgradeVersionToMultiAvailabilityZonesRequest) ToJsonString

type UpgradeVersionToMultiAvailabilityZonesRequestParams

type UpgradeVersionToMultiAvailabilityZonesRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Whether to support “Reading Local Nodes Only” feature after upgrading to multi-AZ deployment.
	// ul><li>`true`: The “Read Local Nodes Only” feature is supported. During the upgrade, you need to upgrade the proxy version and Redis kernel minor version simultaneously, which will involve data migration and may take hours to complete. </li><li>`false`: The “Read Local Nodes Only” feature is not supported. Upgrading to multi-AZ deployment will involve metadata migration only without affecting the service, which generally take less than three minutes to complete.</li></ul>
	UpgradeProxyAndRedisServer *bool `json:"UpgradeProxyAndRedisServer,omitnil" name:"UpgradeProxyAndRedisServer"`
}

Predefined struct for user

type UpgradeVersionToMultiAvailabilityZonesResponse

type UpgradeVersionToMultiAvailabilityZonesResponse struct {
	*tchttp.BaseResponse
	Response *UpgradeVersionToMultiAvailabilityZonesResponseParams `json:"Response"`
}

func NewUpgradeVersionToMultiAvailabilityZonesResponse

func NewUpgradeVersionToMultiAvailabilityZonesResponse() (response *UpgradeVersionToMultiAvailabilityZonesResponse)

func (*UpgradeVersionToMultiAvailabilityZonesResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpgradeVersionToMultiAvailabilityZonesResponse) ToJsonString

type UpgradeVersionToMultiAvailabilityZonesResponseParams

type UpgradeVersionToMultiAvailabilityZonesResponseParams struct {
	// Task ID
	FlowId *int64 `json:"FlowId,omitnil" name:"FlowId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ZoneCapacityConf

type ZoneCapacityConf struct {
	// AZ ID, such as ap-guangzhou-3
	ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"`

	// AZ name
	ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"`

	// Whether a product is sold out in an AZ
	IsSaleout *bool `json:"IsSaleout,omitnil" name:"IsSaleout"`

	// Whether it is a default AZ
	IsDefault *bool `json:"IsDefault,omitnil" name:"IsDefault"`

	// Network type. basenet: basic network; vpcnet: VPC
	NetWorkType []*string `json:"NetWorkType,omitnil" name:"NetWorkType"`

	// Information of an AZ, such as product specifications in it
	ProductSet []*ProductConf `json:"ProductSet,omitnil" name:"ProductSet"`

	// AZ ID, such as 100003
	OldZoneId *int64 `json:"OldZoneId,omitnil" name:"OldZoneId"`
}

Jump to

Keyboard shortcuts

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