Documentation ¶
Index ¶
- Constants
- type Account
- type AllocateWanAddressRequest
- type AllocateWanAddressResponse
- type BigKeyInfo
- type BigKeyTypeInfo
- type ChangeReplicaToMasterRequest
- type ChangeReplicaToMasterResponse
- type Client
- func (c *Client) AllocateWanAddress(request *AllocateWanAddressRequest) (response *AllocateWanAddressResponse, err error)
- func (c *Client) AllocateWanAddressWithContext(ctx context.Context, request *AllocateWanAddressRequest) (response *AllocateWanAddressResponse, err error)
- func (c *Client) ChangeReplicaToMaster(request *ChangeReplicaToMasterRequest) (response *ChangeReplicaToMasterResponse, err error)
- func (c *Client) ChangeReplicaToMasterWithContext(ctx context.Context, request *ChangeReplicaToMasterRequest) (response *ChangeReplicaToMasterResponse, err error)
- func (c *Client) DescribeInstanceAccount(request *DescribeInstanceAccountRequest) (response *DescribeInstanceAccountResponse, err error)
- func (c *Client) DescribeInstanceAccountWithContext(ctx context.Context, request *DescribeInstanceAccountRequest) (response *DescribeInstanceAccountResponse, err error)
- func (c *Client) DescribeInstanceMonitorBigKey(request *DescribeInstanceMonitorBigKeyRequest) (response *DescribeInstanceMonitorBigKeyResponse, err error)
- func (c *Client) DescribeInstanceMonitorBigKeySizeDist(request *DescribeInstanceMonitorBigKeySizeDistRequest) (response *DescribeInstanceMonitorBigKeySizeDistResponse, err error)
- func (c *Client) DescribeInstanceMonitorBigKeySizeDistWithContext(ctx context.Context, request *DescribeInstanceMonitorBigKeySizeDistRequest) (response *DescribeInstanceMonitorBigKeySizeDistResponse, err error)
- func (c *Client) DescribeInstanceMonitorBigKeyTypeDist(request *DescribeInstanceMonitorBigKeyTypeDistRequest) (response *DescribeInstanceMonitorBigKeyTypeDistResponse, err error)
- func (c *Client) DescribeInstanceMonitorBigKeyTypeDistWithContext(ctx context.Context, request *DescribeInstanceMonitorBigKeyTypeDistRequest) (response *DescribeInstanceMonitorBigKeyTypeDistResponse, err error)
- func (c *Client) DescribeInstanceMonitorBigKeyWithContext(ctx context.Context, request *DescribeInstanceMonitorBigKeyRequest) (response *DescribeInstanceMonitorBigKeyResponse, err error)
- func (c *Client) DescribeInstanceMonitorHotKey(request *DescribeInstanceMonitorHotKeyRequest) (response *DescribeInstanceMonitorHotKeyResponse, err error)
- func (c *Client) DescribeInstanceMonitorHotKeyWithContext(ctx context.Context, request *DescribeInstanceMonitorHotKeyRequest) (response *DescribeInstanceMonitorHotKeyResponse, err error)
- func (c *Client) DescribeInstanceMonitorSIP(request *DescribeInstanceMonitorSIPRequest) (response *DescribeInstanceMonitorSIPResponse, err error)
- func (c *Client) DescribeInstanceMonitorSIPWithContext(ctx context.Context, request *DescribeInstanceMonitorSIPRequest) (response *DescribeInstanceMonitorSIPResponse, err error)
- func (c *Client) DescribeInstanceMonitorTookDist(request *DescribeInstanceMonitorTookDistRequest) (response *DescribeInstanceMonitorTookDistResponse, err error)
- func (c *Client) DescribeInstanceMonitorTookDistWithContext(ctx context.Context, request *DescribeInstanceMonitorTookDistRequest) (response *DescribeInstanceMonitorTookDistResponse, err error)
- func (c *Client) DescribeInstanceMonitorTopNCmd(request *DescribeInstanceMonitorTopNCmdRequest) (response *DescribeInstanceMonitorTopNCmdResponse, err error)
- func (c *Client) DescribeInstanceMonitorTopNCmdTook(request *DescribeInstanceMonitorTopNCmdTookRequest) (response *DescribeInstanceMonitorTopNCmdTookResponse, err error)
- func (c *Client) DescribeInstanceMonitorTopNCmdTookWithContext(ctx context.Context, request *DescribeInstanceMonitorTopNCmdTookRequest) (response *DescribeInstanceMonitorTopNCmdTookResponse, err error)
- func (c *Client) DescribeInstanceMonitorTopNCmdWithContext(ctx context.Context, request *DescribeInstanceMonitorTopNCmdRequest) (response *DescribeInstanceMonitorTopNCmdResponse, err error)
- func (c *Client) DescribeInstanceNodeInfo(request *DescribeInstanceNodeInfoRequest) (response *DescribeInstanceNodeInfoResponse, err error)
- func (c *Client) DescribeInstanceNodeInfoWithContext(ctx context.Context, request *DescribeInstanceNodeInfoRequest) (response *DescribeInstanceNodeInfoResponse, err error)
- func (c *Client) DescribeMaintenanceWindow(request *DescribeMaintenanceWindowRequest) (response *DescribeMaintenanceWindowResponse, err error)
- func (c *Client) DescribeMaintenanceWindowWithContext(ctx context.Context, request *DescribeMaintenanceWindowRequest) (response *DescribeMaintenanceWindowResponse, err error)
- func (c *Client) DescribeProductInfo(request *DescribeProductInfoRequest) (response *DescribeProductInfoResponse, err error)
- func (c *Client) DescribeProductInfoWithContext(ctx context.Context, request *DescribeProductInfoRequest) (response *DescribeProductInfoResponse, err error)
- func (c *Client) DescribeReplicationGroup(request *DescribeReplicationGroupRequest) (response *DescribeReplicationGroupResponse, err error)
- func (c *Client) DescribeReplicationGroupWithContext(ctx context.Context, request *DescribeReplicationGroupRequest) (response *DescribeReplicationGroupResponse, err error)
- func (c *Client) DescribeSlowLog(request *DescribeSlowLogRequest) (response *DescribeSlowLogResponse, err error)
- func (c *Client) DescribeSlowLogWithContext(ctx context.Context, request *DescribeSlowLogRequest) (response *DescribeSlowLogResponse, err error)
- func (c *Client) InquiryPriceCreateInstance(request *InquiryPriceCreateInstanceRequest) (response *InquiryPriceCreateInstanceResponse, err error)
- func (c *Client) InquiryPriceCreateInstanceWithContext(ctx context.Context, request *InquiryPriceCreateInstanceRequest) (response *InquiryPriceCreateInstanceResponse, err error)
- func (c *Client) InquiryPriceUpgradeInstance(request *InquiryPriceUpgradeInstanceRequest) (response *InquiryPriceUpgradeInstanceResponse, err error)
- func (c *Client) InquiryPriceUpgradeInstanceWithContext(ctx context.Context, request *InquiryPriceUpgradeInstanceRequest) (response *InquiryPriceUpgradeInstanceResponse, err error)
- func (c *Client) ModfiyInstancePassword(request *ModfiyInstancePasswordRequest) (response *ModfiyInstancePasswordResponse, err error)
- func (c *Client) ModfiyInstancePasswordWithContext(ctx context.Context, request *ModfiyInstancePasswordRequest) (response *ModfiyInstancePasswordResponse, err error)
- func (c *Client) ModifyInstanceReadOnly(request *ModifyInstanceReadOnlyRequest) (response *ModifyInstanceReadOnlyResponse, err error)
- func (c *Client) ModifyInstanceReadOnlyWithContext(ctx context.Context, request *ModifyInstanceReadOnlyRequest) (response *ModifyInstanceReadOnlyResponse, err error)
- func (c *Client) ReleaseWanAddress(request *ReleaseWanAddressRequest) (response *ReleaseWanAddressResponse, err error)
- func (c *Client) ReleaseWanAddressWithContext(ctx context.Context, request *ReleaseWanAddressRequest) (response *ReleaseWanAddressResponse, err error)
- type CommandTake
- type DelayDistribution
- type DescribeInstanceAccountRequest
- type DescribeInstanceAccountResponse
- type DescribeInstanceMonitorBigKeyRequest
- type DescribeInstanceMonitorBigKeyResponse
- type DescribeInstanceMonitorBigKeySizeDistRequest
- type DescribeInstanceMonitorBigKeySizeDistResponse
- type DescribeInstanceMonitorBigKeyTypeDistRequest
- type DescribeInstanceMonitorBigKeyTypeDistResponse
- type DescribeInstanceMonitorHotKeyRequest
- type DescribeInstanceMonitorHotKeyResponse
- type DescribeInstanceMonitorSIPRequest
- type DescribeInstanceMonitorSIPResponse
- type DescribeInstanceMonitorTookDistRequest
- type DescribeInstanceMonitorTookDistResponse
- type DescribeInstanceMonitorTopNCmdRequest
- type DescribeInstanceMonitorTopNCmdResponse
- type DescribeInstanceMonitorTopNCmdTookRequest
- type DescribeInstanceMonitorTopNCmdTookResponse
- type DescribeInstanceNodeInfoRequest
- type DescribeInstanceNodeInfoResponse
- type DescribeMaintenanceWindowRequest
- type DescribeMaintenanceWindowResponse
- type DescribeProductInfoRequest
- type DescribeProductInfoResponse
- type DescribeReplicationGroupRequest
- type DescribeReplicationGroupResponse
- type DescribeSlowLogRequest
- type DescribeSlowLogResponse
- type Groups
- type HotKeyInfo
- type InquiryPriceCreateInstanceRequest
- type InquiryPriceCreateInstanceResponse
- type InquiryPriceUpgradeInstanceRequest
- type InquiryPriceUpgradeInstanceResponse
- type InstanceSlowlogDetail
- type Instances
- type ModfiyInstancePasswordRequest
- type ModfiyInstancePasswordResponse
- type ModifyInstanceReadOnlyRequest
- type ModifyInstanceReadOnlyResponse
- type ProductConf
- type ProxyNodes
- type RedisNodes
- type RegionConf
- type ReleaseWanAddressRequest
- type ReleaseWanAddressResponse
- type SourceCommand
- type SourceInfo
- type TendisNodes
- type ZoneCapacityConf
Constants ¶
const ( // CAM signature/authentication error. AUTHFAILURE = "AuthFailure" // Invalid authorization. AUTHFAILURE_INVALIDAUTHORIZATION = "AuthFailure.InvalidAuthorization" // No exact description for this error code for the time being. FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed" // 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" // Internal error. INTERNALERROR = "InternalError" // Internal system error with the database operation, which may be update, insert, select, etc. INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" // Internal error. INTERNALERROR_INTERNALERROR = "InternalError.InternalError" // Incorrect parameter. INVALIDPARAMETER = "InvalidParameter" // The parameter is empty. INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam" // Invalid parameter. INVALIDPARAMETER_ILLEGALPARAMETERERROR = "InvalidParameter.IllegalParameterError" // Invalid service parameter. INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" // The API has no CAM permissions. INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" // Incorrect parameter value. INVALIDPARAMETERVALUE = "InvalidParameterValue" // Password verification error due to incorrect password. INVALIDPARAMETERVALUE_PASSWORDERROR = "InvalidParameterValue.PasswordError" // 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 instance specification doesn’t exist. INVALIDPARAMETERVALUE_SPECNOTEXIST = "InvalidParameterValue.SpecNotExist" // The instance type is not supported. INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType" // The requested capacity is out of the purchasable capacity range. LIMITEXCEEDED_MEMSIZENOTINRANGE = "LimitExceeded.MemSizeNotInRange" // The resource doesn’t exist. RESOURCENOTFOUND = "ResourceNotFound" // No Redis instance is found by the serialId. RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists" // Redis has been locked by another process. RESOURCEUNAVAILABLE_INSTANCELOCKEDERROR = "ResourceUnavailable.InstanceLockedError" // 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" // No CAM permissions. UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed" // The user is not in the allowlist. UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList" // The Redis cluster edition is not allowed to connect to a security group. UNSUPPORTEDOPERATION_CLUSTERINSTANCEACCESSEDDENY = "UnsupportedOperation.ClusterInstanceAccessedDeny" )
const APIVersion = "2018-04-12"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { // Instance ID // Note: This field may return null, indicating that no valid values can be obtained. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Account name (`root` for a root account) // Note: This field may return null, indicating that no valid values can be obtained. AccountName *string `json:"AccountName,omitempty" name:"AccountName"` // Account description information // Note: This field may return null, indicating that no valid values can be obtained. Remark *string `json:"Remark,omitempty" name:"Remark"` // Read/write policy. r: read-only; w: write-only; rw: read/write // Note: This field may return null, indicating that no valid values can be obtained. Privilege *string `json:"Privilege,omitempty" name:"Privilege"` // Routing policy. master: master node; replication: secondary node // Note: This field may return null, indicating that no valid values can be obtained. ReadonlyPolicy []*string `json:"ReadonlyPolicy,omitempty" name:"ReadonlyPolicy"` // Sub-account status. 1: account is being changed; 2: account is valid; -4: account has been deleted // Note: This field may return null, indicating that no valid values can be obtained. Status *int64 `json:"Status,omitempty" name:"Status"` }
type AllocateWanAddressRequest ¶
type AllocateWanAddressRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,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 AllocateWanAddressResponse ¶
type AllocateWanAddressResponse struct { *tchttp.BaseResponse Response *struct { // Async task ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // Status of enabling public network access WanStatus *string `json:"WanStatus,omitempty" name:"WanStatus"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 BigKeyInfo ¶
type BigKeyInfo struct { // Database DB *int64 `json:"DB,omitempty" name:"DB"` // Big key Key *string `json:"Key,omitempty" name:"Key"` // Type Type *string `json:"Type,omitempty" name:"Type"` // Size Size *int64 `json:"Size,omitempty" name:"Size"` // Data timestamp Updatetime *int64 `json:"Updatetime,omitempty" name:"Updatetime"` }
type BigKeyTypeInfo ¶
type ChangeReplicaToMasterRequest ¶
type ChangeReplicaToMasterRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Replica group ID, which is required for multi-AZ instances. GroupId *int64 `json:"GroupId,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 ChangeReplicaToMasterResponse ¶
type ChangeReplicaToMasterResponse struct { *tchttp.BaseResponse Response *struct { // Async task ID TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AllocateWanAddress ¶
func (c *Client) AllocateWanAddress(request *AllocateWanAddressRequest) (response *AllocateWanAddressResponse, err error)
AllocateWanAddress This API is used to enable public network access.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
func (*Client) AllocateWanAddressWithContext ¶
func (c *Client) AllocateWanAddressWithContext(ctx context.Context, request *AllocateWanAddressRequest) (response *AllocateWanAddressResponse, err error)
AllocateWanAddress This API is used to enable public network access.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
func (*Client) ChangeReplicaToMaster ¶
func (c *Client) ChangeReplicaToMaster(request *ChangeReplicaToMasterRequest) (response *ChangeReplicaToMasterResponse, err error)
ChangeReplicaToMaster This API is used to promote a replica node group of a multi-AZ deployed instance to master node group or a replica node of a single-AZ deployed instance to master node.
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 of a multi-AZ deployed instance to master node group or a replica node of a single-AZ deployed instance to master node.
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) DescribeInstanceAccount ¶
func (c *Client) DescribeInstanceAccount(request *DescribeInstanceAccountRequest) (response *DescribeInstanceAccountResponse, err error)
DescribeInstanceAccount This API is used to view instance sub-account information.
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 view instance sub-account information.
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) DescribeInstanceMonitorBigKey ¶
func (c *Client) DescribeInstanceMonitorBigKey(request *DescribeInstanceMonitorBigKeyRequest) (response *DescribeInstanceMonitorBigKeyResponse, err error)
DescribeInstanceMonitorBigKey This API is used to query the big key of an instance.
error code that may be returned:
FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"
func (*Client) DescribeInstanceMonitorBigKeySizeDist ¶
func (c *Client) DescribeInstanceMonitorBigKeySizeDist(request *DescribeInstanceMonitorBigKeySizeDistRequest) (response *DescribeInstanceMonitorBigKeySizeDistResponse, err error)
DescribeInstanceMonitorBigKeySizeDist This API is used to query the big key size distribution of an instance.
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 This API is used to query the big key size distribution of an instance.
error code that may be returned:
FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"
func (*Client) DescribeInstanceMonitorBigKeyTypeDist ¶
func (c *Client) DescribeInstanceMonitorBigKeyTypeDist(request *DescribeInstanceMonitorBigKeyTypeDistRequest) (response *DescribeInstanceMonitorBigKeyTypeDistResponse, err error)
DescribeInstanceMonitorBigKeyTypeDist This API is used to query the big key type distribution of an instance
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 This API is used to query the big key type distribution of an instance
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 This API is used to query the big key of an instance.
error code that may be returned:
FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"
func (*Client) DescribeInstanceMonitorHotKey ¶
func (c *Client) DescribeInstanceMonitorHotKey(request *DescribeInstanceMonitorHotKeyRequest) (response *DescribeInstanceMonitorHotKeyResponse, err error)
DescribeInstanceMonitorHotKey This API is used to query the hot key of an instance.
error code that may be returned:
FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"
func (*Client) DescribeInstanceMonitorHotKeyWithContext ¶
func (c *Client) DescribeInstanceMonitorHotKeyWithContext(ctx context.Context, request *DescribeInstanceMonitorHotKeyRequest) (response *DescribeInstanceMonitorHotKeyResponse, err error)
DescribeInstanceMonitorHotKey This API is used to query the hot key of an instance.
error code that may be returned:
FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"
func (*Client) DescribeInstanceMonitorSIP ¶
func (c *Client) DescribeInstanceMonitorSIP(request *DescribeInstanceMonitorSIPRequest) (response *DescribeInstanceMonitorSIPResponse, err error)
DescribeInstanceMonitorSIP This API is used to query the access source information of an instance.
error code that may be returned:
FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"
func (*Client) DescribeInstanceMonitorSIPWithContext ¶
func (c *Client) DescribeInstanceMonitorSIPWithContext(ctx context.Context, request *DescribeInstanceMonitorSIPRequest) (response *DescribeInstanceMonitorSIPResponse, err error)
DescribeInstanceMonitorSIP This API is used to query the access source information of an instance.
error code that may be returned:
FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"
func (*Client) DescribeInstanceMonitorTookDist ¶
func (c *Client) DescribeInstanceMonitorTookDist(request *DescribeInstanceMonitorTookDistRequest) (response *DescribeInstanceMonitorTookDistResponse, err error)
DescribeInstanceMonitorTookDist This API is used to query the distribution of instance access duration.
error code that may be returned:
FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"
func (*Client) DescribeInstanceMonitorTookDistWithContext ¶
func (c *Client) DescribeInstanceMonitorTookDistWithContext(ctx context.Context, request *DescribeInstanceMonitorTookDistRequest) (response *DescribeInstanceMonitorTookDistResponse, err error)
DescribeInstanceMonitorTookDist This API is used to query the distribution of instance access duration.
error code that may be returned:
FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"
func (*Client) DescribeInstanceMonitorTopNCmd ¶
func (c *Client) DescribeInstanceMonitorTopNCmd(request *DescribeInstanceMonitorTopNCmdRequest) (response *DescribeInstanceMonitorTopNCmdResponse, err error)
DescribeInstanceMonitorTopNCmd This API is used to query an instance access command.
error code that may be returned:
FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"
func (*Client) DescribeInstanceMonitorTopNCmdTook ¶
func (c *Client) DescribeInstanceMonitorTopNCmdTook(request *DescribeInstanceMonitorTopNCmdTookRequest) (response *DescribeInstanceMonitorTopNCmdTookResponse, err error)
DescribeInstanceMonitorTopNCmdTook This API is used to query the instance CPU time.
error code that may be returned:
FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"
func (*Client) DescribeInstanceMonitorTopNCmdTookWithContext ¶
func (c *Client) DescribeInstanceMonitorTopNCmdTookWithContext(ctx context.Context, request *DescribeInstanceMonitorTopNCmdTookRequest) (response *DescribeInstanceMonitorTopNCmdTookResponse, err error)
DescribeInstanceMonitorTopNCmdTook This API is used to query the instance CPU time.
error code that may be returned:
FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"
func (*Client) DescribeInstanceMonitorTopNCmdWithContext ¶
func (c *Client) DescribeInstanceMonitorTopNCmdWithContext(ctx context.Context, request *DescribeInstanceMonitorTopNCmdRequest) (response *DescribeInstanceMonitorTopNCmdResponse, err error)
DescribeInstanceMonitorTopNCmd This API is used to query an instance access command.
error code that may be returned:
FAILEDOPERATION_REDOFLOWFAILED = "FailedOperation.RedoFlowFailed"
func (*Client) DescribeInstanceNodeInfo ¶
func (c *Client) DescribeInstanceNodeInfo(request *DescribeInstanceNodeInfoRequest) (response *DescribeInstanceNodeInfoResponse, err error)
DescribeInstanceNodeInfo This API is used to query instance node information.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
func (*Client) DescribeInstanceNodeInfoWithContext ¶
func (c *Client) DescribeInstanceNodeInfoWithContext(ctx context.Context, request *DescribeInstanceNodeInfoRequest) (response *DescribeInstanceNodeInfoResponse, err error)
DescribeInstanceNodeInfo This API is used to query instance node information.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
func (*Client) DescribeMaintenanceWindow ¶
func (c *Client) DescribeMaintenanceWindow(request *DescribeMaintenanceWindowRequest) (response *DescribeMaintenanceWindowResponse, err error)
DescribeMaintenanceWindow This API is used to query instance maintenance window. The maintenance window specifies a time period during which compatible version upgrade, architecture upgrade, backend maintenance, and other operations can be performed to avoid affecting business.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed" UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList" UNSUPPORTEDOPERATION_CLUSTERINSTANCEACCESSEDDENY = "UnsupportedOperation.ClusterInstanceAccessedDeny"
func (*Client) DescribeMaintenanceWindowWithContext ¶
func (c *Client) DescribeMaintenanceWindowWithContext(ctx context.Context, request *DescribeMaintenanceWindowRequest) (response *DescribeMaintenanceWindowResponse, err error)
DescribeMaintenanceWindow This API is used to query instance maintenance window. The maintenance window specifies a time period during which compatible version upgrade, architecture upgrade, backend maintenance, and other operations can be performed to avoid affecting business.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed" UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList" UNSUPPORTEDOPERATION_CLUSTERINSTANCEACCESSEDDENY = "UnsupportedOperation.ClusterInstanceAccessedDeny"
func (*Client) DescribeProductInfo ¶
func (c *Client) DescribeProductInfo(request *DescribeProductInfoRequest) (response *DescribeProductInfoResponse, err error)
DescribeProductInfo This API is used to query the purchasable capacity specifications of Redis instances in the specified AZ and instance type. If you are not in the allowlist for the AZ or instance type, you cannot view the details of the capacity specifications. To apply for the eligibility, please submit a ticket.
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 the purchasable capacity specifications of Redis instances in the specified AZ and instance type. If you are not in the allowlist for the AZ or instance type, you cannot view the details of the capacity specifications. To apply for the eligibility, please submit a ticket.
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) DescribeReplicationGroup ¶
func (c *Client) DescribeReplicationGroup(request *DescribeReplicationGroupRequest) (response *DescribeReplicationGroupResponse, err error)
DescribeReplicationGroup This API is used to query the global replication group.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INVALIDPARAMETERVALUE_REPLICATIONGROUPNOTEXISTS = "InvalidParameterValue.ReplicationGroupNotExists"
func (*Client) DescribeReplicationGroupWithContext ¶
func (c *Client) DescribeReplicationGroupWithContext(ctx context.Context, request *DescribeReplicationGroupRequest) (response *DescribeReplicationGroupResponse, err error)
DescribeReplicationGroup This API is used to query the global replication group.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INVALIDPARAMETERVALUE_REPLICATIONGROUPNOTEXISTS = "InvalidParameterValue.ReplicationGroupNotExists"
func (*Client) DescribeSlowLog ¶
func (c *Client) DescribeSlowLog(request *DescribeSlowLogRequest) (response *DescribeSlowLogResponse, err error)
DescribeSlowLog This API is used to query the slow log.
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 slow log.
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) InquiryPriceCreateInstance ¶
func (c *Client) InquiryPriceCreateInstance(request *InquiryPriceCreateInstanceRequest) (response *InquiryPriceCreateInstanceResponse, err error)
InquiryPriceCreateInstance This API is used to query the price for purchasing an instance.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed" UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
func (*Client) InquiryPriceCreateInstanceWithContext ¶
func (c *Client) InquiryPriceCreateInstanceWithContext(ctx context.Context, request *InquiryPriceCreateInstanceRequest) (response *InquiryPriceCreateInstanceResponse, err error)
InquiryPriceCreateInstance This API is used to query the price for purchasing an instance.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed" UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
func (*Client) InquiryPriceUpgradeInstance ¶
func (c *Client) InquiryPriceUpgradeInstance(request *InquiryPriceUpgradeInstanceRequest) (response *InquiryPriceUpgradeInstanceResponse, err error)
InquiryPriceUpgradeInstance This API is used to query the price for scaling an instance.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" INVALIDPARAMETERVALUE_REDUCECAPACITYNOTALLOWED = "InvalidParameterValue.ReduceCapacityNotAllowed" INVALIDPARAMETERVALUE_SPECNOTEXIST = "InvalidParameterValue.SpecNotExist" LIMITEXCEEDED_MEMSIZENOTINRANGE = "LimitExceeded.MemSizeNotInRange" RESOURCEUNAVAILABLE_INSTANCESTATEERROR = "ResourceUnavailable.InstanceStateError" RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
func (*Client) InquiryPriceUpgradeInstanceWithContext ¶
func (c *Client) InquiryPriceUpgradeInstanceWithContext(ctx context.Context, request *InquiryPriceUpgradeInstanceRequest) (response *InquiryPriceUpgradeInstanceResponse, err error)
InquiryPriceUpgradeInstance This API is used to query the price for scaling an instance.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" INVALIDPARAMETERVALUE_REDUCECAPACITYNOTALLOWED = "InvalidParameterValue.ReduceCapacityNotAllowed" INVALIDPARAMETERVALUE_SPECNOTEXIST = "InvalidParameterValue.SpecNotExist" LIMITEXCEEDED_MEMSIZENOTINRANGE = "LimitExceeded.MemSizeNotInRange" RESOURCEUNAVAILABLE_INSTANCESTATEERROR = "ResourceUnavailable.InstanceStateError" RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError"
func (*Client) ModfiyInstancePassword ¶
func (c *Client) ModfiyInstancePassword(request *ModfiyInstancePasswordRequest) (response *ModfiyInstancePasswordResponse, err error)
ModfiyInstancePassword This API is used to change the Redis 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) ModfiyInstancePasswordWithContext ¶
func (c *Client) ModfiyInstancePasswordWithContext(ctx context.Context, request *ModfiyInstancePasswordRequest) (response *ModfiyInstancePasswordResponse, err error)
ModfiyInstancePassword This API is used to change the Redis 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 instance input mode.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
func (*Client) ModifyInstanceReadOnlyWithContext ¶
func (c *Client) ModifyInstanceReadOnlyWithContext(ctx context.Context, request *ModifyInstanceReadOnlyRequest) (response *ModifyInstanceReadOnlyResponse, err error)
ModifyInstanceReadOnly This API is used to set instance input mode.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists"
func (*Client) 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:
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:
INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
type CommandTake ¶
type DelayDistribution ¶
type DelayDistribution struct { // Delay distribution. The mapping between delay range and `Ladder` value is as follows: // [0ms,1ms]: 1; // [1ms,5ms]: 5; // [5ms,10ms]: 10; // [10ms,50ms]: 50; // [50ms,200ms]: 200; // [200ms,∞]: -1. Ladder *int64 `json:"Ladder,omitempty" name:"Ladder"` // The number of commands whose delay falls within the current delay range Size *int64 `json:"Size,omitempty" name:"Size"` // Modification time Updatetime *int64 `json:"Updatetime,omitempty" name:"Updatetime"` }
type DescribeInstanceAccountRequest ¶
type DescribeInstanceAccountRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Number of entries per page Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Page offset Offset *int64 `json:"Offset,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 DescribeInstanceAccountResponse ¶
type DescribeInstanceAccountResponse struct { *tchttp.BaseResponse Response *struct { // Account details // Note: This field may return null, indicating that no valid values can be obtained. Accounts []*Account `json:"Accounts,omitempty" name:"Accounts"` // Number of accounts // Note: This field may return null, indicating that no valid values can be obtained. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInstanceAccountResponse ¶
func NewDescribeInstanceAccountResponse() (response *DescribeInstanceAccountResponse)
func (*DescribeInstanceAccountResponse) FromJsonString ¶
func (r *DescribeInstanceAccountResponse) FromJsonString(s string) error
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 DescribeInstanceMonitorBigKeyRequest ¶
type DescribeInstanceMonitorBigKeyRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Request type. 1: string type; 2: all types ReqType *int64 `json:"ReqType,omitempty" name:"ReqType"` // Time, such as "20190219" Date *string `json:"Date,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 DescribeInstanceMonitorBigKeyResponse ¶
type DescribeInstanceMonitorBigKeyResponse struct { *tchttp.BaseResponse Response *struct { // Big key details Data []*BigKeyInfo `json:"Data,omitempty" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInstanceMonitorBigKeyResponse ¶
func NewDescribeInstanceMonitorBigKeyResponse() (response *DescribeInstanceMonitorBigKeyResponse)
func (*DescribeInstanceMonitorBigKeyResponse) FromJsonString ¶
func (r *DescribeInstanceMonitorBigKeyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceMonitorBigKeyResponse) ToJsonString ¶
func (r *DescribeInstanceMonitorBigKeyResponse) ToJsonString() string
type DescribeInstanceMonitorBigKeySizeDistRequest ¶
type DescribeInstanceMonitorBigKeySizeDistRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Time, such as "20190219" Date *string `json:"Date,omitempty" name:"Date"` }
func NewDescribeInstanceMonitorBigKeySizeDistRequest ¶
func NewDescribeInstanceMonitorBigKeySizeDistRequest() (request *DescribeInstanceMonitorBigKeySizeDistRequest)
func (*DescribeInstanceMonitorBigKeySizeDistRequest) FromJsonString ¶
func (r *DescribeInstanceMonitorBigKeySizeDistRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceMonitorBigKeySizeDistRequest) ToJsonString ¶
func (r *DescribeInstanceMonitorBigKeySizeDistRequest) ToJsonString() string
type DescribeInstanceMonitorBigKeySizeDistResponse ¶
type DescribeInstanceMonitorBigKeySizeDistResponse struct { *tchttp.BaseResponse Response *struct { // Big key size distribution details Data []*DelayDistribution `json:"Data,omitempty" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInstanceMonitorBigKeySizeDistResponse ¶
func NewDescribeInstanceMonitorBigKeySizeDistResponse() (response *DescribeInstanceMonitorBigKeySizeDistResponse)
func (*DescribeInstanceMonitorBigKeySizeDistResponse) FromJsonString ¶
func (r *DescribeInstanceMonitorBigKeySizeDistResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceMonitorBigKeySizeDistResponse) ToJsonString ¶
func (r *DescribeInstanceMonitorBigKeySizeDistResponse) ToJsonString() string
type DescribeInstanceMonitorBigKeyTypeDistRequest ¶
type DescribeInstanceMonitorBigKeyTypeDistRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Time, such as "20190219" Date *string `json:"Date,omitempty" name:"Date"` }
func NewDescribeInstanceMonitorBigKeyTypeDistRequest ¶
func NewDescribeInstanceMonitorBigKeyTypeDistRequest() (request *DescribeInstanceMonitorBigKeyTypeDistRequest)
func (*DescribeInstanceMonitorBigKeyTypeDistRequest) FromJsonString ¶
func (r *DescribeInstanceMonitorBigKeyTypeDistRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceMonitorBigKeyTypeDistRequest) ToJsonString ¶
func (r *DescribeInstanceMonitorBigKeyTypeDistRequest) ToJsonString() string
type DescribeInstanceMonitorBigKeyTypeDistResponse ¶
type DescribeInstanceMonitorBigKeyTypeDistResponse struct { *tchttp.BaseResponse Response *struct { // Big key type distribution details Data []*BigKeyTypeInfo `json:"Data,omitempty" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInstanceMonitorBigKeyTypeDistResponse ¶
func NewDescribeInstanceMonitorBigKeyTypeDistResponse() (response *DescribeInstanceMonitorBigKeyTypeDistResponse)
func (*DescribeInstanceMonitorBigKeyTypeDistResponse) FromJsonString ¶
func (r *DescribeInstanceMonitorBigKeyTypeDistResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceMonitorBigKeyTypeDistResponse) ToJsonString ¶
func (r *DescribeInstanceMonitorBigKeyTypeDistResponse) ToJsonString() string
type DescribeInstanceMonitorHotKeyRequest ¶
type DescribeInstanceMonitorHotKeyRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Time span. 1: real time; 2: past 30 minutes; 3: past 6 hours; 4: past 24 hours SpanType *int64 `json:"SpanType,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 DescribeInstanceMonitorHotKeyResponse ¶
type DescribeInstanceMonitorHotKeyResponse struct { *tchttp.BaseResponse Response *struct { // Hot key details Data []*HotKeyInfo `json:"Data,omitempty" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInstanceMonitorHotKeyResponse ¶
func NewDescribeInstanceMonitorHotKeyResponse() (response *DescribeInstanceMonitorHotKeyResponse)
func (*DescribeInstanceMonitorHotKeyResponse) FromJsonString ¶
func (r *DescribeInstanceMonitorHotKeyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceMonitorHotKeyResponse) ToJsonString ¶
func (r *DescribeInstanceMonitorHotKeyResponse) ToJsonString() string
type DescribeInstanceMonitorSIPRequest ¶
type DescribeInstanceMonitorSIPRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,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 DescribeInstanceMonitorSIPResponse ¶
type DescribeInstanceMonitorSIPResponse struct { *tchttp.BaseResponse Response *struct { // Access source information Data []*SourceInfo `json:"Data,omitempty" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInstanceMonitorSIPResponse ¶
func NewDescribeInstanceMonitorSIPResponse() (response *DescribeInstanceMonitorSIPResponse)
func (*DescribeInstanceMonitorSIPResponse) FromJsonString ¶
func (r *DescribeInstanceMonitorSIPResponse) FromJsonString(s string) error
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 DescribeInstanceMonitorTookDistRequest ¶
type DescribeInstanceMonitorTookDistRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Time, such as "20190219" Date *string `json:"Date,omitempty" name:"Date"` // Time span. 1: real time; 2: last 30 minutes; 3: last 6 hours; 4: last 24 hours SpanType *int64 `json:"SpanType,omitempty" name:"SpanType"` }
func NewDescribeInstanceMonitorTookDistRequest ¶
func NewDescribeInstanceMonitorTookDistRequest() (request *DescribeInstanceMonitorTookDistRequest)
func (*DescribeInstanceMonitorTookDistRequest) FromJsonString ¶
func (r *DescribeInstanceMonitorTookDistRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceMonitorTookDistRequest) ToJsonString ¶
func (r *DescribeInstanceMonitorTookDistRequest) ToJsonString() string
type DescribeInstanceMonitorTookDistResponse ¶
type DescribeInstanceMonitorTookDistResponse struct { *tchttp.BaseResponse Response *struct { // Latency distribution information Data []*DelayDistribution `json:"Data,omitempty" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInstanceMonitorTookDistResponse ¶
func NewDescribeInstanceMonitorTookDistResponse() (response *DescribeInstanceMonitorTookDistResponse)
func (*DescribeInstanceMonitorTookDistResponse) FromJsonString ¶
func (r *DescribeInstanceMonitorTookDistResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceMonitorTookDistResponse) ToJsonString ¶
func (r *DescribeInstanceMonitorTookDistResponse) ToJsonString() string
type DescribeInstanceMonitorTopNCmdRequest ¶
type DescribeInstanceMonitorTopNCmdRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Time span. 1: real time; 2: last 30 minutes; 3: last 6 hours; 4: last 24 hours SpanType *int64 `json:"SpanType,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 ¶
func (r *DescribeInstanceMonitorTopNCmdRequest) ToJsonString() string
type DescribeInstanceMonitorTopNCmdResponse ¶
type DescribeInstanceMonitorTopNCmdResponse struct { *tchttp.BaseResponse Response *struct { // Access command information Data []*SourceCommand `json:"Data,omitempty" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInstanceMonitorTopNCmdResponse ¶
func NewDescribeInstanceMonitorTopNCmdResponse() (response *DescribeInstanceMonitorTopNCmdResponse)
func (*DescribeInstanceMonitorTopNCmdResponse) FromJsonString ¶
func (r *DescribeInstanceMonitorTopNCmdResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceMonitorTopNCmdResponse) ToJsonString ¶
func (r *DescribeInstanceMonitorTopNCmdResponse) ToJsonString() string
type DescribeInstanceMonitorTopNCmdTookRequest ¶
type DescribeInstanceMonitorTopNCmdTookRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Time span. 1: real time; 2: last 30 minutes; 3: last 6 hours; 4: last 24 hours SpanType *int64 `json:"SpanType,omitempty" name:"SpanType"` }
func NewDescribeInstanceMonitorTopNCmdTookRequest ¶
func NewDescribeInstanceMonitorTopNCmdTookRequest() (request *DescribeInstanceMonitorTopNCmdTookRequest)
func (*DescribeInstanceMonitorTopNCmdTookRequest) FromJsonString ¶
func (r *DescribeInstanceMonitorTopNCmdTookRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceMonitorTopNCmdTookRequest) ToJsonString ¶
func (r *DescribeInstanceMonitorTopNCmdTookRequest) ToJsonString() string
type DescribeInstanceMonitorTopNCmdTookResponse ¶
type DescribeInstanceMonitorTopNCmdTookResponse struct { *tchttp.BaseResponse Response *struct { // Duration details Data []*CommandTake `json:"Data,omitempty" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeInstanceMonitorTopNCmdTookResponse ¶
func NewDescribeInstanceMonitorTopNCmdTookResponse() (response *DescribeInstanceMonitorTopNCmdTookResponse)
func (*DescribeInstanceMonitorTopNCmdTookResponse) FromJsonString ¶
func (r *DescribeInstanceMonitorTopNCmdTookResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceMonitorTopNCmdTookResponse) ToJsonString ¶
func (r *DescribeInstanceMonitorTopNCmdTookResponse) ToJsonString() string
type DescribeInstanceNodeInfoRequest ¶
type DescribeInstanceNodeInfoRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // List size Limit *int64 `json:"Limit,omitempty" name:"Limit"` // The offset value Offset *int64 `json:"Offset,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 DescribeInstanceNodeInfoResponse ¶
type DescribeInstanceNodeInfoResponse struct { *tchttp.BaseResponse Response *struct { // The number of proxy nodes ProxyCount *int64 `json:"ProxyCount,omitempty" name:"ProxyCount"` // Proxy node information // Note: This field may return `null`, indicating that no valid values can be obtained. Proxy []*ProxyNodes `json:"Proxy,omitempty" name:"Proxy"` // The number of redis nodes RedisCount *int64 `json:"RedisCount,omitempty" name:"RedisCount"` // Redis node information // Note: This field may return `null`, indicating that no valid values can be obtained. Redis []*RedisNodes `json:"Redis,omitempty" name:"Redis"` // The number of tendis nodes TendisCount *int64 `json:"TendisCount,omitempty" name:"TendisCount"` // Tendis node information // Note: This field may return `null`, indicating that no valid values can be obtained. Tendis []*TendisNodes `json:"Tendis,omitempty" name:"Tendis"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 DescribeMaintenanceWindowRequest ¶
type DescribeMaintenanceWindowRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,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 DescribeMaintenanceWindowResponse ¶
type DescribeMaintenanceWindowResponse struct { *tchttp.BaseResponse Response *struct { // Start time of the maintenance window, such as 17:00. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time of the maintenance window, such as 19:00. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 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 DescribeProductInfoResponse ¶
type DescribeProductInfoResponse struct { *tchttp.BaseResponse Response *struct { // Sale information of a region RegionSet []*RegionConf `json:"RegionSet,omitempty" name:"RegionSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeProductInfoResponse ¶
func NewDescribeProductInfoResponse() (response *DescribeProductInfoResponse)
func (*DescribeProductInfoResponse) FromJsonString ¶
func (r *DescribeProductInfoResponse) FromJsonString(s string) error
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 DescribeReplicationGroupRequest ¶
type DescribeReplicationGroupRequest struct { *tchttp.BaseRequest // Instance list size. Default value: 20 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset, which is an integral multiple of `Limit` Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Replication group ID GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // Instance ID/name. Fuzzy query is supported. SearchKey *string `json:"SearchKey,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 DescribeReplicationGroupResponse ¶
type DescribeReplicationGroupResponse struct { *tchttp.BaseResponse Response *struct { // Number of replication group TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Replication group info Groups []*Groups `json:"Groups,omitempty" name:"Groups"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 DescribeSlowLogRequest ¶
type DescribeSlowLogRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Start time BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Slow log threshold in microseconds MinQueryTime *int64 `json:"MinQueryTime,omitempty" name:"MinQueryTime"` // Number of entries per page Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset, which is an integral multiple of `Limit` Offset *int64 `json:"Offset,omitempty" name:"Offset"` }
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 DescribeSlowLogResponse ¶
type DescribeSlowLogResponse struct { *tchttp.BaseResponse Response *struct { // Total number of slow logs TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Slow log details InstanceSlowlogDetail []*InstanceSlowlogDetail `json:"InstanceSlowlogDetail,omitempty" name:"InstanceSlowlogDetail"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeSlowLogResponse ¶
func NewDescribeSlowLogResponse() (response *DescribeSlowLogResponse)
func (*DescribeSlowLogResponse) FromJsonString ¶
func (r *DescribeSlowLogResponse) FromJsonString(s string) error
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 Groups ¶
type Groups struct { // User App ID AppId *int64 `json:"AppId,omitempty" name:"AppId"` // Region ID. 1: Guangzhou; 4: Shanghai; 5: Hong Kong (China); 6: Toronto; 7: Shanghai Finance; 8: Beijing; 9: Singapore; 11: Shenzhen Finance; 15: West US (Silicon Valley); 16: Chengdu; 17: Germany; 18: South Korea; 19: Chongqing; 21: India; 22: East US (Virginia); 23: Thailand; 24: Russia; 25: Japan RegionId *int64 `json:"RegionId,omitempty" name:"RegionId"` // Replication group info GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // Replication group name // Note: This field may return `null`, indicating that no valid values can be obtained. GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // Replication group status. Valid values: 37 (Associating replication group), 38 (Reconnecting to replication group), 51 (Disassociating the replication group), 52 (Switching primary instance in the replication group), 53 (Modifying roles) Status *int64 `json:"Status,omitempty" name:"Status"` // Number of replication groups InstanceCount *int64 `json:"InstanceCount,omitempty" name:"InstanceCount"` // Instances in replication group // Note: This field may return `null`, indicating that no valid values can be obtained. Instances []*Instances `json:"Instances,omitempty" name:"Instances"` // Remarks // Note: This field may return `null`, indicating that no valid values can be obtained. Remark *string `json:"Remark,omitempty" name:"Remark"` }
type HotKeyInfo ¶
type InquiryPriceCreateInstanceRequest ¶
type InquiryPriceCreateInstanceRequest struct { *tchttp.BaseRequest // Instance type. Valid values: `2` (Redis 2.8 memory edition in standard architecture), `3` (CKV 3.2 memory edition in standard architecture), `4` (CKV 3.2 memory edition in cluster architecture), `6` (Redis 4.0 memory edition in standard architecture), `7` (Redis 4.0 memory edition in cluster architecture), `8` (Redis 5.0 memory edition in standard architecture), `9` (Redis 5.0 memory edition in cluster architecture). TypeId *uint64 `json:"TypeId,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,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,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,omitempty" name:"Period"` // Billing mode. Valid values: `0` (pay-as-you-go), `1` (monthly subscription). BillingMode *int64 `json:"BillingMode,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,omitempty" name:"ZoneId"` // Instance shard quantity. This field is not required by Redis 2.8 standard architecture, CKV standard architecture, Redis 2.8 standalone edition, and Redis 4.0 standard architecture. RedisShardNum *int64 `json:"RedisShardNum,omitempty" name:"RedisShardNum"` // Instance replica quantity. This field is not required by Redis 2.8 standard architecture, CKV standard architecture, and Redis 2.8 standalone edition. RedisReplicasNum *int64 `json:"RedisReplicasNum,omitempty" name:"RedisReplicasNum"` // Whether to support read-only replicas. This field is not required by Redis 2.8 standard architecture, CKV standard architecture, and Redis 2.8 standalone edition. ReplicasReadonly *bool `json:"ReplicasReadonly,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,omitempty" name:"ZoneName"` }
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 InquiryPriceCreateInstanceResponse ¶
type InquiryPriceCreateInstanceResponse struct { *tchttp.BaseResponse Response *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,omitempty" name:"Price"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewInquiryPriceCreateInstanceResponse ¶
func NewInquiryPriceCreateInstanceResponse() (response *InquiryPriceCreateInstanceResponse)
func (*InquiryPriceCreateInstanceResponse) FromJsonString ¶
func (r *InquiryPriceCreateInstanceResponse) FromJsonString(s string) error
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 InquiryPriceUpgradeInstanceRequest ¶
type InquiryPriceUpgradeInstanceRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Shard size in MB. MemSize *uint64 `json:"MemSize,omitempty" name:"MemSize"` // Number of shards. This parameter can be left blank for Redis 2.8 in standard architecture, CKV in standard architecture, and Redis 2.8 in standalone architecture. RedisShardNum *uint64 `json:"RedisShardNum,omitempty" name:"RedisShardNum"` // Number of replicas. This parameter can be left blank for Redis 2.8 in standard architecture, CKV in standard architecture, and Redis 2.8 in standalone architecture. RedisReplicasNum *uint64 `json:"RedisReplicasNum,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 InquiryPriceUpgradeInstanceResponse ¶
type InquiryPriceUpgradeInstanceResponse struct { *tchttp.BaseResponse Response *struct { // Price. Unit: USD // Note: this field may return `null`, indicating that no valid values can be obtained. Price *float64 `json:"Price,omitempty" name:"Price"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewInquiryPriceUpgradeInstanceResponse ¶
func NewInquiryPriceUpgradeInstanceResponse() (response *InquiryPriceUpgradeInstanceResponse)
func (*InquiryPriceUpgradeInstanceResponse) FromJsonString ¶
func (r *InquiryPriceUpgradeInstanceResponse) FromJsonString(s string) error
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 InstanceSlowlogDetail ¶
type InstanceSlowlogDetail struct { // Slow log duration Duration *int64 `json:"Duration,omitempty" name:"Duration"` // Client address Client *string `json:"Client,omitempty" name:"Client"` // Command Command *string `json:"Command,omitempty" name:"Command"` // Command line details CommandLine *string `json:"CommandLine,omitempty" name:"CommandLine"` // Execution duration ExecuteTime *string `json:"ExecuteTime,omitempty" name:"ExecuteTime"` // Node ID Node *string `json:"Node,omitempty" name:"Node"` }
type Instances ¶
type Instances struct { // User App ID AppId *int64 `json:"AppId,omitempty" name:"AppId"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Region ID. 1: Guangzhou; 4: Shanghai; 5: Hong Kong (China); 6: Toronto; 7: Shanghai Finance; 8: Beijing; 9: Singapore; 11: Shenzhen Finance; 15: West US (Silicon Valley) RegionId *uint64 `json:"RegionId,omitempty" name:"RegionId"` // Region ID ZoneId *uint64 `json:"ZoneId,omitempty" name:"ZoneId"` // Number of replicas RedisReplicasNum *uint64 `json:"RedisReplicasNum,omitempty" name:"RedisReplicasNum"` // Number of shards RedisShardNum *int64 `json:"RedisShardNum,omitempty" name:"RedisShardNum"` // Shard size RedisShardSize *int64 `json:"RedisShardSize,omitempty" name:"RedisShardSize"` // Instance disk size // Note: This field may return `null`, indicating that no valid values can be obtained. DiskSize *int64 `json:"DiskSize,omitempty" name:"DiskSize"` // Engine: Redis community edition, Tencent Cloud CKV Engine *string `json:"Engine,omitempty" name:"Engine"` // Instance role. Valid values: `rw` (read-write), `r`( read-only) Role *string `json:"Role,omitempty" name:"Role"` // Instance VIP Vip *string `json:"Vip,omitempty" name:"Vip"` // Internal parameter, which can be ignored. // Note: This field may return `null`, indicating that no valid values can be obtained. Vip6 *string `json:"Vip6,omitempty" name:"Vip6"` // VPC ID, such as 75101 VpcID *int64 `json:"VpcID,omitempty" name:"VpcID"` // Instance Port VPort *int64 `json:"VPort,omitempty" name:"VPort"` // Instance status. 0: to be initialized; 1: in process; 2: running; -2: isolated; -3: to be deleted Status *int64 `json:"Status,omitempty" name:"Status"` // Repository ID GrocerySysId *int64 `json:"GrocerySysId,omitempty" name:"GrocerySysId"` // Instance type. Valid values: `1` (Redis 2.8 memory edition in cluster architecture), `2` (Redis 2.8 memory edition in standard architecture), `3` (CKV 3.2 memory edition in standard architecture), `4` (CKV 3.2 memory edition in cluster architecture), `5` (Redis 2.8 memory edition in standalone architecture), `6` (Redis 4.0 memory edition in standard architecture), `7` (Redis 4.0 memory edition in cluster architecture), `8` (Redis 5.0 memory edition in standard architecture), `9` (Redis 5.0 memory edition in cluster architecture) ProductType *int64 `json:"ProductType,omitempty" name:"ProductType"` // Creation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Update time UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` }
type ModfiyInstancePasswordRequest ¶
type ModfiyInstancePasswordRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Old password of an instance OldPassword *string `json:"OldPassword,omitempty" name:"OldPassword"` // New password of an instance Password *string `json:"Password,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 ModfiyInstancePasswordResponse ¶
type ModfiyInstancePasswordResponse struct { *tchttp.BaseResponse Response *struct { // Task ID TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModfiyInstancePasswordResponse ¶
func NewModfiyInstancePasswordResponse() (response *ModfiyInstancePasswordResponse)
func (*ModfiyInstancePasswordResponse) FromJsonString ¶
func (r *ModfiyInstancePasswordResponse) FromJsonString(s string) error
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 ModifyInstanceReadOnlyRequest ¶
type ModifyInstanceReadOnlyRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Instance input mode. Valid values: `0` (read/write), `1` (read-only) InputMode *string `json:"InputMode,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 ModifyInstanceReadOnlyResponse ¶
type ModifyInstanceReadOnlyResponse struct { *tchttp.BaseResponse Response *struct { // Task ID TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 ProductConf ¶
type ProductConf struct { // Product type. Valid values: `2` (Redis 2.8 Memory Edition in standard architecture), `3` (CKV 3.2 Memory Edition in standard architecture), `4` (CKV 3.2 Memory Edition in cluster architecture), `5` (Redis 2.8 Memory Edition in standalone architecture), `6` (Redis 4.0 Memory Edition in standard architecture), `7` (Redis 4.0 Memory Edition in cluster architecture), `8` (Redis 5.0 Memory Edition in standard architecture), `9` (Redis 5.0 Memory Edition in cluster architecture), `10` (Redis 4.0 Hybrid Storage Edition (Tendis)). Type *int64 `json:"Type,omitempty" name:"Type"` // Product name: Redis Master-Replica Edition, CKV Master-Replica Edition, CKV Cluster Edition, Redis Standalone Edition, Redis Cluster Edition, Tendis Hybrid Storage Edition TypeName *string `json:"TypeName,omitempty" name:"TypeName"` // Minimum purchasable quantity MinBuyNum *int64 `json:"MinBuyNum,omitempty" name:"MinBuyNum"` // Maximum purchasable quantity MaxBuyNum *int64 `json:"MaxBuyNum,omitempty" name:"MaxBuyNum"` // Whether a product is sold out Saleout *bool `json:"Saleout,omitempty" name:"Saleout"` // Product engine: Tencent Cloud CKV or Redis community edition Engine *string `json:"Engine,omitempty" name:"Engine"` // Compatible version: Redis 2.8, Redis 3.2, or Redis 4.0 Version *string `json:"Version,omitempty" name:"Version"` // Total capacity in GB TotalSize []*string `json:"TotalSize,omitempty" name:"TotalSize"` // Shard size in GB ShardSize []*string `json:"ShardSize,omitempty" name:"ShardSize"` // Number of replicas ReplicaNum []*string `json:"ReplicaNum,omitempty" name:"ReplicaNum"` // Number of shards ShardNum []*string `json:"ShardNum,omitempty" name:"ShardNum"` // Supported billing method. 1: monthly subscription; 0: pay-as-you-go PayMode *string `json:"PayMode,omitempty" name:"PayMode"` // Whether to support read-only replicas EnableRepicaReadOnly *bool `json:"EnableRepicaReadOnly,omitempty" name:"EnableRepicaReadOnly"` }
type ProxyNodes ¶
type ProxyNodes struct { // Node ID // Note: This field may return `null`, indicating that no valid values can be obtained. NodeId *string `json:"NodeId,omitempty" name:"NodeId"` }
type RedisNodes ¶
type RedisNodes struct { // Node ID NodeId *string `json:"NodeId,omitempty" name:"NodeId"` // Node role NodeRole *string `json:"NodeRole,omitempty" name:"NodeRole"` // Shard ID ClusterId *int64 `json:"ClusterId,omitempty" name:"ClusterId"` // AZ ID ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"` }
type RegionConf ¶
type RegionConf struct { // Region ID RegionId *string `json:"RegionId,omitempty" name:"RegionId"` // Region name RegionName *string `json:"RegionName,omitempty" name:"RegionName"` // Region abbreviation RegionShortName *string `json:"RegionShortName,omitempty" name:"RegionShortName"` // Name of the area where a region is located Area *string `json:"Area,omitempty" name:"Area"` // AZ information ZoneSet []*ZoneCapacityConf `json:"ZoneSet,omitempty" name:"ZoneSet"` }
type ReleaseWanAddressRequest ¶
type ReleaseWanAddressRequest struct { *tchttp.BaseRequest // Instance ID. InstanceId *string `json:"InstanceId,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 ReleaseWanAddressResponse ¶
type ReleaseWanAddressResponse struct { *tchttp.BaseResponse Response *struct { // Async task ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // Status of disabling public network access WanStatus *string `json:"WanStatus,omitempty" name:"WanStatus"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `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 SourceCommand ¶
type SourceInfo ¶
type TendisNodes ¶
type ZoneCapacityConf ¶
type ZoneCapacityConf struct { // AZ ID, such as ap-guangzhou-3 ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // AZ name ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"` // Whether a product is sold out in an AZ IsSaleout *bool `json:"IsSaleout,omitempty" name:"IsSaleout"` // Whether it is a default AZ IsDefault *bool `json:"IsDefault,omitempty" name:"IsDefault"` // Network type. basenet: basic network; vpcnet: VPC NetWorkType []*string `json:"NetWorkType,omitempty" name:"NetWorkType"` // Information of an AZ, such as product specifications in it ProductSet []*ProductConf `json:"ProductSet,omitempty" name:"ProductSet"` // AZ ID, such as 100003 OldZoneId *int64 `json:"OldZoneId,omitempty" name:"OldZoneId"` }