v20180412

package
v3.0.1104+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 19, 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"

	// A renaming rule error occurred.
	INVALIDPARAMETERVALUE_INSTANCENAMERULEERROR = "InvalidParameterValue.InstanceNameRuleError"

	// 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 instance has already been bound.
	INVALIDPARAMETERVALUE_NOTREPEATBIND = "InvalidParameterValue.NotRepeatBind"

	// 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 number of bound instances exceeds the upper limit.
	LIMITEXCEEDED_EXCEEDUPPERLIMIT = "LimitExceeded.ExceedUpperLimit"

	// The bound instance must not be specified.
	LIMITEXCEEDED_INSTANCENOTEMPTY = "LimitExceeded.InstanceNotEmpty"

	// 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 and recovery specifications are not supported.
	RESOURCEUNAVAILABLE_BACKUPSPECERROR = "ResourceUnavailable.BackupSpecError"

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

	// The instance version is too low.
	UNSUPPORTEDOPERATION_LOWVERSION = "UnsupportedOperation.LowVersion"

	// 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 value can be obtained.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

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

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

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

	// Read-only routing policy.
	// - master: primary node.
	// - replication: secondary node.
	// Note: This field may return null, indicating that no valid value can be obtained.
	ReadonlyPolicy []*string `json:"ReadonlyPolicy,omitnil,omitempty" name:"ReadonlyPolicy"`

	// Sub-account status.
	// - 1: changing.
	// - 2: valid.
	// - 4: deleted.
	// Note: This field may return null, indicating that no valid value can be obtained.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Creation time.Note: This field may return null, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
}

type AddReplicationInstanceRequest

type AddReplicationInstanceRequest struct {
	*tchttp.BaseRequest

	// Replication group ID. Log in to the [global replication](https://console.tencentcloud.com/redis/replication) page of the Redis console and obtain it.
	GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Assigns roles to instances added to the replication group. <ul><li>rw: read-write;</li> <li>r: read-only.</li></ul>
	InstanceRole *string `json:"InstanceRole,omitnil,omitempty" name:"InstanceRole"`
}

func NewAddReplicationInstanceRequest

func NewAddReplicationInstanceRequest() (request *AddReplicationInstanceRequest)

func (*AddReplicationInstanceRequest) FromJsonString

func (r *AddReplicationInstanceRequest) 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 (*AddReplicationInstanceRequest) ToJsonString

func (r *AddReplicationInstanceRequest) ToJsonString() string

type AddReplicationInstanceRequestParams

type AddReplicationInstanceRequestParams struct {
	// Replication group ID. Log in to the [global replication](https://console.tencentcloud.com/redis/replication) page of the Redis console and obtain it.
	GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Assigns roles to instances added to the replication group. <ul><li>rw: read-write;</li> <li>r: read-only.</li></ul>
	InstanceRole *string `json:"InstanceRole,omitnil,omitempty" name:"InstanceRole"`
}

Predefined struct for user

type AddReplicationInstanceResponse

type AddReplicationInstanceResponse struct {
	*tchttp.BaseResponse
	Response *AddReplicationInstanceResponseParams `json:"Response"`
}

func NewAddReplicationInstanceResponse

func NewAddReplicationInstanceResponse() (response *AddReplicationInstanceResponse)

func (*AddReplicationInstanceResponse) FromJsonString

func (r *AddReplicationInstanceResponse) 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 (*AddReplicationInstanceResponse) ToJsonString

func (r *AddReplicationInstanceResponse) ToJsonString() string

type AddReplicationInstanceResponseParams

type AddReplicationInstanceResponseParams struct {
	// Asynchronous process ID.
	TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type AllocateWanAddressRequest

type AllocateWanAddressRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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,omitempty" name:"FlowId"`

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

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ApplyParamsTemplateRequest

type ApplyParamsTemplateRequest struct {
	*tchttp.BaseRequest

	// Instance ID list. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy the instance ID in the instance list.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// ID of the applied parameter template, which can be obtained through the response parameter **TemplateId** of the API [DescribeParamTemplateInfo](https://intl.cloud.tencent.com/document/product/239/58748?from_cn_redirect=1).
	TemplateId *string `json:"TemplateId,omitnil,omitempty" 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 {
	// Instance ID list. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy the instance ID in the instance list.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// ID of the applied parameter template, which can be obtained through the response parameter **TemplateId** of the API [DescribeParamTemplateInfo](https://intl.cloud.tencent.com/document/product/239/58748?from_cn_redirect=1).
	TemplateId *string `json:"TemplateId,omitnil,omitempty" 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,omitempty" name:"TaskIds"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Product"`

	// ID of the security group to be bound. Obtain it on the [security group](https://console.tencentcloud.com/vpc/security-group) page of the console.
	SecurityGroupId *string `json:"SecurityGroupId,omitnil,omitempty" name:"SecurityGroupId"`

	// ID of the bound instance. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list. You can specify multiple instance IDs.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" 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,omitempty" name:"Product"`

	// ID of the security group to be bound. Obtain it on the [security group](https://console.tencentcloud.com/vpc/security-group) page of the console.
	SecurityGroupId *string `json:"SecurityGroupId,omitnil,omitempty" name:"SecurityGroupId"`

	// ID of the bound instance. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list. You can specify multiple instance IDs.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type AvailableRegion

type AvailableRegion struct {
	// Region
	//
	// Note: This field may return null, indicating that no valid value can be obtained.
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// AZ information.
	// Note: This field may return null, indicating that no valid value can be obtained.
	AvailableZones []*string `json:"AvailableZones,omitnil,omitempty" name:"AvailableZones"`
}

type BackupDownloadInfo

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

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

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

	// Address (valid for six hours) used to download the backup file over the private network
	InnerDownloadUrl *string `json:"InnerDownloadUrl,omitnil,omitempty" 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,omitempty" name:"Region"`

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

type BigKeyInfo

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

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

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

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

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

type BigKeyTypeInfo

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

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

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

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

type CDCResource

type CDCResource struct {
	// App ID of a user.
	AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"`

	// Region ID.
	RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// AZ ID.
	ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`

	// ID of the dedicated Redis cluster.
	RedisClusterId *string `json:"RedisClusterId,omitnil,omitempty" name:"RedisClusterId"`

	// Billing mode. 1: monthly subscription; 0: pay-as-you-go.
	PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`

	// Project ID.
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Automatic renewal flag. 0: default status (manual renewal); 1: automatic renewal; 2: no automatic renewal.
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`

	// Dedicated cluster name.
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// Instance creation time
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Instance expiration time.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Cluster status. 1: in process; 2: running; 3: isolated.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Basic control resource package.
	BaseBundles []*ResourceBundle `json:"BaseBundles,omitnil,omitempty" name:"BaseBundles"`

	// Resource package list.
	ResourceBundles []*ResourceBundle `json:"ResourceBundles,omitnil,omitempty" name:"ResourceBundles"`

	// Local dedicated cluster ID.
	DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"`
}

type ChangeInstanceRoleRequest

type ChangeInstanceRoleRequest struct {
	*tchttp.BaseRequest

	// Replication group ID. Log in to the [global replication](https://console.tencentcloud.com/redis/replication) page of the Redis console and obtain it.
	GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Instance role.
	// - rw: read/write.
	// - r: read-only.
	InstanceRole *string `json:"InstanceRole,omitnil,omitempty" 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. Log in to the [global replication](https://console.tencentcloud.com/redis/replication) page of the Redis console and obtain it.
	GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Instance role.
	// - rw: read/write.
	// - r: read-only.
	InstanceRole *string `json:"InstanceRole,omitnil,omitempty" 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,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CleanUpInstanceRequest

type CleanUpInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ClearInstanceRequest

type ClearInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Instance access password.
	// - Password-free access: No configuration is required.
	// - Password authentication: The password is required. It cannot start with a forward slash (/) and should contain 8 to 64 characters, including at least two of the following types: lowercase letters, uppercase letters, digits, and special characters (such as ()`~!@#$%^&*-+=_|{}[]:;<>,.?/).
	Password *string `json:"Password,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Instance access password.
	// - Password-free access: No configuration is required.
	// - Password authentication: The password is required. It cannot start with a forward slash (/) and should contain 8 to 64 characters, including at least two of the following types: lowercase letters, uppercase letters, digits, and special characters (such as ()`~!@#$%^&*-+=_|{}[]:;<>,.?/).
	Password *string `json:"Password,omitnil,omitempty" 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,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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) AddReplicationInstance

func (c *Client) AddReplicationInstance(request *AddReplicationInstanceRequest) (response *AddReplicationInstanceResponse, err error)

AddReplicationInstance This API is used to add an instance member to the global 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_INSTANCENAMERULEERROR = "InvalidParameterValue.InstanceNameRuleError"
INVALIDPARAMETERVALUE_NOTREPEATBIND = "InvalidParameterValue.NotRepeatBind"
INVALIDPARAMETERVALUE_REPLICATIONGROUPNOTEXISTS = "InvalidParameterValue.ReplicationGroupNotExists"
INVALIDPARAMETERVALUE_SPECNOTEXIST = "InvalidParameterValue.SpecNotExist"
INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType"
LIMITEXCEEDED_EXCEEDUPPERLIMIT = "LimitExceeded.ExceedUpperLimit"
LIMITEXCEEDED_INSTANCENOTEMPTY = "LimitExceeded.InstanceNotEmpty"
LIMITEXCEEDED_REPLICATIONGROUPLOCKED = "LimitExceeded.ReplicationGroupLocked"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
UNSUPPORTEDOPERATION_LIMITPROXYVERSION = "UnsupportedOperation.LimitProxyVersion"

func (*Client) AddReplicationInstanceWithContext

func (c *Client) AddReplicationInstanceWithContext(ctx context.Context, request *AddReplicationInstanceRequest) (response *AddReplicationInstanceResponse, err error)

AddReplicationInstance This API is used to add an instance member to the global 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_INSTANCENAMERULEERROR = "InvalidParameterValue.InstanceNameRuleError"
INVALIDPARAMETERVALUE_NOTREPEATBIND = "InvalidParameterValue.NotRepeatBind"
INVALIDPARAMETERVALUE_REPLICATIONGROUPNOTEXISTS = "InvalidParameterValue.ReplicationGroupNotExists"
INVALIDPARAMETERVALUE_SPECNOTEXIST = "InvalidParameterValue.SpecNotExist"
INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType"
LIMITEXCEEDED_EXCEEDUPPERLIMIT = "LimitExceeded.ExceedUpperLimit"
LIMITEXCEEDED_INSTANCENOTEMPTY = "LimitExceeded.InstanceNotEmpty"
LIMITEXCEEDED_REPLICATIONGROUPLOCKED = "LimitExceeded.ReplicationGroupLocked"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
UNSUPPORTEDOPERATION_LIMITPROXYVERSION = "UnsupportedOperation.LimitProxyVersion"

func (*Client) AllocateWanAddress

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

AllocateWanAddress This API is used to enable public network access for instances.

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 for instances.

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 parameter templates 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 parameter templates 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 one or more database instances. When you create an instance without configuring a security group, it is recommended to bind a security group through this API.

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_INSTANCEOPERATEPERMISSIONERROR = "InternalError.InstanceOperatePermissionError"
INTERNALERROR_LISTINSTANCESERROR = "InternalError.ListInstancesError"
INVALIDPARAMETER_INSTANCESGOVERLIMITERROR = "InvalidParameter.InstanceSGOverLimitError"
INVALIDPARAMETER_NOTSUPPORTED = "InvalidParameter.NotSupported"
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 one or more database instances. When you create an instance without configuring a security group, it is recommended to bind a security group through this API.

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_INSTANCEOPERATEPERMISSIONERROR = "InternalError.InstanceOperatePermissionError"
INTERNALERROR_LISTINSTANCESERROR = "InternalError.ListInstancesError"
INVALIDPARAMETER_INSTANCESGOVERLIMITERROR = "InvalidParameter.InstanceSGOverLimitError"
INVALIDPARAMETER_NOTSUPPORTED = "InvalidParameter.NotSupported"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"

func (*Client) ChangeInstanceRole

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

ChangeInstanceRole This API is used to change 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 change 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 immediately terminate instances in the recycle bin.

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 immediately terminate instances in the recycle bin.

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 instance data.

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 instance data.

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 encryption and authentication.

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 encryption and authentication.

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 customize the account for accessing instances.

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 customize the account for accessing instances.

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

func (c *Client) CreateReplicationGroup(request *CreateReplicationGroupRequest) (response *CreateReplicationGroupResponse, err error)

CreateReplicationGroup This API is used to create 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_INSTANCENAMERULEERROR = "InvalidParameterValue.InstanceNameRuleError"
INVALIDPARAMETERVALUE_NOTREPEATBIND = "InvalidParameterValue.NotRepeatBind"
INVALIDPARAMETERVALUE_REPLICATIONGROUPNOTEXISTS = "InvalidParameterValue.ReplicationGroupNotExists"
INVALIDPARAMETERVALUE_SPECNOTEXIST = "InvalidParameterValue.SpecNotExist"
INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType"
LIMITEXCEEDED_INSTANCENOTEMPTY = "LimitExceeded.InstanceNotEmpty"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNSUPPORTEDOPERATION_LIMITPROXYVERSION = "UnsupportedOperation.LimitProxyVersion"

func (*Client) CreateReplicationGroupWithContext

func (c *Client) CreateReplicationGroupWithContext(ctx context.Context, request *CreateReplicationGroupRequest) (response *CreateReplicationGroupResponse, err error)

CreateReplicationGroup This API is used to create 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_INSTANCENAMERULEERROR = "InvalidParameterValue.InstanceNameRuleError"
INVALIDPARAMETERVALUE_NOTREPEATBIND = "InvalidParameterValue.NotRepeatBind"
INVALIDPARAMETERVALUE_REPLICATIONGROUPNOTEXISTS = "InvalidParameterValue.ReplicationGroupNotExists"
INVALIDPARAMETERVALUE_SPECNOTEXIST = "InvalidParameterValue.SpecNotExist"
INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType"
LIMITEXCEEDED_INSTANCENOTEMPTY = "LimitExceeded.InstanceNotEmpty"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNSUPPORTEDOPERATION_LIMITPROXYVERSION = "UnsupportedOperation.LimitProxyVersion"

func (*Client) DeleteInstanceAccount

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

DeleteInstanceAccount This API is used to delete instance sub-accounts.

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 instance sub-accounts.

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

func (c *Client) DeleteReplicationInstance(request *DeleteReplicationInstanceRequest) (response *DeleteReplicationInstanceResponse, err error)

DeleteReplicationInstance This API is used to remove a replication group member. Note: This API is being deprecated. Use [RemoveReplicationInstance](https://intl.cloud.tencent.com/document/product/239/90099?from_cn_redirect=1) instead.

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

func (c *Client) DeleteReplicationInstanceWithContext(ctx context.Context, request *DeleteReplicationInstanceRequest) (response *DeleteReplicationInstanceResponse, err error)

DeleteReplicationInstance This API is used to remove a replication group member. Note: This API is being deprecated. Use [RemoveReplicationInstance](https://intl.cloud.tencent.com/document/product/239/90099?from_cn_redirect=1) instead.

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

func (c *Client) DescribeBackupDetail(request *DescribeBackupDetailRequest) (response *DescribeBackupDetailResponse, err error)

DescribeBackupDetail This API is used to query the backup details of an instance.

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"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"

func (*Client) DescribeBackupDetailWithContext

func (c *Client) DescribeBackupDetailWithContext(ctx context.Context, request *DescribeBackupDetailRequest) (response *DescribeBackupDetailResponse, err error)

DescribeBackupDetail This API is used to query the backup details of an instance.

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"
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_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
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_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
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 is used to query the list of Redis instances. It is now deprecated.

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 is used to query the list of Redis instances. It is now deprecated.

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_NOTSUPPORTED = "InvalidParameter.NotSupported"
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_NOTSUPPORTED = "InvalidParameter.NotSupported"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"

func (*Client) DescribeGlobalReplicationArea

func (c *Client) DescribeGlobalReplicationArea(request *DescribeGlobalReplicationAreaRequest) (response *DescribeGlobalReplicationAreaResponse, err error)

DescribeGlobalReplicationArea This API is used to query the supported regions for global replication.

error code that may be returned:

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

func (*Client) DescribeGlobalReplicationAreaWithContext

func (c *Client) DescribeGlobalReplicationAreaWithContext(ctx context.Context, request *DescribeGlobalReplicationAreaRequest) (response *DescribeGlobalReplicationAreaResponse, err error)

DescribeGlobalReplicationArea This API is used to query the supported regions for global replication.

error code that may be returned:

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

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 instance DTS information.

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 instance DTS information.

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

func (c *Client) DescribeInstanceEvents(request *DescribeInstanceEventsRequest) (response *DescribeInstanceEventsResponse, err error)

DescribeInstanceEvents This API is used to query the event information on a TecentDB for Redis instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETER_ACTIONNOTFOUND = "InvalidParameter.ActionNotFound"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNSUPPORTEDOPERATION_INSTANCENOTOPERATION = "UnsupportedOperation.InstanceNotOperation"

func (*Client) DescribeInstanceEventsWithContext

func (c *Client) DescribeInstanceEventsWithContext(ctx context.Context, request *DescribeInstanceEventsRequest) (response *DescribeInstanceEventsResponse, err error)

DescribeInstanceEvents This API is used to query the event information on a TecentDB for Redis instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETER_ACTIONNOTFOUND = "InvalidParameter.ActionNotFound"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNSUPPORTEDOPERATION_INSTANCENOTOPERATION = "UnsupportedOperation.InstanceNotOperation"

func (*Client) DescribeInstanceLogDelivery

func (c *Client) DescribeInstanceLogDelivery(request *DescribeInstanceLogDeliveryRequest) (response *DescribeInstanceLogDeliveryResponse, err error)

DescribeInstanceLogDelivery This API is used to query the instance log shipping configuration.

error code that may be returned:

INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"

func (*Client) DescribeInstanceLogDeliveryWithContext

func (c *Client) DescribeInstanceLogDeliveryWithContext(ctx context.Context, request *DescribeInstanceLogDeliveryRequest) (response *DescribeInstanceLogDeliveryResponse, err error)

DescribeInstanceLogDelivery This API is used to query the instance log shipping configuration.

error code that may be returned:

INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"

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 instance hot keys.

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 instance hot keys.

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 time distribution of instance access.

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 time distribution of instance access.

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"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
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"
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError"
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) DescribeInstanceSpecBandwidth

func (c *Client) DescribeInstanceSpecBandwidth(request *DescribeInstanceSpecBandwidthRequest) (response *DescribeInstanceSpecBandwidthResponse, err error)

DescribeInstanceSpecBandwidth This API is used to query or calculate bandwidth specifications.

error code that may be returned:

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

func (*Client) DescribeInstanceSpecBandwidthWithContext

func (c *Client) DescribeInstanceSpecBandwidthWithContext(ctx context.Context, request *DescribeInstanceSpecBandwidthRequest) (response *DescribeInstanceSpecBandwidthResponse, err error)

DescribeInstanceSpecBandwidth This API is used to query or calculate bandwidth specifications.

error code that may be returned:

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

func (*Client) DescribeInstanceSupportFeature

func (c *Client) DescribeInstanceSupportFeature(request *DescribeInstanceSupportFeatureRequest) (response *DescribeInstanceSupportFeatureResponse, err error)

DescribeInstanceSupportFeature This API (DescribeInstanceSupportFeature) is used to query the supported features of the instance.

error code that may be returned:

INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_ACTIONNOTFOUND = "InvalidParameter.ActionNotFound"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"

func (*Client) DescribeInstanceSupportFeatureWithContext

func (c *Client) DescribeInstanceSupportFeatureWithContext(ctx context.Context, request *DescribeInstanceSupportFeatureRequest) (response *DescribeInstanceSupportFeatureResponse, err error)

DescribeInstanceSupportFeature This API (DescribeInstanceSupportFeature) is used to query the supported features of the instance.

error code that may be returned:

INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_ACTIONNOTFOUND = "InvalidParameter.ActionNotFound"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"

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 the instance maintenance window. Instances that require the version or architecture upgrade will undergo time switching during the maintenance window.

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 the instance maintenance window. Instances that require the version or architecture upgrade will undergo time switching during the maintenance window.

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 project security group information.

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 project security group information.

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"
FAILEDOPERATION_GETSECURITYGROUPDETAILFAILED = "FailedOperation.GetSecurityGroupDetailFailed"
INVALIDPARAMETER_ACTIONNOTFOUND = "InvalidParameter.ActionNotFound"
INVALIDPARAMETER_ILLEGALPARAMETERERROR = "InvalidParameter.IllegalParameterError"
INVALIDPARAMETER_NOTSUPPORTED = "InvalidParameter.NotSupported"
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"
FAILEDOPERATION_GETSECURITYGROUPDETAILFAILED = "FailedOperation.GetSecurityGroupDetailFailed"
INVALIDPARAMETER_ACTIONNOTFOUND = "InvalidParameter.ActionNotFound"
INVALIDPARAMETER_ILLEGALPARAMETERERROR = "InvalidParameter.IllegalParameterError"
INVALIDPARAMETER_NOTSUPPORTED = "InvalidParameter.NotSupported"
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) DescribeRedisClusterOverview

func (c *Client) DescribeRedisClusterOverview(request *DescribeRedisClusterOverviewRequest) (response *DescribeRedisClusterOverviewResponse, err error)

DescribeRedisClusterOverview This API is used to query the overview information of a dedicated Redis cluster.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"

func (*Client) DescribeRedisClusterOverviewWithContext

func (c *Client) DescribeRedisClusterOverviewWithContext(ctx context.Context, request *DescribeRedisClusterOverviewRequest) (response *DescribeRedisClusterOverviewResponse, err error)

DescribeRedisClusterOverview This API is used to query the overview information of a dedicated Redis cluster.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"

func (*Client) DescribeRedisClusters

func (c *Client) DescribeRedisClusters(request *DescribeRedisClustersRequest) (response *DescribeRedisClustersResponse, err error)

DescribeRedisClusters This API is used to query the list of dedicated Redis clusters.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeRedisClustersWithContext

func (c *Client) DescribeRedisClustersWithContext(ctx context.Context, request *DescribeRedisClustersRequest) (response *DescribeRedisClustersResponse, err error)

DescribeRedisClusters This API is used to query the list of dedicated Redis clusters.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"

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

func (c *Client) DescribeReplicationGroupInstance(request *DescribeReplicationGroupInstanceRequest) (response *DescribeReplicationGroupInstanceResponse, err error)

DescribeReplicationGroupInstance This API is used to query replication group information.

error code that may be returned:

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

func (*Client) DescribeReplicationGroupInstanceWithContext

func (c *Client) DescribeReplicationGroupInstanceWithContext(ctx context.Context, request *DescribeReplicationGroupInstanceRequest) (response *DescribeReplicationGroupInstanceResponse, err error)

DescribeReplicationGroupInstance This API is used to query replication group information.

error code that may be returned:

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

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 data for the last 30 days.

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 data for the last 30 days.

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 the slow query logs 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 the slow query logs 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 pay-as-you-go instances.

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 pay-as-you-go instances.

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 Redis instances with monthly subscription.

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 Redis instances with monthly subscription.

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 security groups 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_NOTSUPPORTED = "InvalidParameter.NotSupported"
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 security groups 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_NOTSUPPORTED = "InvalidParameter.NotSupported"
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 of new instances.

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 of new instances.

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 instance scale-out.

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 instance scale-out.

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 a fault.

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 a fault.

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 change the instance access password. Due to a spelling error in the original API name, it has been corrected to [ModifyInstancePassword](https://intl.cloud.tencent.com/document/product/239/111555?from_cn_redirect=1). It is recommended to use the corrected API.

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 change the instance access password. Due to a spelling error in the original API name, it has been corrected to [ModifyInstancePassword](https://intl.cloud.tencent.com/document/product/239/111555?from_cn_redirect=1). It is recommended to use the corrected API.

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

func (c *Client) ModifyConnectionConfig(request *ModifyConnectionConfigRequest) (response *ModifyConnectionConfigResponse, err error)

ModifyConnectionConfig This API is used to modify the connection configuration of an instance, including the bandwidth and maximum number of connections.

error code that may be returned:

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

func (*Client) ModifyConnectionConfigWithContext

func (c *Client) ModifyConnectionConfigWithContext(ctx context.Context, request *ModifyConnectionConfigRequest) (response *ModifyConnectionConfigResponse, err error)

ModifyConnectionConfig This API is used to modify the connection configuration of an instance, including the bandwidth and maximum number of connections.

error code that may be returned:

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

func (*Client) ModifyDBInstanceSecurityGroups

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

ModifyDBInstanceSecurityGroups This API is used to modify the original security group list 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"
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_NOTSUPPORTED = "InvalidParameter.NotSupported"
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 original security group list 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"
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_NOTSUPPORTED = "InvalidParameter.NotSupported"
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 the 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 the 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) ModifyInstanceAvailabilityZones

func (c *Client) ModifyInstanceAvailabilityZones(request *ModifyInstanceAvailabilityZonesRequest) (response *ModifyInstanceAvailabilityZonesResponse, err error)

ModifyInstanceAvailabilityZones This API is used to change the availability zone of the instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_CHECKNOTPASS = "InvalidParameterValue.CheckNotPass"
INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType"
LIMITEXCEEDED_REPLICATIONGROUPLOCKED = "LimitExceeded.ReplicationGroupLocked"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
UNSUPPORTEDOPERATION_INSTANCENOTOPERATION = "UnsupportedOperation.InstanceNotOperation"

func (*Client) ModifyInstanceAvailabilityZonesWithContext

func (c *Client) ModifyInstanceAvailabilityZonesWithContext(ctx context.Context, request *ModifyInstanceAvailabilityZonesRequest) (response *ModifyInstanceAvailabilityZonesResponse, err error)

ModifyInstanceAvailabilityZones This API is used to change the availability zone of the instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown"
INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_CHECKNOTPASS = "InvalidParameterValue.CheckNotPass"
INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType"
LIMITEXCEEDED_REPLICATIONGROUPLOCKED = "LimitExceeded.ReplicationGroupLocked"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
UNSUPPORTEDOPERATION_INSTANCENOTOPERATION = "UnsupportedOperation.InstanceNotOperation"

func (*Client) ModifyInstanceEvent

func (c *Client) ModifyInstanceEvent(request *ModifyInstanceEventRequest) (response *ModifyInstanceEventResponse, err error)

ModifyInstanceEvent This API is used to modify the operations event execution schedule of an instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNSUPPORTEDOPERATION_INSTANCENOTOPERATION = "UnsupportedOperation.InstanceNotOperation"

func (*Client) ModifyInstanceEventWithContext

func (c *Client) ModifyInstanceEventWithContext(ctx context.Context, request *ModifyInstanceEventRequest) (response *ModifyInstanceEventResponse, err error)

ModifyInstanceEvent This API is used to modify the operations event execution schedule of an instance.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
UNSUPPORTEDOPERATION_INSTANCENOTOPERATION = "UnsupportedOperation.InstanceNotOperation"

func (*Client) ModifyInstanceLogDelivery

func (c *Client) ModifyInstanceLogDelivery(request *ModifyInstanceLogDeliveryRequest) (response *ModifyInstanceLogDeliveryResponse, err error)

ModifyInstanceLogDelivery This API is used to enable or disable the shipping of instance logs to CLS.

error code that may be returned:

INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_NOTSUPPORTED = "InvalidParameter.NotSupported"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"

func (*Client) ModifyInstanceLogDeliveryWithContext

func (c *Client) ModifyInstanceLogDeliveryWithContext(ctx context.Context, request *ModifyInstanceLogDeliveryRequest) (response *ModifyInstanceLogDeliveryResponse, err error)

ModifyInstanceLogDelivery This API is used to enable or disable the shipping of instance logs to CLS.

error code that may be returned:

INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
INVALIDPARAMETER_NOTSUPPORTED = "InvalidParameter.NotSupported"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"

func (*Client) ModifyInstanceParams

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

ModifyInstanceParams This API is used to modify the parameter configuration of a Redis instance.

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"
UNSUPPORTEDOPERATION_LOWVERSION = "UnsupportedOperation.LowVersion"

func (*Client) ModifyInstanceParamsWithContext

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

ModifyInstanceParams This API is used to modify the parameter configuration of a Redis instance.

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"
UNSUPPORTEDOPERATION_LOWVERSION = "UnsupportedOperation.LowVersion"

func (*Client) ModifyInstancePassword

func (c *Client) ModifyInstancePassword(request *ModifyInstancePasswordRequest) (response *ModifyInstancePasswordResponse, err error)

ModifyInstancePassword This API is used to change the instance access password.

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

func (c *Client) ModifyInstancePasswordWithContext(ctx context.Context, request *ModifyInstancePasswordRequest) (response *ModifyInstancePasswordResponse, err error)

ModifyInstancePassword This API is used to change the instance access password.

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

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

ModifyInstanceReadOnly This API is used to set the 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 the 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 time of instance maintenance window. Instances that require the version or architecture upgrade will undergo time switching during the maintenance window. Note: If the version or architecture upgrade has been initiated for an instance, its maintenance window 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 time of instance maintenance window. Instances that require the version or architecture upgrade will undergo time switching during the maintenance window. Note: If the version or architecture upgrade has been initiated for an instance, its maintenance window 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"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
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"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
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 the 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 the 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) ModifyReplicationGroup

func (c *Client) ModifyReplicationGroup(request *ModifyReplicationGroupRequest) (response *ModifyReplicationGroupResponse, err error)

ModifyReplicationGroup This API is used to modify replication group information.

error code that may be returned:

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

func (*Client) ModifyReplicationGroupWithContext

func (c *Client) ModifyReplicationGroupWithContext(ctx context.Context, request *ModifyReplicationGroupRequest) (response *ModifyReplicationGroupResponse, err error)

ModifyReplicationGroup This API is used to modify replication group information.

error code that may be returned:

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

func (*Client) OpenSSL

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

OpenSSL This API is used to enable SSL encryption and authentication.

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 encryption and authentication.

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 instances 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 instances 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 the instance access 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 the instance access 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_BACKUPSPECERROR = "ResourceUnavailable.BackupSpecError"
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_BACKUPSPECERROR = "ResourceUnavailable.BackupSpecError"
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 instances.

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

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

func (c *Client) SwitchAccessNewInstance(request *SwitchAccessNewInstanceRequest) (response *SwitchAccessNewInstanceResponse, err error)

SwitchAccessNewInstance This API is used to immediately switch instances that are in the time window pending switch operation. Users can manually initiate this operation.

error code that may be returned:

INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"

func (*Client) SwitchAccessNewInstanceWithContext

func (c *Client) SwitchAccessNewInstanceWithContext(ctx context.Context, request *SwitchAccessNewInstanceRequest) (response *SwitchAccessNewInstanceResponse, err error)

SwitchAccessNewInstance This API is used to immediately switch instances that are in the time window pending switch operation. Users can manually initiate this operation.

error code that may be returned:

INTERNALERROR_INTERNALERROR = "InternalError.InternalError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"

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 disaster recovery in DTS-based cross-AZ disaster recovery scenarios. After the swapping, the target instance becomes writable, the VIPs of the source and target instances are swapped, and the DTS synchronization task between the source and target instances is 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 disaster recovery in DTS-based cross-AZ disaster recovery scenarios. After the swapping, the target instance becomes writable, the VIPs of the source and target instances are swapped, and the DTS synchronization task between the source and target instances is 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 fault 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 fault 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 change the configuration specifications of an instance.

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 current instance to a later version or upgrade the current standard architecture to a 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 current instance to a later version or upgrade the current standard architecture to a 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 change the configuration specifications of an instance.

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 the instance Proxy version.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_CHECKNOTPASS = "InvalidParameterValue.CheckNotPass"

func (*Client) UpgradeProxyVersionWithContext

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

UpgradeProxyVersion This API is used to upgrade the instance Proxy version.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
INVALIDPARAMETERVALUE_CHECKNOTPASS = "InvalidParameterValue.CheckNotPass"

func (*Client) UpgradeSmallVersion

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

UpgradeSmallVersion This API is used to upgrade the minor version of an instance.

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 the minor version of an instance.

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 multiple AZs.

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 multiple AZs.

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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Period"`

	// Security group ID, which can be obtained on the <b>Security Group</b> page in the console.
	SecurityGroupIdList []*string `json:"SecurityGroupIdList,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"SubnetId"`

	// Name of the clone instance. <br>Enter up to 60 letters, digits, hyphens, and underscores.</br>
	InstanceName *string `json:"InstanceName,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"AutoRenew"`

	// Customized port. Valid range: 1024-65535. Default value: `6379`.
	VPort *uint64 `json:"VPort,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ProjectId"`

	// Tag to be bound for the clone instance
	ResourceTags []*ResourceTag `json:"ResourceTags,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"AlarmPolicyList"`

	// Time to restore data for cloning.
	// Only instances with second-level backup enabled are supported.
	CloneTime *string `json:"CloneTime,omitnil,omitempty" name:"CloneTime"`
}

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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Period"`

	// Security group ID, which can be obtained on the <b>Security Group</b> page in the console.
	SecurityGroupIdList []*string `json:"SecurityGroupIdList,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"SubnetId"`

	// Name of the clone instance. <br>Enter up to 60 letters, digits, hyphens, and underscores.</br>
	InstanceName *string `json:"InstanceName,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"AutoRenew"`

	// Customized port. Valid range: 1024-65535. Default value: `6379`.
	VPort *uint64 `json:"VPort,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"ProjectId"`

	// Tag to be bound for the clone instance
	ResourceTags []*ResourceTag `json:"ResourceTags,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"AlarmPolicyList"`

	// Time to restore data for cloning.
	// Only instances with second-level backup enabled are supported.
	CloneTime *string `json:"CloneTime,omitnil,omitempty" name:"CloneTime"`
}

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,omitempty" name:"DealId"`

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

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CloseSSLRequest

type CloseSSLRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CommandTake

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

	// Time consumed. Unit: ms.
	Took *int64 `json:"Took,omitnil,omitempty" name:"Took"`
}

type CreateInstanceAccountRequest

type CreateInstanceAccountRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Custom account name for accessing the database.
	// - It contains only letters, digits, underscores (_), and hyphens (-).
	// - The length cannot exceed 32 characters.
	AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"`

	// Password of the custom account. The password complexity requirements are as follows:
	// - It can contain 8 to 64 characters.
	// - It should contain at least two of the following types: lowercase letters, uppercase letters, digits, and special characters (such as ()`~!@#$%^&*-+=_|{}[]:;<>,.?/).
	// - It cannot start with a forward slash (/).
	AccountPassword *string `json:"AccountPassword,omitnil,omitempty" name:"AccountPassword"`

	// The read requests for the designated account are routed to either the master node or replica nodes. If the Read-Only Replica is not enabled, the selection of replica nodes is not supported.
	// - master: Master node.- replication: Replica node.
	ReadonlyPolicy []*string `json:"ReadonlyPolicy,omitnil,omitempty" name:"ReadonlyPolicy"`

	// The read/write permission of the account supports the selection of read-only and read/write permissions.
	// - r: read-only
	// - rw: Read/Write permission.
	Privilege *string `json:"Privilege,omitnil,omitempty" name:"Privilege"`

	// Sub-account description information, with a length of [0, 64] bytes, supports Chinese characters.
	Remark *string `json:"Remark,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Custom account name for accessing the database.
	// - It contains only letters, digits, underscores (_), and hyphens (-).
	// - The length cannot exceed 32 characters.
	AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"`

	// Password of the custom account. The password complexity requirements are as follows:
	// - It can contain 8 to 64 characters.
	// - It should contain at least two of the following types: lowercase letters, uppercase letters, digits, and special characters (such as ()`~!@#$%^&*-+=_|{}[]:;<>,.?/).
	// - It cannot start with a forward slash (/).
	AccountPassword *string `json:"AccountPassword,omitnil,omitempty" name:"AccountPassword"`

	// The read requests for the designated account are routed to either the master node or replica nodes. If the Read-Only Replica is not enabled, the selection of replica nodes is not supported.
	// - master: Master node.- replication: Replica node.
	ReadonlyPolicy []*string `json:"ReadonlyPolicy,omitnil,omitempty" name:"ReadonlyPolicy"`

	// The read/write permission of the account supports the selection of read-only and read/write permissions.
	// - r: read-only
	// - rw: Read/Write permission.
	Privilege *string `json:"Privilege,omitnil,omitempty" name:"Privilege"`

	// Sub-account description information, with a length of [0, 64] bytes, supports Chinese characters.
	Remark *string `json:"Remark,omitnil,omitempty" 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,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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> <li>17: Redis 7.0 Memory Edition (standard architecture);</li> <li>18: Redis 7.0 Memory Edition (cluster architecture). </li>Note: The CKV version is currently used by existing users and is temporarily retained.</ul>
	TypeId *uint64 `json:"TypeId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Period"`

	// Billing mode. 0: pay-as-you-go
	BillingMode *int64 `json:"BillingMode,omitnil,omitempty" 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,omitempty" name:"ZoneId"`

	// Password for accessing instances.
	// - When the input parameter **NoAuth** is set to **true**, password-free access is set for instances and Password does not need to be configured. Otherwise, Password is required.
	// - When the instance type parameter **TypeId** is set to Redis 2.8 Memory Edition (standard architecture) or Redis 4.0, 5.0, or 6.0 Memory Edition (standard architecture or cluster architecture), the password cannot start with a forward slash (/) and should contain 8 to 64 characters, including at least two of the following types: lowercase letters, uppercase letters, digits, and special characters (such as ()`~!@#$%^&*-+=_|{}[]:;<>,.?/).
	// - When the instance type parameter **TypeId** is set to CKV 3.2 Memory Edition (standard architecture or cluster architecture), the password should contain 8 to 30 characters, including only letters and digits.
	Password *string `json:"Password,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"ProjectId"`

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

	// Array of security group IDs.
	// - A security group is a virtual firewall that controls network access to cloud database instances. It is recommended to bind the corresponding security group when you create an instance.
	// - Obtain the security group ID of the instance through the API [DescribeInstanceSecurityGroup](https://intl.cloud.tencent.com/document/product/239/34447?from_cn_redirect=1).
	SecurityGroupIdList []*string `json:"SecurityGroupIdList,omitnil,omitempty" name:"SecurityGroupIdList"`

	// User-defined network port. Default value: `6379`. Range: [1024,65535].
	VPort *uint64 `json:"VPort,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"ReplicasReadonly"`

	// Instance name, which can contain up to 60 letters, digits, hyphens, and underscores.
	InstanceName *string `json:"InstanceName,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"NodeSet"`

	// The tag for an instance
	ResourceTags []*ResourceTag `json:"ResourceTags,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"ProductVersion"`

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

	// Alarm policy ID array.- Please log in to [Tencent Cloud Observability Platform - Alarm Management - Policy Management](https://console.cloud.tencent.com/monitor/alarm/policy) to access the alarm policy ID.- If this parameter is not configured, the default alarm policy will be bound. For the specific information about the default alarm policy, please log in to [Tencent Cloud Observability Platform - Alarm Management - Policy Management](https://console.cloud.tencent.com/monitor/alarm/policy) to view.
	AlarmPolicyList []*string `json:"AlarmPolicyList,omitnil,omitempty" name:"AlarmPolicyList"`
}

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> <li>17: Redis 7.0 Memory Edition (standard architecture);</li> <li>18: Redis 7.0 Memory Edition (cluster architecture). </li>Note: The CKV version is currently used by existing users and is temporarily retained.</ul>
	TypeId *uint64 `json:"TypeId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Period"`

	// Billing mode. 0: pay-as-you-go
	BillingMode *int64 `json:"BillingMode,omitnil,omitempty" 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,omitempty" name:"ZoneId"`

	// Password for accessing instances.
	// - When the input parameter **NoAuth** is set to **true**, password-free access is set for instances and Password does not need to be configured. Otherwise, Password is required.
	// - When the instance type parameter **TypeId** is set to Redis 2.8 Memory Edition (standard architecture) or Redis 4.0, 5.0, or 6.0 Memory Edition (standard architecture or cluster architecture), the password cannot start with a forward slash (/) and should contain 8 to 64 characters, including at least two of the following types: lowercase letters, uppercase letters, digits, and special characters (such as ()`~!@#$%^&*-+=_|{}[]:;<>,.?/).
	// - When the instance type parameter **TypeId** is set to CKV 3.2 Memory Edition (standard architecture or cluster architecture), the password should contain 8 to 30 characters, including only letters and digits.
	Password *string `json:"Password,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"ProjectId"`

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

	// Array of security group IDs.
	// - A security group is a virtual firewall that controls network access to cloud database instances. It is recommended to bind the corresponding security group when you create an instance.
	// - Obtain the security group ID of the instance through the API [DescribeInstanceSecurityGroup](https://intl.cloud.tencent.com/document/product/239/34447?from_cn_redirect=1).
	SecurityGroupIdList []*string `json:"SecurityGroupIdList,omitnil,omitempty" name:"SecurityGroupIdList"`

	// User-defined network port. Default value: `6379`. Range: [1024,65535].
	VPort *uint64 `json:"VPort,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"ReplicasReadonly"`

	// Instance name, which can contain up to 60 letters, digits, hyphens, and underscores.
	InstanceName *string `json:"InstanceName,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"NodeSet"`

	// The tag for an instance
	ResourceTags []*ResourceTag `json:"ResourceTags,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"ProductVersion"`

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

	// Alarm policy ID array.- Please log in to [Tencent Cloud Observability Platform - Alarm Management - Policy Management](https://console.cloud.tencent.com/monitor/alarm/policy) to access the alarm policy ID.- If this parameter is not configured, the default alarm policy will be bound. For the specific information about the default alarm policy, please log in to [Tencent Cloud Observability Platform - Alarm Management - Policy Management](https://console.cloud.tencent.com/monitor/alarm/policy) to view.
	AlarmPolicyList []*string `json:"AlarmPolicyList,omitnil,omitempty" name:"AlarmPolicyList"`
}

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,omitempty" name:"DealId"`

	// Instance ID
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateParamTemplateRequest

type CreateParamTemplateRequest struct {
	*tchttp.BaseRequest

	// Parameter template name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Parameter template description.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Product type.
	// - 2: Redis 2.8 Memory Edition (standard architecture).
	// - 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).
	// - 17: Redis 7.0 Memory Edition (standard architecture).
	// - 18: Redis 7.0 Memory Edition (cluster architecture).
	ProductType *uint64 `json:"ProductType,omitnil,omitempty" name:"ProductType"`

	// ID of the source parameter template.
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// Parameter list.
	ParamList []*InstanceParam `json:"ParamList,omitnil,omitempty" 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,omitempty" name:"Name"`

	// Parameter template description.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Product type.
	// - 2: Redis 2.8 Memory Edition (standard architecture).
	// - 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).
	// - 17: Redis 7.0 Memory Edition (standard architecture).
	// - 18: Redis 7.0 Memory Edition (cluster architecture).
	ProductType *uint64 `json:"ProductType,omitnil,omitempty" name:"ProductType"`

	// ID of the source parameter template.
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// Parameter list.
	ParamList []*InstanceParam `json:"ParamList,omitnil,omitempty" 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,omitempty" name:"TemplateId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateReplicationGroupRequest

type CreateReplicationGroupRequest struct {
	*tchttp.BaseRequest

	// ID of the primary instance in the replication group. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Replication group name. The name should contain 2 to 64 characters, including only letters, digits, underscores (_), and hyphens (-).
	GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`

	// Remark information.
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
}

func NewCreateReplicationGroupRequest

func NewCreateReplicationGroupRequest() (request *CreateReplicationGroupRequest)

func (*CreateReplicationGroupRequest) FromJsonString

func (r *CreateReplicationGroupRequest) 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 (*CreateReplicationGroupRequest) ToJsonString

func (r *CreateReplicationGroupRequest) ToJsonString() string

type CreateReplicationGroupRequestParams

type CreateReplicationGroupRequestParams struct {
	// ID of the primary instance in the replication group. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Replication group name. The name should contain 2 to 64 characters, including only letters, digits, underscores (_), and hyphens (-).
	GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`

	// Remark information.
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
}

Predefined struct for user

type CreateReplicationGroupResponse

type CreateReplicationGroupResponse struct {
	*tchttp.BaseResponse
	Response *CreateReplicationGroupResponseParams `json:"Response"`
}

func NewCreateReplicationGroupResponse

func NewCreateReplicationGroupResponse() (response *CreateReplicationGroupResponse)

func (*CreateReplicationGroupResponse) FromJsonString

func (r *CreateReplicationGroupResponse) 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 (*CreateReplicationGroupResponse) ToJsonString

func (r *CreateReplicationGroupResponse) ToJsonString() string

type CreateReplicationGroupResponseParams

type CreateReplicationGroupResponseParams struct {
	// Asynchronous process ID.
	TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Ladder"`

	// The number of commands with delay falling within the current delay range -
	Size *int64 `json:"Size,omitnil,omitempty" name:"Size"`

	// Modification time
	Updatetime *int64 `json:"Updatetime,omitnil,omitempty" name:"Updatetime"`
}

type DeleteInstanceAccountRequest

type DeleteInstanceAccountRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Sub-account name. Log in to the [Redis console](https://console.tencentcloud.com/redis) and switch to the **Account Management** page to obtain it. For details, see [Managing Account](https://www.tencentcloud.com/document/product/239/34590).
	AccountName *string `json:"AccountName,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Sub-account name. Log in to the [Redis console](https://console.tencentcloud.com/redis) and switch to the **Account Management** page to obtain it. For details, see [Managing Account](https://www.tencentcloud.com/document/product/239/34590).
	AccountName *string `json:"AccountName,omitnil,omitempty" 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,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteParamTemplateRequest

type DeleteParamTemplateRequest struct {
	*tchttp.BaseRequest

	// Parameter template ID.
	TemplateId *string `json:"TemplateId,omitnil,omitempty" 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,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteReplicationInstanceRequest

type DeleteReplicationInstanceRequest struct {
	*tchttp.BaseRequest

	// Replication group ID. Log in to the [global replication](https://console.tencentcloud.com/redis/replication) page of the Redis console and obtain it.
	GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Data synchronization type.
	// - true: Strong synchronization is required.
	// - false: Strong synchronization is not required, and only the primary instance can be deleted.
	SyncType *bool `json:"SyncType,omitnil,omitempty" name:"SyncType"`
}

func NewDeleteReplicationInstanceRequest

func NewDeleteReplicationInstanceRequest() (request *DeleteReplicationInstanceRequest)

func (*DeleteReplicationInstanceRequest) FromJsonString

func (r *DeleteReplicationInstanceRequest) 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 (*DeleteReplicationInstanceRequest) ToJsonString

func (r *DeleteReplicationInstanceRequest) ToJsonString() string

type DeleteReplicationInstanceRequestParams

type DeleteReplicationInstanceRequestParams struct {
	// Replication group ID. Log in to the [global replication](https://console.tencentcloud.com/redis/replication) page of the Redis console and obtain it.
	GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Data synchronization type.
	// - true: Strong synchronization is required.
	// - false: Strong synchronization is not required, and only the primary instance can be deleted.
	SyncType *bool `json:"SyncType,omitnil,omitempty" name:"SyncType"`
}

Predefined struct for user

type DeleteReplicationInstanceResponse

type DeleteReplicationInstanceResponse struct {
	*tchttp.BaseResponse
	Response *DeleteReplicationInstanceResponseParams `json:"Response"`
}

func NewDeleteReplicationInstanceResponse

func NewDeleteReplicationInstanceResponse() (response *DeleteReplicationInstanceResponse)

func (*DeleteReplicationInstanceResponse) FromJsonString

func (r *DeleteReplicationInstanceResponse) 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 (*DeleteReplicationInstanceResponse) ToJsonString

func (r *DeleteReplicationInstanceResponse) ToJsonString() string

type DeleteReplicationInstanceResponseParams

type DeleteReplicationInstanceResponseParams struct {
	// Asynchronous task ID.
	TaskId *float64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"AutoBackupType"`

	// Backup cycle, which will be daily by default. Valid values: `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`.
	WeekDays []*string `json:"WeekDays,omitnil,omitempty" name:"WeekDays"`

	// Time period for backup task initialization
	TimePeriod *string `json:"TimePeriod,omitnil,omitempty" 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,omitempty" name:"BackupStorageDays"`

	// This parameter has been disused.
	BinlogStorageDays *int64 `json:"BinlogStorageDays,omitnil,omitempty" name:"BinlogStorageDays"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBackupDetailRequest

type DescribeBackupDetailRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

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

func NewDescribeBackupDetailRequest

func NewDescribeBackupDetailRequest() (request *DescribeBackupDetailRequest)

func (*DescribeBackupDetailRequest) FromJsonString

func (r *DescribeBackupDetailRequest) 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 (*DescribeBackupDetailRequest) ToJsonString

func (r *DescribeBackupDetailRequest) ToJsonString() string

type DescribeBackupDetailRequestParams

type DescribeBackupDetailRequestParams struct {
	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

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

Predefined struct for user

type DescribeBackupDetailResponse

type DescribeBackupDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBackupDetailResponseParams `json:"Response"`
}

func NewDescribeBackupDetailResponse

func NewDescribeBackupDetailResponse() (response *DescribeBackupDetailResponse)

func (*DescribeBackupDetailResponse) FromJsonString

func (r *DescribeBackupDetailResponse) 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 (*DescribeBackupDetailResponse) ToJsonString

func (r *DescribeBackupDetailResponse) ToJsonString() string

type DescribeBackupDetailResponseParams

type DescribeBackupDetailResponseParams struct {
	// Backup ID.
	BackupId *string `json:"BackupId,omitnil,omitempty" name:"BackupId"`

	// Backup start time.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Backup end time.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Backup mode.
	//
	// - 1: manual backup.
	// - 0: automatic backup.
	BackupType *string `json:"BackupType,omitnil,omitempty" name:"BackupType"`

	// Backup status.
	//
	// - 1: The backup is locked by other processes.
	// - 2: The backup is normal and not locked by any processes.
	// - -1: The backup has expired.
	// - 3: The backup is being exported.
	// - 4: The backup is successfully exported.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Backup remarks.
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`

	// Whether the backup is locked.
	//
	// - 0: not locked.
	// - 1: locked.
	Locked *int64 `json:"Locked,omitnil,omitempty" name:"Locked"`

	// Backup file size. Unit: byte.
	BackupSize *int64 `json:"BackupSize,omitnil,omitempty" name:"BackupSize"`

	// Instance type.
	InstanceType *int64 `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// Memory size of a single shard. Unit: MB.
	MemSize *int64 `json:"MemSize,omitnil,omitempty" name:"MemSize"`

	// Number of shards.
	ShardNum *int64 `json:"ShardNum,omitnil,omitempty" name:"ShardNum"`

	// Number of replicas.
	ReplicasNum *int64 `json:"ReplicasNum,omitnil,omitempty" name:"ReplicasNum"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"IpComparisonSymbol"`

	// VPC ID of the custom backup file download address, which will be displayed if `LimitType` is `Customize`.
	LimitVpc []*BackupLimitVpcItem `json:"LimitVpc,omitnil,omitempty" name:"LimitVpc"`

	// Custom VPC IP address for downloading backup files.
	//  This parameter is displayed when the **LimitType** parameter is set to **Customize**.
	LimitIp []*string `json:"LimitIp,omitnil,omitempty" name:"LimitIp"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBackupUrlRequest

type DescribeBackupUrlRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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,omitempty" name:"BackupId"`

	// Limit type of the network from which you can download backup files. If this parameter is not configured, the user-defined configuration will be used.
	// - NoLimit: There is no limit. Backup files can be downloaded from both Tencent Cloud private and public networks.
	// - LimitOnlyIntranet: Backup files can be downloaded
	//  only from the private IP address automatically assigned by Tencent Cloud.
	// - Customize: Backup files can be downloaded from the user-defined VPC.
	LimitType *string `json:"LimitType,omitnil,omitempty" 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,omitempty" name:"VpcComparisonSymbol"`

	// Whether backup files can be downloaded from the custom IP address specified by LimitIp.
	// - In: yes. This is the default value.
	// - NotIn: no.
	IpComparisonSymbol *string `json:"IpComparisonSymbol,omitnil,omitempty" name:"IpComparisonSymbol"`

	// VPC ID of the custom backup file download address, which is required if `LimitType` is `Customize`.
	LimitVpc []*BackupLimitVpcItem `json:"LimitVpc,omitnil,omitempty" name:"LimitVpc"`

	// VPC IP of the custom backup file download address, which is required if `LimitType` is `Customize`.
	LimitIp []*string `json:"LimitIp,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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,omitempty" name:"BackupId"`

	// Limit type of the network from which you can download backup files. If this parameter is not configured, the user-defined configuration will be used.
	// - NoLimit: There is no limit. Backup files can be downloaded from both Tencent Cloud private and public networks.
	// - LimitOnlyIntranet: Backup files can be downloaded
	//  only from the private IP address automatically assigned by Tencent Cloud.
	// - Customize: Backup files can be downloaded from the user-defined VPC.
	LimitType *string `json:"LimitType,omitnil,omitempty" 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,omitempty" name:"VpcComparisonSymbol"`

	// Whether backup files can be downloaded from the custom IP address specified by LimitIp.
	// - In: yes. This is the default value.
	// - NotIn: no.
	IpComparisonSymbol *string `json:"IpComparisonSymbol,omitnil,omitempty" name:"IpComparisonSymbol"`

	// VPC ID of the custom backup file download address, which is required if `LimitType` is `Customize`.
	LimitVpc []*BackupLimitVpcItem `json:"LimitVpc,omitnil,omitempty" name:"LimitVpc"`

	// VPC IP of the custom backup file download address, which is required if `LimitType` is `Customize`.
	LimitIp []*string `json:"LimitIp,omitnil,omitempty" 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,omitempty" name:"DownloadUrl"`

	// Private network download address (valid for six hours). This field will be disused soon.
	InnerDownloadUrl []*string `json:"InnerDownloadUrl,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"BackupInfos"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBandwidthRangeRequest

type DescribeBandwidthRangeRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"AddBandwidth"`

	// The lower limit for additional bandwidth
	MinAddBandwidth *int64 `json:"MinAddBandwidth,omitnil,omitempty" name:"MinAddBandwidth"`

	// The upper limit for additional bandwidth
	MaxAddBandwidth *int64 `json:"MaxAddBandwidth,omitnil,omitempty" name:"MaxAddBandwidth"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCommonDBInstancesRequest

type DescribeCommonDBInstancesRequest struct {
	*tchttp.BaseRequest

	// List of VPC IDs
	VpcIds []*int64 `json:"VpcIds,omitnil,omitempty" name:"VpcIds"`

	// List of subnet IDs
	SubnetIds []*int64 `json:"SubnetIds,omitnil,omitempty" name:"SubnetIds"`

	// List of billing modes. 0: monthly subscription; 1: pay-as-you-go
	PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`

	// Instance ID filter information list, with a maximum array length of 100.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// List of instance names
	InstanceNames []*string `json:"InstanceNames,omitnil,omitempty" name:"InstanceNames"`

	// List of instance status
	Status []*string `json:"Status,omitnil,omitempty" name:"Status"`

	// Sorting field
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting order
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`

	// List of instance VIPs
	Vips []*string `json:"Vips,omitnil,omitempty" name:"Vips"`

	// List of VPC IDs
	UniqVpcIds []*string `json:"UniqVpcIds,omitnil,omitempty" name:"UniqVpcIds"`

	// List of unique subnet IDs
	UniqSubnetIds []*string `json:"UniqSubnetIds,omitnil,omitempty" name:"UniqSubnetIds"`

	// Quantity limit. Recommended default value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" 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,omitempty" name:"VpcIds"`

	// List of subnet IDs
	SubnetIds []*int64 `json:"SubnetIds,omitnil,omitempty" name:"SubnetIds"`

	// List of billing modes. 0: monthly subscription; 1: pay-as-you-go
	PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`

	// Instance ID filter information list, with a maximum array length of 100.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// List of instance names
	InstanceNames []*string `json:"InstanceNames,omitnil,omitempty" name:"InstanceNames"`

	// List of instance status
	Status []*string `json:"Status,omitnil,omitempty" name:"Status"`

	// Sorting field
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// Sorting order
	OrderByType *string `json:"OrderByType,omitnil,omitempty" name:"OrderByType"`

	// List of instance VIPs
	Vips []*string `json:"Vips,omitnil,omitempty" name:"Vips"`

	// List of VPC IDs
	UniqVpcIds []*string `json:"UniqVpcIds,omitnil,omitempty" name:"UniqVpcIds"`

	// List of unique subnet IDs
	UniqSubnetIds []*string `json:"UniqSubnetIds,omitnil,omitempty" name:"UniqSubnetIds"`

	// Quantity limit. Recommended default value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" 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,omitempty" name:"TotalCount"`

	// Instance information
	InstanceDetails []*RedisCommonInstanceList `json:"InstanceDetails,omitnil,omitempty" name:"InstanceDetails"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Groups"`

	// Private IPv4 address of an instance
	VIP *string `json:"VIP,omitnil,omitempty" name:"VIP"`

	// Private network port
	VPort *string `json:"VPort,omitnil,omitempty" name:"VPort"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeGlobalReplicationAreaRequest

type DescribeGlobalReplicationAreaRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeGlobalReplicationAreaRequest

func NewDescribeGlobalReplicationAreaRequest() (request *DescribeGlobalReplicationAreaRequest)

func (*DescribeGlobalReplicationAreaRequest) FromJsonString

func (r *DescribeGlobalReplicationAreaRequest) 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 (*DescribeGlobalReplicationAreaRequest) ToJsonString

func (r *DescribeGlobalReplicationAreaRequest) ToJsonString() string

type DescribeGlobalReplicationAreaRequestParams

type DescribeGlobalReplicationAreaRequestParams struct {
}

Predefined struct for user

type DescribeGlobalReplicationAreaResponse

type DescribeGlobalReplicationAreaResponse struct {
	*tchttp.BaseResponse
	Response *DescribeGlobalReplicationAreaResponseParams `json:"Response"`
}

func NewDescribeGlobalReplicationAreaResponse

func NewDescribeGlobalReplicationAreaResponse() (response *DescribeGlobalReplicationAreaResponse)

func (*DescribeGlobalReplicationAreaResponse) FromJsonString

func (r *DescribeGlobalReplicationAreaResponse) 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 (*DescribeGlobalReplicationAreaResponse) ToJsonString

type DescribeGlobalReplicationAreaResponseParams

type DescribeGlobalReplicationAreaResponseParams struct {
	// Available region information.
	AvailableRegions []*AvailableRegion `json:"AvailableRegions,omitnil,omitempty" name:"AvailableRegions"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"InstanceId"`

	// Number of entries per page
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Pagination offset,  which is an integral multiple of `Limit`.  Calculation formula:  `offset` = `limit` * (page number - 1).
	Offset *int64 `json:"Offset,omitnil,omitempty" 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,omitempty" name:"InstanceId"`

	// Number of entries per page
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Pagination offset,  which is an integral multiple of `Limit`.  Calculation formula:  `offset` = `limit` * (page number - 1).
	Offset *int64 `json:"Offset,omitnil,omitempty" 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,omitempty" name:"Accounts"`

	// Number of accounts
	// Note:  This field may return null, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Limit"`

	// Pagination offset, which is an integral multiple of `Limit`. `offset` = `limit` * (page number - 1).
	Offset *int64 `json:"Offset,omitnil,omitempty" 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,omitempty" name:"InstanceId"`

	// Start time for a query, for example, in the format of 2017-02-08 16:46:34, with a maximum query span of 30 days. You can query the list of instances backed up within the [beginTime, endTime] period.
	BeginTime *string `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`

	// End time for a query, for example, in the format of 2017-02-08 19:09:26, with a maximum query span of 30 days. You can query the list of instances backed up within the [BeginTime, EndTime] period.
	EndTime *string `json:"EndTime,omitnil,omitempty" 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,omitempty" name:"Status"`

	// Instance name, which can be fuzzily searched.
	InstanceName *string `json:"InstanceName,omitnil,omitempty" 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,omitempty" name:"Limit"`

	// Pagination offset, which is an integral multiple of `Limit`. `offset` = `limit` * (page number - 1).
	Offset *int64 `json:"Offset,omitnil,omitempty" 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,omitempty" name:"InstanceId"`

	// Start time for a query, for example, in the format of 2017-02-08 16:46:34, with a maximum query span of 30 days. You can query the list of instances backed up within the [beginTime, endTime] period.
	BeginTime *string `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`

	// End time for a query, for example, in the format of 2017-02-08 19:09:26, with a maximum query span of 30 days. You can query the list of instances backed up within the [BeginTime, EndTime] period.
	EndTime *string `json:"EndTime,omitnil,omitempty" 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,omitempty" name:"Status"`

	// Instance name, which can be fuzzily searched.
	InstanceName *string `json:"InstanceName,omitnil,omitempty" 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,omitempty" name:"TotalCount"`

	// Array of instance backups.
	BackupSet []*RedisBackupSet `json:"BackupSet,omitnil,omitempty" name:"BackupSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceDTSInfoRequest

type DescribeInstanceDTSInfoRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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,omitempty" name:"JobId"`

	// DTS task name
	// Note: This field may return null, indicating that no valid values can be obtained.
	JobName *string `json:"JobName,omitnil,omitempty" 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,omitempty" name:"Status"`

	// Status description
	// Note: This field may return null, indicating that no valid values can be obtained.
	StatusDesc *string `json:"StatusDesc,omitnil,omitempty" 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,omitempty" name:"Offset"`

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

	// Source instance information
	// Note: This field may return null, indicating that no valid values can be obtained.
	SrcInfo *DescribeInstanceDTSInstanceInfo `json:"SrcInfo,omitnil,omitempty" name:"SrcInfo"`

	// Target instance information
	// Note: This field may return null, indicating that no valid values can be obtained.
	DstInfo *DescribeInstanceDTSInstanceInfo `json:"DstInfo,omitnil,omitempty" name:"DstInfo"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceDTSInstanceInfo

type DescribeInstanceDTSInstanceInfo struct {
	// Region ID.
	// Note: This field may return null, indicating that no valid value can be obtained.
	RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// Instance ID.
	// Note: This field may return null, indicating that no valid value can be obtained.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Warehouse ID.
	// Note: This field may return null, indicating that no valid value can be obtained.
	SetId *int64 `json:"SetId,omitnil,omitempty" name:"SetId"`

	// AZ ID.
	// Note: This field may return null, indicating that no valid value can be obtained.
	ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`

	// Instance type.
	// Note: This field may return null, indicating that no valid value can be obtained.
	Type *int64 `json:"Type,omitnil,omitempty" name:"Type"`

	// Instance name.
	// Note: This field may return null, indicating that no valid value can be obtained.
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`

	// Instance access address.
	// Note: This field may return null, indicating that no valid value can be obtained.
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// Status.
	// Note: This field may return null, indicating that no valid value can be obtained.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}

type DescribeInstanceDealDetailRequest

type DescribeInstanceDealDetailRequest struct {
	*tchttp.BaseRequest

	// Order transaction ID array, which is the output parameter DealId of [CreateInstances](https://intl.cloud.tencent.com/document/api/239/20026?from_cn_redirect=1), with the maximum array length of 10.
	DealIds []*string `json:"DealIds,omitnil,omitempty" 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 {
	// Order transaction ID array, which is the output parameter DealId of [CreateInstances](https://intl.cloud.tencent.com/document/api/239/20026?from_cn_redirect=1), with the maximum array length of 10.
	DealIds []*string `json:"DealIds,omitnil,omitempty" 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,omitempty" name:"DealDetails"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceEventsRequest

type DescribeInstanceEventsRequest struct {
	*tchttp.BaseRequest

	// Start date for querying the event execution plan, with a maximum query span of 30 days.
	ExecutionStartDate *string `json:"ExecutionStartDate,omitnil,omitempty" name:"ExecutionStartDate"`

	// End date for querying the event execution plan, with a maximum query span of 30 days.
	ExecutionEndDate *string `json:"ExecutionEndDate,omitnil,omitempty" name:"ExecutionEndDate"`

	// Specifies the instance ID. Example: crs-xjhsdj****. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Number of events displayed per page. Default value: 10. Maximum value: 100.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Configures the page number for querying events. You can query events on a certain page by specifying PageNo and PageSize. Default value: 1.
	PageNo *int64 `json:"PageNo,omitnil,omitempty" name:"PageNo"`

	// Current status of the event.- Waiting: The event is waiting for execution on the execution date or during the operations period.- Running: The event is being executed during the operations period.- Finished: Execution of the event is completed.- Canceled: Execution of the event is canceled.
	Status []*string `json:"Status,omitnil,omitempty" name:"Status"`

	// Event type. Currently, the type can only be related to instance migration, resource movement, and IDC deletion. This parameter can be set only to **InstanceMigration**.
	EventTypes []*string `json:"EventTypes,omitnil,omitempty" name:"EventTypes"`

	// Configures the level of the queried event. Events are divided into Critical, High, Medium, and Low events according to the severity and urgency.- Critical- High- Medium- Low
	Grades []*string `json:"Grades,omitnil,omitempty" name:"Grades"`
}

func NewDescribeInstanceEventsRequest

func NewDescribeInstanceEventsRequest() (request *DescribeInstanceEventsRequest)

func (*DescribeInstanceEventsRequest) FromJsonString

func (r *DescribeInstanceEventsRequest) 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 (*DescribeInstanceEventsRequest) ToJsonString

func (r *DescribeInstanceEventsRequest) ToJsonString() string

type DescribeInstanceEventsRequestParams

type DescribeInstanceEventsRequestParams struct {
	// Start date for querying the event execution plan, with a maximum query span of 30 days.
	ExecutionStartDate *string `json:"ExecutionStartDate,omitnil,omitempty" name:"ExecutionStartDate"`

	// End date for querying the event execution plan, with a maximum query span of 30 days.
	ExecutionEndDate *string `json:"ExecutionEndDate,omitnil,omitempty" name:"ExecutionEndDate"`

	// Specifies the instance ID. Example: crs-xjhsdj****. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Number of events displayed per page. Default value: 10. Maximum value: 100.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Configures the page number for querying events. You can query events on a certain page by specifying PageNo and PageSize. Default value: 1.
	PageNo *int64 `json:"PageNo,omitnil,omitempty" name:"PageNo"`

	// Current status of the event.- Waiting: The event is waiting for execution on the execution date or during the operations period.- Running: The event is being executed during the operations period.- Finished: Execution of the event is completed.- Canceled: Execution of the event is canceled.
	Status []*string `json:"Status,omitnil,omitempty" name:"Status"`

	// Event type. Currently, the type can only be related to instance migration, resource movement, and IDC deletion. This parameter can be set only to **InstanceMigration**.
	EventTypes []*string `json:"EventTypes,omitnil,omitempty" name:"EventTypes"`

	// Configures the level of the queried event. Events are divided into Critical, High, Medium, and Low events according to the severity and urgency.- Critical- High- Medium- Low
	Grades []*string `json:"Grades,omitnil,omitempty" name:"Grades"`
}

Predefined struct for user

type DescribeInstanceEventsResponse

type DescribeInstanceEventsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceEventsResponseParams `json:"Response"`
}

func NewDescribeInstanceEventsResponse

func NewDescribeInstanceEventsResponse() (response *DescribeInstanceEventsResponse)

func (*DescribeInstanceEventsResponse) FromJsonString

func (r *DescribeInstanceEventsResponse) 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 (*DescribeInstanceEventsResponse) ToJsonString

func (r *DescribeInstanceEventsResponse) ToJsonString() string

type DescribeInstanceEventsResponseParams

type DescribeInstanceEventsResponseParams struct {
	// Total number of events.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Instance event information.
	RedisInstanceEvents []*RedisInstanceEvent `json:"RedisInstanceEvents,omitnil,omitempty" name:"RedisInstanceEvents"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceLogDeliveryRequest

type DescribeInstanceLogDeliveryRequest struct {
	*tchttp.BaseRequest

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

func NewDescribeInstanceLogDeliveryRequest

func NewDescribeInstanceLogDeliveryRequest() (request *DescribeInstanceLogDeliveryRequest)

func (*DescribeInstanceLogDeliveryRequest) FromJsonString

func (r *DescribeInstanceLogDeliveryRequest) 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 (*DescribeInstanceLogDeliveryRequest) ToJsonString

func (r *DescribeInstanceLogDeliveryRequest) ToJsonString() string

type DescribeInstanceLogDeliveryRequestParams

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

Predefined struct for user

type DescribeInstanceLogDeliveryResponse

type DescribeInstanceLogDeliveryResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceLogDeliveryResponseParams `json:"Response"`
}

func NewDescribeInstanceLogDeliveryResponse

func NewDescribeInstanceLogDeliveryResponse() (response *DescribeInstanceLogDeliveryResponse)

func (*DescribeInstanceLogDeliveryResponse) FromJsonString

func (r *DescribeInstanceLogDeliveryResponse) 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 (*DescribeInstanceLogDeliveryResponse) ToJsonString

func (r *DescribeInstanceLogDeliveryResponse) ToJsonString() string

type DescribeInstanceLogDeliveryResponseParams

type DescribeInstanceLogDeliveryResponseParams struct {
	// Slow query log shipping information of the instance.
	SlowLog *LogDeliveryInfo `json:"SlowLog,omitnil,omitempty" name:"SlowLog"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceMonitorBigKeyRequest

type DescribeInstanceMonitorBigKeyRequest struct {
	*tchttp.BaseRequest

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

	// Request type. 1: string type; 2: all types
	ReqType *int64 `json:"ReqType,omitnil,omitempty" name:"ReqType"`

	// Time, such as "20190219"
	Date *string `json:"Date,omitnil,omitempty" 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,omitempty" name:"InstanceId"`

	// Request type. 1: string type; 2: all types
	ReqType *int64 `json:"ReqType,omitnil,omitempty" name:"ReqType"`

	// Time, such as "20190219"
	Date *string `json:"Date,omitnil,omitempty" 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,omitempty" name:"Data"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceMonitorBigKeySizeDistRequest

type DescribeInstanceMonitorBigKeySizeDistRequest struct {
	*tchttp.BaseRequest

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

	// Time, such as "20190219"
	Date *string `json:"Date,omitnil,omitempty" 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,omitempty" name:"InstanceId"`

	// Time, such as "20190219"
	Date *string `json:"Date,omitnil,omitempty" 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,omitempty" name:"Data"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceMonitorBigKeyTypeDistRequest

type DescribeInstanceMonitorBigKeyTypeDistRequest struct {
	*tchttp.BaseRequest

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

	// Time, such as "20190219"
	Date *string `json:"Date,omitnil,omitempty" 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,omitempty" name:"InstanceId"`

	// Time, such as "20190219"
	Date *string `json:"Date,omitnil,omitempty" 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,omitempty" name:"Data"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceMonitorHotKeyRequest

type DescribeInstanceMonitorHotKeyRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Query time range.
	// - 1: real-time.
	// - 2: last 30 minutes.
	// - 3: last 6 hours.
	// - 4: last 24 hours.
	SpanType *int64 `json:"SpanType,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Query time range.
	// - 1: real-time.
	// - 2: last 30 minutes.
	// - 3: last 6 hours.
	// - 4: last 24 hours.
	SpanType *int64 `json:"SpanType,omitnil,omitempty" 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,omitempty" name:"Data"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceMonitorSIPRequest

type DescribeInstanceMonitorSIPRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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,omitempty" name:"Data"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceMonitorTookDistRequest

type DescribeInstanceMonitorTookDistRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Query date.
	Date *string `json:"Date,omitnil,omitempty" name:"Date"`

	// Time range.
	// - 1: real-time.
	// - 2: last 30 minutes.
	// - 3: last 6 hours.
	// - 4: last 24 hours.
	SpanType *int64 `json:"SpanType,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Query date.
	Date *string `json:"Date,omitnil,omitempty" name:"Date"`

	// Time range.
	// - 1: real-time.
	// - 2: last 30 minutes.
	// - 3: last 6 hours.
	// - 4: last 24 hours.
	SpanType *int64 `json:"SpanType,omitnil,omitempty" 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,omitempty" name:"Data"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceMonitorTopNCmdRequest

type DescribeInstanceMonitorTopNCmdRequest struct {
	*tchttp.BaseRequest

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

	// Time range.
	// - 1: real-time.
	// - 2: last 30 minutes.
	// - 3: last 6 hours.
	// - 4: last 24 hours.
	SpanType *int64 `json:"SpanType,omitnil,omitempty" 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,omitempty" name:"InstanceId"`

	// Time range.
	// - 1: real-time.
	// - 2: last 30 minutes.
	// - 3: last 6 hours.
	// - 4: last 24 hours.
	SpanType *int64 `json:"SpanType,omitnil,omitempty" 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,omitempty" name:"Data"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceMonitorTopNCmdTookRequest

type DescribeInstanceMonitorTopNCmdTookRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Query time range.
	// - 1: real-time.
	// - 2: last 30 minutes.
	// - 3: last 6 hours.
	// - 4: last 24 hours.
	SpanType *int64 `json:"SpanType,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Query time range.
	// - 1: real-time.
	// - 2: last 30 minutes.
	// - 3: last 6 hours.
	// - 4: last 24 hours.
	SpanType *int64 `json:"SpanType,omitnil,omitempty" 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,omitempty" name:"Data"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"ProxyCount"`

	// Proxy node information
	// Note:  This field may return null, indicating that no valid values can be obtained.
	Proxy []*ProxyNodes `json:"Proxy,omitnil,omitempty" name:"Proxy"`

	// The number of Redis nodes
	RedisCount *int64 `json:"RedisCount,omitnil,omitempty" name:"RedisCount"`

	// Redis node information
	// Note:  This field may return null, indicating that no valid values can be obtained.
	Redis []*RedisNodes `json:"Redis,omitnil,omitempty" name:"Redis"`

	// This parameter has been disused.
	TendisCount *int64 `json:"TendisCount,omitnil,omitempty" 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,omitempty" name:"Tendis"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceParamRecordsRequest

type DescribeInstanceParamRecordsRequest struct {
	*tchttp.BaseRequest

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

	// Maximum number of results returned per page
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset, which is an integral multiple of `Limit`.
	Offset *uint64 `json:"Offset,omitnil,omitempty" 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,omitempty" name:"InstanceId"`

	// Maximum number of results returned per page
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset, which is an integral multiple of `Limit`.
	Offset *uint64 `json:"Offset,omitnil,omitempty" 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,omitempty" name:"TotalCount"`

	// Information of modifications.
	InstanceParamHistory []*InstanceParamHistory `json:"InstanceParamHistory,omitnil,omitempty" name:"InstanceParamHistory"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"TotalCount"`

	// Instance parameter in Enum type
	InstanceEnumParam []*InstanceEnumParam `json:"InstanceEnumParam,omitnil,omitempty" name:"InstanceEnumParam"`

	// Instance parameter in Integer type
	InstanceIntegerParam []*InstanceIntegerParam `json:"InstanceIntegerParam,omitnil,omitempty" name:"InstanceIntegerParam"`

	// Instance parameter in Char type
	InstanceTextParam []*InstanceTextParam `json:"InstanceTextParam,omitnil,omitempty" name:"InstanceTextParam"`

	// Instance parameter in Multi type
	InstanceMultiParam []*InstanceMultiParam `json:"InstanceMultiParam,omitnil,omitempty" name:"InstanceMultiParam"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceSecurityGroupRequest

type DescribeInstanceSecurityGroupRequest struct {
	*tchttp.BaseRequest

	// Instance ID list, with the array length ranging from 0 to 100, for example, ["crs-f2ho5rsz\n"].
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" 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 {
	// Instance ID list, with the array length ranging from 0 to 100, for example, ["crs-f2ho5rsz\n"].
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" 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,omitempty" name:"InstanceSecurityGroupsDetail"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"InstanceId"`

	// Whether to filter out the replica node information. Valid values: `true` (yes),  `false` (no).
	FilterSlave *bool `json:"FilterSlave,omitnil,omitempty" 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,omitempty" name:"InstanceId"`

	// Whether to filter out the replica node information. Valid values: `true` (yes),  `false` (no).
	FilterSlave *bool `json:"FilterSlave,omitnil,omitempty" 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,omitempty" name:"InstanceShards"`

	// Number of instance shard nodes
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceSpecBandwidthRequest

type DescribeInstanceSpecBandwidthRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeInstanceSpecBandwidthRequest

func NewDescribeInstanceSpecBandwidthRequest() (request *DescribeInstanceSpecBandwidthRequest)

func (*DescribeInstanceSpecBandwidthRequest) FromJsonString

func (r *DescribeInstanceSpecBandwidthRequest) 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 (*DescribeInstanceSpecBandwidthRequest) ToJsonString

func (r *DescribeInstanceSpecBandwidthRequest) ToJsonString() string

type DescribeInstanceSpecBandwidthRequestParams

type DescribeInstanceSpecBandwidthRequestParams struct {
}

Predefined struct for user

type DescribeInstanceSpecBandwidthResponse

type DescribeInstanceSpecBandwidthResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceSpecBandwidthResponseParams `json:"Response"`
}

func NewDescribeInstanceSpecBandwidthResponse

func NewDescribeInstanceSpecBandwidthResponse() (response *DescribeInstanceSpecBandwidthResponse)

func (*DescribeInstanceSpecBandwidthResponse) FromJsonString

func (r *DescribeInstanceSpecBandwidthResponse) 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 (*DescribeInstanceSpecBandwidthResponse) ToJsonString

type DescribeInstanceSpecBandwidthResponseParams

type DescribeInstanceSpecBandwidthResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceSupportFeatureRequest

type DescribeInstanceSupportFeatureRequest struct {
	*tchttp.BaseRequest

	// Specify the instance ID.
	//  For example: crs-xjhsdj****. Please log in to the [Redis Console] (https://console.cloud.tencent.com/redis#/) and copy the instance ID from the instance list.
	// Sample value: crs-asdasdas.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Feature names.
	// - Read-local-node-only: Proximity access feature.- multi-account: Multiple accounts feature.
	FeatureName *string `json:"FeatureName,omitnil,omitempty" name:"FeatureName"`
}

func NewDescribeInstanceSupportFeatureRequest

func NewDescribeInstanceSupportFeatureRequest() (request *DescribeInstanceSupportFeatureRequest)

func (*DescribeInstanceSupportFeatureRequest) FromJsonString

func (r *DescribeInstanceSupportFeatureRequest) 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 (*DescribeInstanceSupportFeatureRequest) ToJsonString

type DescribeInstanceSupportFeatureRequestParams

type DescribeInstanceSupportFeatureRequestParams struct {
	// Specify the instance ID.
	//  For example: crs-xjhsdj****. Please log in to the [Redis Console] (https://console.cloud.tencent.com/redis#/) and copy the instance ID from the instance list.
	// Sample value: crs-asdasdas.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Feature names.
	// - Read-local-node-only: Proximity access feature.- multi-account: Multiple accounts feature.
	FeatureName *string `json:"FeatureName,omitnil,omitempty" name:"FeatureName"`
}

Predefined struct for user

type DescribeInstanceSupportFeatureResponse

type DescribeInstanceSupportFeatureResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceSupportFeatureResponseParams `json:"Response"`
}

func NewDescribeInstanceSupportFeatureResponse

func NewDescribeInstanceSupportFeatureResponse() (response *DescribeInstanceSupportFeatureResponse)

func (*DescribeInstanceSupportFeatureResponse) FromJsonString

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

func (*DescribeInstanceSupportFeatureResponse) ToJsonString

type DescribeInstanceSupportFeatureResponseParams

type DescribeInstanceSupportFeatureResponseParams struct {
	// Whether to support.
	Support *bool `json:"Support,omitnil,omitempty" name:"Support"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"TotalCount"`

	// List of instance node groups
	ReplicaGroups []*ReplicaGroup `json:"ReplicaGroups,omitnil,omitempty" name:"ReplicaGroups"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Limit"`

	// Pagination offset, which is an integral multiple of `Limit`. Calculation formula:  `offset` = `limit` * (page number - 1).
	Offset *uint64 `json:"Offset,omitnil,omitempty" 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,omitempty" name:"InstanceId"`

	// The instance list is sorted according to the following enumeration valid values:
	// - projectId: By project ID.- createtime: By the creation time of instances.- instancename: By the name of instances.- type: By the type of instances.- curDeadline: By the expiration time of instances.
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// For instance sorting order, the default is descending order.
	// - 1: Descending order.
	// - 0: Ascending order.
	OrderType *int64 `json:"OrderType,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"SubnetIds"`

	// Setting keywords field for fuzzy query, only instance names support fuzzy query.
	SearchKey *string `json:"SearchKey,omitnil,omitempty" name:"SearchKey"`

	// Array of project IDs
	ProjectIds []*int64 `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"`

	// Instance name
	InstanceName *string `json:"InstanceName,omitnil,omitempty" 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,omitempty" name:"UniqVpcIds"`

	// Array of VPC subnet IDs such as subnet-fdj24n34j2
	UniqSubnetIds []*string `json:"UniqSubnetIds,omitnil,omitempty" name:"UniqSubnetIds"`

	// Array of region IDs (disused). The corresponding region can be queried through the common parameter `Region`.
	RegionIds []*int64 `json:"RegionIds,omitnil,omitempty" name:"RegionIds"`

	// Instance status.
	// - 0: To be initialized.
	// - 1: In process.
	// - 2: Running.
	// - -2: Isolated.
	// - -3: Pending Delete.
	Status []*int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Instance architecture version.
	// - 1: Single-node edition.
	// - 2: Master-replica edition.- 3: Cluster edition.
	TypeVersion *int64 `json:"TypeVersion,omitnil,omitempty" 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,omitempty" name:"EngineName"`

	// Renewal pattern.
	// - 0: Manual renewal.
	// - 1: Automatic renewal.
	// - 2: No renewal after expiry.
	AutoRenew []*int64 `json:"AutoRenew,omitnil,omitempty" name:"AutoRenew"`

	// Billing mode. Only pay-as-you-go billing is supported.
	BillingMode *string `json:"BillingMode,omitnil,omitempty" name:"BillingMode"`

	// 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 (stand-alone).
	// - 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).
	// - 17: Redis 7.0 Memory Edition (standard architecture).
	// - 18: Redis 7.0 Memory Edition (cluster architecture).
	Type *int64 `json:"Type,omitnil,omitempty" name:"Type"`

	// This parameter is of array type and supports the configuration of instance names, instance IDs, and IP addresses. Among these, the instance name is fuzzy matching while the instance ID and IP address are precise matching.
	// - Each element in the array is used for a union-based matching query.- When both **InstanceId** and **SearchKeys** are configured simultaneously, their intersection will be used for the matching query.
	SearchKeys []*string `json:"SearchKeys,omitnil,omitempty" name:"SearchKeys"`

	// Internal parameter, which can be ignored.
	TypeList []*int64 `json:"TypeList,omitnil,omitempty" name:"TypeList"`

	// Internal parameter, which can be ignored.
	MonitorVersion *string `json:"MonitorVersion,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"TagKeys"`

	// The product version of the instance. If this parameter is not configured or the array is set to empty, instances will not be filtered based on this parameter by default.
	// - local: local Disk Edition.- cdc: Cluster dedicated edition.
	ProductVersions []*string `json:"ProductVersions,omitnil,omitempty" name:"ProductVersions"`

	// Batch query of the specified instances ID. The number of results returned is based on `Limit`.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// Availability zone mode.
	// - singleaz: Single availability zone.- multiaz: Multiple availability zones.
	AzMode *string `json:"AzMode,omitnil,omitempty" 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,omitempty" name:"Limit"`

	// Pagination offset, which is an integral multiple of `Limit`. Calculation formula:  `offset` = `limit` * (page number - 1).
	Offset *uint64 `json:"Offset,omitnil,omitempty" 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,omitempty" name:"InstanceId"`

	// The instance list is sorted according to the following enumeration valid values:
	// - projectId: By project ID.- createtime: By the creation time of instances.- instancename: By the name of instances.- type: By the type of instances.- curDeadline: By the expiration time of instances.
	OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`

	// For instance sorting order, the default is descending order.
	// - 1: Descending order.
	// - 0: Ascending order.
	OrderType *int64 `json:"OrderType,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"SubnetIds"`

	// Setting keywords field for fuzzy query, only instance names support fuzzy query.
	SearchKey *string `json:"SearchKey,omitnil,omitempty" name:"SearchKey"`

	// Array of project IDs
	ProjectIds []*int64 `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"`

	// Instance name
	InstanceName *string `json:"InstanceName,omitnil,omitempty" 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,omitempty" name:"UniqVpcIds"`

	// Array of VPC subnet IDs such as subnet-fdj24n34j2
	UniqSubnetIds []*string `json:"UniqSubnetIds,omitnil,omitempty" name:"UniqSubnetIds"`

	// Array of region IDs (disused). The corresponding region can be queried through the common parameter `Region`.
	RegionIds []*int64 `json:"RegionIds,omitnil,omitempty" name:"RegionIds"`

	// Instance status.
	// - 0: To be initialized.
	// - 1: In process.
	// - 2: Running.
	// - -2: Isolated.
	// - -3: Pending Delete.
	Status []*int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Instance architecture version.
	// - 1: Single-node edition.
	// - 2: Master-replica edition.- 3: Cluster edition.
	TypeVersion *int64 `json:"TypeVersion,omitnil,omitempty" 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,omitempty" name:"EngineName"`

	// Renewal pattern.
	// - 0: Manual renewal.
	// - 1: Automatic renewal.
	// - 2: No renewal after expiry.
	AutoRenew []*int64 `json:"AutoRenew,omitnil,omitempty" name:"AutoRenew"`

	// Billing mode. Only pay-as-you-go billing is supported.
	BillingMode *string `json:"BillingMode,omitnil,omitempty" name:"BillingMode"`

	// 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 (stand-alone).
	// - 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).
	// - 17: Redis 7.0 Memory Edition (standard architecture).
	// - 18: Redis 7.0 Memory Edition (cluster architecture).
	Type *int64 `json:"Type,omitnil,omitempty" name:"Type"`

	// This parameter is of array type and supports the configuration of instance names, instance IDs, and IP addresses. Among these, the instance name is fuzzy matching while the instance ID and IP address are precise matching.
	// - Each element in the array is used for a union-based matching query.- When both **InstanceId** and **SearchKeys** are configured simultaneously, their intersection will be used for the matching query.
	SearchKeys []*string `json:"SearchKeys,omitnil,omitempty" name:"SearchKeys"`

	// Internal parameter, which can be ignored.
	TypeList []*int64 `json:"TypeList,omitnil,omitempty" name:"TypeList"`

	// Internal parameter, which can be ignored.
	MonitorVersion *string `json:"MonitorVersion,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"TagKeys"`

	// The product version of the instance. If this parameter is not configured or the array is set to empty, instances will not be filtered based on this parameter by default.
	// - local: local Disk Edition.- cdc: Cluster dedicated edition.
	ProductVersions []*string `json:"ProductVersions,omitnil,omitempty" name:"ProductVersions"`

	// Batch query of the specified instances ID. The number of results returned is based on `Limit`.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// Availability zone mode.
	// - singleaz: Single availability zone.- multiaz: Multiple availability zones.
	AzMode *string `json:"AzMode,omitnil,omitempty" 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,omitempty" name:"TotalCount"`

	// List of instance details
	InstanceSet []*InstanceSet `json:"InstanceSet,omitnil,omitempty" name:"InstanceSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeMaintenanceWindowRequest

type DescribeMaintenanceWindowRequest struct {
	*tchttp.BaseRequest

	// Specifies the instance ID. Example: crs-xjhsdj****. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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 {
	// Specifies the instance ID. Example: crs-xjhsdj****. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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. Value range: any time point between 00:00 and 23:00, for example, 03:24.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time of the maintenance window.
	// - Value range: any time point between 00:00 and 23:00, for example, 04:24.
	// - The minimum maintenance duration is 30 minutes and the maximum is 3 hours.
	// - The end time should be later than the start time.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"TotalCount"`

	// Parameter template ID.
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// Parameter template name.
	Name *string `json:"Name,omitnil,omitempty" 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 (stand-alone).
	// - 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).
	// - 17: Redis 7.0 Memory Edition (standard architecture).
	// - 18: Redis 7.0 Memory Edition (cluster architecture).
	ProductType *uint64 `json:"ProductType,omitnil,omitempty" name:"ProductType"`

	// Parameter template description
	Description *string `json:"Description,omitnil,omitempty" 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,omitempty" name:"Items"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeParamTemplatesRequest

type DescribeParamTemplatesRequest struct {
	*tchttp.BaseRequest

	// Product type array.
	// - 2: Redis 2.8 Memory Edition (standard architecture).
	// - 3: CKV 3.2 Memory Edition (standard architecture).
	// - 4: CKV 3.2 Memory Edition (cluster architecture).
	// - 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).
	// - 17: Redis 7.0 Memory Edition (standard architecture).
	// - 18: Redis 7.0 Memory Edition (cluster architecture).
	ProductTypes []*int64 `json:"ProductTypes,omitnil,omitempty" name:"ProductTypes"`

	// Template name array, with the maximum array length of 50.
	TemplateNames []*string `json:"TemplateNames,omitnil,omitempty" name:"TemplateNames"`

	// Template ID array, with the maximum array length of 50.
	TemplateIds []*string `json:"TemplateIds,omitnil,omitempty" 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 {
	// Product type array.
	// - 2: Redis 2.8 Memory Edition (standard architecture).
	// - 3: CKV 3.2 Memory Edition (standard architecture).
	// - 4: CKV 3.2 Memory Edition (cluster architecture).
	// - 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).
	// - 17: Redis 7.0 Memory Edition (standard architecture).
	// - 18: Redis 7.0 Memory Edition (cluster architecture).
	ProductTypes []*int64 `json:"ProductTypes,omitnil,omitempty" name:"ProductTypes"`

	// Template name array, with the maximum array length of 50.
	TemplateNames []*string `json:"TemplateNames,omitnil,omitempty" name:"TemplateNames"`

	// Template ID array, with the maximum array length of 50.
	TemplateIds []*string `json:"TemplateIds,omitnil,omitempty" 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,omitempty" name:"TotalCount"`

	// Parameter template details.
	Items []*ParamTemplateInfo `json:"Items,omitnil,omitempty" name:"Items"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"RegionSet"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeProjectSecurityGroupRequest

type DescribeProjectSecurityGroupRequest struct {
	*tchttp.BaseRequest

	// Project ID for query.
	// - 0: default project.
	// - -1: all projects.
	// - Greater than 0: specific project. Log in to the [project management](https://console.tencentcloud.com/project) page of the Redis console and copy the project ID in **Project Name**.
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Security group ID, which can be obtained through the sub-parameter **SecurityGroupId** of the response parameter **InstanceSecurityGroupsDetail** of the API [DescribeInstanceSecurityGroup](https://intl.cloud.tencent.com/document/product/239/34447?from_cn_redirect=1).
	SecurityGroupId *string `json:"SecurityGroupId,omitnil,omitempty" 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 {
	// Project ID for query.
	// - 0: default project.
	// - -1: all projects.
	// - Greater than 0: specific project. Log in to the [project management](https://console.tencentcloud.com/project) page of the Redis console and copy the project ID in **Project Name**.
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Security group ID, which can be obtained through the sub-parameter **SecurityGroupId** of the response parameter **InstanceSecurityGroupsDetail** of the API [DescribeInstanceSecurityGroup](https://intl.cloud.tencent.com/document/product/239/34447?from_cn_redirect=1).
	SecurityGroupId *string `json:"SecurityGroupId,omitnil,omitempty" 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,omitempty" name:"SecurityGroupDetails"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Product"`

	// Project ID. Log in to the [Project Management](https://console.tencentcloud.com/project) page of the Redis console and copy the project ID in **Project Name**.
	ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Offset, which is an integral multiple of `Limit`.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// The number of security groups to be pulled. Default value: `20`.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Search criteria. You can enter a security group ID or name.
	SearchKey *string `json:"SearchKey,omitnil,omitempty" 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,omitempty" name:"Product"`

	// Project ID. Log in to the [Project Management](https://console.tencentcloud.com/project) page of the Redis console and copy the project ID in **Project Name**.
	ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Offset, which is an integral multiple of `Limit`.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// The number of security groups to be pulled. Default value: `20`.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Search criteria. You can enter a security group ID or name.
	SearchKey *string `json:"SearchKey,omitnil,omitempty" 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,omitempty" name:"Groups"`

	// Total number of eligible security groups.
	Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"InstanceId"`

	// Start time of a slow query, with a maximum query span of 30 days.
	BeginTime *string `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`

	// End time of a slow query, with a maximum query span of 30 days.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Slow query threshold  in milliseconds
	MinQueryTime *int64 `json:"MinQueryTime,omitnil,omitempty" name:"MinQueryTime"`

	// Number of tasks output on each page. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Pagination offset, which is an integer multiple of Limit. Calculation formula: Offset = Limit x (Page number - 1).
	Offset *int64 `json:"Offset,omitnil,omitempty" 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,omitempty" name:"InstanceId"`

	// Start time of a slow query, with a maximum query span of 30 days.
	BeginTime *string `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`

	// End time of a slow query, with a maximum query span of 30 days.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Slow query threshold  in milliseconds
	MinQueryTime *int64 `json:"MinQueryTime,omitnil,omitempty" name:"MinQueryTime"`

	// Number of tasks output on each page. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Pagination offset, which is an integer multiple of Limit. Calculation formula: Offset = Limit x (Page number - 1).
	Offset *int64 `json:"Offset,omitnil,omitempty" 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,omitempty" name:"TotalCount"`

	// Slow query details
	InstanceProxySlowLogDetail []*InstanceProxySlowlogDetail `json:"InstanceProxySlowLogDetail,omitnil,omitempty" name:"InstanceProxySlowLogDetail"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeRedisClusterOverviewRequest

type DescribeRedisClusterOverviewRequest struct {
	*tchttp.BaseRequest

	// CDC ID. Log in to the [CDC console](https://console.cloud.tencent.com/cdc/dedicatedcluster/index?rid=1)
	// and obtain the cluster ID in the instance list.
	DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"`
}

func NewDescribeRedisClusterOverviewRequest

func NewDescribeRedisClusterOverviewRequest() (request *DescribeRedisClusterOverviewRequest)

func (*DescribeRedisClusterOverviewRequest) FromJsonString

func (r *DescribeRedisClusterOverviewRequest) 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 (*DescribeRedisClusterOverviewRequest) ToJsonString

func (r *DescribeRedisClusterOverviewRequest) ToJsonString() string

type DescribeRedisClusterOverviewRequestParams

type DescribeRedisClusterOverviewRequestParams struct {
	// CDC ID. Log in to the [CDC console](https://console.cloud.tencent.com/cdc/dedicatedcluster/index?rid=1)
	// and obtain the cluster ID in the instance list.
	DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"`
}

Predefined struct for user

type DescribeRedisClusterOverviewResponse

type DescribeRedisClusterOverviewResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRedisClusterOverviewResponseParams `json:"Response"`
}

func NewDescribeRedisClusterOverviewResponse

func NewDescribeRedisClusterOverviewResponse() (response *DescribeRedisClusterOverviewResponse)

func (*DescribeRedisClusterOverviewResponse) FromJsonString

func (r *DescribeRedisClusterOverviewResponse) 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 (*DescribeRedisClusterOverviewResponse) ToJsonString

func (r *DescribeRedisClusterOverviewResponse) ToJsonString() string

type DescribeRedisClusterOverviewResponseParams

type DescribeRedisClusterOverviewResponseParams struct {
	// Total number of resource packages.
	TotalBundle *int64 `json:"TotalBundle,omitnil,omitempty" name:"TotalBundle"`

	// Total memory size occupied by resource packages. Unit: GB.
	TotalMemory *int64 `json:"TotalMemory,omitnil,omitempty" name:"TotalMemory"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeRedisClustersRequest

type DescribeRedisClustersRequest struct {
	*tchttp.BaseRequest

	// Dedicated Redis cluster ID. Log in to the [CDC console](https://console.cloud.tencent.com/cdc/dedicatedcluster/index?rid=1),
	// switch to the **Cloud Service Management** page, select **TencentDB for Redis** from the drop-down list, and obtain the dedicated cluster ID.
	RedisClusterIds []*string `json:"RedisClusterIds,omitnil,omitempty" name:"RedisClusterIds"`

	// Cluster status.
	// - 1: in process.
	// - 2: running.
	// - 3: isolated.
	Status []*int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Project ID array. Log in to the [project management](https://console.tencentcloud.com/project) page and copy the project ID in **Project Name**.
	ProjectIds []*int64 `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"`

	// Renewal mode.
	// - 0: default status (manual renewal).
	// - 1: automatic renewal.
	// - 2: no automatic renewal.
	AutoRenewFlag []*int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`

	// Dedicated Redis cluster name.
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// Search keyword. Valid values: cluster ID and cluster name.
	SearchKey *string `json:"SearchKey,omitnil,omitempty" name:"SearchKey"`

	// Limit on the number of records returned in pagination mode. If this parameter is not specified, the value 20 will be used by default.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset, which is an integer multiple of Limit.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// CDC ID. Log in to the [CDC console](https://console.cloud.tencent.com/cdc/dedicatedcluster/index?rid=1)
	// and obtain the cluster ID in the instance list.
	DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"`
}

func NewDescribeRedisClustersRequest

func NewDescribeRedisClustersRequest() (request *DescribeRedisClustersRequest)

func (*DescribeRedisClustersRequest) FromJsonString

func (r *DescribeRedisClustersRequest) 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 (*DescribeRedisClustersRequest) ToJsonString

func (r *DescribeRedisClustersRequest) ToJsonString() string

type DescribeRedisClustersRequestParams

type DescribeRedisClustersRequestParams struct {
	// Dedicated Redis cluster ID. Log in to the [CDC console](https://console.cloud.tencent.com/cdc/dedicatedcluster/index?rid=1),
	// switch to the **Cloud Service Management** page, select **TencentDB for Redis** from the drop-down list, and obtain the dedicated cluster ID.
	RedisClusterIds []*string `json:"RedisClusterIds,omitnil,omitempty" name:"RedisClusterIds"`

	// Cluster status.
	// - 1: in process.
	// - 2: running.
	// - 3: isolated.
	Status []*int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Project ID array. Log in to the [project management](https://console.tencentcloud.com/project) page and copy the project ID in **Project Name**.
	ProjectIds []*int64 `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"`

	// Renewal mode.
	// - 0: default status (manual renewal).
	// - 1: automatic renewal.
	// - 2: no automatic renewal.
	AutoRenewFlag []*int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`

	// Dedicated Redis cluster name.
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// Search keyword. Valid values: cluster ID and cluster name.
	SearchKey *string `json:"SearchKey,omitnil,omitempty" name:"SearchKey"`

	// Limit on the number of records returned in pagination mode. If this parameter is not specified, the value 20 will be used by default.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset, which is an integer multiple of Limit.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// CDC ID. Log in to the [CDC console](https://console.cloud.tencent.com/cdc/dedicatedcluster/index?rid=1)
	// and obtain the cluster ID in the instance list.
	DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"`
}

Predefined struct for user

type DescribeRedisClustersResponse

type DescribeRedisClustersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRedisClustersResponseParams `json:"Response"`
}

func NewDescribeRedisClustersResponse

func NewDescribeRedisClustersResponse() (response *DescribeRedisClustersResponse)

func (*DescribeRedisClustersResponse) FromJsonString

func (r *DescribeRedisClustersResponse) 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 (*DescribeRedisClustersResponse) ToJsonString

func (r *DescribeRedisClustersResponse) ToJsonString() string

type DescribeRedisClustersResponseParams

type DescribeRedisClustersResponseParams struct {
	// Total number of clusters.
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// CDC cluster resource list.
	Resources []*CDCResource `json:"Resources,omitnil,omitempty" name:"Resources"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeReplicationGroupInstanceRequest

type DescribeReplicationGroupInstanceRequest struct {
	*tchttp.BaseRequest

	// Specifies the instance ID. Example: crs-xjhsdj****. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewDescribeReplicationGroupInstanceRequest

func NewDescribeReplicationGroupInstanceRequest() (request *DescribeReplicationGroupInstanceRequest)

func (*DescribeReplicationGroupInstanceRequest) FromJsonString

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

func (*DescribeReplicationGroupInstanceRequest) ToJsonString

type DescribeReplicationGroupInstanceRequestParams

type DescribeReplicationGroupInstanceRequestParams struct {
	// Specifies the instance ID. Example: crs-xjhsdj****. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DescribeReplicationGroupInstanceResponse

type DescribeReplicationGroupInstanceResponse struct {
	*tchttp.BaseResponse
	Response *DescribeReplicationGroupInstanceResponseParams `json:"Response"`
}

func NewDescribeReplicationGroupInstanceResponse

func NewDescribeReplicationGroupInstanceResponse() (response *DescribeReplicationGroupInstanceResponse)

func (*DescribeReplicationGroupInstanceResponse) FromJsonString

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

func (*DescribeReplicationGroupInstanceResponse) ToJsonString

type DescribeReplicationGroupInstanceResponseParams

type DescribeReplicationGroupInstanceResponseParams struct {
	// AppID。
	AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"`

	// Numerical code of a region.
	RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// String ID of a replication group.
	GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`

	// Replication group name.
	GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`

	// Instance replication group role.
	// - r: secondary instance.
	// - rw: primary instance.
	InstanceRole *string `json:"InstanceRole,omitnil,omitempty" name:"InstanceRole"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Limit"`

	// Pagination offset, which is an integral multiple of `Limit`. `offset` = `limit` * (page number - 1).
	Offset *int64 `json:"Offset,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Limit"`

	// Pagination offset, which is an integral multiple of `Limit`. `offset` = `limit` * (page number - 1).
	Offset *int64 `json:"Offset,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"TotalCount"`

	// Replication group information
	Groups []*Groups `json:"Groups,omitnil,omitempty" name:"Groups"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeSSLStatusRequest

type DescribeSSLStatusRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"CertDownloadUrl"`

	// Expiration time of the certificate download address
	UrlExpiredTime *string `json:"UrlExpiredTime,omitnil,omitempty" name:"UrlExpiredTime"`

	// Whether the SSL is enabled for the identified instance.
	// - `true`: Enabled
	// - `false`: Disabled
	SSLConfig *bool `json:"SSLConfig,omitnil,omitempty" name:"SSLConfig"`

	// Whether SSL is supported for the identified instance.
	// -`true`: Supported
	// -`false`: Not supported
	FeatureSupport *bool `json:"FeatureSupport,omitnil,omitempty" name:"FeatureSupport"`

	// Status of SSL configuration
	// - `1`: Configuring
	// - `2`: Configured successfully
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"InstanceId"`

	// Start time for pre-querying slow query logs, with a maximum query span of 30 days.
	BeginTime *string `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`

	// End time for pre-querying slow query logs, with a maximum query span of 30 days.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// The average execution time threshold of slow query  in microseconds
	MinQueryTime *int64 `json:"MinQueryTime,omitnil,omitempty" name:"MinQueryTime"`

	// Number of slow query logs displayed per page. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Slow query offset, which is an integral multiple of `Limit`. Calculation formula:  `offset` = `limit` * (page number - 1).
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Node role.
	// - master: Master node.- slave: Replica node.
	Role *string `json:"Role,omitnil,omitempty" 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,omitempty" name:"InstanceId"`

	// Start time for pre-querying slow query logs, with a maximum query span of 30 days.
	BeginTime *string `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`

	// End time for pre-querying slow query logs, with a maximum query span of 30 days.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// The average execution time threshold of slow query  in microseconds
	MinQueryTime *int64 `json:"MinQueryTime,omitnil,omitempty" name:"MinQueryTime"`

	// Number of slow query logs displayed per page. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Slow query offset, which is an integral multiple of `Limit`. Calculation formula:  `offset` = `limit` * (page number - 1).
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Node role.
	// - master: Master node.- slave: Replica node.
	Role *string `json:"Role,omitnil,omitempty" 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,omitempty" name:"TotalCount"`

	// Slow query log details. This parameter has been deprecated and will be replaced by InstanceSlowLogDetail because it is not properly named.
	InstanceSlowlogDetail []*InstanceSlowlogDetail `json:"InstanceSlowlogDetail,omitnil,omitempty" name:"InstanceSlowlogDetail"`

	// Details of slow queries.
	InstanceSlowLogDetail []*InstanceSlowlogDetail `json:"InstanceSlowLogDetail,omitnil,omitempty" name:"InstanceSlowLogDetail"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTaskInfoRequest

type DescribeTaskInfoRequest struct {
	*tchttp.BaseRequest

	// Task ID, which can be obtained through the sub-parameter **TaskId** of the response parameter **Tasks** of the API [DescribeTaskList](https://intl.cloud.tencent.com/document/product/239/39374?from_cn_redirect=1).
	TaskId *uint64 `json:"TaskId,omitnil,omitempty" 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, which can be obtained through the sub-parameter **TaskId** of the response parameter **Tasks** of the API [DescribeTaskList](https://intl.cloud.tencent.com/document/product/239/39374?from_cn_redirect=1).
	TaskId *uint64 `json:"TaskId,omitnil,omitempty" 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,omitempty" name:"Status"`

	// Task start time
	StartTime *string `json:"StartTime,omitnil,omitempty" 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,omitempty" name:"TaskType"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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,omitempty" name:"TaskMessage"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"InstanceId"`

	// Instance name
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`

	// Number of taskss returned per page.  Default value: `20`. Maximum value: `100`.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Pagination offset, which is an integral multiple of `Limit`. Calculation formula:  `offset` = `limit` * (page number - 1).
	Offset *int64 `json:"Offset,omitnil,omitempty" 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,omitempty" name:"ProjectIds"`

	// Task type.
	//
	//
	//
	// - FLOW_CREATE: "001" - Create an instance.
	// - FLOW_RESIZE: "002" - Change the configuration.
	// - FLOW_CLOSE: "003" - Close an instance.
	// - FLOW_CLEAN: "004" - Clear an instance.
	// - FLOW_STARTUP: "005" - Enable an instance.
	// - FLOW_DELETE: "006" - Delete an instance.
	// - FLOW_SETPWD: "007" - Reset the password.
	// - FLOW_EXPORTBACKUP: "009" - Export the backup file.
	// - FLOW_RESTOREBACKUP: "010" - Restore the backup.
	// - FLOW_BACKUPINSTANCE: "012" - Back up an instance.
	// - FLOW_MIGRATEINSTANCE: "013" - Migrate an instance.
	// - FLOW_DELBACKUP: "014" - Delete the backup.
	// - FLOW_EXCHANGEINSTANCE: "016" - Switch an instance.
	// - FLOW_AUTOBACKUP: "017" - Automatically backup an instance.
	// - FLOW_MIGRATECHECK: "022" - Verify migration parameters.
	// - FLOW_MIGRATETASK: "023" - Migrate data in progress.
	// - FLOW_CLEANDB: "025" - Clear a database.
	// - FLOW_CLONEBACKUP: "026" - Clone the backup.
	// - FLOW_CHANGEVIP: "027" - Change the VIP.
	// - FLOW_EXPORSHR: "028" - Perform scaling.
	// - FLOW_ADDNODES: "029" - Add or remove a node.
	// - FLOW_CHANGENET: "031" - Change the network type.
	// - FLOW_MODIFYINSTACEREADONLY: "033" - Modify the read-only policy.
	// - FLOW_MODIFYINSTANCEPARAMS: "034" - Modify instance parameters.
	// - FLOW_MODIFYINSTANCEPASSWORDFREE: "035" - Set password-free access.
	// - FLOW_SWITCHINSTANCEVIP: "036" - Switch the instance VIP.
	// - FLOW_MODIFYINSTANCEACCOUNT: "037" - Modify the instance account.
	// - FLOW_MODIFYINSTANCEBANDWIDTH: "038" - Modify the instance bandwidth.
	// - FLOW_ENABLEINSTANCE_REPLICATE: "039" - Enable read-only replica.
	// - FLOW_DISABLEINSTANCE_REPLICATE: "040" - Disable read-only replica.
	// - FLOW_UpgradeArch: "041" - Upgrade the instance architecture from primary-secondary to cluster.
	// - FLOW_DowngradeArch: "042" - Downgrade the instance architecture from cluster to primary-secondary.
	// - FLOW_UpgradeVersion: "043" - Upgrade the version.
	// - FLOW_MODIFYCONNECTIONCONFIG: "044" - Modify the number of bandwidth connections.
	// - FLOW_CLEARNETWORK: "045" - Change the network.
	// - FLOW_REMOVE_BACKUP_FILE: "046" - Delete the backup.
	// - FLOW_UPGRADE_SUPPORT_MULTI_AZ: "047" - Upgrade an instance to support multiple AZs.
	// - FLOW_SHUTDOWN_MASTER: "048" - Simulate a fault.
	// - FLOW_CHANGE_REPLICA_TO_MASTER: "049" - Manually promote the replica node to the primary node.
	// - FLOW_CODE_ADD_REPLICATION_INSTANCE: "050" - Add a replication group.
	// - FLOW_OPEN_WAN: "052" - Enable the public network.
	// - FLOW_CLOSE_WAN: "053" - Disable the public network. - FLOW_UPDATE_WAN: "054" - Update the public network.
	// - FLOW_CODE_DELETE_REPLICATION_INSTANCE: "055" - Unbind the replication group.
	// - FLOW_CODE_CHANGE_MASTER_INSTANCE: "056" - Switch to the primary instance in the replication group.
	// - FLOW_CODE_CHANGE_INSTANCE_ROLE: "057" - Change the roles of instances in the replication group.
	// - FLOW_MIGRATE_NODE: "058" - Migrate a node.
	// - FLOW_SWITCH_NODE: "059" - Switch a node.
	// - FLOW_UPGRADE_SMALL_VERSION: "060" - Upgrade the Redis version.
	// - FLOW_UPGRADE_PROXY_VERSION: "061" - Upgrade the Proxy version.
	// - FLOW_MODIFY_INSTANCE_NETWORK: "062" - Modify the instance network.
	// - FLOW_MIGRATE_PROXY_NODE: "063" - Migrate the Proxy node.
	// - FLOW_MIGRATION_INSTANCE_ZONE: "066" - Migrate the instance AZ in progress.
	// - FLOW_UPGRADE_INSTANCE_CACHE_AND_PROXY: "067" - Upgrade the instance version in progress.
	// - FLOW_MODIFY_PROXY_NUM: "069" - Add or remove a Proxy node.
	// - FLOW_MODIFYBACKUPMOD: "070" - Change the instance backup mode.
	TaskTypes []*string `json:"TaskTypes,omitnil,omitempty" name:"TaskTypes"`

	// Start time of the task, for example, in the format of 2021-12-30 00:00:00. Data in the last 30 days can be queried.
	BeginTime *string `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`

	// End time of the task, for example, in the format of 2021-12-30 20:59:35. Data in the last 30 days can be queried.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// This parameter is only for internal use and can be ignored.
	TaskStatus []*int64 `json:"TaskStatus,omitnil,omitempty" name:"TaskStatus"`

	// Task execution status. Valid values: - `0` (initilized) - `1` (executing) - `2` (completed) - `4` (failed)
	Result []*int64 `json:"Result,omitnil,omitempty" name:"Result"`

	// The field `OperatorUin` has been disused and replaced by `OperateUin`.
	OperatorUin []*int64 `json:"OperatorUin,omitnil,omitempty" name:"OperatorUin"`

	// Operator account ID or UIN
	OperateUin []*string `json:"OperateUin,omitnil,omitempty" 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,omitempty" name:"InstanceId"`

	// Instance name
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`

	// Number of taskss returned per page.  Default value: `20`. Maximum value: `100`.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Pagination offset, which is an integral multiple of `Limit`. Calculation formula:  `offset` = `limit` * (page number - 1).
	Offset *int64 `json:"Offset,omitnil,omitempty" 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,omitempty" name:"ProjectIds"`

	// Task type.
	//
	//
	//
	// - FLOW_CREATE: "001" - Create an instance.
	// - FLOW_RESIZE: "002" - Change the configuration.
	// - FLOW_CLOSE: "003" - Close an instance.
	// - FLOW_CLEAN: "004" - Clear an instance.
	// - FLOW_STARTUP: "005" - Enable an instance.
	// - FLOW_DELETE: "006" - Delete an instance.
	// - FLOW_SETPWD: "007" - Reset the password.
	// - FLOW_EXPORTBACKUP: "009" - Export the backup file.
	// - FLOW_RESTOREBACKUP: "010" - Restore the backup.
	// - FLOW_BACKUPINSTANCE: "012" - Back up an instance.
	// - FLOW_MIGRATEINSTANCE: "013" - Migrate an instance.
	// - FLOW_DELBACKUP: "014" - Delete the backup.
	// - FLOW_EXCHANGEINSTANCE: "016" - Switch an instance.
	// - FLOW_AUTOBACKUP: "017" - Automatically backup an instance.
	// - FLOW_MIGRATECHECK: "022" - Verify migration parameters.
	// - FLOW_MIGRATETASK: "023" - Migrate data in progress.
	// - FLOW_CLEANDB: "025" - Clear a database.
	// - FLOW_CLONEBACKUP: "026" - Clone the backup.
	// - FLOW_CHANGEVIP: "027" - Change the VIP.
	// - FLOW_EXPORSHR: "028" - Perform scaling.
	// - FLOW_ADDNODES: "029" - Add or remove a node.
	// - FLOW_CHANGENET: "031" - Change the network type.
	// - FLOW_MODIFYINSTACEREADONLY: "033" - Modify the read-only policy.
	// - FLOW_MODIFYINSTANCEPARAMS: "034" - Modify instance parameters.
	// - FLOW_MODIFYINSTANCEPASSWORDFREE: "035" - Set password-free access.
	// - FLOW_SWITCHINSTANCEVIP: "036" - Switch the instance VIP.
	// - FLOW_MODIFYINSTANCEACCOUNT: "037" - Modify the instance account.
	// - FLOW_MODIFYINSTANCEBANDWIDTH: "038" - Modify the instance bandwidth.
	// - FLOW_ENABLEINSTANCE_REPLICATE: "039" - Enable read-only replica.
	// - FLOW_DISABLEINSTANCE_REPLICATE: "040" - Disable read-only replica.
	// - FLOW_UpgradeArch: "041" - Upgrade the instance architecture from primary-secondary to cluster.
	// - FLOW_DowngradeArch: "042" - Downgrade the instance architecture from cluster to primary-secondary.
	// - FLOW_UpgradeVersion: "043" - Upgrade the version.
	// - FLOW_MODIFYCONNECTIONCONFIG: "044" - Modify the number of bandwidth connections.
	// - FLOW_CLEARNETWORK: "045" - Change the network.
	// - FLOW_REMOVE_BACKUP_FILE: "046" - Delete the backup.
	// - FLOW_UPGRADE_SUPPORT_MULTI_AZ: "047" - Upgrade an instance to support multiple AZs.
	// - FLOW_SHUTDOWN_MASTER: "048" - Simulate a fault.
	// - FLOW_CHANGE_REPLICA_TO_MASTER: "049" - Manually promote the replica node to the primary node.
	// - FLOW_CODE_ADD_REPLICATION_INSTANCE: "050" - Add a replication group.
	// - FLOW_OPEN_WAN: "052" - Enable the public network.
	// - FLOW_CLOSE_WAN: "053" - Disable the public network. - FLOW_UPDATE_WAN: "054" - Update the public network.
	// - FLOW_CODE_DELETE_REPLICATION_INSTANCE: "055" - Unbind the replication group.
	// - FLOW_CODE_CHANGE_MASTER_INSTANCE: "056" - Switch to the primary instance in the replication group.
	// - FLOW_CODE_CHANGE_INSTANCE_ROLE: "057" - Change the roles of instances in the replication group.
	// - FLOW_MIGRATE_NODE: "058" - Migrate a node.
	// - FLOW_SWITCH_NODE: "059" - Switch a node.
	// - FLOW_UPGRADE_SMALL_VERSION: "060" - Upgrade the Redis version.
	// - FLOW_UPGRADE_PROXY_VERSION: "061" - Upgrade the Proxy version.
	// - FLOW_MODIFY_INSTANCE_NETWORK: "062" - Modify the instance network.
	// - FLOW_MIGRATE_PROXY_NODE: "063" - Migrate the Proxy node.
	// - FLOW_MIGRATION_INSTANCE_ZONE: "066" - Migrate the instance AZ in progress.
	// - FLOW_UPGRADE_INSTANCE_CACHE_AND_PROXY: "067" - Upgrade the instance version in progress.
	// - FLOW_MODIFY_PROXY_NUM: "069" - Add or remove a Proxy node.
	// - FLOW_MODIFYBACKUPMOD: "070" - Change the instance backup mode.
	TaskTypes []*string `json:"TaskTypes,omitnil,omitempty" name:"TaskTypes"`

	// Start time of the task, for example, in the format of 2021-12-30 00:00:00. Data in the last 30 days can be queried.
	BeginTime *string `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`

	// End time of the task, for example, in the format of 2021-12-30 20:59:35. Data in the last 30 days can be queried.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// This parameter is only for internal use and can be ignored.
	TaskStatus []*int64 `json:"TaskStatus,omitnil,omitempty" name:"TaskStatus"`

	// Task execution status. Valid values: - `0` (initilized) - `1` (executing) - `2` (completed) - `4` (failed)
	Result []*int64 `json:"Result,omitnil,omitempty" name:"Result"`

	// The field `OperatorUin` has been disused and replaced by `OperateUin`.
	OperatorUin []*int64 `json:"OperatorUin,omitnil,omitempty" name:"OperatorUin"`

	// Operator account ID or UIN
	OperateUin []*string `json:"OperateUin,omitnil,omitempty" 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,omitempty" name:"TotalCount"`

	// Task details
	Tasks []*TaskInfoDetail `json:"Tasks,omitnil,omitempty" name:"Tasks"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTendisSlowLogRequest

type DescribeTendisSlowLogRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Tendis console](https://console.cloud.tencent.com/tendis) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Start time for a query, for example, 2019-09-08 12:12:41, with a maximum query span of 30 days.
	BeginTime *string `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`

	// End time for a query, for example, 2019-09-09 12:12:41, with a maximum query span of 30 days.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Slow query threshold in ms
	MinQueryTime *int64 `json:"MinQueryTime,omitnil,omitempty" name:"MinQueryTime"`

	// Page size. Default value 20. Maximum value 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Pagination offset, which is an integer multiple of Limit. Calculation formula: Offset = Limit x (Page number - 1).
	Offset *int64 `json:"Offset,omitnil,omitempty" 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. Log in to the [Tendis console](https://console.cloud.tencent.com/tendis) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Start time for a query, for example, 2019-09-08 12:12:41, with a maximum query span of 30 days.
	BeginTime *string `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`

	// End time for a query, for example, 2019-09-09 12:12:41, with a maximum query span of 30 days.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Slow query threshold in ms
	MinQueryTime *int64 `json:"MinQueryTime,omitnil,omitempty" name:"MinQueryTime"`

	// Page size. Default value 20. Maximum value 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Pagination offset, which is an integer multiple of Limit. Calculation formula: Offset = Limit x (Page number - 1).
	Offset *int64 `json:"Offset,omitnil,omitempty" 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,omitempty" name:"TotalCount"`

	// Slow query details
	TendisSlowLogDetail []*TendisSlowLogDetail `json:"TendisSlowLogDetail,omitnil,omitempty" name:"TendisSlowLogDetail"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DestroyPostpaidInstanceRequest

type DestroyPostpaidInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DestroyPrepaidInstanceRequest

type DestroyPrepaidInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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,omitempty" name:"DealId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DisableReplicaReadonlyRequest

type DisableReplicaReadonlyRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Product"`

	// Security group ID, which can be obtained through the sub-parameter **SecurityGroupId** of the response parameter InstanceSecurityGroupsDetail of the API [DescribeInstanceSecurityGroup](https://intl.cloud.tencent.com/document/product/239/34447?from_cn_redirect=1).
	SecurityGroupId *string `json:"SecurityGroupId,omitnil,omitempty" name:"SecurityGroupId"`

	// Instance ID list, which is an array of one or more instance IDs. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" 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,omitempty" name:"Product"`

	// Security group ID, which can be obtained through the sub-parameter **SecurityGroupId** of the response parameter InstanceSecurityGroupsDetail of the API [DescribeInstanceSecurityGroup](https://intl.cloud.tencent.com/document/product/239/34447?from_cn_redirect=1).
	SecurityGroupId *string `json:"SecurityGroupId,omitnil,omitempty" name:"SecurityGroupId"`

	// Instance ID list, which is an array of one or more instance IDs. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type EnableReplicaReadonlyRequest

type EnableReplicaReadonlyRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Read-only routing policy.
	// - master: read-only routing to the primary node.
	// - replication: read-only routing to the secondary node.
	// - Default policy: writing to the primary node and reading from the secondary node.
	ReadonlyPolicy []*string `json:"ReadonlyPolicy,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Read-only routing policy.
	// - master: read-only routing to the primary node.
	// - replication: read-only routing to the secondary node.
	// - Default policy: writing to the primary node and reading from the secondary node.
	ReadonlyPolicy []*string `json:"ReadonlyPolicy,omitnil,omitempty" 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,omitempty" name:"Status"`

	// Task ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"AppId"`

	// Region ID.
	// - 1: Guangzhou.
	// - 4: Shanghai.
	// - 5: Hong Kong (China).
	// - 7: Shanghai Finance.
	// - 8: Beijing.
	// - 9: Singapore.
	// - 11: Shenzhen Finance.
	// - 15: Western United States (Silicon Valley).
	// - 16: Chengdu.
	// - 17: Germany.
	// - 18: South Korea.
	// - 19: Chongqing.
	// - 21: India.
	// - 22: Eastern United States (Virginia).
	// - 23: Thailand.
	// - 25: Japan.
	RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// Replication group ID in the format of "crs-rpl-deind****"
	GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`

	// Replication group name
	// Note: This field may return null, indicating that no valid values can be obtained.
	GroupName *string `json:"GroupName,omitnil,omitempty" 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,omitempty" name:"Status"`

	// Number of replication groups
	InstanceCount *int64 `json:"InstanceCount,omitnil,omitempty" 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,omitempty" name:"Instances"`

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

type HotKeyInfo

type HotKeyInfo struct {
	// The name of the hot key.
	Key *string `json:"Key,omitnil,omitempty" name:"Key"`

	// Key type.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Number of accesses for the hot key in a specified time period.
	Count *int64 `json:"Count,omitnil,omitempty" name:"Count"`
}

type Inbound

type Inbound struct {
	// Policy. Valid values: ACCEPT, DROP.
	Action *string `json:"Action,omitnil,omitempty" name:"Action"`

	// All the addresses that the address group ID represents.
	AddressModule *string `json:"AddressModule,omitnil,omitempty" name:"AddressModule"`

	// Source IP or IP address range, such as 192.168.0.0/16.
	CidrIp *string `json:"CidrIp,omitnil,omitempty" name:"CidrIp"`

	// Description.
	Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"`

	// Network protocol, such as UDP and TCP.
	IpProtocol *string `json:"IpProtocol,omitnil,omitempty" name:"IpProtocol"`

	// Port.
	PortRange *string `json:"PortRange,omitnil,omitempty" name:"PortRange"`

	// All the protocols and ports that the service group ID represents.
	ServiceModule *string `json:"ServiceModule,omitnil,omitempty" name:"ServiceModule"`

	// All the addresses that the security group ID represents.
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

type InquiryPriceCreateInstanceRequest

type InquiryPriceCreateInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance type.
	// - 2: Redis 2.8 Memory Edition (standard architecture).
	// - 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).
	// - 17: Redis 7.0 Memory Edition (standard architecture).
	// - 18: Redis 7.0 Memory Edition (cluster architecture).
	TypeId *uint64 `json:"TypeId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Period"`

	// Billing mode.
	// - 0: pay-as-you-go.
	// - 1: monthly subscription.
	BillingMode *int64 `json:"BillingMode,omitnil,omitempty" 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,omitempty" name:"ZoneId"`

	// Number of instance shards. For the standard architecture of 2.8, the number of shards does not need to be configured. For the standard architecture of other versions, the number of shards should be set to 1. For the cluster architecture, the number of shards to be purchased needs to be specified.
	RedisShardNum *int64 `json:"RedisShardNum,omitnil,omitempty" name:"RedisShardNum"`

	// Number of instance replicas. For the standard architecture of 2.8, the number of replicas does not need to be configured.
	RedisReplicasNum *int64 `json:"RedisReplicasNum,omitnil,omitempty" name:"RedisReplicasNum"`

	// Whether replica read-only is supported. For the standard architecture of Redis 2.8 and CKV, this parameter does not need to be configured.
	// - true: Replica read-only is not required.
	// - false: Replica read-only is required.
	ReplicasReadonly *bool `json:"ReplicasReadonly,omitnil,omitempty" 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,omitempty" name:"ZoneName"`

	// Deployment mode.
	// - local: local disk. This is the default value.
	// - cloud: cloud disk.
	// - cdc: CDC.
	ProductVersion *string `json:"ProductVersion,omitnil,omitempty" 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.
	// - 2: Redis 2.8 Memory Edition (standard architecture).
	// - 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).
	// - 17: Redis 7.0 Memory Edition (standard architecture).
	// - 18: Redis 7.0 Memory Edition (cluster architecture).
	TypeId *uint64 `json:"TypeId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"Period"`

	// Billing mode.
	// - 0: pay-as-you-go.
	// - 1: monthly subscription.
	BillingMode *int64 `json:"BillingMode,omitnil,omitempty" 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,omitempty" name:"ZoneId"`

	// Number of instance shards. For the standard architecture of 2.8, the number of shards does not need to be configured. For the standard architecture of other versions, the number of shards should be set to 1. For the cluster architecture, the number of shards to be purchased needs to be specified.
	RedisShardNum *int64 `json:"RedisShardNum,omitnil,omitempty" name:"RedisShardNum"`

	// Number of instance replicas. For the standard architecture of 2.8, the number of replicas does not need to be configured.
	RedisReplicasNum *int64 `json:"RedisReplicasNum,omitnil,omitempty" name:"RedisReplicasNum"`

	// Whether replica read-only is supported. For the standard architecture of Redis 2.8 and CKV, this parameter does not need to be configured.
	// - true: Replica read-only is not required.
	// - false: Replica read-only is required.
	ReplicasReadonly *bool `json:"ReplicasReadonly,omitnil,omitempty" 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,omitempty" name:"ZoneName"`

	// Deployment mode.
	// - local: local disk. This is the default value.
	// - cloud: cloud disk.
	// - cdc: CDC.
	ProductVersion *string `json:"ProductVersion,omitnil,omitempty" 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,omitempty" name:"Price"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type InquiryPriceUpgradeInstanceRequest

type InquiryPriceUpgradeInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Shard size. Unit: MB.
	MemSize *uint64 `json:"MemSize,omitnil,omitempty" name:"MemSize"`

	// Number of shards. This parameter is not required for Redis 2.8 Primary-Secondary Edition, CKV Primary-Secondary Edition, and Redis 2.8 Single-node Edition.
	RedisShardNum *uint64 `json:"RedisShardNum,omitnil,omitempty" name:"RedisShardNum"`

	// Number of replicas. This parameter is not required for Redis 2.8 Primary-Secondary Edition, CKV Primary-Secondary Edition, and Redis 2.8 Single-node Edition.
	RedisReplicasNum *uint64 `json:"RedisReplicasNum,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Shard size. Unit: MB.
	MemSize *uint64 `json:"MemSize,omitnil,omitempty" name:"MemSize"`

	// Number of shards. This parameter is not required for Redis 2.8 Primary-Secondary Edition, CKV Primary-Secondary Edition, and Redis 2.8 Single-node Edition.
	RedisShardNum *uint64 `json:"RedisShardNum,omitnil,omitempty" name:"RedisShardNum"`

	// Number of replicas. This parameter is not required for Redis 2.8 Primary-Secondary Edition, CKV Primary-Secondary Edition, and Redis 2.8 Single-node Edition.
	RedisReplicasNum *uint64 `json:"RedisReplicasNum,omitnil,omitempty" 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,omitempty" name:"Price"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type InstanceClusterNode

type InstanceClusterNode struct {
	// Node group name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// ID of the runtime node of an instance
	RunId *string `json:"RunId,omitnil,omitempty" name:"RunId"`

	// Cluster role. Valid values:  - `0` (master) - `1` (replica)
	Role *int64 `json:"Role,omitnil,omitempty" name:"Role"`

	// Node status. Valid values:  - `0` (read/write) - `1` (read) - `2` (backup)
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Service status. Valid values: `0` (down), `1` (on).
	Connected *int64 `json:"Connected,omitnil,omitempty" name:"Connected"`

	// Node creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Node elimination time
	DownTime *string `json:"DownTime,omitnil,omitempty" name:"DownTime"`

	// Node slot distribution range
	Slots *string `json:"Slots,omitnil,omitempty" name:"Slots"`

	// Distribution of node keys
	Keys *int64 `json:"Keys,omitnil,omitempty" name:"Keys"`

	// Node QPS Number of executions per second on sharded nodes Unit: Counts/sec
	Qps *int64 `json:"Qps,omitnil,omitempty" name:"Qps"`

	// QPS slope of a node
	QpsSlope *float64 `json:"QpsSlope,omitnil,omitempty" name:"QpsSlope"`

	// Node storage
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// Node storage slope
	StorageSlope *float64 `json:"StorageSlope,omitnil,omitempty" name:"StorageSlope"`
}

type InstanceClusterShard

type InstanceClusterShard struct {
	// The name of a shard node
	ShardName *string `json:"ShardName,omitnil,omitempty" name:"ShardName"`

	// The serial number of a shard node
	ShardId *string `json:"ShardId,omitnil,omitempty" name:"ShardId"`

	// The role of a shard node
	// - `0`: Master node.
	// - `1`: Replica node.
	Role *int64 `json:"Role,omitnil,omitempty" name:"Role"`

	// Number of keys
	Keys *int64 `json:"Keys,omitnil,omitempty" name:"Keys"`

	// Slot information
	Slots *string `json:"Slots,omitnil,omitempty" name:"Slots"`

	// Used Capacity
	Storage *int64 `json:"Storage,omitnil,omitempty" name:"Storage"`

	// Capacity slope
	StorageSlope *float64 `json:"StorageSlope,omitnil,omitempty" name:"StorageSlope"`

	// This field is recommended to use the RunId instead due to spelling inconsistency.
	//  Meaning: The node ID during instance runtime.
	Runid *string `json:"Runid,omitnil,omitempty" name:"Runid"`

	// The node ID during instance runtime.
	RunId *string `json:"RunId,omitnil,omitempty" name:"RunId"`

	// Service status
	// - `0`: Down.
	// - `1`: On.
	Connected *int64 `json:"Connected,omitnil,omitempty" name:"Connected"`
}

type InstanceEnumParam

type InstanceEnumParam struct {
	// Parameter name
	ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"`

	// Parameter type, such as `Enum`.
	ValueType *string `json:"ValueType,omitnil,omitempty" name:"ValueType"`

	// Whether to restart the database after modifying the parameters. Valid values: - `true` (required) - `false` (not required)
	NeedRestart *string `json:"NeedRestart,omitnil,omitempty" name:"NeedRestart"`

	// Default value of the parameter
	DefaultValue *string `json:"DefaultValue,omitnil,omitempty" name:"DefaultValue"`

	// Current value
	CurrentValue *string `json:"CurrentValue,omitnil,omitempty" name:"CurrentValue"`

	// Description
	Tips *string `json:"Tips,omitnil,omitempty" name:"Tips"`

	// Acceptable values for the parameter
	EnumValue []*string `json:"EnumValue,omitnil,omitempty" name:"EnumValue"`

	// Parameter modification status. Valid values: - `1` (modifying) - `2` (modified)
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}

type InstanceIntegerParam

type InstanceIntegerParam struct {
	// Parameter name
	ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"`

	// Parameter type: Integer
	ValueType *string `json:"ValueType,omitnil,omitempty" name:"ValueType"`

	// Whether restart is required after a modification is made. Valid values: true, false
	NeedRestart *string `json:"NeedRestart,omitnil,omitempty" name:"NeedRestart"`

	// Default value of the parameter
	DefaultValue *string `json:"DefaultValue,omitnil,omitempty" name:"DefaultValue"`

	// Current value
	CurrentValue *string `json:"CurrentValue,omitnil,omitempty" name:"CurrentValue"`

	// Parameter description
	Tips *string `json:"Tips,omitnil,omitempty" name:"Tips"`

	// Minimum value of the parameter
	Min *string `json:"Min,omitnil,omitempty" name:"Min"`

	// Maximum value of the parameter
	Max *string `json:"Max,omitnil,omitempty" name:"Max"`

	// Parameter status. 1: modifying; 2: modified
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Parameter unit
	// Note: This field may return null, indicating that no valid values can be obtained.
	Unit *string `json:"Unit,omitnil,omitempty" name:"Unit"`
}

type InstanceMultiParam

type InstanceMultiParam struct {
	// Parameter name
	ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"`

	// Parameter Type such as  `MULTI`
	ValueType *string `json:"ValueType,omitnil,omitempty" name:"ValueType"`

	// Whether to restart the database after modifying the parameter. Valid values:  - `true` (required) - `false` (not required)
	NeedRestart *string `json:"NeedRestart,omitnil,omitempty" name:"NeedRestart"`

	// Default value of the parameter
	DefaultValue *string `json:"DefaultValue,omitnil,omitempty" name:"DefaultValue"`

	// Current value
	CurrentValue *string `json:"CurrentValue,omitnil,omitempty" name:"CurrentValue"`

	// Description
	Tips *string `json:"Tips,omitnil,omitempty" name:"Tips"`

	// Parameter enumeration value.
	EnumValue []*string `json:"EnumValue,omitnil,omitempty" name:"EnumValue"`

	// Parameter modification status. Valid values: - `1` (modifying) - `2` (modified)
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}

type InstanceNode

type InstanceNode struct {
	// Instance ID
	Id *int64 `json:"Id,omitnil,omitempty" name:"Id"`

	// Node details
	InstanceClusterNode []*InstanceClusterNode `json:"InstanceClusterNode,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Value"`
}

type InstanceParamHistory

type InstanceParamHistory struct {
	// Parameter name
	ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"`

	// The value of the parameter before modification
	PreValue *string `json:"PreValue,omitnil,omitempty" name:"PreValue"`

	// The value of the parameter after modification
	NewValue *string `json:"NewValue,omitnil,omitempty" 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,omitempty" name:"Status"`

	// Modification time
	ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"`
}

type InstanceProxySlowlogDetail

type InstanceProxySlowlogDetail struct {
	// Slow query duration in milliseconds
	Duration *int64 `json:"Duration,omitnil,omitempty" name:"Duration"`

	// Client address
	Client *string `json:"Client,omitnil,omitempty" name:"Client"`

	// Slow query command
	Command *string `json:"Command,omitnil,omitempty" name:"Command"`

	// Detailed command line information of slow query
	CommandLine *string `json:"CommandLine,omitnil,omitempty" name:"CommandLine"`

	// Execution time
	ExecuteTime *string `json:"ExecuteTime,omitnil,omitempty" name:"ExecuteTime"`
}

type InstanceSecurityGroupDetail

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

	// Security group information, which includes  security group ID, name, outbound and inbound rules.
	SecurityGroupDetails []*SecurityGroupDetail `json:"SecurityGroupDetails,omitnil,omitempty" name:"SecurityGroupDetails"`
}

type InstanceSet

type InstanceSet struct {
	// Instance name.
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`

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

	// App ID of a user, which is an application ID that uniquely corresponds to the account ID. Some Tencent Cloud products use this app ID.
	Appid *int64 `json:"Appid,omitnil,omitempty" name:"Appid"`

	// Project ID.
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Region ID. <ul><li>1: Guangzhou;</li> <li>4: Shanghai;</li> <li>5: Hong Kong (China);</li> <li>7: Shanghai Finance;</li> <li>8: Beijing;</li> <li>9: Singapore;</li> <li>11: Shenzhen Finance;</li> <li>15: Western United States (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: Eastern United States (Virginia);</li> <li>23: Bangkok;</li> <li>25: Tokyo.</li></ul>
	RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// Zone ID.
	ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`

	// VPC ID, for example, 75101.
	VpcId *int64 `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// ID of the subnet under VPC, for example, 46315.
	SubnetId *int64 `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// Current instance status. <ul><li>0: to be initialized;</li> <li>1: in process;</li> <li>2: running;</li> <li>-2: isolated;</li> <li>-3: to be deleted.</li></ul>
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Instance VIP.
	WanIp *string `json:"WanIp,omitnil,omitempty" name:"WanIp"`

	// Instance port number.
	Port *int64 `json:"Port,omitnil,omitempty" name:"Port"`

	// Instance creation time, for example, in the format of 2020-01-15 10:20:00.
	Createtime *string `json:"Createtime,omitnil,omitempty" name:"Createtime"`

	// Instance memory capacity. Unit: MB (1 MB = 1024 KB).
	Size *float64 `json:"Size,omitnil,omitempty" name:"Size"`

	// This parameter has been deprecated. Obtain the memory capacity used by the instance through the TCOP API [GetMonitorData](https://intl.cloud.tencent.com/document/product/248/31014?from_cn_redirect=1).
	SizeUsed *float64 `json:"SizeUsed,omitnil,omitempty" 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 (stand-alone).
	// - 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).
	// - 17: Redis 7.0 Memory Edition (standard architecture).
	// - 18: Redis 7.0 Memory Edition (cluster architecture).
	Type *int64 `json:"Type,omitnil,omitempty" name:"Type"`

	// Whether the automatic renewal flag is set for an instance. <ul><li>1: set;</li> <li>0: not set.</li></ul>
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`

	// Expiration time of a monthly subscription instance.
	DeadlineTime *string `json:"DeadlineTime,omitnil,omitempty" name:"DeadlineTime"`

	// Engine. Valid values: Redis Community Edition and Tencent Cloud CKV.
	Engine *string `json:"Engine,omitnil,omitempty" name:"Engine"`

	// Product type. <ul><li>standalone: Standard Edition;</li> <li>cluster: Cluster Edition.</li></ul>
	ProductType *string `json:"ProductType,omitnil,omitempty" name:"ProductType"`

	// VPC ID, for example, vpc-fk33jsf43kgv.
	UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"`

	// ID of the subnet under VPC, for example, subnet-fd3j6l35mm0.
	UniqSubnetId *string `json:"UniqSubnetId,omitnil,omitempty" name:"UniqSubnetId"`

	// Billing mode. Only pay-as-you-go billing is supported.
	BillingMode *int64 `json:"BillingMode,omitnil,omitempty" name:"BillingMode"`

	// Description of the instance running status, for example, running.
	InstanceTitle *string `json:"InstanceTitle,omitnil,omitempty" name:"InstanceTitle"`

	// Default termination time of isolated instances, for example, in the format of 2020-02-15 10:20:00. By default, a pay-as-you-go instance will be terminated after 2 hours of isolation, and a monthly subscription instance will be terminated after 7 days.
	OfflineTime *string `json:"OfflineTime,omitnil,omitempty" name:"OfflineTime"`

	// Sub-status returned for an instance in process.
	SubStatus *int64 `json:"SubStatus,omitnil,omitempty" name:"SubStatus"`

	// Anti-affinity tag.
	Tags []*string `json:"Tags,omitnil,omitempty" name:"Tags"`

	// Instance node information.
	InstanceNode []*InstanceNode `json:"InstanceNode,omitnil,omitempty" name:"InstanceNode"`

	// Shard size.
	RedisShardSize *int64 `json:"RedisShardSize,omitnil,omitempty" name:"RedisShardSize"`

	// Number of shards.
	RedisShardNum *int64 `json:"RedisShardNum,omitnil,omitempty" name:"RedisShardNum"`

	// Number of replicas.
	RedisReplicasNum *int64 `json:"RedisReplicasNum,omitnil,omitempty" name:"RedisReplicasNum"`

	// Billing ID.
	PriceId *int64 `json:"PriceId,omitnil,omitempty" name:"PriceId"`

	// Time when an instance starts to be isolated.
	CloseTime *string `json:"CloseTime,omitnil,omitempty" name:"CloseTime"`

	// Read weight of a secondary node.
	SlaveReadWeight *int64 `json:"SlaveReadWeight,omitnil,omitempty" name:"SlaveReadWeight"`

	// Tag information associated with an instance.
	// Note: This field may return null, indicating that no valid value can be obtained.
	InstanceTags []*InstanceTagInfo `json:"InstanceTags,omitnil,omitempty" name:"InstanceTags"`

	// Project name
	//
	// Note: This field may return null, indicating that no valid value can be obtained.
	ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"`

	// Whether an instance is a password-free instance. <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,omitempty" 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,omitempty" 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,omitempty" name:"DtsStatus"`

	// Upper limit of the shard bandwidth. Unit: MB.
	// Note: This field may return null, indicating that no valid value can be obtained.
	NetLimit *int64 `json:"NetLimit,omitnil,omitempty" 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,omitempty" name:"PasswordFree"`

	// Internal parameter, which can be ignored. This parameter is not properly named. It is recommended to use the IPv6 parameter to replace it.
	// Note: This field may return null, indicating that no valid value can be obtained.
	Vip6 *string `json:"Vip6,omitnil,omitempty" name:"Vip6"`

	// Internal parameter, which can be ignored.
	// Note: This field may return null, indicating that no valid value can be obtained.
	IPv6 *string `json:"IPv6,omitnil,omitempty" name:"IPv6"`

	// Instance read-only 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,omitempty" 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,omitempty" name:"RemainBandwidthDuration"`

	// For Redis instances, ignore this parameter.
	// Note: This field may return null, indicating that no valid value can be obtained.
	DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"`

	// Monitoring version. <ul><li>1m: 1-minute granularity monitoring. This monitoring granularity has been deprecated. For details, see [1-Minute Granularity Will Be Disused](https://www.tencentcloud.com/document/product/239/50440).</li> <li>5s: 5-second granularity monitoring.</li></ul>
	// Note: This field may return null, indicating that no valid value can be obtained.
	MonitorVersion *string `json:"MonitorVersion,omitnil,omitempty" name:"MonitorVersion"`

	// Minimum value that can be set for the maximum number of client connections.
	// Note: This field may return null, indicating that no valid value can be obtained.
	ClientLimitMin *int64 `json:"ClientLimitMin,omitnil,omitempty" name:"ClientLimitMin"`

	// Maximum value that can be set for the maximum number of client connections.
	// Note: This field may return null, indicating that no valid value can be obtained.
	ClientLimitMax *int64 `json:"ClientLimitMax,omitnil,omitempty" name:"ClientLimitMax"`

	// Detailed node information of an instance.
	// Note: This field may return null, indicating that no valid value can be obtained.
	NodeSet []*RedisNodeInfo `json:"NodeSet,omitnil,omitempty" name:"NodeSet"`

	// Region information of an instance, for example, ap-guangzhou.
	// Note: This field may return null, indicating that no valid value can be obtained.
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// Public network address.
	// Note: This field may return null, indicating that no valid value can be obtained.
	WanAddress *string `json:"WanAddress,omitnil,omitempty" name:"WanAddress"`

	// Polaris service address, which is for internal use.
	// Note: This field may return null, indicating that no valid value can be obtained.
	PolarisServer *string `json:"PolarisServer,omitnil,omitempty" name:"PolarisServer"`

	// CDC Redis cluster ID.
	// Note: This field may return null, indicating that no valid value can be obtained.
	RedisClusterId *string `json:"RedisClusterId,omitnil,omitempty" name:"RedisClusterId"`

	// CDC cluster ID.
	// Note: This field may return null, indicating that no valid value can be obtained.
	DedicatedClusterId *string `json:"DedicatedClusterId,omitnil,omitempty" name:"DedicatedClusterId"`

	// Product edition. <ul><li>local: local disk;</li> <li>cloud: cloud disk;</li> <li>cdc: CDC cluster.</li></ul>
	// Note: This field may return null, indicating that no valid value can be obtained.
	ProductVersion *string `json:"ProductVersion,omitnil,omitempty" name:"ProductVersion"`

	// 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,omitempty" name:"CurrentProxyVersion"`

	// Current Cache minor version of an instance. If the instance joins a global replication group, the kernel version of the global replication group will be displayed.
	// Note: This field may return null, indicating that no valid value can be obtained.
	CurrentRedisVersion *string `json:"CurrentRedisVersion,omitnil,omitempty" name:"CurrentRedisVersion"`

	// Upgradable Proxy version of an instance.
	// Note: This field may return null, indicating that no valid value can be obtained.
	UpgradeProxyVersion *string `json:"UpgradeProxyVersion,omitnil,omitempty" name:"UpgradeProxyVersion"`

	// Upgradable Cache minor version of an instance.
	// Note: This field may return null, indicating that no valid value can be obtained.
	UpgradeRedisVersion *string `json:"UpgradeRedisVersion,omitnil,omitempty" name:"UpgradeRedisVersion"`

	// Backup mode. SecondLevelBackup: second-level backup; NormalLevelBackup: normal backup.
	// Note: This field may return null, indicating that no valid value can be obtained.
	BackupMode *string `json:"BackupMode,omitnil,omitempty" name:"BackupMode"`
}

type InstanceSlowlogDetail

type InstanceSlowlogDetail struct {
	// Slow log duration
	Duration *int64 `json:"Duration,omitnil,omitempty" name:"Duration"`

	// Client address
	Client *string `json:"Client,omitnil,omitempty" name:"Client"`

	// Command
	Command *string `json:"Command,omitnil,omitempty" name:"Command"`

	// Command line details
	CommandLine *string `json:"CommandLine,omitnil,omitempty" name:"CommandLine"`

	// Execution duration
	ExecuteTime *string `json:"ExecuteTime,omitnil,omitempty" name:"ExecuteTime"`

	// Node ID
	Node *string `json:"Node,omitnil,omitempty" name:"Node"`
}

type InstanceTagInfo

type InstanceTagInfo struct {
	// Tag key
	TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"`

	// Tag value
	TagValue *string `json:"TagValue,omitnil,omitempty" name:"TagValue"`
}

type InstanceTextParam

type InstanceTextParam struct {
	// Parameter name
	ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"`

	// Parameter type such as  `Text`.
	ValueType *string `json:"ValueType,omitnil,omitempty" name:"ValueType"`

	// Whether to restart the database after modifying the parameter. Valid values:  - `true` (required) - `false` (not required)
	NeedRestart *string `json:"NeedRestart,omitnil,omitempty" name:"NeedRestart"`

	// Default value of the parameter
	DefaultValue *string `json:"DefaultValue,omitnil,omitempty" name:"DefaultValue"`

	// Current value
	CurrentValue *string `json:"CurrentValue,omitnil,omitempty" name:"CurrentValue"`

	// Description
	Tips *string `json:"Tips,omitnil,omitempty" name:"Tips"`

	// Acceptable values of the parameter
	TextValue []*string `json:"TextValue,omitnil,omitempty" name:"TextValue"`

	// Parameter modification status. Valid values: - `1` (modifying) - `2` (modified)
	Status *int64 `json:"Status,omitnil,omitempty" 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,omitempty" name:"AppId"`

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

	// Instance name
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`

	// Region ID. <ul><li>1: Guangzhou;</li> <li>4: Shanghai;</li> <li>5: Hong Kong (China);</li> <li>7: Shanghai Finance;</li> <li>8: Beijing;</li> <li>9: Singapore;</li> <li>11: Shenzhen Finance;</li> <li>15: Western United States (Silicon Valley).</li></ul>
	RegionId *uint64 `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// Region ID
	ZoneId *uint64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`

	// Number of replicas
	RedisReplicasNum *uint64 `json:"RedisReplicasNum,omitnil,omitempty" name:"RedisReplicasNum"`

	// Number of shards
	RedisShardNum *int64 `json:"RedisShardNum,omitnil,omitempty" name:"RedisShardNum"`

	// Shard memory size.
	RedisShardSize *int64 `json:"RedisShardSize,omitnil,omitempty" name:"RedisShardSize"`

	// Instance disk size
	// Note: This field may return null, indicating that no valid values can be obtained.
	DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"`

	// Engine: Redis Community Edition, Tencent Cloud CKV.
	Engine *string `json:"Engine,omitnil,omitempty" 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,omitempty" name:"Role"`

	// Instance VIP
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// Due to the naming irregularity of this parameter, it is recommended to use the parameter IPv6 instead. Internal parameters, which can be ignored by users.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Vip6 *string `json:"Vip6,omitnil,omitempty" name:"Vip6"`

	// Internal parameters, which can be ignored by users.
	// Note: This field may return null, indicating that no valid values can be obtained.
	IPv6 *string `json:"IPv6,omitnil,omitempty" name:"IPv6"`

	// VPC ID, such as `75101`.
	VpcID *int64 `json:"VpcID,omitnil,omitempty" name:"VpcID"`

	// Instance port
	VPort *int64 `json:"VPort,omitnil,omitempty" 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,omitempty" name:"Status"`

	// Repository ID
	GrocerySysId *int64 `json:"GrocerySysId,omitnil,omitempty" 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,omitempty" name:"ProductType"`

	// The time when the instance was added to the replication group.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// The time when instances in the replication group were updated.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Password"`

	// Sharded cluster ID, which can be obtained through **ClusterId** of the response parameter
	//  **Redis** of the API [DescribeInstanceNodeInfo](https://intl.cloud.tencent.com/document/product/239/48603?from_cn_redirect=1).
	ShardIds []*int64 `json:"ShardIds,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Password"`

	// Sharded cluster ID, which can be obtained through **ClusterId** of the response parameter
	//  **Redis** of the API [DescribeInstanceNodeInfo](https://intl.cloud.tencent.com/document/product/239/48603?from_cn_redirect=1).
	ShardIds []*int64 `json:"ShardIds,omitnil,omitempty" 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,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type LogDeliveryInfo

type LogDeliveryInfo struct {
	// Whether log shipping is enabled. true: enabled; false: disabled.
	// Note: This field may return null, indicating that no valid value can be obtained.
	Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"`

	// Logset ID.
	// Note: This field may return null, indicating that no valid value can be obtained.
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// Log topic ID.
	// Note: This field may return null, indicating that no valid value can be obtained.
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`

	// Logset region
	//
	// Note: This field may return null, indicating that no valid value can be obtained.
	LogRegion *string `json:"LogRegion,omitnil,omitempty" name:"LogRegion"`
}

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,omitempty" name:"InstanceId"`

	// Remarks for manual backup task
	Remark *string `json:"Remark,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"InstanceId"`

	// Remarks for manual backup task
	Remark *string `json:"Remark,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"InstanceId"`

	// Old password of an instance
	OldPassword *string `json:"OldPassword,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"InstanceId"`

	// Old password of an instance
	OldPassword *string `json:"OldPassword,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"TimePeriod"`

	// Automatic backup type.  Valid value:  `1` (scheduled backup).
	AutoBackupType *int64 `json:"AutoBackupType,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"TimePeriod"`

	// Automatic backup type.  Valid value:  `1` (scheduled backup).
	AutoBackupType *int64 `json:"AutoBackupType,omitnil,omitempty" 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,omitempty" name:"AutoBackupType"`

	// Automatic backup cycle. Valid values: `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`.
	WeekDays []*string `json:"WeekDays,omitnil,omitempty" 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,omitempty" name:"TimePeriod"`

	// Retention time of full backup files in days
	BackupStorageDays *int64 `json:"BackupStorageDays,omitnil,omitempty" name:"BackupStorageDays"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"IpComparisonSymbol"`

	// VPC ID of the custom backup file download address, which is required if `LimitType` is `Customize`.
	LimitVpc []*BackupLimitVpcItem `json:"LimitVpc,omitnil,omitempty" name:"LimitVpc"`

	// VPC IP of the custom backup file download address, which is required if `LimitType` is `Customize`.
	LimitIp []*string `json:"LimitIp,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"IpComparisonSymbol"`

	// VPC ID of the custom backup file download address, which is required if `LimitType` is `Customize`.
	LimitVpc []*BackupLimitVpcItem `json:"LimitVpc,omitnil,omitempty" name:"LimitVpc"`

	// VPC IP of the custom backup file download address, which is required if `LimitType` is `Customize`.
	LimitIp []*string `json:"LimitIp,omitnil,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyConnectionConfigRequest

type ModifyConnectionConfigRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Additional bandwidth in MB, which should be greater than 0.
	Bandwidth *int64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"`

	// Total number of connections per shard.
	// - When read-only replicas are not enabled, the lower limit is 10,000 and the upper limit is 40,000.
	// - When read-only replicas are enabled, the lower limit is 10,000, and the upper limit is calculated as follows: 10,000 x (Number of read-only replicas + 3).
	ClientLimit *int64 `json:"ClientLimit,omitnil,omitempty" name:"ClientLimit"`
}

func NewModifyConnectionConfigRequest

func NewModifyConnectionConfigRequest() (request *ModifyConnectionConfigRequest)

func (*ModifyConnectionConfigRequest) FromJsonString

func (r *ModifyConnectionConfigRequest) 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 (*ModifyConnectionConfigRequest) ToJsonString

func (r *ModifyConnectionConfigRequest) ToJsonString() string

type ModifyConnectionConfigRequestParams

type ModifyConnectionConfigRequestParams struct {
	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Additional bandwidth in MB, which should be greater than 0.
	Bandwidth *int64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"`

	// Total number of connections per shard.
	// - When read-only replicas are not enabled, the lower limit is 10,000 and the upper limit is 40,000.
	// - When read-only replicas are enabled, the lower limit is 10,000, and the upper limit is calculated as follows: 10,000 x (Number of read-only replicas + 3).
	ClientLimit *int64 `json:"ClientLimit,omitnil,omitempty" name:"ClientLimit"`
}

Predefined struct for user

type ModifyConnectionConfigResponse

type ModifyConnectionConfigResponse struct {
	*tchttp.BaseResponse
	Response *ModifyConnectionConfigResponseParams `json:"Response"`
}

func NewModifyConnectionConfigResponse

func NewModifyConnectionConfigResponse() (response *ModifyConnectionConfigResponse)

func (*ModifyConnectionConfigResponse) FromJsonString

func (r *ModifyConnectionConfigResponse) 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 (*ModifyConnectionConfigResponse) ToJsonString

func (r *ModifyConnectionConfigResponse) ToJsonString() string

type ModifyConnectionConfigResponseParams

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

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"Product"`

	// Security group ID list. Replace it with a new one, which is an array of one or more security group IDs.
	// - To configure a security group for an instance for the first time, bind the security group through the API [AssociateSecurityGroups](https://intl.cloud.tencent.com/document/product/239/41260?from_cn_redirect=1) first.
	// - To replace the security group, obtain the security group ID on the [security group](https://console.tencentcloud.com/vpc/security-group) page of the console.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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,omitempty" name:"Product"`

	// Security group ID list. Replace it with a new one, which is an array of one or more security group IDs.
	// - To configure a security group for an instance for the first time, bind the security group through the API [AssociateSecurityGroups](https://intl.cloud.tencent.com/document/product/239/41260?from_cn_redirect=1) first.
	// - To replace the security group, obtain the security group ID on the [security group](https://console.tencentcloud.com/vpc/security-group) page of the console.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyInstanceAccountRequest

type ModifyInstanceAccountRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Sub-account name. If you want to change it to the root account, fill in root.
	AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"`

	// Sub-account password.
	AccountPassword *string `json:"AccountPassword,omitnil,omitempty" name:"AccountPassword"`

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

	// Account read/write routing policy.
	// - master: primary node.
	// - replication: secondary node.
	ReadonlyPolicy []*string `json:"ReadonlyPolicy,omitnil,omitempty" name:"ReadonlyPolicy"`

	// Sub-account read/write policy.
	// - r: read-only.
	// - w: write-only.
	// - rw: read/write.
	Privilege *string `json:"Privilege,omitnil,omitempty" name:"Privilege"`

	// Whether to switch the root account to a password-free account. This applies only to the root account. Sub-accounts do not support password-free access.
	// - true: Switch the root account to a password-free account.
	// - false: Do not switch it.
	NoAuth *bool `json:"NoAuth,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Sub-account name. If you want to change it to the root account, fill in root.
	AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"`

	// Sub-account password.
	AccountPassword *string `json:"AccountPassword,omitnil,omitempty" name:"AccountPassword"`

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

	// Account read/write routing policy.
	// - master: primary node.
	// - replication: secondary node.
	ReadonlyPolicy []*string `json:"ReadonlyPolicy,omitnil,omitempty" name:"ReadonlyPolicy"`

	// Sub-account read/write policy.
	// - r: read-only.
	// - w: write-only.
	// - rw: read/write.
	Privilege *string `json:"Privilege,omitnil,omitempty" name:"Privilege"`

	// Whether to switch the root account to a password-free account. This applies only to the root account. Sub-accounts do not support password-free access.
	// - true: Switch the root account to a password-free account.
	// - false: Do not switch it.
	NoAuth *bool `json:"NoAuth,omitnil,omitempty" 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,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyInstanceAvailabilityZonesRequest

type ModifyInstanceAvailabilityZonesRequest struct {
	*tchttp.BaseRequest

	// Specify the instance ID.
	//  For example: crs-xjhsdj****, please log in to the [Redis Console] (https://console.cloud.tencent.com/redis#/) and copy the instance ID from the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Switch time.
	// - 1: Switch during the maintenance window.
	// - 2: Switch immediately.
	SwitchOption *int64 `json:"SwitchOption,omitnil,omitempty" name:"SwitchOption"`

	// Instance node information includes the node ID, node type, and node availability zone ID, and so on. For specific information, please see [RedisNodeInfo ](https://intl.cloud.tencent.com/document/product/239/20022?from_cn_redirect=1).
	// For instances in a single availability zone, there is no need to configure the NodeId. For instances in multiple availability zones, the NodeId is required to configure.
	NodeSet []*RedisNodeInfo `json:"NodeSet,omitnil,omitempty" name:"NodeSet"`
}

func NewModifyInstanceAvailabilityZonesRequest

func NewModifyInstanceAvailabilityZonesRequest() (request *ModifyInstanceAvailabilityZonesRequest)

func (*ModifyInstanceAvailabilityZonesRequest) FromJsonString

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

func (*ModifyInstanceAvailabilityZonesRequest) ToJsonString

type ModifyInstanceAvailabilityZonesRequestParams

type ModifyInstanceAvailabilityZonesRequestParams struct {
	// Specify the instance ID.
	//  For example: crs-xjhsdj****, please log in to the [Redis Console] (https://console.cloud.tencent.com/redis#/) and copy the instance ID from the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Switch time.
	// - 1: Switch during the maintenance window.
	// - 2: Switch immediately.
	SwitchOption *int64 `json:"SwitchOption,omitnil,omitempty" name:"SwitchOption"`

	// Instance node information includes the node ID, node type, and node availability zone ID, and so on. For specific information, please see [RedisNodeInfo ](https://intl.cloud.tencent.com/document/product/239/20022?from_cn_redirect=1).
	// For instances in a single availability zone, there is no need to configure the NodeId. For instances in multiple availability zones, the NodeId is required to configure.
	NodeSet []*RedisNodeInfo `json:"NodeSet,omitnil,omitempty" name:"NodeSet"`
}

Predefined struct for user

type ModifyInstanceAvailabilityZonesResponse

type ModifyInstanceAvailabilityZonesResponse struct {
	*tchttp.BaseResponse
	Response *ModifyInstanceAvailabilityZonesResponseParams `json:"Response"`
}

func NewModifyInstanceAvailabilityZonesResponse

func NewModifyInstanceAvailabilityZonesResponse() (response *ModifyInstanceAvailabilityZonesResponse)

func (*ModifyInstanceAvailabilityZonesResponse) FromJsonString

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

func (*ModifyInstanceAvailabilityZonesResponse) ToJsonString

type ModifyInstanceAvailabilityZonesResponseParams

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

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyInstanceEventRequest

type ModifyInstanceEventRequest struct {
	*tchttp.BaseRequest

	// Specifies the instance ID. Example: crs-xjhsdj****. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis#/) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Event ID. Obtain the ID of the event to be modified using DescribeInstanceEvents.
	EventId *int64 `json:"EventId,omitnil,omitempty" name:"EventId"`

	// Modifies the scheduled start time of event execution.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Modifies the scheduled end time of event execution. After the start time is configured, the end time can only be 30 minutes, 1 hour, 1.5 hours, 2 hours, or 3 hours later than the start time.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Modifies the start date of the event execution schedule.
	ExecutionDate *string `json:"ExecutionDate,omitnil,omitempty" name:"ExecutionDate"`

	// Modifies the running status of the event. Currently, this parameter can be set only to **Canceled**, indicating that the execution of the current event is canceled. You can query the running status and level of the current event using DescribeInstanceEvents.- Critical or High events cannot be canceled, which means that they must be executed.- Only events in the Waiting state (to be executed) can be canceled.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`
}

func NewModifyInstanceEventRequest

func NewModifyInstanceEventRequest() (request *ModifyInstanceEventRequest)

func (*ModifyInstanceEventRequest) FromJsonString

func (r *ModifyInstanceEventRequest) 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 (*ModifyInstanceEventRequest) ToJsonString

func (r *ModifyInstanceEventRequest) ToJsonString() string

type ModifyInstanceEventRequestParams

type ModifyInstanceEventRequestParams struct {
	// Specifies the instance ID. Example: crs-xjhsdj****. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis#/) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Event ID. Obtain the ID of the event to be modified using DescribeInstanceEvents.
	EventId *int64 `json:"EventId,omitnil,omitempty" name:"EventId"`

	// Modifies the scheduled start time of event execution.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Modifies the scheduled end time of event execution. After the start time is configured, the end time can only be 30 minutes, 1 hour, 1.5 hours, 2 hours, or 3 hours later than the start time.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Modifies the start date of the event execution schedule.
	ExecutionDate *string `json:"ExecutionDate,omitnil,omitempty" name:"ExecutionDate"`

	// Modifies the running status of the event. Currently, this parameter can be set only to **Canceled**, indicating that the execution of the current event is canceled. You can query the running status and level of the current event using DescribeInstanceEvents.- Critical or High events cannot be canceled, which means that they must be executed.- Only events in the Waiting state (to be executed) can be canceled.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`
}

Predefined struct for user

type ModifyInstanceEventResponse

type ModifyInstanceEventResponse struct {
	*tchttp.BaseResponse
	Response *ModifyInstanceEventResponseParams `json:"Response"`
}

func NewModifyInstanceEventResponse

func NewModifyInstanceEventResponse() (response *ModifyInstanceEventResponse)

func (*ModifyInstanceEventResponse) FromJsonString

func (r *ModifyInstanceEventResponse) 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 (*ModifyInstanceEventResponse) ToJsonString

func (r *ModifyInstanceEventResponse) ToJsonString() string

type ModifyInstanceEventResponseParams

type ModifyInstanceEventResponseParams struct {
	// Event ID.
	EventId *int64 `json:"EventId,omitnil,omitempty" name:"EventId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyInstanceLogDeliveryRequest

type ModifyInstanceLogDeliveryRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Log type. Currently, only slowlog is supported, indicating the slow query log.
	LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"`

	// Whether log shopping is enabled.
	// - true: enabled.
	// - false: disabled.
	Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"`

	// ID of the shipped logset, which can be obtained through the sub-parameter **LogsetId** of the response parameter **SlowLog** of the API [DescribeInstanceLogDelivery](https://intl.cloud.tencent.com/document/product/239/110878?from_cn_redirect=1).
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// ID of the shipped log topic, which can be obtained through the sub-parameter **TopicId** of the response parameter **SlowLog** of the API [DescribeInstanceLogDelivery](https://intl.cloud.tencent.com/document/product/239/110878?from_cn_redirect=1).
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`

	// Logset name. If **LogsetId** is not specified, this parameter needs to be configured and the system will automatically create a logset with the specified name.
	LogsetName *string `json:"LogsetName,omitnil,omitempty" name:"LogsetName"`

	// Log topic name. This parameter is required when TopicId is empty, and the system will automatically create a log topic.
	TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`

	// Region where the logset is located. If it is not provided, the region where the instance is located will be used by default.
	LogRegion *string `json:"LogRegion,omitnil,omitempty" name:"LogRegion"`

	// Log storage duration. Default value: 30 days. Value range: 1 to 3600 days.
	Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`

	// Whether to create an index when creating a log topic.
	CreateIndex *bool `json:"CreateIndex,omitnil,omitempty" name:"CreateIndex"`
}

func NewModifyInstanceLogDeliveryRequest

func NewModifyInstanceLogDeliveryRequest() (request *ModifyInstanceLogDeliveryRequest)

func (*ModifyInstanceLogDeliveryRequest) FromJsonString

func (r *ModifyInstanceLogDeliveryRequest) 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 (*ModifyInstanceLogDeliveryRequest) ToJsonString

func (r *ModifyInstanceLogDeliveryRequest) ToJsonString() string

type ModifyInstanceLogDeliveryRequestParams

type ModifyInstanceLogDeliveryRequestParams struct {
	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Log type. Currently, only slowlog is supported, indicating the slow query log.
	LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"`

	// Whether log shopping is enabled.
	// - true: enabled.
	// - false: disabled.
	Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"`

	// ID of the shipped logset, which can be obtained through the sub-parameter **LogsetId** of the response parameter **SlowLog** of the API [DescribeInstanceLogDelivery](https://intl.cloud.tencent.com/document/product/239/110878?from_cn_redirect=1).
	LogsetId *string `json:"LogsetId,omitnil,omitempty" name:"LogsetId"`

	// ID of the shipped log topic, which can be obtained through the sub-parameter **TopicId** of the response parameter **SlowLog** of the API [DescribeInstanceLogDelivery](https://intl.cloud.tencent.com/document/product/239/110878?from_cn_redirect=1).
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`

	// Logset name. If **LogsetId** is not specified, this parameter needs to be configured and the system will automatically create a logset with the specified name.
	LogsetName *string `json:"LogsetName,omitnil,omitempty" name:"LogsetName"`

	// Log topic name. This parameter is required when TopicId is empty, and the system will automatically create a log topic.
	TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`

	// Region where the logset is located. If it is not provided, the region where the instance is located will be used by default.
	LogRegion *string `json:"LogRegion,omitnil,omitempty" name:"LogRegion"`

	// Log storage duration. Default value: 30 days. Value range: 1 to 3600 days.
	Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`

	// Whether to create an index when creating a log topic.
	CreateIndex *bool `json:"CreateIndex,omitnil,omitempty" name:"CreateIndex"`
}

Predefined struct for user

type ModifyInstanceLogDeliveryResponse

type ModifyInstanceLogDeliveryResponse struct {
	*tchttp.BaseResponse
	Response *ModifyInstanceLogDeliveryResponseParams `json:"Response"`
}

func NewModifyInstanceLogDeliveryResponse

func NewModifyInstanceLogDeliveryResponse() (response *ModifyInstanceLogDeliveryResponse)

func (*ModifyInstanceLogDeliveryResponse) FromJsonString

func (r *ModifyInstanceLogDeliveryResponse) 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 (*ModifyInstanceLogDeliveryResponse) ToJsonString

func (r *ModifyInstanceLogDeliveryResponse) ToJsonString() string

type ModifyInstanceLogDeliveryResponseParams

type ModifyInstanceLogDeliveryResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyInstanceParamsRequest

type ModifyInstanceParamsRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// List of instance parameters modified
	InstanceParams []*InstanceParam `json:"InstanceParams,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// List of instance parameters modified
	InstanceParams []*InstanceParam `json:"InstanceParams,omitnil,omitempty" 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 configuration is successfully modified.<br> <li>true: successful;</li> <li>false: failed.</li>
	Changed *bool `json:"Changed,omitnil,omitempty" name:"Changed"`

	// ID of the task
	TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyInstancePasswordRequest

type ModifyInstancePasswordRequest struct {
	*tchttp.BaseRequest

	// Specifies the instance ID. Example: crs-xjhsdj****. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Old password of the instance.
	OldPassword *string `json:"OldPassword,omitnil,omitempty" name:"OldPassword"`

	// New password of the instance. The password complexity requirements are as follows:
	// - It can contain 8 to 30 characters. It is recommended to use a password of more than 12 characters.
	// - It cannot start with a forward slash (/).
	// - It should contain at least two of the following types: lowercase letters, uppercase letters, digits, and special characters (such as ()~!@#$%^&*-+=_|{}[]:;<>,.?/).
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`
}

func NewModifyInstancePasswordRequest

func NewModifyInstancePasswordRequest() (request *ModifyInstancePasswordRequest)

func (*ModifyInstancePasswordRequest) FromJsonString

func (r *ModifyInstancePasswordRequest) 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 (*ModifyInstancePasswordRequest) ToJsonString

func (r *ModifyInstancePasswordRequest) ToJsonString() string

type ModifyInstancePasswordRequestParams

type ModifyInstancePasswordRequestParams struct {
	// Specifies the instance ID. Example: crs-xjhsdj****. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Old password of the instance.
	OldPassword *string `json:"OldPassword,omitnil,omitempty" name:"OldPassword"`

	// New password of the instance. The password complexity requirements are as follows:
	// - It can contain 8 to 30 characters. It is recommended to use a password of more than 12 characters.
	// - It cannot start with a forward slash (/).
	// - It should contain at least two of the following types: lowercase letters, uppercase letters, digits, and special characters (such as ()~!@#$%^&*-+=_|{}[]:;<>,.?/).
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`
}

Predefined struct for user

type ModifyInstancePasswordResponse

type ModifyInstancePasswordResponse struct {
	*tchttp.BaseResponse
	Response *ModifyInstancePasswordResponseParams `json:"Response"`
}

func NewModifyInstancePasswordResponse

func NewModifyInstancePasswordResponse() (response *ModifyInstancePasswordResponse)

func (*ModifyInstancePasswordResponse) FromJsonString

func (r *ModifyInstancePasswordResponse) 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 (*ModifyInstancePasswordResponse) ToJsonString

func (r *ModifyInstancePasswordResponse) ToJsonString() string

type ModifyInstancePasswordResponseParams

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

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyInstanceReadOnlyRequest

type ModifyInstanceReadOnlyRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Instance input mode.
	// - 0: read/write.
	// - 1: read-only.
	InputMode *string `json:"InputMode,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Instance input mode.
	// - 0: read/write.
	// - 1: read-only.
	InputMode *string `json:"InputMode,omitnil,omitempty" 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,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyInstanceRequest

type ModifyInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance modification operation. Valid values:
	// - rename: Rename the instance.
	// - modifyProject: Modify the project to which the instance belongs.
	// - modifyAutoRenew: Modify the instance renewal flag.
	Operation *string `json:"Operation,omitnil,omitempty" name:"Operation"`

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list. The maximum number of instances per request is 10.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// New name of the instance.
	InstanceNames []*string `json:"InstanceNames,omitnil,omitempty" name:"InstanceNames"`

	// Project ID. Log in to the [Project Management](https://console.tencentcloud.com/project) page of the Redis console and copy the project ID in **Project Name**.
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Auto-renewal flag.
	//
	// - 0: default status (manual renewal).
	// - 1: automatic renewal.
	// - 2: no automatic renewal.
	AutoRenews []*int64 `json:"AutoRenews,omitnil,omitempty" name:"AutoRenews"`

	// This parameter is currently being deprecated and can still be used by existing users. It is recommended that new users use InstanceIds.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Disused
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`

	// This parameter has been deprecated.
	AutoRenew *int64 `json:"AutoRenew,omitnil,omitempty" 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 operation. Valid values:
	// - rename: Rename the instance.
	// - modifyProject: Modify the project to which the instance belongs.
	// - modifyAutoRenew: Modify the instance renewal flag.
	Operation *string `json:"Operation,omitnil,omitempty" name:"Operation"`

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list. The maximum number of instances per request is 10.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// New name of the instance.
	InstanceNames []*string `json:"InstanceNames,omitnil,omitempty" name:"InstanceNames"`

	// Project ID. Log in to the [Project Management](https://console.tencentcloud.com/project) page of the Redis console and copy the project ID in **Project Name**.
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Auto-renewal flag.
	//
	// - 0: default status (manual renewal).
	// - 1: automatic renewal.
	// - 2: no automatic renewal.
	AutoRenews []*int64 `json:"AutoRenews,omitnil,omitempty" name:"AutoRenews"`

	// This parameter is currently being deprecated and can still be used by existing users. It is recommended that new users use InstanceIds.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Disused
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`

	// This parameter has been deprecated.
	AutoRenew *int64 `json:"AutoRenew,omitnil,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyMaintenanceWindowRequest

type ModifyMaintenanceWindowRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Start time of the maintenance window, for example, 17:00.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time of the maintenance window, for example, 19:00.
	EndTime *string `json:"EndTime,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Start time of the maintenance window, for example, 17:00.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time of the maintenance window, for example, 19:00.
	EndTime *string `json:"EndTime,omitnil,omitempty" 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,omitempty" name:"Status"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyNetworkConfigRequest

type ModifyNetworkConfigRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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,omitempty" name:"Operation"`

	// Private IPv4 address of the instance, which is required if `Operation` is `changeVip`.
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// VPC ID after the modification.
	// - Configure this parameter when **Operation** is set to **changeVpc** or **changeBaseToVpc**.
	// - Log in to the [Redis console](https://console.tencentcloud.com/redis/instance), switch to the **Instance Details** page, and click the VPC name next to the associated network in the **Network Information** area to obtain the VPC ID.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// ID of the subnet to which the VPC belongs after the modification.
	// - Configure this parameter when **Operation** is set to **changeVpc** or **changeBaseToVpc**.
	// - Log in to the [Redis console](https://console.tencentcloud.com/redis/instance), switch to the **Instance Details** page, and click the subnet name next to the associated network in the **Network Information** area to obtain the subnet ID.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// Retention duration of the original private IPv4 address.
	// - Unit: day.
	// - Valid values: 0, 1, 2, 3, 7, and 15.
	// **Note**: If the retention duration is not set or set to 0, the original network address will be released immediately.
	Recycle *int64 `json:"Recycle,omitnil,omitempty" 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,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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,omitempty" name:"Operation"`

	// Private IPv4 address of the instance, which is required if `Operation` is `changeVip`.
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// VPC ID after the modification.
	// - Configure this parameter when **Operation** is set to **changeVpc** or **changeBaseToVpc**.
	// - Log in to the [Redis console](https://console.tencentcloud.com/redis/instance), switch to the **Instance Details** page, and click the VPC name next to the associated network in the **Network Information** area to obtain the VPC ID.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// ID of the subnet to which the VPC belongs after the modification.
	// - Configure this parameter when **Operation** is set to **changeVpc** or **changeBaseToVpc**.
	// - Log in to the [Redis console](https://console.tencentcloud.com/redis/instance), switch to the **Instance Details** page, and click the subnet name next to the associated network in the **Network Information** area to obtain the subnet ID.
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// Retention duration of the original private IPv4 address.
	// - Unit: day.
	// - Valid values: 0, 1, 2, 3, 7, and 15.
	// **Note**: If the retention duration is not set or set to 0, the original network address will be released immediately.
	Recycle *int64 `json:"Recycle,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Status"`

	// New subnet ID of the instance
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// New VPC ID of the instance
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// New private IPv4 address of the instance
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// Task ID. Obtain **taskId** and query the task execution status through the API [DescribeTaskInfo](https://intl.cloud.tencent.com/document/product/239/30601?from_cn_redirect=1).
	TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyParamTemplateRequest

type ModifyParamTemplateRequest struct {
	*tchttp.BaseRequest

	// Source parameter template ID, which can be obtained through the response parameter **TemplateId** of the API [DescribeParamTemplateInfo](https://intl.cloud.tencent.com/document/product/239/58748?from_cn_redirect=1).
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// New name after the parameter template is modified.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// New description after the parameter template is modified.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// New parameter list after the parameter template is modified.
	ParamList []*InstanceParam `json:"ParamList,omitnil,omitempty" 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 {
	// Source parameter template ID, which can be obtained through the response parameter **TemplateId** of the API [DescribeParamTemplateInfo](https://intl.cloud.tencent.com/document/product/239/58748?from_cn_redirect=1).
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// New name after the parameter template is modified.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// New description after the parameter template is modified.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// New parameter list after the parameter template is modified.
	ParamList []*InstanceParam `json:"ParamList,omitnil,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyReplicationGroupRequest

type ModifyReplicationGroupRequest struct {
	*tchttp.BaseRequest

	// Replication group ID. Log in to the [global replication](https://console.tencentcloud.com/redis/replication) page of the Redis console and obtain it.
	GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`

	// Replication group name after the modification.
	GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`

	// Description of remarks.
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
}

func NewModifyReplicationGroupRequest

func NewModifyReplicationGroupRequest() (request *ModifyReplicationGroupRequest)

func (*ModifyReplicationGroupRequest) FromJsonString

func (r *ModifyReplicationGroupRequest) 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 (*ModifyReplicationGroupRequest) ToJsonString

func (r *ModifyReplicationGroupRequest) ToJsonString() string

type ModifyReplicationGroupRequestParams

type ModifyReplicationGroupRequestParams struct {
	// Replication group ID. Log in to the [global replication](https://console.tencentcloud.com/redis/replication) page of the Redis console and obtain it.
	GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`

	// Replication group name after the modification.
	GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`

	// Description of remarks.
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
}

Predefined struct for user

type ModifyReplicationGroupResponse

type ModifyReplicationGroupResponse struct {
	*tchttp.BaseResponse
	Response *ModifyReplicationGroupResponseParams `json:"Response"`
}

func NewModifyReplicationGroupResponse

func NewModifyReplicationGroupResponse() (response *ModifyReplicationGroupResponse)

func (*ModifyReplicationGroupResponse) FromJsonString

func (r *ModifyReplicationGroupResponse) 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 (*ModifyReplicationGroupResponse) ToJsonString

func (r *ModifyReplicationGroupResponse) ToJsonString() string

type ModifyReplicationGroupResponseParams

type ModifyReplicationGroupResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type OpenSSLRequest

type OpenSSLRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type Outbound

type Outbound struct {
	// Policy. Valid values: ACCEPT, DROP.
	Action *string `json:"Action,omitnil,omitempty" name:"Action"`

	// All the addresses that the address group ID represents.
	AddressModule *string `json:"AddressModule,omitnil,omitempty" name:"AddressModule"`

	// Source IP or IP address range, such as 192.168.0.0/16.
	CidrIp *string `json:"CidrIp,omitnil,omitempty" name:"CidrIp"`

	// Description.
	Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"`

	// Network protocol, such as UDP and TCP.
	IpProtocol *string `json:"IpProtocol,omitnil,omitempty" name:"IpProtocol"`

	// Port.
	PortRange *string `json:"PortRange,omitnil,omitempty" name:"PortRange"`

	// All the protocols and ports that the service group ID represents.
	ServiceModule *string `json:"ServiceModule,omitnil,omitempty" name:"ServiceModule"`

	// All the addresses that the security group ID represents.
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

type ParamTemplateInfo

type ParamTemplateInfo struct {
	// Parameter template ID
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// Parameter template name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Parameter template description
	Description *string `json:"Description,omitnil,omitempty" 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,omitempty" name:"ProductType"`
}

type ParameterDetail

type ParameterDetail struct {
	// Parameter name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Parameter Type
	ParamType *string `json:"ParamType,omitnil,omitempty" name:"ParamType"`

	// Default value of the parameter
	Default *string `json:"Default,omitnil,omitempty" name:"Default"`

	// Parameter description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Current value of the parameter
	CurrentValue *string `json:"CurrentValue,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"TypeName"`

	// Minimum purchasable quantity
	MinBuyNum *int64 `json:"MinBuyNum,omitnil,omitempty" name:"MinBuyNum"`

	// Maximum purchasable quantity
	MaxBuyNum *int64 `json:"MaxBuyNum,omitnil,omitempty" name:"MaxBuyNum"`

	// Whether a product is sold out
	// - `true`: Sold out.
	// - `false`: Not sold out.
	Saleout *bool `json:"Saleout,omitnil,omitempty" name:"Saleout"`

	// Product engine. Valid values: Redis and CKV.
	Engine *string `json:"Engine,omitnil,omitempty" name:"Engine"`

	// Compatible versions, including Redis 2.8, 3.2, 4.0, 5.0, and 6.2.
	Version *string `json:"Version,omitnil,omitempty" name:"Version"`

	// Total capacity in GB
	TotalSize []*string `json:"TotalSize,omitnil,omitempty" name:"TotalSize"`

	// Shard size in GB
	ShardSize []*string `json:"ShardSize,omitnil,omitempty" name:"ShardSize"`

	// Quantity of replicas
	ReplicaNum []*string `json:"ReplicaNum,omitnil,omitempty" name:"ReplicaNum"`

	// Quantity of shards
	ShardNum []*string `json:"ShardNum,omitnil,omitempty" name:"ShardNum"`

	// Supported billing modes
	// - `1`: Monthly subscription.
	// - `0`: Pay-as-you-go.
	PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"`

	// Due to spelling inconsistency in this parameter name, it is recommended to use the **EnableReplicaReadOnly** parameter instead. Its meaning refers to whether the Read-Only Replica is supported.
	// - true: Supported.
	// - false: Not supported.
	EnableRepicaReadOnly *bool `json:"EnableRepicaReadOnly,omitnil,omitempty" name:"EnableRepicaReadOnly"`

	// Whether the Read-Only Replica is supported.
	// - true: Supported.
	// - false: Not supported.
	// Note: This field may return null, indicating that no valid value can be obtained.
	EnableReplicaReadOnly *bool `json:"EnableReplicaReadOnly,omitnil,omitempty" name:"EnableReplicaReadOnly"`
}

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,omitempty" name:"NodeId"`

	// AZ ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
}

type RedisBackupSet

type RedisBackupSet struct {
	// Backup start time
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Backup task ID
	BackupId *string `json:"BackupId,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Status"`

	// Backup remarks
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`

	// Whether the backup is locked. Valid values:  - `0` (no) - `1` (yes)
	Locked *int64 `json:"Locked,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"InstanceType"`

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

	// Instance name
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`

	// The region where the local backup resides.
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// Backup end time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Backup file type
	FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"`

	// Backup file expiration time
	ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`
}

type RedisCommonInstanceList

type RedisCommonInstanceList struct {
	// Instance name
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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,omitempty" name:"AppId"`

	// Project ID of the instance
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Instance region
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// Instance AZ
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Instance VPC ID
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// VPC subnet ID
	SubnetId *string `json:"SubnetId,omitnil,omitempty" 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,omitempty" name:"Status"`

	// Private network IP address of an instance
	Vips []*string `json:"Vips,omitnil,omitempty" name:"Vips"`

	// Instance network port
	Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"`

	// Instance creation time
	Createtime *string `json:"Createtime,omitnil,omitempty" name:"Createtime"`

	// Billing type
	// - `0`: Pay-as-you-go.
	// - `1`: Monthly subscription.
	PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`

	// Network Type
	// - `0`: Classic network.
	// - `1`: VPC.
	NetType *int64 `json:"NetType,omitnil,omitempty" name:"NetType"`
}

type RedisInstanceEvent

type RedisInstanceEvent struct {
	// Event ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ID *int64 `json:"ID,omitnil,omitempty" name:"ID"`

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

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

	// Event type. Currently, the type can only be related to instance migration, resource movement, and IDC deletion. This parameter can be only set to **InstanceMigration**.Note: This field may return null, indicating that no valid values can be obtained.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Event levels are divided into Critical, High, Medium, and Low events according to the severity and urgency.- Critical
	// - High
	// - Middle
	// - Low
	// Note: This field may return null, indicating that no valid values can be obtained.
	Grade *string `json:"Grade,omitnil,omitempty" name:"Grade"`

	// Scheduled event execution date.Note: This field may return null, indicating that no valid values can be obtained.
	ExecutionDate *string `json:"ExecutionDate,omitnil,omitempty" name:"ExecutionDate"`

	// Scheduled start time of event execution.Note: This field may return null, indicating that no valid values can be obtained.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Scheduled end time of event execution.Note: This field may return null, indicating that no valid values can be obtained.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// The latest execution date of the operations event. Event execution must be completed before this date. Otherwise, the business may be affected.Note: This field may return null, indicating that no valid values can be obtained.
	LatestExecutionDate *string `json:"LatestExecutionDate,omitnil,omitempty" name:"LatestExecutionDate"`

	// Current event status.- Waiting: The event is waiting for execution on the execution date or during the operations period.- Running: The event is being executed during the operations period.- Finished: Execution of the event operations is completed.- Canceled: Execution of the event is canceled.Note: This field may return null, indicating that no valid values can be obtained.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Completion time of the event execution task.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskEndTime *string `json:"TaskEndTime,omitnil,omitempty" name:"TaskEndTime"`

	// Impact of the event.Note: This field may return null, indicating that no valid values can be obtained.
	EffectInfo *string `json:"EffectInfo,omitnil,omitempty" name:"EffectInfo"`

	// Initial scheduled execution date of the event.Note: This field may return null, indicating that no valid values can be obtained.
	InitialExecutionDate *string `json:"InitialExecutionDate,omitnil,omitempty" name:"InitialExecutionDate"`
}

type RedisNode

type RedisNode struct {
	// Number of keys on Redis nodes
	Keys *int64 `json:"Keys,omitnil,omitempty" name:"Keys"`

	// Slot distribution range for Redis node.  Value range:  0-5460.
	Slot *string `json:"Slot,omitnil,omitempty" name:"Slot"`

	// Node sequence ID
	NodeId *string `json:"NodeId,omitnil,omitempty" name:"NodeId"`

	// Node status
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Node role
	Role *string `json:"Role,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"NodeId"`

	// ID of the AZ of the master or replica node
	ZoneId *uint64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`

	// Name of the AZ of the master or replica node
	ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"`
}

type RedisNodes

type RedisNodes struct {
	// Node ID
	NodeId *string `json:"NodeId,omitnil,omitempty" name:"NodeId"`

	// Node role
	NodeRole *string `json:"NodeRole,omitnil,omitempty" name:"NodeRole"`

	// Shard ID
	ClusterId *int64 `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// AZ ID
	ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
}

type RegionConf

type RegionConf struct {
	// Region ID
	RegionId *string `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// Region name
	RegionName *string `json:"RegionName,omitnil,omitempty" name:"RegionName"`

	// Region abbreviation
	RegionShortName *string `json:"RegionShortName,omitnil,omitempty" name:"RegionShortName"`

	// Name of the area where a region is located
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// AZ information
	ZoneSet []*ZoneCapacityConf `json:"ZoneSet,omitnil,omitempty" name:"ZoneSet"`
}

type ReleaseWanAddressRequest

type ReleaseWanAddressRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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,omitempty" name:"FlowId"`

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

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type RemoveReplicationInstanceRequest

type RemoveReplicationInstanceRequest struct {
	*tchttp.BaseRequest

	// Replication group ID, for example, crs-rpl-m3zt****. Log in to the [Redis console](https://console.tencentcloud.com/redis/replication) and obtain it in the global replication group list.
	GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`

	// Specifies the instance ID. Example: crs-xjhsdj****. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Data synchronization type.
	// - true: Strong synchronization is required.
	// - false: Strong synchronization is not required, and only the primary instance can be deleted.
	SyncType *bool `json:"SyncType,omitnil,omitempty" 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, for example, crs-rpl-m3zt****. Log in to the [Redis console](https://console.tencentcloud.com/redis/replication) and obtain it in the global replication group list.
	GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`

	// Specifies the instance ID. Example: crs-xjhsdj****. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Data synchronization type.
	// - true: Strong synchronization is required.
	// - false: Strong synchronization is not required, and only the primary instance can be deleted.
	SyncType *bool `json:"SyncType,omitnil,omitempty" 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 {
	// Asynchronous task ID.
	TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type RenewInstanceRequest

type RenewInstanceRequest struct {
	*tchttp.BaseRequest

	// Validity period in months
	Period *uint64 `json:"Period,omitnil,omitempty" name:"Period"`

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"Period"`

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"DealId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ReplicaGroup

type ReplicaGroup struct {
	// Node group ID
	GroupId *int64 `json:"GroupId,omitnil,omitempty" name:"GroupId"`

	// Node group name, which is empty for the master node
	GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`

	// Node AZ ID, such as ap-guangzhou-1
	ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`

	// Node group type. master: primary node; replica: replica node.
	Role *string `json:"Role,omitnil,omitempty" name:"Role"`

	// List of nodes in the node group
	RedisNodes []*RedisNode `json:"RedisNodes,omitnil,omitempty" name:"RedisNodes"`
}

type ResetPasswordRequest

type ResetPasswordRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Reset password. This parameter can be left blank when a password-free instance is used. It is required in other cases.
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// Whether to switch to a password-free instance.
	// - false: Switch to a non-password-free instance.
	// - true: Switch to a password-free instance. Default value: false.
	NoAuth *bool `json:"NoAuth,omitnil,omitempty" 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 {
	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Reset password. This parameter can be left blank when a password-free instance is used. It is required in other cases.
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// Whether to switch to a password-free instance.
	// - false: Switch to a non-password-free instance.
	// - true: Switch to a password-free instance. Default value: false.
	NoAuth *bool `json:"NoAuth,omitnil,omitempty" 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,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ResourceBundle

type ResourceBundle struct {
	// Resource package name.
	ResourceBundleName *string `json:"ResourceBundleName,omitnil,omitempty" name:"ResourceBundleName"`

	// Saleable memory. Unit: GB.
	AvailableMemory *int64 `json:"AvailableMemory,omitnil,omitempty" name:"AvailableMemory"`

	// Number of resource packages.
	Count *int64 `json:"Count,omitnil,omitempty" name:"Count"`
}

type ResourceTag

type ResourceTag struct {
	// Tag key
	TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"`

	// The value corresponding to the tag key
	TagValue *string `json:"TagValue,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"CreateTime"`

	// Project ID.
	ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Security group ID.
	SecurityGroupId *string `json:"SecurityGroupId,omitnil,omitempty" name:"SecurityGroupId"`

	// Security group name.
	SecurityGroupName *string `json:"SecurityGroupName,omitnil,omitempty" name:"SecurityGroupName"`

	// Security group remarks.
	SecurityGroupRemark *string `json:"SecurityGroupRemark,omitnil,omitempty" name:"SecurityGroupRemark"`

	// Outbound rule.
	Outbound []*Outbound `json:"Outbound,omitnil,omitempty" name:"Outbound"`

	// Inbound rule.
	Inbound []*Inbound `json:"Inbound,omitnil,omitempty" name:"Inbound"`
}

type SecurityGroupDetail

type SecurityGroupDetail struct {
	// Project ID
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Security group creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Security group ID
	SecurityGroupId *string `json:"SecurityGroupId,omitnil,omitempty" name:"SecurityGroupId"`

	// Security group name
	SecurityGroupName *string `json:"SecurityGroupName,omitnil,omitempty" name:"SecurityGroupName"`

	// Security group remarks
	SecurityGroupRemark *string `json:"SecurityGroupRemark,omitnil,omitempty" name:"SecurityGroupRemark"`

	// Inbound rules of the security group, which control the access source to the database.
	InboundRule []*SecurityGroupsInboundAndOutbound `json:"InboundRule,omitnil,omitempty" name:"InboundRule"`

	// Security group outbound rule
	OutboundRule []*SecurityGroupsInboundAndOutbound `json:"OutboundRule,omitnil,omitempty" name:"OutboundRule"`
}

type SecurityGroupsInboundAndOutbound

type SecurityGroupsInboundAndOutbound struct {
	// Whether the inbound and outbound IP addresses and ports of the database are allowed.
	// - ACCEPT: allowed.
	// - DROP: disallowed.
	Action *string `json:"Action,omitnil,omitempty" name:"Action"`

	// IP address for accessing the database
	Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`

	// Port number
	Port *string `json:"Port,omitnil,omitempty" name:"Port"`

	// Protocol type
	Proto *string `json:"Proto,omitnil,omitempty" name:"Proto"`
}

type SourceCommand

type SourceCommand struct {
	// Command name.
	Cmd *string `json:"Cmd,omitnil,omitempty" name:"Cmd"`

	// Number of executions.
	Count *int64 `json:"Count,omitnil,omitempty" name:"Count"`
}

type SourceInfo

type SourceInfo struct {
	// Source IP
	Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`

	// Number of connections
	Conn *int64 `json:"Conn,omitnil,omitempty" name:"Conn"`

	// Command
	Cmd *int64 `json:"Cmd,omitnil,omitempty" name:"Cmd"`
}

type StartupInstanceRequest

type StartupInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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 {
	// This parameter has been deprecated. Determine whether the instance has been deisolated based on the status obtained through the instance query API.
	TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SwitchAccessNewInstanceRequest

type SwitchAccessNewInstanceRequest struct {
	*tchttp.BaseRequest

	// Specify the instance ID.
	//  For example: crs-xjhsdj****. Please log in to the [Redis Console] (https://console.cloud.tencent.com/redis#/) and copy the instance ID from the instance list.
	// Sample value: crs-asdasdas.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewSwitchAccessNewInstanceRequest

func NewSwitchAccessNewInstanceRequest() (request *SwitchAccessNewInstanceRequest)

func (*SwitchAccessNewInstanceRequest) FromJsonString

func (r *SwitchAccessNewInstanceRequest) 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 (*SwitchAccessNewInstanceRequest) ToJsonString

func (r *SwitchAccessNewInstanceRequest) ToJsonString() string

type SwitchAccessNewInstanceRequestParams

type SwitchAccessNewInstanceRequestParams struct {
	// Specify the instance ID.
	//  For example: crs-xjhsdj****. Please log in to the [Redis Console] (https://console.cloud.tencent.com/redis#/) and copy the instance ID from the instance list.
	// Sample value: crs-asdasdas.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type SwitchAccessNewInstanceResponse

type SwitchAccessNewInstanceResponse struct {
	*tchttp.BaseResponse
	Response *SwitchAccessNewInstanceResponseParams `json:"Response"`
}

func NewSwitchAccessNewInstanceResponse

func NewSwitchAccessNewInstanceResponse() (response *SwitchAccessNewInstanceResponse)

func (*SwitchAccessNewInstanceResponse) FromJsonString

func (r *SwitchAccessNewInstanceResponse) 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 (*SwitchAccessNewInstanceResponse) ToJsonString

func (r *SwitchAccessNewInstanceResponse) ToJsonString() string

type SwitchAccessNewInstanceResponseParams

type SwitchAccessNewInstanceResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SwitchInstanceVipRequest

type SwitchInstanceVipRequest struct {
	*tchttp.BaseRequest

	// Source instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	SrcInstanceId *string `json:"SrcInstanceId,omitnil,omitempty" name:"SrcInstanceId"`

	// Target instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	DstInstanceId *string `json:"DstInstanceId,omitnil,omitempty" name:"DstInstanceId"`

	// DTS disconnection time between the source instance and target instance. Unit: second. If the DTS disconnection time exceeds TimeDelay, the VIP will not be switched. It is recommended to set an acceptable value based on business needs.
	TimeDelay *int64 `json:"TimeDelay,omitnil,omitempty" name:"TimeDelay"`

	// Whether to force a switch in the case of a DTS disconnection.
	// - 1: Force the switch.
	// - 0: Do not force the switch.
	ForceSwitch *int64 `json:"ForceSwitch,omitnil,omitempty" name:"ForceSwitch"`

	// now: switch now; syncComplete: switch after sync is completed
	SwitchTime *string `json:"SwitchTime,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	SrcInstanceId *string `json:"SrcInstanceId,omitnil,omitempty" name:"SrcInstanceId"`

	// Target instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	DstInstanceId *string `json:"DstInstanceId,omitnil,omitempty" name:"DstInstanceId"`

	// DTS disconnection time between the source instance and target instance. Unit: second. If the DTS disconnection time exceeds TimeDelay, the VIP will not be switched. It is recommended to set an acceptable value based on business needs.
	TimeDelay *int64 `json:"TimeDelay,omitnil,omitempty" name:"TimeDelay"`

	// Whether to force a switch in the case of a DTS disconnection.
	// - 1: Force the switch.
	// - 0: Do not force the switch.
	ForceSwitch *int64 `json:"ForceSwitch,omitnil,omitempty" name:"ForceSwitch"`

	// now: switch now; syncComplete: switch after sync is completed
	SwitchTime *string `json:"SwitchTime,omitnil,omitempty" 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,omitempty" name:"TaskId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SwitchProxyRequest

type SwitchProxyRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Proxy ID of an instance, which can be obtained through NodeId of the response parameter **Proxy** of the API [DescribeInstanceNodeInfo](https://intl.cloud.tencent.com/document/product/239/48603?from_cn_redirect=1).
	ProxyID *string `json:"ProxyID,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Proxy ID of an instance, which can be obtained through NodeId of the response parameter **Proxy** of the API [DescribeInstanceNodeInfo](https://intl.cloud.tencent.com/document/product/239/48603?from_cn_redirect=1).
	ProxyID *string `json:"ProxyID,omitnil,omitempty" 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, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"TaskId"`

	// Task start time
	// Note:  This field may return null, indicating that no valid values can be obtained.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Task type.
	//
	// - FLOW_CREATE: "001" - Create an instance.
	// - FLOW_RESIZE: "002" - Change the configuration.
	// - FLOW_CLOSE: "003" - Close an instance.
	// - FLOW_CLEAN: "004" - Clear an instance.
	// - FLOW_STARTUP: "005" - Enable an instance.
	// - FLOW_DELETE: "006" - Delete an instance.
	// - FLOW_SETPWD: "007" - Reset the password.
	// - FLOW_EXPORTBACKUP: "009" - Export the backup file.
	// - FLOW_RESTOREBACKUP: "010" - Restore the backup.
	// - FLOW_BACKUPINSTANCE: "012" - Back up an instance.
	// - FLOW_MIGRATEINSTANCE: "013" - Migrate an instance.
	// - FLOW_DELBACKUP: "014" - Delete the backup.
	// - FLOW_EXCHANGEINSTANCE: "016" - Switch an instance.
	// - FLOW_AUTOBACKUP: "017" - Automatically backup an instance.
	// - FLOW_MIGRATECHECK: "022" - Verify migration parameters.
	// - FLOW_MIGRATETASK: "023" - Migrating data is in progress.
	// - FLOW_CLEANDB: "025" - Clear a database.
	// - FLOW_CLONEBACKUP: "026" - Clone the backup.
	// - FLOW_CHANGEVIP: "027" - Change the VIP.
	// - FLOW_EXPORSHR: "028" - Perform scaling.
	// - FLOW_ADDNODES: "029" - Add or remove a node.
	// - FLOW_CHANGENET: "031" - Change the network type.
	// - FLOW_MODIFYINSTACEREADONLY: "033" - Modify the read-only policy.
	// - FLOW_MODIFYINSTANCEPARAMS: "034" - Modify instance parameters.
	// - FLOW_MODIFYINSTANCEPASSWORDFREE: "035" - Set password-free access.
	// - FLOW_SWITCHINSTANCEVIP: "036" - Switch the instance VIP.
	// - FLOW_MODIFYINSTANCEACCOUNT: "037" - Modify the instance account.
	// - FLOW_MODIFYINSTANCEBANDWIDTH: "038" - Modify the instance bandwidth.
	// - FLOW_ENABLEINSTANCE_REPLICATE: "039" - Enable read-only replica.
	// - FLOW_DISABLEINSTANCE_REPLICATE: "040" - Disable read-only replica.
	// - FLOW_UpgradeArch: "041" - Upgrade the instance architecture from primary-secondary to cluster.
	// - FLOW_DowngradeArch: "042" - Downgrade the instance architecture from cluster to primary-secondary.
	// - FLOW_UpgradeVersion: "043" - Upgrade the version.
	// - FLOW_MODIFYCONNECTIONCONFIG: "044" - Modify the number of bandwidth connections.
	// - FLOW_CLEARNETWORK: "045" - Change the network.
	// - FLOW_REMOVE_BACKUP_FILE: "046" - Delete the backup.
	// - FLOW_UPGRADE_SUPPORT_MULTI_AZ: "047" - Upgrade an instance to support multiple AZs.
	// - FLOW_SHUTDOWN_MASTER: "048" - Simulate a fault.
	// - FLOW_CHANGE_REPLICA_TO_MASTER: "049" - Manually promote the replica node to the primary node.
	// - FLOW_CODE_ADD_REPLICATION_INSTANCE: "050" - Add a replication group.
	// - FLOW_OPEN_WAN: "052" - Enable the public network.
	// - FLOW_CLOSE_WAN: "053" - Disable the public network. - FLOW_UPDATE_WAN: "054" - Update the public network.
	// - FLOW_CODE_DELETE_REPLICATION_INSTANCE: "055" - Unbind the replication group.
	// - FLOW_CODE_CHANGE_MASTER_INSTANCE: "056" - Switch to the primary instance in the replication group.
	// - FLOW_CODE_CHANGE_INSTANCE_ROLE: "057" - Change the roles of instances in the replication group.
	// - FLOW_MIGRATE_NODE: "058" - Migrate a node.
	// - FLOW_SWITCH_NODE: "059" - Switch a node.
	// - FLOW_UPGRADE_SMALL_VERSION: "060" - Upgrade the Redis version.
	// - FLOW_UPGRADE_PROXY_VERSION: "061" - Upgrade the Proxy version.
	// - FLOW_MODIFY_INSTANCE_NETWORK: "062" - Modify the instance network.
	// - FLOW_MIGRATE_PROXY_NODE: "063" - Migrate the Proxy node.
	// - FLOW_MIGRATION_INSTANCE_ZONE: "066" - Migrate the instance AZ in progress.
	// - FLOW_UPGRADE_INSTANCE_CACHE_AND_PROXY: "067" - Upgrading the instance version is in progress.
	// - FLOW_MODIFY_PROXY_NUM: "069" - Add or remove a Proxy node.
	// - FLOW_MODIFYBACKUPMOD: "070" - Change the instance backup mode.
	// Note: This field may return null, indicating that no valid value can be obtained.
	TaskType *string `json:"TaskType,omitnil,omitempty" name:"TaskType"`

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

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

	// Project ID
	// Note:  This field may return null, indicating that no valid values can be obtained.
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task progress
	// Note:  This field may return null, indicating that no valid values can be obtained.
	Progress *float64 `json:"Progress,omitnil,omitempty" name:"Progress"`

	// Task end time
	// Note:  This field may return null, indicating that no valid values can be obtained.
	EndTime *string `json:"EndTime,omitnil,omitempty" 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,omitempty" name:"Result"`
}

type TendisNodes

type TendisNodes struct {
	// Node ID
	NodeId *string `json:"NodeId,omitnil,omitempty" name:"NodeId"`

	// Node role
	NodeRole *string `json:"NodeRole,omitnil,omitempty" name:"NodeRole"`

	// AZ ID.
	ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
}

type TendisSlowLogDetail

type TendisSlowLogDetail struct {
	// Execution time
	ExecuteTime *string `json:"ExecuteTime,omitnil,omitempty" name:"ExecuteTime"`

	// Duration of the slow query (ms)
	Duration *int64 `json:"Duration,omitnil,omitempty" name:"Duration"`

	// Command
	Command *string `json:"Command,omitnil,omitempty" name:"Command"`

	// Command line details
	CommandLine *string `json:"CommandLine,omitnil,omitempty" name:"CommandLine"`

	// Node ID
	Node *string `json:"Node,omitnil,omitempty" name:"Node"`
}

type TradeDealDetail

type TradeDealDetail struct {
	// Order ID, which is used when a TencentCloud API is called.
	DealId *string `json:"DealId,omitnil,omitempty" name:"DealId"`

	// Long order ID, which is used when an order issue is submitted for assistance.
	DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"`

	// AZ ID
	ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`

	// Number of instances associated with the order
	GoodsNum *int64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"`

	// Creator UIN
	Creater *string `json:"Creater,omitnil,omitempty" name:"Creater"`

	// Order creation time
	CreatTime *string `json:"CreatTime,omitnil,omitempty" name:"CreatTime"`

	// Order timeout period
	OverdueTime *string `json:"OverdueTime,omitnil,omitempty" name:"OverdueTime"`

	// Order completion time
	EndTime *string `json:"EndTime,omitnil,omitempty" 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,omitempty" name:"Status"`

	// Order status description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Actual total price of the order in 0.01 CNY
	Price *int64 `json:"Price,omitnil,omitempty" name:"Price"`

	// Instance ID
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

type UpgradeInstanceRequest

type UpgradeInstanceRequest struct {
	*tchttp.BaseRequest

	// The ID of instance to be modified.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"RedisReplicasNum"`

	// Node information set when you add a replica for multi-AZ instances, including the ID and AZ information of the replica. This parameter is not required for non-multi-AZ instances.
	NodeSet []*RedisNodeInfo `json:"NodeSet,omitnil,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" 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,omitempty" name:"RedisReplicasNum"`

	// Node information set when you add a replica for multi-AZ instances, including the ID and AZ information of the replica. This parameter is not required for non-multi-AZ instances.
	NodeSet []*RedisNodeInfo `json:"NodeSet,omitnil,omitempty" 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,omitempty" name:"DealId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" 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,omitempty" name:"TargetInstanceType"`

	// Switch time. Valid values:
	// - `1`: Switch in the maintenance time.
	// - `2` (default value): Switch now.
	SwitchOption *int64 `json:"SwitchOption,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"TargetInstanceType"`

	// Switch time. Valid values:
	// - `1`: Switch in the maintenance time.
	// - `2` (default value): Switch now.
	SwitchOption *int64 `json:"SwitchOption,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"DealId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpgradeProxyVersionRequest

type UpgradeProxyVersionRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Current Proxy version.
	CurrentProxyVersion *string `json:"CurrentProxyVersion,omitnil,omitempty" name:"CurrentProxyVersion"`

	// Upgradable Redis version.
	UpgradeProxyVersion *string `json:"UpgradeProxyVersion,omitnil,omitempty" name:"UpgradeProxyVersion"`

	// Specifies whether to upgrade immediately.
	// - 1: Upgrade immediately.
	// - 0: Upgrade during the maintenance window.
	InstanceTypeUpgradeNow *int64 `json:"InstanceTypeUpgradeNow,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Current Proxy version.
	CurrentProxyVersion *string `json:"CurrentProxyVersion,omitnil,omitempty" name:"CurrentProxyVersion"`

	// Upgradable Redis version.
	UpgradeProxyVersion *string `json:"UpgradeProxyVersion,omitnil,omitempty" name:"UpgradeProxyVersion"`

	// Specifies whether to upgrade immediately.
	// - 1: Upgrade immediately.
	// - 0: Upgrade during the maintenance window.
	InstanceTypeUpgradeNow *int64 `json:"InstanceTypeUpgradeNow,omitnil,omitempty" 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,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpgradeSmallVersionRequest

type UpgradeSmallVersionRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Current Redis minor version. For minor version information, see [Upgrading Instance Version](https://www.tencentcloud.com/document/product/239/37710).
	CurrentRedisVersion *string `json:"CurrentRedisVersion,omitnil,omitempty" name:"CurrentRedisVersion"`

	// Upgraded Redis minor version. For minor version information, see [Upgrading Instance Version](https://www.tencentcloud.com/document/product/239/37710).
	UpgradeRedisVersion *string `json:"UpgradeRedisVersion,omitnil,omitempty" name:"UpgradeRedisVersion"`

	// Whether to upgrade immediately.
	// - 1: Upgrade immediately.
	// - 0: Upgrade during the maintenance window.
	InstanceTypeUpgradeNow *int64 `json:"InstanceTypeUpgradeNow,omitnil,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Current Redis minor version. For minor version information, see [Upgrading Instance Version](https://www.tencentcloud.com/document/product/239/37710).
	CurrentRedisVersion *string `json:"CurrentRedisVersion,omitnil,omitempty" name:"CurrentRedisVersion"`

	// Upgraded Redis minor version. For minor version information, see [Upgrading Instance Version](https://www.tencentcloud.com/document/product/239/37710).
	UpgradeRedisVersion *string `json:"UpgradeRedisVersion,omitnil,omitempty" name:"UpgradeRedisVersion"`

	// Whether to upgrade immediately.
	// - 1: Upgrade immediately.
	// - 0: Upgrade during the maintenance window.
	InstanceTypeUpgradeNow *int64 `json:"InstanceTypeUpgradeNow,omitnil,omitempty" 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,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpgradeVersionToMultiAvailabilityZonesRequest

type UpgradeVersionToMultiAvailabilityZonesRequest struct {
	*tchttp.BaseRequest

	// Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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,omitempty" 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. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" 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,omitempty" 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,omitempty" name:"FlowId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ZoneCapacityConf

type ZoneCapacityConf struct {
	// AZ ID, such as ap-guangzhou-3
	ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`

	// Availability zone name.
	ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"`

	// Whether the AZ is sold out.
	IsSaleout *bool `json:"IsSaleout,omitnil,omitempty" name:"IsSaleout"`

	// Whether the default AZ is used.
	IsDefault *bool `json:"IsDefault,omitnil,omitempty" name:"IsDefault"`

	// Network type.
	//
	// - basenet: basic network.
	// - vpcnet: VPC.
	NetWorkType []*string `json:"NetWorkType,omitnil,omitempty" name:"NetWorkType"`

	// Information of an AZ, such as product specifications in it
	ProductSet []*ProductConf `json:"ProductSet,omitnil,omitempty" name:"ProductSet"`

	// AZ ID, such as 100003
	OldZoneId *int64 `json:"OldZoneId,omitnil,omitempty" name:"OldZoneId"`
}

Jump to

Keyboard shortcuts

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