Documentation ¶
Index ¶
- Constants
- type Account
- type ApplyParamsTemplateRequest
- type ApplyParamsTemplateResponse
- type AssociateSecurityGroupsRequest
- type AssociateSecurityGroupsResponse
- type BackupDownloadInfo
- type BigKeyInfo
- type BigKeyTypeInfo
- type ChangeReplicaToMasterRequest
- type ChangeReplicaToMasterResponse
- type CleanUpInstanceRequest
- type CleanUpInstanceResponse
- type ClearInstanceRequest
- type ClearInstanceResponse
- type Client
- func (c *Client) ApplyParamsTemplate(request *ApplyParamsTemplateRequest) (response *ApplyParamsTemplateResponse, err error)
- func (c *Client) ApplyParamsTemplateWithContext(ctx context.Context, request *ApplyParamsTemplateRequest) (response *ApplyParamsTemplateResponse, err error)
- func (c *Client) AssociateSecurityGroups(request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error)
- func (c *Client) AssociateSecurityGroupsWithContext(ctx context.Context, request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, 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) CleanUpInstance(request *CleanUpInstanceRequest) (response *CleanUpInstanceResponse, err error)
- func (c *Client) CleanUpInstanceWithContext(ctx context.Context, request *CleanUpInstanceRequest) (response *CleanUpInstanceResponse, err error)
- func (c *Client) ClearInstance(request *ClearInstanceRequest) (response *ClearInstanceResponse, err error)
- func (c *Client) ClearInstanceWithContext(ctx context.Context, request *ClearInstanceRequest) (response *ClearInstanceResponse, err error)
- func (c *Client) CreateInstanceAccount(request *CreateInstanceAccountRequest) (response *CreateInstanceAccountResponse, err error)
- func (c *Client) CreateInstanceAccountWithContext(ctx context.Context, request *CreateInstanceAccountRequest) (response *CreateInstanceAccountResponse, err error)
- func (c *Client) CreateInstances(request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)
- func (c *Client) CreateInstancesWithContext(ctx context.Context, request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)
- func (c *Client) CreateParamTemplate(request *CreateParamTemplateRequest) (response *CreateParamTemplateResponse, err error)
- func (c *Client) CreateParamTemplateWithContext(ctx context.Context, request *CreateParamTemplateRequest) (response *CreateParamTemplateResponse, err error)
- func (c *Client) DeleteInstanceAccount(request *DeleteInstanceAccountRequest) (response *DeleteInstanceAccountResponse, err error)
- func (c *Client) DeleteInstanceAccountWithContext(ctx context.Context, request *DeleteInstanceAccountRequest) (response *DeleteInstanceAccountResponse, err error)
- func (c *Client) DeleteParamTemplate(request *DeleteParamTemplateRequest) (response *DeleteParamTemplateResponse, err error)
- func (c *Client) DeleteParamTemplateWithContext(ctx context.Context, request *DeleteParamTemplateRequest) (response *DeleteParamTemplateResponse, err error)
- func (c *Client) DescribeAutoBackupConfig(request *DescribeAutoBackupConfigRequest) (response *DescribeAutoBackupConfigResponse, err error)
- func (c *Client) DescribeAutoBackupConfigWithContext(ctx context.Context, request *DescribeAutoBackupConfigRequest) (response *DescribeAutoBackupConfigResponse, err error)
- func (c *Client) DescribeBackupUrl(request *DescribeBackupUrlRequest) (response *DescribeBackupUrlResponse, err error)
- func (c *Client) DescribeBackupUrlWithContext(ctx context.Context, request *DescribeBackupUrlRequest) (response *DescribeBackupUrlResponse, err error)
- func (c *Client) DescribeCommonDBInstances(request *DescribeCommonDBInstancesRequest) (response *DescribeCommonDBInstancesResponse, err error)
- func (c *Client) DescribeCommonDBInstancesWithContext(ctx context.Context, request *DescribeCommonDBInstancesRequest) (response *DescribeCommonDBInstancesResponse, err error)
- func (c *Client) DescribeDBSecurityGroups(request *DescribeDBSecurityGroupsRequest) (response *DescribeDBSecurityGroupsResponse, err error)
- func (c *Client) DescribeDBSecurityGroupsWithContext(ctx context.Context, request *DescribeDBSecurityGroupsRequest) (response *DescribeDBSecurityGroupsResponse, 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) DescribeInstanceBackups(request *DescribeInstanceBackupsRequest) (response *DescribeInstanceBackupsResponse, err error)
- func (c *Client) DescribeInstanceBackupsWithContext(ctx context.Context, request *DescribeInstanceBackupsRequest) (response *DescribeInstanceBackupsResponse, err error)
- func (c *Client) DescribeInstanceDTSInfo(request *DescribeInstanceDTSInfoRequest) (response *DescribeInstanceDTSInfoResponse, err error)
- func (c *Client) DescribeInstanceDTSInfoWithContext(ctx context.Context, request *DescribeInstanceDTSInfoRequest) (response *DescribeInstanceDTSInfoResponse, err error)
- func (c *Client) DescribeInstanceDealDetail(request *DescribeInstanceDealDetailRequest) (response *DescribeInstanceDealDetailResponse, err error)
- func (c *Client) DescribeInstanceDealDetailWithContext(ctx context.Context, request *DescribeInstanceDealDetailRequest) (response *DescribeInstanceDealDetailResponse, err error)
- func (c *Client) DescribeInstanceMonitorBigKey(request *DescribeInstanceMonitorBigKeyRequest) (response *DescribeInstanceMonitorBigKeyResponse, err error)
- func (c *Client) DescribeInstanceMonitorBigKeySizeDist(request *DescribeInstanceMonitorBigKeySizeDistRequest) (response *DescribeInstanceMonitorBigKeySizeDistResponse, err error)
- func (c *Client) 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) DescribeInstanceParamRecords(request *DescribeInstanceParamRecordsRequest) (response *DescribeInstanceParamRecordsResponse, err error)
- func (c *Client) DescribeInstanceParamRecordsWithContext(ctx context.Context, request *DescribeInstanceParamRecordsRequest) (response *DescribeInstanceParamRecordsResponse, err error)
- func (c *Client) DescribeInstanceParams(request *DescribeInstanceParamsRequest) (response *DescribeInstanceParamsResponse, err error)
- func (c *Client) DescribeInstanceParamsWithContext(ctx context.Context, request *DescribeInstanceParamsRequest) (response *DescribeInstanceParamsResponse, err error)
- func (c *Client) DescribeInstanceSecurityGroup(request *DescribeInstanceSecurityGroupRequest) (response *DescribeInstanceSecurityGroupResponse, err error)
- func (c *Client) DescribeInstanceSecurityGroupWithContext(ctx context.Context, request *DescribeInstanceSecurityGroupRequest) (response *DescribeInstanceSecurityGroupResponse, err error)
- func (c *Client) DescribeInstanceShards(request *DescribeInstanceShardsRequest) (response *DescribeInstanceShardsResponse, err error)
- func (c *Client) DescribeInstanceShardsWithContext(ctx context.Context, request *DescribeInstanceShardsRequest) (response *DescribeInstanceShardsResponse, err error)
- func (c *Client) DescribeInstanceZoneInfo(request *DescribeInstanceZoneInfoRequest) (response *DescribeInstanceZoneInfoResponse, err error)
- func (c *Client) DescribeInstanceZoneInfoWithContext(ctx context.Context, request *DescribeInstanceZoneInfoRequest) (response *DescribeInstanceZoneInfoResponse, err error)
- func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
- func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *DescribeInstancesRequest) (response *DescribeInstancesResponse, 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) DescribeParamTemplateInfo(request *DescribeParamTemplateInfoRequest) (response *DescribeParamTemplateInfoResponse, err error)
- func (c *Client) DescribeParamTemplateInfoWithContext(ctx context.Context, request *DescribeParamTemplateInfoRequest) (response *DescribeParamTemplateInfoResponse, err error)
- func (c *Client) DescribeParamTemplates(request *DescribeParamTemplatesRequest) (response *DescribeParamTemplatesResponse, err error)
- func (c *Client) DescribeParamTemplatesWithContext(ctx context.Context, request *DescribeParamTemplatesRequest) (response *DescribeParamTemplatesResponse, 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) DescribeProjectSecurityGroup(request *DescribeProjectSecurityGroupRequest) (response *DescribeProjectSecurityGroupResponse, err error)
- func (c *Client) DescribeProjectSecurityGroupWithContext(ctx context.Context, request *DescribeProjectSecurityGroupRequest) (response *DescribeProjectSecurityGroupResponse, err error)
- func (c *Client) DescribeProjectSecurityGroups(request *DescribeProjectSecurityGroupsRequest) (response *DescribeProjectSecurityGroupsResponse, err error)
- func (c *Client) DescribeProjectSecurityGroupsWithContext(ctx context.Context, request *DescribeProjectSecurityGroupsRequest) (response *DescribeProjectSecurityGroupsResponse, err error)
- func (c *Client) DescribeProxySlowLog(request *DescribeProxySlowLogRequest) (response *DescribeProxySlowLogResponse, err error)
- func (c *Client) DescribeProxySlowLogWithContext(ctx context.Context, request *DescribeProxySlowLogRequest) (response *DescribeProxySlowLogResponse, 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) DescribeTaskInfo(request *DescribeTaskInfoRequest) (response *DescribeTaskInfoResponse, err error)
- func (c *Client) DescribeTaskInfoWithContext(ctx context.Context, request *DescribeTaskInfoRequest) (response *DescribeTaskInfoResponse, err error)
- func (c *Client) DescribeTaskList(request *DescribeTaskListRequest) (response *DescribeTaskListResponse, err error)
- func (c *Client) DescribeTaskListWithContext(ctx context.Context, request *DescribeTaskListRequest) (response *DescribeTaskListResponse, err error)
- func (c *Client) DescribeTendisSlowLog(request *DescribeTendisSlowLogRequest) (response *DescribeTendisSlowLogResponse, err error)
- func (c *Client) DescribeTendisSlowLogWithContext(ctx context.Context, request *DescribeTendisSlowLogRequest) (response *DescribeTendisSlowLogResponse, err error)
- func (c *Client) DestroyPostpaidInstance(request *DestroyPostpaidInstanceRequest) (response *DestroyPostpaidInstanceResponse, err error)
- func (c *Client) DestroyPostpaidInstanceWithContext(ctx context.Context, request *DestroyPostpaidInstanceRequest) (response *DestroyPostpaidInstanceResponse, err error)
- func (c *Client) DestroyPrepaidInstance(request *DestroyPrepaidInstanceRequest) (response *DestroyPrepaidInstanceResponse, err error)
- func (c *Client) DestroyPrepaidInstanceWithContext(ctx context.Context, request *DestroyPrepaidInstanceRequest) (response *DestroyPrepaidInstanceResponse, err error)
- func (c *Client) DisableReplicaReadonly(request *DisableReplicaReadonlyRequest) (response *DisableReplicaReadonlyResponse, err error)
- func (c *Client) DisableReplicaReadonlyWithContext(ctx context.Context, request *DisableReplicaReadonlyRequest) (response *DisableReplicaReadonlyResponse, err error)
- func (c *Client) DisassociateSecurityGroups(request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error)
- func (c *Client) DisassociateSecurityGroupsWithContext(ctx context.Context, request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error)
- func (c *Client) EnableReplicaReadonly(request *EnableReplicaReadonlyRequest) (response *EnableReplicaReadonlyResponse, err error)
- func (c *Client) EnableReplicaReadonlyWithContext(ctx context.Context, request *EnableReplicaReadonlyRequest) (response *EnableReplicaReadonlyResponse, 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) KillMasterGroup(request *KillMasterGroupRequest) (response *KillMasterGroupResponse, err error)
- func (c *Client) KillMasterGroupWithContext(ctx context.Context, request *KillMasterGroupRequest) (response *KillMasterGroupResponse, err error)
- func (c *Client) ManualBackupInstance(request *ManualBackupInstanceRequest) (response *ManualBackupInstanceResponse, err error)
- func (c *Client) ManualBackupInstanceWithContext(ctx context.Context, request *ManualBackupInstanceRequest) (response *ManualBackupInstanceResponse, 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) ModifyAutoBackupConfig(request *ModifyAutoBackupConfigRequest) (response *ModifyAutoBackupConfigResponse, err error)
- func (c *Client) ModifyAutoBackupConfigWithContext(ctx context.Context, request *ModifyAutoBackupConfigRequest) (response *ModifyAutoBackupConfigResponse, err error)
- func (c *Client) ModifyDBInstanceSecurityGroups(request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error)
- func (c *Client) ModifyDBInstanceSecurityGroupsWithContext(ctx context.Context, request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error)
- func (c *Client) ModifyInstance(request *ModifyInstanceRequest) (response *ModifyInstanceResponse, err error)
- func (c *Client) ModifyInstanceAccount(request *ModifyInstanceAccountRequest) (response *ModifyInstanceAccountResponse, err error)
- func (c *Client) ModifyInstanceAccountWithContext(ctx context.Context, request *ModifyInstanceAccountRequest) (response *ModifyInstanceAccountResponse, err error)
- func (c *Client) ModifyInstanceParams(request *ModifyInstanceParamsRequest) (response *ModifyInstanceParamsResponse, err error)
- func (c *Client) ModifyInstanceParamsWithContext(ctx context.Context, request *ModifyInstanceParamsRequest) (response *ModifyInstanceParamsResponse, err error)
- func (c *Client) ModifyInstanceWithContext(ctx context.Context, request *ModifyInstanceRequest) (response *ModifyInstanceResponse, err error)
- func (c *Client) ModifyMaintenanceWindow(request *ModifyMaintenanceWindowRequest) (response *ModifyMaintenanceWindowResponse, err error)
- func (c *Client) ModifyMaintenanceWindowWithContext(ctx context.Context, request *ModifyMaintenanceWindowRequest) (response *ModifyMaintenanceWindowResponse, err error)
- func (c *Client) ModifyNetworkConfig(request *ModifyNetworkConfigRequest) (response *ModifyNetworkConfigResponse, err error)
- func (c *Client) ModifyNetworkConfigWithContext(ctx context.Context, request *ModifyNetworkConfigRequest) (response *ModifyNetworkConfigResponse, err error)
- func (c *Client) ModifyParamTemplate(request *ModifyParamTemplateRequest) (response *ModifyParamTemplateResponse, err error)
- func (c *Client) ModifyParamTemplateWithContext(ctx context.Context, request *ModifyParamTemplateRequest) (response *ModifyParamTemplateResponse, err error)
- func (c *Client) RenewInstance(request *RenewInstanceRequest) (response *RenewInstanceResponse, err error)
- func (c *Client) RenewInstanceWithContext(ctx context.Context, request *RenewInstanceRequest) (response *RenewInstanceResponse, err error)
- func (c *Client) ResetPassword(request *ResetPasswordRequest) (response *ResetPasswordResponse, err error)
- func (c *Client) ResetPasswordWithContext(ctx context.Context, request *ResetPasswordRequest) (response *ResetPasswordResponse, err error)
- func (c *Client) RestoreInstance(request *RestoreInstanceRequest) (response *RestoreInstanceResponse, err error)
- func (c *Client) RestoreInstanceWithContext(ctx context.Context, request *RestoreInstanceRequest) (response *RestoreInstanceResponse, err error)
- func (c *Client) StartupInstance(request *StartupInstanceRequest) (response *StartupInstanceResponse, err error)
- func (c *Client) StartupInstanceWithContext(ctx context.Context, request *StartupInstanceRequest) (response *StartupInstanceResponse, err error)
- func (c *Client) SwitchInstanceVip(request *SwitchInstanceVipRequest) (response *SwitchInstanceVipResponse, err error)
- func (c *Client) SwitchInstanceVipWithContext(ctx context.Context, request *SwitchInstanceVipRequest) (response *SwitchInstanceVipResponse, err error)
- func (c *Client) UpgradeInstance(request *UpgradeInstanceRequest) (response *UpgradeInstanceResponse, err error)
- func (c *Client) UpgradeInstanceVersion(request *UpgradeInstanceVersionRequest) (response *UpgradeInstanceVersionResponse, err error)
- func (c *Client) UpgradeInstanceVersionWithContext(ctx context.Context, request *UpgradeInstanceVersionRequest) (response *UpgradeInstanceVersionResponse, err error)
- func (c *Client) UpgradeInstanceWithContext(ctx context.Context, request *UpgradeInstanceRequest) (response *UpgradeInstanceResponse, err error)
- func (c *Client) UpgradeVersionToMultiAvailabilityZones(request *UpgradeVersionToMultiAvailabilityZonesRequest) (response *UpgradeVersionToMultiAvailabilityZonesResponse, err error)
- func (c *Client) UpgradeVersionToMultiAvailabilityZonesWithContext(ctx context.Context, request *UpgradeVersionToMultiAvailabilityZonesRequest) (response *UpgradeVersionToMultiAvailabilityZonesResponse, err error)
- type CommandTake
- type CreateInstanceAccountRequest
- type CreateInstanceAccountResponse
- type CreateInstancesRequest
- type CreateInstancesResponse
- type CreateParamTemplateRequest
- type CreateParamTemplateResponse
- type DelayDistribution
- type DeleteInstanceAccountRequest
- type DeleteInstanceAccountResponse
- type DeleteParamTemplateRequest
- type DeleteParamTemplateResponse
- type DescribeAutoBackupConfigRequest
- type DescribeAutoBackupConfigResponse
- type DescribeBackupUrlRequest
- type DescribeBackupUrlResponse
- type DescribeCommonDBInstancesRequest
- type DescribeCommonDBInstancesResponse
- type DescribeDBSecurityGroupsRequest
- type DescribeDBSecurityGroupsResponse
- type DescribeInstanceAccountRequest
- type DescribeInstanceAccountResponse
- type DescribeInstanceBackupsRequest
- type DescribeInstanceBackupsResponse
- type DescribeInstanceDTSInfoRequest
- type DescribeInstanceDTSInfoResponse
- type DescribeInstanceDTSInstanceInfo
- type DescribeInstanceDealDetailRequest
- type DescribeInstanceDealDetailResponse
- type DescribeInstanceMonitorBigKeyRequest
- type DescribeInstanceMonitorBigKeyResponse
- type DescribeInstanceMonitorBigKeySizeDistRequest
- type DescribeInstanceMonitorBigKeySizeDistResponse
- type DescribeInstanceMonitorBigKeyTypeDistRequest
- type DescribeInstanceMonitorBigKeyTypeDistResponse
- type DescribeInstanceMonitorHotKeyRequest
- type DescribeInstanceMonitorHotKeyResponse
- type DescribeInstanceMonitorSIPRequest
- type DescribeInstanceMonitorSIPResponse
- type DescribeInstanceMonitorTookDistRequest
- type DescribeInstanceMonitorTookDistResponse
- type DescribeInstanceMonitorTopNCmdRequest
- type DescribeInstanceMonitorTopNCmdResponse
- type DescribeInstanceMonitorTopNCmdTookRequest
- type DescribeInstanceMonitorTopNCmdTookResponse
- type DescribeInstanceNodeInfoRequest
- type DescribeInstanceNodeInfoResponse
- type DescribeInstanceParamRecordsRequest
- type DescribeInstanceParamRecordsResponse
- type DescribeInstanceParamsRequest
- type DescribeInstanceParamsResponse
- type DescribeInstanceSecurityGroupRequest
- type DescribeInstanceSecurityGroupResponse
- type DescribeInstanceShardsRequest
- type DescribeInstanceShardsResponse
- type DescribeInstanceZoneInfoRequest
- type DescribeInstanceZoneInfoResponse
- type DescribeInstancesRequest
- type DescribeInstancesResponse
- type DescribeMaintenanceWindowRequest
- type DescribeMaintenanceWindowResponse
- type DescribeParamTemplateInfoRequest
- type DescribeParamTemplateInfoResponse
- type DescribeParamTemplatesRequest
- type DescribeParamTemplatesResponse
- type DescribeProductInfoRequest
- type DescribeProductInfoResponse
- type DescribeProjectSecurityGroupRequest
- type DescribeProjectSecurityGroupResponse
- type DescribeProjectSecurityGroupsRequest
- type DescribeProjectSecurityGroupsResponse
- type DescribeProxySlowLogRequest
- type DescribeProxySlowLogResponse
- type DescribeSlowLogRequest
- type DescribeSlowLogResponse
- type DescribeTaskInfoRequest
- type DescribeTaskInfoResponse
- type DescribeTaskListRequest
- type DescribeTaskListResponse
- type DescribeTendisSlowLogRequest
- type DescribeTendisSlowLogResponse
- type DestroyPostpaidInstanceRequest
- type DestroyPostpaidInstanceResponse
- type DestroyPrepaidInstanceRequest
- type DestroyPrepaidInstanceResponse
- type DisableReplicaReadonlyRequest
- type DisableReplicaReadonlyResponse
- type DisassociateSecurityGroupsRequest
- type DisassociateSecurityGroupsResponse
- type EnableReplicaReadonlyRequest
- type EnableReplicaReadonlyResponse
- type HotKeyInfo
- type Inbound
- type InquiryPriceCreateInstanceRequest
- type InquiryPriceCreateInstanceResponse
- type InquiryPriceUpgradeInstanceRequest
- type InquiryPriceUpgradeInstanceResponse
- type InstanceClusterNode
- type InstanceClusterShard
- type InstanceEnumParam
- type InstanceIntegerParam
- type InstanceMultiParam
- type InstanceNode
- type InstanceParam
- type InstanceParamHistory
- type InstanceProxySlowlogDetail
- type InstanceSecurityGroupDetail
- type InstanceSet
- type InstanceSlowlogDetail
- type InstanceTagInfo
- type InstanceTextParam
- type KillMasterGroupRequest
- type KillMasterGroupResponse
- type ManualBackupInstanceRequest
- type ManualBackupInstanceResponse
- type ModfiyInstancePasswordRequest
- type ModfiyInstancePasswordResponse
- type ModifyAutoBackupConfigRequest
- type ModifyAutoBackupConfigResponse
- type ModifyDBInstanceSecurityGroupsRequest
- type ModifyDBInstanceSecurityGroupsResponse
- type ModifyInstanceAccountRequest
- type ModifyInstanceAccountResponse
- type ModifyInstanceParamsRequest
- type ModifyInstanceParamsResponse
- type ModifyInstanceRequest
- type ModifyInstanceResponse
- type ModifyMaintenanceWindowRequest
- type ModifyMaintenanceWindowResponse
- type ModifyNetworkConfigRequest
- type ModifyNetworkConfigResponse
- type ModifyParamTemplateRequest
- type ModifyParamTemplateResponse
- type Outbound
- type ParamTemplateInfo
- type ParameterDetail
- type ProductConf
- type ProxyNodes
- type RedisBackupSet
- type RedisCommonInstanceList
- type RedisNode
- type RedisNodeInfo
- type RedisNodes
- type RegionConf
- type RenewInstanceRequest
- type RenewInstanceResponse
- type ReplicaGroup
- type ResetPasswordRequest
- type ResetPasswordResponse
- type ResourceTag
- type RestoreInstanceRequest
- type RestoreInstanceResponse
- type SecurityGroup
- type SecurityGroupDetail
- type SecurityGroupsInboundAndOutbound
- type SourceCommand
- type SourceInfo
- type StartupInstanceRequest
- type StartupInstanceResponse
- type SwitchInstanceVipRequest
- type SwitchInstanceVipResponse
- type TaskInfoDetail
- type TendisNodes
- type TendisSlowLogDetail
- type TradeDealDetail
- type UpgradeInstanceRequest
- type UpgradeInstanceResponse
- type UpgradeInstanceVersionRequest
- type UpgradeInstanceVersionResponse
- type UpgradeVersionToMultiAvailabilityZonesRequest
- type UpgradeVersionToMultiAvailabilityZonesResponse
- type ZoneCapacityConf
Constants ¶
const ( // CAM signature/authentication error. AUTHFAILURE = "AuthFailure" // Invalid authorization. AUTHFAILURE_INVALIDAUTHORIZATION = "AuthFailure.InvalidAuthorization" // Failed to add the security group information of an instance. FAILEDOPERATION_ADDINSTANCEINFOFAILED = "FailedOperation.AddInstanceInfoFailed" // Failed to associate the security group. FAILEDOPERATION_ASSOCIATESECURITYGROUPSFAILED = "FailedOperation.AssociateSecurityGroupsFailed" // Failed to clear the security group information of an instance. FAILEDOPERATION_CLEARINSTANCEINFOFAILED = "FailedOperation.ClearInstanceInfoFailed" // Failed to submit the task. FAILEDOPERATION_COMMITFLOWERROR = "FailedOperation.CommitFlowError" // Failed to unassociate the security group. FAILEDOPERATION_DISASSOCIATESECURITYGROUPSFAILED = "FailedOperation.DisassociateSecurityGroupsFailed" // This operation is not allowed under the current DTS state. FAILEDOPERATION_DTSSTATUSABNORMAL = "FailedOperation.DtsStatusAbnormal" // No process exists. FAILEDOPERATION_FLOWNOTEXISTS = "FailedOperation.FlowNotExists" // Failed to query the security group details. Please 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 a 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 an instance. FAILEDOPERATION_UPDATEINSTANCEINFOFAILED = "FailedOperation.UpdateInstanceInfoFailed" // Failed to update the security group. FAILEDOPERATION_UPDATESECURITYGROUPSFAILED = "FailedOperation.UpdateSecurityGroupsFailed" // CAM authentication error. 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. Please try again later. INTERNALERROR_EXECHTTPREQUESTERROR = "InternalError.ExecHttpRequestError" // Internal error. INTERNALERROR_INTERNALERROR = "InternalError.InternalError" // An error occurred while obtaining the instance list. Please try again later. INTERNALERROR_LISTINSTANCESERROR = "InternalError.ListInstancesError" // Network error INTERNALERROR_NETWORKERR = "InternalError.NetWorkErr" // 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 operation is unsupported due to incorrect parameters. INVALIDPARAMETER_NOTSUPPORTED = "InvalidParameter.NotSupported" // Only VPCs are provided in the Shanghai Finance AZ. INVALIDPARAMETER_ONLYVPCONSPECZONEID = "InvalidParameter.OnlyVPCOnSpecZoneId" // Invalid time format or time range INVALIDPARAMETER_PERIOD = "InvalidParameter.Period" // The API has no CAM permissions. INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" // Invalid parameter value. INVALIDPARAMETERVALUE = "InvalidParameterValue" // The backup does not exist. INVALIDPARAMETERVALUE_BACKUPNOTEXISTS = "InvalidParameterValue.BackupNotExists" // The instance is not in a VPC. INVALIDPARAMETERVALUE_BASENETWORKACCESSDENY = "InvalidParameterValue.BaseNetWorkAccessDeny" // Incorrect type of instances requested for purchase (TypeId - 1: cluster edition; 2: primary-secondary edition, i.e., the legacy primary-secondary edition). INVALIDPARAMETERVALUE_INVALIDINSTANCETYPEID = "InvalidParameterValue.InvalidInstanceTypeId" // In a VPC, vpcid or subnet ID is invalid. INVALIDPARAMETERVALUE_INVALIDSUBNETID = "InvalidParameterValue.InvalidSubnetId" // The requested capacity is out of the purchasable capacity range. INVALIDPARAMETERVALUE_MEMSIZENOTINRANGE = "InvalidParameterValue.MemSizeNotInRange" // The password is empty. INVALIDPARAMETERVALUE_PASSWORDEMPTY = "InvalidParameterValue.PasswordEmpty" // Password verification error due to incorrect password. INVALIDPARAMETERVALUE_PASSWORDERROR = "InvalidParameterValue.PasswordError" // 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" // Incorrect request parameter or security group ID. INVALIDPARAMETERVALUE_SECURITYGROUPIDSNOTEXISTS = "InvalidParameterValue.SecurityGroupIdsNotExists" // The instance specification does not exist. INVALIDPARAMETERVALUE_SPECNOTEXIST = "InvalidParameterValue.SpecNotExist" // The instance type is not supported. INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType" // Invalid VPC subnet ID of `uniqVpcId`. INVALIDPARAMETERVALUE_UNVPCIDNOTEXISTS = "InvalidParameterValue.UnVpcIdNotExists" // Invalid data is entered for weekday. INVALIDPARAMETERVALUE_WEEKDAYSISINVALID = "InvalidParameterValue.WeekDaysIsInvalid" // 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 3 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 instance is locked by another process. RESOURCEINUSE_INSTANCEBEENLOCKED = "ResourceInUse.InstanceBeenLocked" // The uin value is blank. RESOURCENOTFOUND_ACCOUNTDOESNOTEXISTS = "ResourceNotFound.AccountDoesNotExists" // No Redis instance is found by the serialId. RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists" // Instance not found. RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound" // The request order number does not exist. RESOURCEUNAVAILABLE_ACCOUNTBALANCENOTENOUGH = "ResourceUnavailable.AccountBalanceNotEnough" // The backup has been locked by another task, and the operation cannot be performed temporarily. RESOURCEUNAVAILABLE_BACKUPLOCKEDERROR = "ResourceUnavailable.BackupLockedError" // Backup status exception. The operation cannot be performed temporarily. The backup may have expired or been deleted. RESOURCEUNAVAILABLE_BACKUPSTATUSABNORMAL = "ResourceUnavailable.BackupStatusAbnormal" // Failed to call the backend API. RESOURCEUNAVAILABLE_CALLOSSERROR = "ResourceUnavailable.CallOssError" // Failed to get the security group information. RESOURCEUNAVAILABLE_GETSECURITYERROR = "ResourceUnavailable.GetSecurityError" // Instance configuration error. 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" // Insufficient IP resources in the VPC. RESOURCEUNAVAILABLE_NOENOUGHVIPINVPC = "ResourceUnavailable.NoEnoughVipInVPC" // The requested region currently does not provide the Redis service. RESOURCEUNAVAILABLE_NOREDISSERVICE = "ResourceUnavailable.NoRedisService" // The requested region currently does not provide the requested type of Redis service. RESOURCEUNAVAILABLE_NOTYPEIDREDISSERVICE = "ResourceUnavailable.NoTypeIdRedisService" // The product has not been connected to any security group. RESOURCEUNAVAILABLE_SECURITYGROUPNOTSUPPORTED = "ResourceUnavailable.SecurityGroupNotSupported" // Unauthorized operation. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // 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" // Auto-renewal flag error. UNSUPPORTEDOPERATION_ISAUTORENEWERROR = "UnsupportedOperation.IsAutoRenewError" // Only cluster edition instances support backup exporting. UNSUPPORTEDOPERATION_ONLYCLUSTERINSTANCECANEXPORTBACKUP = "UnsupportedOperation.OnlyClusterInstanceCanExportBackup" )
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 ApplyParamsTemplateRequest ¶
type ApplyParamsTemplateRequest struct { *tchttp.BaseRequest // Instance ID list InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // The ID of the parameter template to be applied TemplateId *string `json:"TemplateId,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 ApplyParamsTemplateResponse ¶
type ApplyParamsTemplateResponse struct { *tchttp.BaseResponse Response *struct { // Task ID TaskIds []*int64 `json:"TaskIds,omitempty" name:"TaskIds"` // 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 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 AssociateSecurityGroupsRequest ¶
type AssociateSecurityGroupsRequest struct { *tchttp.BaseRequest // Database engine name: mariadb, cdb, cynosdb, dcdb, redis, mongodb, etc. Product *string `json:"Product,omitempty" name:"Product"` // ID of the security group to be associated in the format of sg-efil73jd. SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // ID(s) of the instance(s) to be associated in the format of ins-lesecurk. You can specify multiple instances. InstanceIds []*string `json:"InstanceIds,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 AssociateSecurityGroupsResponse ¶
type AssociateSecurityGroupsResponse struct { *tchttp.BaseResponse Response *struct { // 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 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 BackupDownloadInfo ¶
type BackupDownloadInfo struct { // Backup file name FileName *string `json:"FileName,omitempty" name:"FileName"` // Backup file size in bytes. If the parameter value is `0`, the backup file size is unknown. FileSize *uint64 `json:"FileSize,omitempty" name:"FileSize"` // Address (valid for 6 hours) used to download the backup file over a public network DownloadUrl *string `json:"DownloadUrl,omitempty" name:"DownloadUrl"` // Address (valid for 6 hours) used to download the backup file over a private network InnerDownloadUrl *string `json:"InnerDownloadUrl,omitempty" name:"InnerDownloadUrl"` }
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 ID 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 CleanUpInstanceRequest ¶
type CleanUpInstanceRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,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 CleanUpInstanceResponse ¶
type CleanUpInstanceResponse 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 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 ClearInstanceRequest ¶
type ClearInstanceRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Redis instance password (this parameter is not required for password-free instances but for password-enabled instances) Password *string `json:"Password,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 ClearInstanceResponse ¶
type ClearInstanceResponse 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 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 Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) ApplyParamsTemplate ¶
func (c *Client) ApplyParamsTemplate(request *ApplyParamsTemplateRequest) (response *ApplyParamsTemplateResponse, err error)
ApplyParamsTemplate This API is used to apply a parameter template to instances.
error code that may be returned:
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists" RESOURCEUNAVAILABLE_CALLOSSERROR = "ResourceUnavailable.CallOssError" RESOURCEUNAVAILABLE_INSTANCECONFERROR = "ResourceUnavailable.InstanceConfError" RESOURCEUNAVAILABLE_INSTANCELOCKEDERROR = "ResourceUnavailable.InstanceLockedError" RESOURCEUNAVAILABLE_INSTANCESTATEERROR = "ResourceUnavailable.InstanceStateError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed" UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
func (*Client) ApplyParamsTemplateWithContext ¶
func (c *Client) ApplyParamsTemplateWithContext(ctx context.Context, request *ApplyParamsTemplateRequest) (response *ApplyParamsTemplateResponse, err error)
ApplyParamsTemplate This API is used to apply a parameter template to instances.
error code that may be returned:
FAILEDOPERATION_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 associate a security group with instances in batches.
error code that may be returned:
FAILEDOPERATION_ADDINSTANCEINFOFAILED = "FailedOperation.AddInstanceInfoFailed" FAILEDOPERATION_ASSOCIATESECURITYGROUPSFAILED = "FailedOperation.AssociateSecurityGroupsFailed" FAILEDOPERATION_CLEARINSTANCEINFOFAILED = "FailedOperation.ClearInstanceInfoFailed" FAILEDOPERATION_DISASSOCIATESECURITYGROUPSFAILED = "FailedOperation.DisassociateSecurityGroupsFailed" FAILEDOPERATION_UPDATESECURITYGROUPSFAILED = "FailedOperation.UpdateSecurityGroupsFailed"
func (*Client) AssociateSecurityGroupsWithContext ¶
func (c *Client) AssociateSecurityGroupsWithContext(ctx context.Context, request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error)
AssociateSecurityGroups This API is used to associate a security group with instances in batches.
error code that may be returned:
FAILEDOPERATION_ADDINSTANCEINFOFAILED = "FailedOperation.AddInstanceInfoFailed" FAILEDOPERATION_ASSOCIATESECURITYGROUPSFAILED = "FailedOperation.AssociateSecurityGroupsFailed" FAILEDOPERATION_CLEARINSTANCEINFOFAILED = "FailedOperation.ClearInstanceInfoFailed" FAILEDOPERATION_DISASSOCIATESECURITYGROUPSFAILED = "FailedOperation.DisassociateSecurityGroupsFailed" FAILEDOPERATION_UPDATESECURITYGROUPSFAILED = "FailedOperation.UpdateSecurityGroupsFailed"
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) CleanUpInstance ¶
func (c *Client) CleanUpInstance(request *CleanUpInstanceRequest) (response *CleanUpInstanceResponse, err error)
CleanUpInstance This API is used to deactivate an instance in the recycle bin immediately.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
func (*Client) CleanUpInstanceWithContext ¶
func (c *Client) CleanUpInstanceWithContext(ctx context.Context, request *CleanUpInstanceRequest) (response *CleanUpInstanceResponse, err error)
CleanUpInstance This API is used to deactivate an instance in the recycle bin immediately.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
func (*Client) ClearInstance ¶
func (c *Client) ClearInstance(request *ClearInstanceRequest) (response *ClearInstanceResponse, err error)
ClearInstance This API is used to clear the data of a Redis instance.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" INVALIDPARAMETERVALUE_PASSWORDEMPTY = "InvalidParameterValue.PasswordEmpty" INVALIDPARAMETERVALUE_PASSWORDERROR = "InvalidParameterValue.PasswordError" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
func (*Client) ClearInstanceWithContext ¶
func (c *Client) ClearInstanceWithContext(ctx context.Context, request *ClearInstanceRequest) (response *ClearInstanceResponse, err error)
ClearInstance This API is used to clear the data of a Redis instance.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" INVALIDPARAMETERVALUE_PASSWORDEMPTY = "InvalidParameterValue.PasswordEmpty" INVALIDPARAMETERVALUE_PASSWORDERROR = "InvalidParameterValue.PasswordError" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
func (*Client) CreateInstanceAccount ¶
func (c *Client) CreateInstanceAccount(request *CreateInstanceAccountRequest) (response *CreateInstanceAccountResponse, err error)
CreateInstanceAccount This API is used to create an instance sub-account.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed" UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
func (*Client) CreateInstanceAccountWithContext ¶
func (c *Client) CreateInstanceAccountWithContext(ctx context.Context, request *CreateInstanceAccountRequest) (response *CreateInstanceAccountResponse, err error)
CreateInstanceAccount This API is used to create an instance sub-account.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" 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 Redis instances.
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_INVALIDMEMSIZE = "LimitExceeded.InvalidMemSize" LIMITEXCEEDED_INVALIDPARAMETERGOODSNUMNOTINRANGE = "LimitExceeded.InvalidParameterGoodsNumNotInRange" LIMITEXCEEDED_PERIODEXCEEDMAXLIMIT = "LimitExceeded.PeriodExceedMaxLimit" LIMITEXCEEDED_PERIODLESSTHANMINLIMIT = "LimitExceeded.PeriodLessThanMinLimit" RESOURCENOTFOUND_ACCOUNTDOESNOTEXISTS = "ResourceNotFound.AccountDoesNotExists" RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists" RESOURCEUNAVAILABLE_INSTANCEDELETED = "ResourceUnavailable.InstanceDeleted" RESOURCEUNAVAILABLE_NOENOUGHVIPINVPC = "ResourceUnavailable.NoEnoughVipInVPC" RESOURCEUNAVAILABLE_NOREDISSERVICE = "ResourceUnavailable.NoRedisService" RESOURCEUNAVAILABLE_NOTYPEIDREDISSERVICE = "ResourceUnavailable.NoTypeIdRedisService" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed" UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
func (*Client) CreateInstancesWithContext ¶
func (c *Client) CreateInstancesWithContext(ctx context.Context, request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)
CreateInstances This API is used to create Redis instances.
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_INVALIDMEMSIZE = "LimitExceeded.InvalidMemSize" LIMITEXCEEDED_INVALIDPARAMETERGOODSNUMNOTINRANGE = "LimitExceeded.InvalidParameterGoodsNumNotInRange" LIMITEXCEEDED_PERIODEXCEEDMAXLIMIT = "LimitExceeded.PeriodExceedMaxLimit" LIMITEXCEEDED_PERIODLESSTHANMINLIMIT = "LimitExceeded.PeriodLessThanMinLimit" RESOURCENOTFOUND_ACCOUNTDOESNOTEXISTS = "ResourceNotFound.AccountDoesNotExists" RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists" RESOURCEUNAVAILABLE_INSTANCEDELETED = "ResourceUnavailable.InstanceDeleted" RESOURCEUNAVAILABLE_NOENOUGHVIPINVPC = "ResourceUnavailable.NoEnoughVipInVPC" RESOURCEUNAVAILABLE_NOREDISSERVICE = "ResourceUnavailable.NoRedisService" RESOURCEUNAVAILABLE_NOTYPEIDREDISSERVICE = "ResourceUnavailable.NoTypeIdRedisService" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed" UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
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" 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" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed" UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
func (*Client) DeleteInstanceAccount ¶
func (c *Client) DeleteInstanceAccount(request *DeleteInstanceAccountRequest) (response *DeleteInstanceAccountResponse, err error)
DeleteInstanceAccount This API is used to delete an instance sub-account.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed" UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
func (*Client) DeleteInstanceAccountWithContext ¶
func (c *Client) DeleteInstanceAccountWithContext(ctx context.Context, request *DeleteInstanceAccountRequest) (response *DeleteInstanceAccountResponse, err error)
DeleteInstanceAccount This API is used to delete an instance sub-account.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" 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" 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" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed" UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
func (*Client) DescribeAutoBackupConfig ¶
func (c *Client) DescribeAutoBackupConfig(request *DescribeAutoBackupConfigRequest) (response *DescribeAutoBackupConfigResponse, err error)
DescribeAutoBackupConfig This API is used to get the backup configuration.
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 backup configuration.
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) 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 (it is during beta test and can be used only after you apply for the eligibility).
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" 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 (it is during beta test and can be used only after you apply for the eligibility).
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" UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList" UNSUPPORTEDOPERATION_CLUSTERINSTANCEACCESSEDDENY = "UnsupportedOperation.ClusterInstanceAccessedDeny" UNSUPPORTEDOPERATION_ISAUTORENEWERROR = "UnsupportedOperation.IsAutoRenewError" UNSUPPORTEDOPERATION_ONLYCLUSTERINSTANCECANEXPORTBACKUP = "UnsupportedOperation.OnlyClusterInstanceCanExportBackup"
func (*Client) DescribeCommonDBInstances ¶
func (c *Client) DescribeCommonDBInstances(request *DescribeCommonDBInstancesRequest) (response *DescribeCommonDBInstancesResponse, err error)
DescribeCommonDBInstances (Disused) Queries the list of instances
error code that may be returned:
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 (Disused) Queries the list of instances
error code that may be returned:
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_ILLEGALPARAMETERERROR = "InvalidParameter.IllegalParameterError" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) DescribeDBSecurityGroupsWithContext ¶
func (c *Client) DescribeDBSecurityGroupsWithContext(ctx context.Context, request *DescribeDBSecurityGroupsRequest) (response *DescribeDBSecurityGroupsResponse, err error)
DescribeDBSecurityGroups This API is used to query the security group details of an instance.
error code that may be returned:
FAILEDOPERATION_ADDINSTANCEINFOFAILED = "FailedOperation.AddInstanceInfoFailed" FAILEDOPERATION_ASSOCIATESECURITYGROUPSFAILED = "FailedOperation.AssociateSecurityGroupsFailed" FAILEDOPERATION_CLEARINSTANCEINFOFAILED = "FailedOperation.ClearInstanceInfoFailed" FAILEDOPERATION_DISASSOCIATESECURITYGROUPSFAILED = "FailedOperation.DisassociateSecurityGroupsFailed" FAILEDOPERATION_GETSECURITYGROUPDETAILFAILED = "FailedOperation.GetSecurityGroupDetailFailed" INTERNALERROR_CAMAUTHOSSRESPONSERETURNCODEERROR = "InternalError.CamAuthOssResponseReturnCodeError" INTERNALERROR_EXECHTTPREQUESTERROR = "InternalError.ExecHttpRequestError" INTERNALERROR_LISTINSTANCESERROR = "InternalError.ListInstancesError" INTERNALERROR_NETWORKERR = "InternalError.NetWorkErr" INVALIDPARAMETER_ILLEGALPARAMETERERROR = "InvalidParameter.IllegalParameterError" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
func (*Client) DescribeInstanceAccount ¶
func (c *Client) DescribeInstanceAccount(request *DescribeInstanceAccountRequest) (response *DescribeInstanceAccountResponse, err error)
DescribeInstanceAccount This API is used to view instance sub-account information.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" 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" 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 list of Redis instance backups.
error code that may be returned:
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
func (*Client) DescribeInstanceBackupsWithContext ¶
func (c *Client) DescribeInstanceBackupsWithContext(ctx context.Context, request *DescribeInstanceBackupsRequest) (response *DescribeInstanceBackupsResponse, err error)
DescribeInstanceBackups This API is used to query the list of Redis instance backups.
error code that may be returned:
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
func (*Client) DescribeInstanceDTSInfo ¶
func (c *Client) DescribeInstanceDTSInfo(request *DescribeInstanceDTSInfoRequest) (response *DescribeInstanceDTSInfoResponse, err error)
DescribeInstanceDTSInfo This API is used to query the DTS task details of an instance.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
func (*Client) DescribeInstanceDTSInfoWithContext ¶
func (c *Client) DescribeInstanceDTSInfoWithContext(ctx context.Context, request *DescribeInstanceDTSInfoRequest) (response *DescribeInstanceDTSInfoResponse, err error)
DescribeInstanceDTSInfo This API is used to query the DTS task details of an instance.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
func (*Client) DescribeInstanceDealDetail ¶
func (c *Client) DescribeInstanceDealDetail(request *DescribeInstanceDealDetailRequest) (response *DescribeInstanceDealDetailResponse, err error)
DescribeInstanceDealDetail This API is used to query the order information.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" RESOURCEUNAVAILABLE_INSTANCECONFERROR = "ResourceUnavailable.InstanceConfError"
func (*Client) DescribeInstanceDealDetailWithContext ¶
func (c *Client) DescribeInstanceDealDetailWithContext(ctx context.Context, request *DescribeInstanceDealDetailRequest) (response *DescribeInstanceDealDetailResponse, err error)
DescribeInstanceDealDetail This API is used to query the order information.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" RESOURCEUNAVAILABLE_INSTANCECONFERROR = "ResourceUnavailable.InstanceConfError"
func (*Client) DescribeInstanceMonitorBigKey ¶
func (c *Client) DescribeInstanceMonitorBigKey(request *DescribeInstanceMonitorBigKeyRequest) (response *DescribeInstanceMonitorBigKeyResponse, err error)
DescribeInstanceMonitorBigKey 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) 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" 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" 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 list of instance parameters.
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 list of instance parameters.
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"
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"
func (*Client) DescribeInstanceShards ¶
func (c *Client) DescribeInstanceShards(request *DescribeInstanceShardsRequest) (response *DescribeInstanceShardsResponse, err error)
DescribeInstanceShards This API is used to get the information of cluster edition instance shards.
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 information of cluster edition instance shards.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType"
func (*Client) DescribeInstanceZoneInfo ¶
func (c *Client) DescribeInstanceZoneInfo(request *DescribeInstanceZoneInfoRequest) (response *DescribeInstanceZoneInfoResponse, err error)
DescribeInstanceZoneInfo This API is used to query Redis node information.
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 Redis node information.
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"
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"
func (*Client) DescribeMaintenanceWindow ¶
func (c *Client) DescribeMaintenanceWindow(request *DescribeMaintenanceWindowRequest) (response *DescribeMaintenanceWindowResponse, err error)
DescribeMaintenanceWindow This API is used to query instance maintenance window. The maintenance window specifies a time period during which compatible version upgrade, architecture upgrade, backend maintenance, and other operations can be performed to avoid affecting business.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed" UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList" UNSUPPORTEDOPERATION_CLUSTERINSTANCEACCESSEDDENY = "UnsupportedOperation.ClusterInstanceAccessedDeny"
func (*Client) DescribeMaintenanceWindowWithContext ¶
func (c *Client) DescribeMaintenanceWindowWithContext(ctx context.Context, request *DescribeMaintenanceWindowRequest) (response *DescribeMaintenanceWindowResponse, err error)
DescribeMaintenanceWindow This API is used to query instance maintenance window. The maintenance window specifies a time period during which compatible version upgrade, architecture upgrade, backend maintenance, and other operations can be performed to avoid affecting business.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed" UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList" UNSUPPORTEDOPERATION_CLUSTERINSTANCEACCESSEDDENY = "UnsupportedOperation.ClusterInstanceAccessedDeny"
func (*Client) DescribeParamTemplateInfo ¶
func (c *Client) DescribeParamTemplateInfo(request *DescribeParamTemplateInfoRequest) (response *DescribeParamTemplateInfoResponse, err error)
DescribeParamTemplateInfo This API is used to query parameter template details.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INVALIDPARAMETER = "InvalidParameter" 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 parameter template details.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INVALIDPARAMETER = "InvalidParameter" 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" 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" 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 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) DescribeProjectSecurityGroup ¶
func (c *Client) DescribeProjectSecurityGroup(request *DescribeProjectSecurityGroupRequest) (response *DescribeProjectSecurityGroupResponse, err error)
DescribeProjectSecurityGroup This API is used to query the security group information of a project.
error code that may be returned:
INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" RESOURCEUNAVAILABLE_GETSECURITYERROR = "ResourceUnavailable.GetSecurityError" RESOURCEUNAVAILABLE_SECURITYGROUPNOTSUPPORTED = "ResourceUnavailable.SecurityGroupNotSupported" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed" UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
func (*Client) DescribeProjectSecurityGroupWithContext ¶
func (c *Client) DescribeProjectSecurityGroupWithContext(ctx context.Context, request *DescribeProjectSecurityGroupRequest) (response *DescribeProjectSecurityGroupResponse, err error)
DescribeProjectSecurityGroup This API is used to query the security group information of a project.
error code that may be returned:
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"
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"
func (*Client) DescribeProxySlowLog ¶
func (c *Client) DescribeProxySlowLog(request *DescribeProxySlowLogRequest) (response *DescribeProxySlowLogResponse, err error)
DescribeProxySlowLog This API is used to query proxy slow logs.
error code that may be returned:
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 proxy slow logs.
error code that may be returned:
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) 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) DescribeTaskInfo ¶
func (c *Client) DescribeTaskInfo(request *DescribeTaskInfoRequest) (response *DescribeTaskInfoResponse, err error)
DescribeTaskInfo This API is used to query a task result.
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 query a task result.
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 list of tasks.
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 list of tasks.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
func (*Client) DescribeTendisSlowLog ¶
func (c *Client) DescribeTendisSlowLog(request *DescribeTendisSlowLogRequest) (response *DescribeTendisSlowLogResponse, err error)
DescribeTendisSlowLog This API is used to query slow queries of a TencentDB for Tendis instance.
error code that may be returned:
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
func (*Client) DescribeTendisSlowLogWithContext ¶
func (c *Client) DescribeTendisSlowLogWithContext(ctx context.Context, request *DescribeTendisSlowLogRequest) (response *DescribeTendisSlowLogResponse, err error)
DescribeTendisSlowLog This API is used to query slow queries of a TencentDB for Tendis instance.
error code that may be returned:
FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied"
func (*Client) DestroyPostpaidInstance ¶
func (c *Client) DestroyPostpaidInstance(request *DestroyPostpaidInstanceRequest) (response *DestroyPostpaidInstanceResponse, err error)
DestroyPostpaidInstance This API is used to terminate a pay-as-you-go instance.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType" RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists" RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed" UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
func (*Client) DestroyPostpaidInstanceWithContext ¶
func (c *Client) DestroyPostpaidInstanceWithContext(ctx context.Context, request *DestroyPostpaidInstanceRequest) (response *DestroyPostpaidInstanceResponse, err error)
DestroyPostpaidInstance This API is used to terminate a pay-as-you-go instance.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType" RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists" RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed" UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
func (*Client) DestroyPrepaidInstance ¶
func (c *Client) DestroyPrepaidInstance(request *DestroyPrepaidInstanceRequest) (response *DestroyPrepaidInstanceResponse, err error)
DestroyPrepaidInstance This API is used to return a monthly subscribed instance.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType" RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists" RESOURCEUNAVAILABLE_INSTANCEDELETED = "ResourceUnavailable.InstanceDeleted" RESOURCEUNAVAILABLE_INSTANCEISOLATED = "ResourceUnavailable.InstanceIsolated" RESOURCEUNAVAILABLE_INSTANCENODEAL = "ResourceUnavailable.InstanceNoDeal" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
func (*Client) DestroyPrepaidInstanceWithContext ¶
func (c *Client) DestroyPrepaidInstanceWithContext(ctx context.Context, request *DestroyPrepaidInstanceRequest) (response *DestroyPrepaidInstanceResponse, err error)
DestroyPrepaidInstance This API is used to return a monthly subscribed instance.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType" RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists" RESOURCEUNAVAILABLE_INSTANCEDELETED = "ResourceUnavailable.InstanceDeleted" RESOURCEUNAVAILABLE_INSTANCEISOLATED = "ResourceUnavailable.InstanceIsolated" RESOURCEUNAVAILABLE_INSTANCENODEAL = "ResourceUnavailable.InstanceNoDeal" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
func (*Client) DisableReplicaReadonly ¶
func (c *Client) DisableReplicaReadonly(request *DisableReplicaReadonlyRequest) (response *DisableReplicaReadonlyResponse, err error)
DisableReplicaReadonly This API is used to disable read/write separation.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" RESOURCEUNAVAILABLE_CALLOSSERROR = "ResourceUnavailable.CallOssError"
func (*Client) DisableReplicaReadonlyWithContext ¶
func (c *Client) DisableReplicaReadonlyWithContext(ctx context.Context, request *DisableReplicaReadonlyRequest) (response *DisableReplicaReadonlyResponse, err error)
DisableReplicaReadonly This API is used to disable read/write separation.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" RESOURCEUNAVAILABLE_CALLOSSERROR = "ResourceUnavailable.CallOssError"
func (*Client) DisassociateSecurityGroups ¶
func (c *Client) DisassociateSecurityGroups(request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error)
DisassociateSecurityGroups This API is used to unassociate 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"
func (*Client) DisassociateSecurityGroupsWithContext ¶
func (c *Client) DisassociateSecurityGroupsWithContext(ctx context.Context, request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error)
DisassociateSecurityGroups This API is used to unassociate 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"
func (*Client) EnableReplicaReadonly ¶
func (c *Client) EnableReplicaReadonly(request *EnableReplicaReadonlyRequest) (response *EnableReplicaReadonlyResponse, err error)
EnableReplicaReadonly This API is used to enable read/write separation.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" RESOURCEUNAVAILABLE_CALLOSSERROR = "ResourceUnavailable.CallOssError" RESOURCEUNAVAILABLE_INSTANCECONFERROR = "ResourceUnavailable.InstanceConfError"
func (*Client) EnableReplicaReadonlyWithContext ¶
func (c *Client) EnableReplicaReadonlyWithContext(ctx context.Context, request *EnableReplicaReadonlyRequest) (response *EnableReplicaReadonlyResponse, err error)
EnableReplicaReadonly This API is used to enable read/write separation.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" RESOURCEUNAVAILABLE_CALLOSSERROR = "ResourceUnavailable.CallOssError" RESOURCEUNAVAILABLE_INSTANCECONFERROR = "ResourceUnavailable.InstanceConfError"
func (*Client) InquiryPriceCreateInstance ¶
func (c *Client) InquiryPriceCreateInstance(request *InquiryPriceCreateInstanceRequest) (response *InquiryPriceCreateInstanceResponse, err error)
InquiryPriceCreateInstance This API is used to query the price for purchasing an instance.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" 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_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" INVALIDPARAMETERVALUE_REDUCECAPACITYNOTALLOWED = "InvalidParameterValue.ReduceCapacityNotAllowed" 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_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" INVALIDPARAMETERVALUE_REDUCECAPACITYNOTALLOWED = "InvalidParameterValue.ReduceCapacityNotAllowed" 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 perform a failure simulation.
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 perform a failure simulation.
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 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) ModifyAutoBackupConfig ¶
func (c *Client) ModifyAutoBackupConfig(request *ModifyAutoBackupConfigRequest) (response *ModifyAutoBackupConfigResponse, err error)
ModifyAutoBackupConfig This API is used to set an auto-backup schedule.
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 an auto-backup schedule.
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) ModifyDBInstanceSecurityGroups ¶
func (c *Client) ModifyDBInstanceSecurityGroups(request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error)
ModifyDBInstanceSecurityGroups This API is used to modify the security groups associated with 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" INTERNALERROR_LISTINSTANCESERROR = "InternalError.ListInstancesError"
func (*Client) ModifyDBInstanceSecurityGroupsWithContext ¶
func (c *Client) ModifyDBInstanceSecurityGroupsWithContext(ctx context.Context, request *ModifyDBInstanceSecurityGroupsRequest) (response *ModifyDBInstanceSecurityGroupsResponse, err error)
ModifyDBInstanceSecurityGroups This API is used to modify the security groups associated with 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" INTERNALERROR_LISTINSTANCESERROR = "InternalError.ListInstancesError"
func (*Client) ModifyInstance ¶
func (c *Client) ModifyInstance(request *ModifyInstanceRequest) (response *ModifyInstanceResponse, err error)
ModifyInstance This API is used to modify instance information.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed" UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList" UNSUPPORTEDOPERATION_CLUSTERINSTANCEACCESSEDDENY = "UnsupportedOperation.ClusterInstanceAccessedDeny" UNSUPPORTEDOPERATION_ISAUTORENEWERROR = "UnsupportedOperation.IsAutoRenewError" UNSUPPORTEDOPERATION_ONLYCLUSTERINSTANCECANEXPORTBACKUP = "UnsupportedOperation.OnlyClusterInstanceCanExportBackup"
func (*Client) ModifyInstanceAccount ¶
func (c *Client) ModifyInstanceAccount(request *ModifyInstanceAccountRequest) (response *ModifyInstanceAccountResponse, err error)
ModifyInstanceAccount This API is used to modify an instance sub-account.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" RESOURCEUNAVAILABLE_GETSECURITYERROR = "ResourceUnavailable.GetSecurityError" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed" UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
func (*Client) ModifyInstanceAccountWithContext ¶
func (c *Client) ModifyInstanceAccountWithContext(ctx context.Context, request *ModifyInstanceAccountRequest) (response *ModifyInstanceAccountResponse, err error)
ModifyInstanceAccount This API is used to modify an instance sub-account.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" RESOURCEUNAVAILABLE_GETSECURITYERROR = "ResourceUnavailable.GetSecurityError" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed" UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
func (*Client) ModifyInstanceParams ¶
func (c *Client) ModifyInstanceParams(request *ModifyInstanceParamsRequest) (response *ModifyInstanceParamsResponse, err error)
ModifyInstanceParams This API is used to modify instance parameters.
error code that may be returned:
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists" RESOURCEUNAVAILABLE_CALLOSSERROR = "ResourceUnavailable.CallOssError" RESOURCEUNAVAILABLE_INSTANCECONFERROR = "ResourceUnavailable.InstanceConfError" RESOURCEUNAVAILABLE_INSTANCELOCKEDERROR = "ResourceUnavailable.InstanceLockedError" RESOURCEUNAVAILABLE_INSTANCESTATEERROR = "ResourceUnavailable.InstanceStateError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed" UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
func (*Client) ModifyInstanceParamsWithContext ¶
func (c *Client) ModifyInstanceParamsWithContext(ctx context.Context, request *ModifyInstanceParamsRequest) (response *ModifyInstanceParamsResponse, err error)
ModifyInstanceParams This API is used to modify instance parameters.
error code that may be returned:
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists" RESOURCEUNAVAILABLE_CALLOSSERROR = "ResourceUnavailable.CallOssError" RESOURCEUNAVAILABLE_INSTANCECONFERROR = "ResourceUnavailable.InstanceConfError" RESOURCEUNAVAILABLE_INSTANCELOCKEDERROR = "ResourceUnavailable.InstanceLockedError" RESOURCEUNAVAILABLE_INSTANCESTATEERROR = "ResourceUnavailable.InstanceStateError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed" UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
func (*Client) 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 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. Note: if the compatible version upgrade or architecture upgrade task has been initiated for an instance, its maintenance window cannot be modified.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" 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 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. Note: if the compatible version upgrade or architecture upgrade task has been initiated for an instance, its maintenance window cannot be modified.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" 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_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" 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_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed" UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
func (*Client) ModifyParamTemplate ¶
func (c *Client) ModifyParamTemplate(request *ModifyParamTemplateRequest) (response *ModifyParamTemplateResponse, err error)
ModifyParamTemplate This API is used to modify a parameter template.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed" UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
func (*Client) ModifyParamTemplateWithContext ¶
func (c *Client) ModifyParamTemplateWithContext(ctx context.Context, request *ModifyParamTemplateRequest) (response *ModifyParamTemplateResponse, err error)
ModifyParamTemplate This API is used to modify a parameter template.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed" UNAUTHORIZEDOPERATION_USERNOTINWHITELIST = "UnauthorizedOperation.UserNotInWhiteList"
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_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_SYSTEMERROR = "FailedOperation.SystemError" INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" LIMITEXCEEDED_PERIODEXCEEDMAXLIMIT = "LimitExceeded.PeriodExceedMaxLimit" LIMITEXCEEDED_PERIODLESSTHANMINLIMIT = "LimitExceeded.PeriodLessThanMinLimit" RESOURCEINUSE_INSTANCEBEENLOCKED = "ResourceInUse.InstanceBeenLocked" RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists" RESOURCEUNAVAILABLE_ACCOUNTBALANCENOTENOUGH = "ResourceUnavailable.AccountBalanceNotEnough" RESOURCEUNAVAILABLE_INSTANCEDELETED = "ResourceUnavailable.InstanceDeleted"
func (*Client) ResetPassword ¶
func (c *Client) ResetPassword(request *ResetPasswordRequest) (response *ResetPasswordResponse, err error)
ResetPassword This API is used to reset a password.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" INVALIDPARAMETERVALUE_PASSWORDFREEDENIED = "InvalidParameterValue.PasswordFreeDenied" INVALIDPARAMETERVALUE_PASSWORDRULEERROR = "InvalidParameterValue.PasswordRuleError" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
func (*Client) ResetPasswordWithContext ¶
func (c *Client) ResetPasswordWithContext(ctx context.Context, request *ResetPasswordRequest) (response *ResetPasswordResponse, err error)
ResetPassword This API is used to reset a password.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" INVALIDPARAMETERVALUE_PASSWORDFREEDENIED = "InvalidParameterValue.PasswordFreeDenied" INVALIDPARAMETERVALUE_PASSWORDRULEERROR = "InvalidParameterValue.PasswordRuleError" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
func (*Client) RestoreInstance ¶
func (c *Client) RestoreInstance(request *RestoreInstanceRequest) (response *RestoreInstanceResponse, err error)
RestoreInstance This API is used to restore a Redis instance.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" INVALIDPARAMETERVALUE_BACKUPNOTEXISTS = "InvalidParameterValue.BackupNotExists" INVALIDPARAMETERVALUE_PASSWORDERROR = "InvalidParameterValue.PasswordError" RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists" RESOURCEUNAVAILABLE_BACKUPLOCKEDERROR = "ResourceUnavailable.BackupLockedError" RESOURCEUNAVAILABLE_BACKUPSTATUSABNORMAL = "ResourceUnavailable.BackupStatusAbnormal" RESOURCEUNAVAILABLE_INSTANCELOCKEDERROR = "ResourceUnavailable.InstanceLockedError" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
func (*Client) RestoreInstanceWithContext ¶
func (c *Client) RestoreInstanceWithContext(ctx context.Context, request *RestoreInstanceRequest) (response *RestoreInstanceResponse, err error)
RestoreInstance This API is used to restore a Redis instance.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" INVALIDPARAMETERVALUE_BACKUPNOTEXISTS = "InvalidParameterValue.BackupNotExists" INVALIDPARAMETERVALUE_PASSWORDERROR = "InvalidParameterValue.PasswordError" RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists" RESOURCEUNAVAILABLE_BACKUPLOCKEDERROR = "ResourceUnavailable.BackupLockedError" RESOURCEUNAVAILABLE_BACKUPSTATUSABNORMAL = "ResourceUnavailable.BackupStatusAbnormal" RESOURCEUNAVAILABLE_INSTANCELOCKEDERROR = "ResourceUnavailable.InstanceLockedError" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
func (*Client) StartupInstance ¶
func (c *Client) StartupInstance(request *StartupInstanceRequest) (response *StartupInstanceResponse, err error)
StartupInstance This API is used to deisolate an instance.
error code that may be returned:
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists" RESOURCEUNAVAILABLE_INSTANCELOCKEDERROR = "ResourceUnavailable.InstanceLockedError" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
func (*Client) StartupInstanceWithContext ¶
func (c *Client) StartupInstanceWithContext(ctx context.Context, request *StartupInstanceRequest) (response *StartupInstanceResponse, err error)
StartupInstance This API is used to deisolate an instance.
error code that may be returned:
FAILEDOPERATION_UNSUPPORTERROR = "FailedOperation.UnSupportError" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER_EMPTYPARAM = "InvalidParameter.EmptyParam" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists" RESOURCEUNAVAILABLE_INSTANCELOCKEDERROR = "ResourceUnavailable.InstanceLockedError" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
func (*Client) SwitchInstanceVip ¶
func (c *Client) SwitchInstanceVip(request *SwitchInstanceVipRequest) (response *SwitchInstanceVipResponse, err error)
SwitchInstanceVip This API is used to swap the VIPs of instances for instance disaster recovery switch in scenarios where cross-AZ disaster recovery is supported through DTS. After the VIPs of the source and target instances are swapped, the target instance can be written into and the DTS sync task between them will be disconnected.
error code that may be returned:
FAILEDOPERATION_DTSSTATUSABNORMAL = "FailedOperation.DtsStatusAbnormal" FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType" RESOURCEUNAVAILABLE_INSTANCESTATEERROR = "ResourceUnavailable.InstanceStateError" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
func (*Client) SwitchInstanceVipWithContext ¶
func (c *Client) SwitchInstanceVipWithContext(ctx context.Context, request *SwitchInstanceVipRequest) (response *SwitchInstanceVipResponse, err error)
SwitchInstanceVip This API is used to swap the VIPs of instances for instance disaster recovery switch in scenarios where cross-AZ disaster recovery is supported through DTS. After the VIPs of the source and target instances are swapped, the target instance can be written into and the DTS sync task between them will be disconnected.
error code that may be returned:
FAILEDOPERATION_DTSSTATUSABNORMAL = "FailedOperation.DtsStatusAbnormal" FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" INTERNALERROR_INTERNALERROR = "InternalError.InternalError" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETERVALUE_UNSUPPORTEDTYPE = "InvalidParameterValue.UnSupportedType" RESOURCEUNAVAILABLE_INSTANCESTATEERROR = "ResourceUnavailable.InstanceStateError" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal"
func (*Client) UpgradeInstance ¶
func (c *Client) UpgradeInstance(request *UpgradeInstanceRequest) (response *UpgradeInstanceResponse, err error)
UpgradeInstance This API is used to upgrade an instance.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" INVALIDPARAMETERVALUE_MEMSIZENOTINRANGE = "InvalidParameterValue.MemSizeNotInRange" INVALIDPARAMETERVALUE_REDUCECAPACITYNOTALLOWED = "InvalidParameterValue.ReduceCapacityNotAllowed" INVALIDPARAMETERVALUE_SPECNOTEXIST = "InvalidParameterValue.SpecNotExist" LIMITEXCEEDED_INVALIDMEMSIZE = "LimitExceeded.InvalidMemSize" RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists" RESOURCEUNAVAILABLE_ACCOUNTBALANCENOTENOUGH = "ResourceUnavailable.AccountBalanceNotEnough" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
func (*Client) UpgradeInstanceVersion ¶
func (c *Client) UpgradeInstanceVersion(request *UpgradeInstanceVersionRequest) (response *UpgradeInstanceVersionResponse, err error)
UpgradeInstanceVersion This API is used to upgrade compatible instance version (for example, from Redis 2.8 to 4.0), or upgrade instance architecture (for example, from standard architecture to cluster architecture).
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" 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 compatible instance version (for example, from Redis 2.8 to 4.0), or upgrade instance architecture (for example, from standard architecture to cluster architecture).
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" 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 upgrade an instance.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INVALIDPARAMETER_PERMISSIONDENIED = "InvalidParameter.PermissionDenied" INVALIDPARAMETERVALUE_MEMSIZENOTINRANGE = "InvalidParameterValue.MemSizeNotInRange" INVALIDPARAMETERVALUE_REDUCECAPACITYNOTALLOWED = "InvalidParameterValue.ReduceCapacityNotAllowed" INVALIDPARAMETERVALUE_SPECNOTEXIST = "InvalidParameterValue.SpecNotExist" LIMITEXCEEDED_INVALIDMEMSIZE = "LimitExceeded.InvalidMemSize" RESOURCENOTFOUND_INSTANCENOTEXISTS = "ResourceNotFound.InstanceNotExists" RESOURCEUNAVAILABLE_ACCOUNTBALANCENOTENOUGH = "ResourceUnavailable.AccountBalanceNotEnough" RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" RESOURCEUNAVAILABLE_INSTANCESTATUSERROR = "ResourceUnavailable.InstanceStatusError" UNAUTHORIZEDOPERATION_NOCAMAUTHED = "UnauthorizedOperation.NoCAMAuthed"
func (*Client) UpgradeVersionToMultiAvailabilityZones ¶
func (c *Client) UpgradeVersionToMultiAvailabilityZones(request *UpgradeVersionToMultiAvailabilityZonesRequest) (response *UpgradeVersionToMultiAvailabilityZonesResponse, err error)
UpgradeVersionToMultiAvailabilityZones This API is used to upgrade an instance to support multi-AZ deployment.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
func (*Client) UpgradeVersionToMultiAvailabilityZonesWithContext ¶
func (c *Client) UpgradeVersionToMultiAvailabilityZonesWithContext(ctx context.Context, request *UpgradeVersionToMultiAvailabilityZonesRequest) (response *UpgradeVersionToMultiAvailabilityZonesResponse, err error)
UpgradeVersionToMultiAvailabilityZones This API is used to upgrade an instance to support multi-AZ deployment.
error code that may be returned:
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter"
type CommandTake ¶
type CreateInstanceAccountRequest ¶
type CreateInstanceAccountRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Sub-account name AccountName *string `json:"AccountName,omitempty" name:"AccountName"` // 1. The password must contain 8-30 characters. A password of 12 or more characters is recommended. // 2. The password cannot start with a slash (/). // 3. The password must contain at least two of the following four types: // a. Lowercase letters (a-z) // b. Uppercase letters (A-Z) // c. Digits (0-9) // d. ()`~!@#$%^&*-+=_|{}[]:;<>,.?/ AccountPassword *string `json:"AccountPassword,omitempty" name:"AccountPassword"` // Routing policy. Enter `master` for primary node or `replication` for secondary node ReadonlyPolicy []*string `json:"ReadonlyPolicy,omitempty" name:"ReadonlyPolicy"` // Read/write policy. Valid values: r (read-only), rw (read/write). Privilege *string `json:"Privilege,omitempty" name:"Privilege"` // Sub-account description information Remark *string `json:"Remark,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 CreateInstanceAccountResponse ¶
type CreateInstanceAccountResponse 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 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 CreateInstancesRequest ¶
type CreateInstancesRequest 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"` // Instance capacity in MB. The value should be a multiple of 1,024 and is subject to the specifications returned by the [DescribeProductInfo](https://intl.cloud.tencent.com/document/api/239/30600?from_cn_redirect=1) API. 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](https://intl.cloud.tencent.com/document/api/239/30600?from_cn_redirect=1) API. GoodsNum *uint64 `json:"GoodsNum,omitempty" name:"GoodsNum"` // Purchased usage period in months. which is required when creating an instance. For pay-as-you-go instances, the valid value is 1; for monthly subscription instances, the value range is [1,2,3,4,5,6,7,8,9,10,11,12,24,36]. Period *uint64 `json:"Period,omitempty" name:"Period"` // Billing method. 0: pay as you go BillingMode *int64 `json:"BillingMode,omitempty" name:"BillingMode"` // Availability zone ID of the instance. For more information, please 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 password. If the input parameter `NoAuth` is `true` and a VPC is used, the `Password` is optional; otherwise, it is required. // If the instance type parameter `TypeId` indicates Redis 2.8, 4.0, or 5.0, the password cannot start with "/" and must contain 8-30 characters which are comprised of at least two of the following: lowercase letters, uppercase letters, digits, and special symbols (()`~!@#$%^&*-+=_|{}[]:;<>,.?/). // If the instance type parameter `TypeId` indicates CKV 3.2, the password contains 8-30 characters which must be comprised of only letters and digits. Password *string `json:"Password,omitempty" name:"Password"` // VPC ID, such as "vpc-sad23jfdfk". If this parameter is not passed in, the classic network will be selected by default. The parameter value can be queried by the `DescribeVpcs` API. VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // In a classic network, `subnetId` is invalid. In a VPC subnet, the value can be queried by the `DescribeSubnets` API, such as "subnet-fdj24n34j2". SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Project ID. The value is subject to the `projectId` returned by the `DescribeProject` API. ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Auto-renewal flag. Valid values: 0 (default status, indicating manual renewal), 1 (auto-renewal enabled), 2 (auto-renewal disabled) AutoRenew *uint64 `json:"AutoRenew,omitempty" name:"AutoRenew"` // Array of security group IDs SecurityGroupIdList []*string `json:"SecurityGroupIdList,omitempty" name:"SecurityGroupIdList"` // User-defined port. If this parameter is left empty, 6379 will be used by default. Value range: [1024, 65535]. VPort *uint64 `json:"VPort,omitempty" name:"VPort"` // Number of shards in an instance. This parameter is required for instances in cluster architecture. Value range: [3,5,8,12,16,24,32,64,96,128]. RedisShardNum *int64 `json:"RedisShardNum,omitempty" name:"RedisShardNum"` // Number of replicas in an instance. Redis 2.8 standard edition and CKV standard edition support 1 replica. Standard/cluster edition 4.0 and 5.0 support 1-5 replicas. RedisReplicasNum *int64 `json:"RedisReplicasNum,omitempty" name:"RedisReplicasNum"` // Whether to support read-only replicas. Neither Redis 2.8 in standard architecture nor CKV in standard architecture supports read-only replicas. Read/write separation will be automatically enabled for an instance after it enables read-only replicas. Write requests will be directed to the master node and read requests will be distributed on the replica nodes. To enable read-only replicas, we recommend that you create 2 or more replicas. ReplicasReadonly *bool `json:"ReplicasReadonly,omitempty" name:"ReplicasReadonly"` // Instance name. It contains only letters, digits, and symbols (-_) with a length of up to 60 characters. InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Whether to support the password-free feature. Valid values: true (password-free instance), false (password-enabled instance). Default value: false. Only instances in a VPC support the password-free access. NoAuth *bool `json:"NoAuth,omitempty" name:"NoAuth"` // Node information of an instance. Currently, information about the node type (master or replica) and node availability zone can be passed in. This parameter is not required for instances deployed in a single availability zone. NodeSet []*RedisNodeInfo `json:"NodeSet,omitempty" name:"NodeSet"` // The tag bound with the instance to be purchased ResourceTags []*ResourceTag `json:"ResourceTags,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,omitempty" name:"ZoneName"` // ID of the parameter template applied to the created instance. If this parameter is left blank, the default parameter template will be applied. TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"` }
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 CreateInstancesResponse ¶
type CreateInstancesResponse struct { *tchttp.BaseResponse Response *struct { // Transaction ID DealId *string `json:"DealId,omitempty" name:"DealId"` // Instance ID InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // 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 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 CreateParamTemplateRequest ¶
type CreateParamTemplateRequest struct { *tchttp.BaseRequest // Parameter template name. Name *string `json:"Name,omitempty" name:"Name"` // Parameter template description. Description *string `json:"Description,omitempty" name:"Description"` // Instance type. Valid values: `1` (Redis 2.8 memory edition in cluster architecture), `2` (Redis 2.8 memory edition in standard architecture), `3` (CKV 3.2 memory edition in standard architecture), `4` (CKV 3.2 memory edition in cluster architecture), `5` (Redis 2.8 memory edition in standalone architecture), `6` (Redis 4.0 memory edition in standard architecture), `7` (Redis 4.0 memory edition in cluster architecture), `8` (Redis 5.0 memory edition in standard architecture), `9` (Redis 5.0 memory edition in cluster architecture). If `TempateId` is specified, this parameter can be left blank; otherwise, it is required. ProductType *uint64 `json:"ProductType,omitempty" name:"ProductType"` // ID of the source parameter template. You can create a template by copying the source parameter template. TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"` // Parameter list. ParamList []*InstanceParam `json:"ParamList,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 CreateParamTemplateResponse ¶
type CreateParamTemplateResponse struct { *tchttp.BaseResponse Response *struct { // Parameter template ID. TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"` // 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 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 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 DeleteInstanceAccountRequest ¶
type DeleteInstanceAccountRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Sub-account name AccountName *string `json:"AccountName,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 DeleteInstanceAccountResponse ¶
type DeleteInstanceAccountResponse 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 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 DeleteParamTemplateRequest ¶
type DeleteParamTemplateRequest struct { *tchttp.BaseRequest // Parameter template ID. TemplateId *string `json:"TemplateId,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 DeleteParamTemplateResponse ¶
type DeleteParamTemplateResponse struct { *tchttp.BaseResponse Response *struct { // 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 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 DescribeAutoBackupConfigRequest ¶
type DescribeAutoBackupConfigRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,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 DescribeAutoBackupConfigResponse ¶
type DescribeAutoBackupConfigResponse struct { *tchttp.BaseResponse Response *struct { // Backup type. Auto backup type: 1 "scheduled rollback" AutoBackupType *int64 `json:"AutoBackupType,omitempty" name:"AutoBackupType"` // Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. WeekDays []*string `json:"WeekDays,omitempty" name:"WeekDays"` // Time period. TimePeriod *string `json:"TimePeriod,omitempty" name:"TimePeriod"` // 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 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 DescribeBackupUrlRequest ¶
type DescribeBackupUrlRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup ID, which can be queried through the `DescribeInstanceBackups` API BackupId *string `json:"BackupId,omitempty" name:"BackupId"` }
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 DescribeBackupUrlResponse ¶
type DescribeBackupUrlResponse struct { *tchttp.BaseResponse Response *struct { // Public network download address (valid for six hours). This field will be deprecated soon. DownloadUrl []*string `json:"DownloadUrl,omitempty" name:"DownloadUrl"` // Private network download address (valid for six hours). This field will be deprecated soon. InnerDownloadUrl []*string `json:"InnerDownloadUrl,omitempty" name:"InnerDownloadUrl"` // Filename. This field will be deprecated soon. // Note: this field may return `null`, indicating that no valid values can be obtained. Filenames []*string `json:"Filenames,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,omitempty" name:"BackupInfos"` // 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 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 DescribeCommonDBInstancesRequest ¶
type DescribeCommonDBInstancesRequest struct { *tchttp.BaseRequest // List of instance VIPs VpcIds []*int64 `json:"VpcIds,omitempty" name:"VpcIds"` // List of subnet IDs SubnetIds []*int64 `json:"SubnetIds,omitempty" name:"SubnetIds"` // List of billing modes. Valid values: `0` (monthly subscription), `1` (pay-as-you-go) PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"` // List of instance IDs InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // List of instance names InstanceNames []*string `json:"InstanceNames,omitempty" name:"InstanceNames"` // List of instance status Status []*string `json:"Status,omitempty" name:"Status"` // Sort field OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // Sort order OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` // List of instance VIPs Vips []*string `json:"Vips,omitempty" name:"Vips"` // List of VPC IDs UniqVpcIds []*string `json:"UniqVpcIds,omitempty" name:"UniqVpcIds"` // List of unique subnet IDs UniqSubnetIds []*string `json:"UniqSubnetIds,omitempty" name:"UniqSubnetIds"` // Quantity limit. The default value `100` is recommended. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset. Default value: 0 Offset *int64 `json:"Offset,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 DescribeCommonDBInstancesResponse ¶
type DescribeCommonDBInstancesResponse struct { *tchttp.BaseResponse Response *struct { // Instance quantity TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Instance information InstanceDetails []*RedisCommonInstanceList `json:"InstanceDetails,omitempty" name:"InstanceDetails"` // 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 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 DescribeDBSecurityGroupsRequest ¶
type DescribeDBSecurityGroupsRequest struct { *tchttp.BaseRequest // Database engine name. For this API, its value is `redis`. Product *string `json:"Product,omitempty" name:"Product"` // Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed in the TencentDB Console. InstanceId *string `json:"InstanceId,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 DescribeDBSecurityGroupsResponse ¶
type DescribeDBSecurityGroupsResponse struct { *tchttp.BaseResponse Response *struct { // Security group rules. Groups []*SecurityGroup `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 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 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 DescribeInstanceBackupsRequest ¶
type DescribeInstanceBackupsRequest 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 DescribeInstance API. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 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"` // Start time in the format of yyyy-MM-dd HH:mm:ss, such as 2017-02-08 16:46:34. This parameter is used to query the list of instance backups started during the [beginTime, endTime] range. BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // End time in the format of yyyy-MM-dd HH:mm:ss, such as 2017-02-08 19:09:26. This parameter is used to query the list of instance backups started during the [beginTime, endTime] range. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 1: backup in process; 2: backing up normally; 3: converting from backup to RDB file; 4: RDB conversion completed; -1: backup expired; -2: backup deleted. Status []*int64 `json:"Status,omitempty" name:"Status"` }
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 DescribeInstanceBackupsResponse ¶
type DescribeInstanceBackupsResponse struct { *tchttp.BaseResponse Response *struct { // Total number of backups TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Array of instance backups BackupSet []*RedisBackupSet `json:"BackupSet,omitempty" name:"BackupSet"` // 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 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 DescribeInstanceDTSInfoRequest ¶
type DescribeInstanceDTSInfoRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,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 DescribeInstanceDTSInfoResponse ¶
type DescribeInstanceDTSInfoResponse struct { *tchttp.BaseResponse Response *struct { // DTS task ID // Note: this field may return null, indicating that no valid values can be obtained. JobId *string `json:"JobId,omitempty" name:"JobId"` // DTS task name // Note: this field may return null, indicating that no valid values can be obtained. JobName *string `json:"JobName,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,omitempty" name:"Status"` // Status description // Note: this field may return null, indicating that no valid values can be obtained. StatusDesc *string `json:"StatusDesc,omitempty" name:"StatusDesc"` // Synchronization latency in bytes // Note: this field may return null, indicating that no valid values can be obtained. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Disconnection time // Note: this field may return null, indicating that no valid values can be obtained. CutDownTime *string `json:"CutDownTime,omitempty" name:"CutDownTime"` // Source instance information // Note: this field may return null, indicating that no valid values can be obtained. SrcInfo *DescribeInstanceDTSInstanceInfo `json:"SrcInfo,omitempty" name:"SrcInfo"` // Target instance information // Note: this field may return null, indicating that no valid values can be obtained. DstInfo *DescribeInstanceDTSInstanceInfo `json:"DstInfo,omitempty" name:"DstInfo"` // 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 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 DescribeInstanceDTSInstanceInfo ¶
type DescribeInstanceDTSInstanceInfo struct { // Region ID // Note: this field may return null, indicating that no valid values can be obtained. RegionId *int64 `json:"RegionId,omitempty" name:"RegionId"` // Instance ID // Note: this field may return null, indicating that no valid values can be obtained. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Repository ID // Note: this field may return null, indicating that no valid values can be obtained. SetId *int64 `json:"SetId,omitempty" name:"SetId"` // Availability zone ID // Note: this field may return null, indicating that no valid values can be obtained. ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"` // Instance type // Note: this field may return null, indicating that no valid values can be obtained. Type *int64 `json:"Type,omitempty" name:"Type"` // Instance name // Note: this field may return null, indicating that no valid values can be obtained. InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Instance access address // Note: this field may return null, indicating that no valid values can be obtained. Vip *string `json:"Vip,omitempty" name:"Vip"` // Status // Note: this field may return null, indicating that no valid values can be obtained. Status *int64 `json:"Status,omitempty" name:"Status"` }
type DescribeInstanceDealDetailRequest ¶
type DescribeInstanceDealDetailRequest struct { *tchttp.BaseRequest // Array of order IDs. It is the same as the response parameter `DealId` in the [CreateInstances](https://intl.cloud.tencent.com/document/api/239/20026?from_cn_redirect=1) API. DealIds []*string `json:"DealIds,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 DescribeInstanceDealDetailResponse ¶
type DescribeInstanceDealDetailResponse struct { *tchttp.BaseResponse Response *struct { // Order details DealDetails []*TradeDealDetail `json:"DealDetails,omitempty" name:"DealDetails"` // 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 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 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 DescribeInstanceParamRecordsRequest ¶
type DescribeInstanceParamRecordsRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Number of entries per page Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Offset, which is an integral multiple of `Limit` Offset *uint64 `json:"Offset,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 DescribeInstanceParamRecordsResponse ¶
type DescribeInstanceParamRecordsResponse struct { *tchttp.BaseResponse Response *struct { // Total number of modifications. TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Information of modifications. InstanceParamHistory []*InstanceParamHistory `json:"InstanceParamHistory,omitempty" name:"InstanceParamHistory"` // 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 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 DescribeInstanceParamsRequest ¶
type DescribeInstanceParamsRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,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 DescribeInstanceParamsResponse ¶
type DescribeInstanceParamsResponse struct { *tchttp.BaseResponse Response *struct { // Number of instance parameters TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Instance parameter in Enum type InstanceEnumParam []*InstanceEnumParam `json:"InstanceEnumParam,omitempty" name:"InstanceEnumParam"` // Instance parameter in Integer type InstanceIntegerParam []*InstanceIntegerParam `json:"InstanceIntegerParam,omitempty" name:"InstanceIntegerParam"` // Instance parameter in Char type InstanceTextParam []*InstanceTextParam `json:"InstanceTextParam,omitempty" name:"InstanceTextParam"` // Instance parameter in Multi type InstanceMultiParam []*InstanceMultiParam `json:"InstanceMultiParam,omitempty" name:"InstanceMultiParam"` // 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 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 DescribeInstanceSecurityGroupRequest ¶
type DescribeInstanceSecurityGroupRequest struct { *tchttp.BaseRequest // Instance list InstanceIds []*string `json:"InstanceIds,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 DescribeInstanceSecurityGroupResponse ¶
type DescribeInstanceSecurityGroupResponse struct { *tchttp.BaseResponse Response *struct { // Security group information of an instance InstanceSecurityGroupsDetail []*InstanceSecurityGroupDetail `json:"InstanceSecurityGroupsDetail,omitempty" name:"InstanceSecurityGroupsDetail"` // 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 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 ¶
func (r *DescribeInstanceSecurityGroupResponse) ToJsonString() string
type DescribeInstanceShardsRequest ¶
type DescribeInstanceShardsRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Whether to filter out the secondary node information FilterSlave *bool `json:"FilterSlave,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 DescribeInstanceShardsResponse ¶
type DescribeInstanceShardsResponse struct { *tchttp.BaseResponse Response *struct { // Information list of instance shards InstanceShards []*InstanceClusterShard `json:"InstanceShards,omitempty" name:"InstanceShards"` // Total number of instance shard nodes 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 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 DescribeInstanceZoneInfoRequest ¶
type DescribeInstanceZoneInfoRequest struct { *tchttp.BaseRequest // Instance ID, such as crs-6ubhgouj InstanceId *string `json:"InstanceId,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 DescribeInstanceZoneInfoResponse ¶
type DescribeInstanceZoneInfoResponse struct { *tchttp.BaseResponse Response *struct { // The number of instance node groups TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // The list of instance node groups ReplicaGroups []*ReplicaGroup `json:"ReplicaGroups,omitempty" name:"ReplicaGroups"` // 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 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 DescribeInstancesRequest ¶
type DescribeInstancesRequest struct { *tchttp.BaseRequest // Instance list size. Default value: 20 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Offset, which is an integral multiple of `Limit` Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Instance ID, such as crs-6ubhgouj InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Enumerated values: projectId, createtime, instancename, type, curDeadline OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` // 1: reverse; 0: sequential; reverse by default OrderType *int64 `json:"OrderType,omitempty" name:"OrderType"` // Array of VPC IDs such as 47525. The array subscript starts from 0. If this parameter is not passed in, the basic network will be selected by default VpcIds []*string `json:"VpcIds,omitempty" name:"VpcIds"` // Array of subnet IDs such as 56854. The array subscript starts from 0 SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds"` // Array of project IDs. The array subscript starts from 0 ProjectIds []*int64 `json:"ProjectIds,omitempty" name:"ProjectIds"` // ID of the instance to be searched for. SearchKey *string `json:"SearchKey,omitempty" name:"SearchKey"` // Instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Array of VPC IDs such as vpc-sad23jfdfk. The array subscript starts from 0. If this parameter is not passed in, the basic network will be selected by default UniqVpcIds []*string `json:"UniqVpcIds,omitempty" name:"UniqVpcIds"` // Array of subnet IDs such as subnet-fdj24n34j2. The array subscript starts from 0 UniqSubnetIds []*string `json:"UniqSubnetIds,omitempty" name:"UniqSubnetIds"` // Region ID, which has already been disused. The corresponding region can be queried through the common parameter `Region` RegionIds []*int64 `json:"RegionIds,omitempty" name:"RegionIds"` // Instance status. 0: to be initialized; 1: in process; 2: running; -2: isolated; -3: to be deleted Status []*int64 `json:"Status,omitempty" name:"Status"` // Type edition. 1: standalone edition; 2: primary-secondary edition; 3: cluster edition TypeVersion *int64 `json:"TypeVersion,omitempty" name:"TypeVersion"` // Engine information: Redis-2.8, Redis-4.0, CKV EngineName *string `json:"EngineName,omitempty" name:"EngineName"` // Renewal mode. 0: default status (manual renewal); 1: auto-renewal enabled; 2: auto-renewal disabled AutoRenew []*int64 `json:"AutoRenew,omitempty" name:"AutoRenew"` // Billing method. postpaid: pay-as-you-go; prepaid: monthly subscription BillingMode *string `json:"BillingMode,omitempty" name:"BillingMode"` // Instance type. 1: legacy Redis Cluster Edition, 2: Redis 2.8 Master-Slave Edition, 3: CKV Master-Slave Edition, 4: CKV Cluster Edition, 5: Redis 2.8 Standalone Edition, 6: Redis 4.0 Master-Slave Edition, 7: Redis 4.0 Cluster Edition, 8: Redis 5.0 Master-Slave Edition, 9: Redis 5.0 Cluster Edition, Type *int64 `json:"Type,omitempty" name:"Type"` // Search keywords, which can be instance ID, instance name, or complete IP SearchKeys []*string `json:"SearchKeys,omitempty" name:"SearchKeys"` // Internal parameter, which can be ignored TypeList []*int64 `json:"TypeList,omitempty" name:"TypeList"` // Internal parameter, which can be ignored MonitorVersion *string `json:"MonitorVersion,omitempty" name:"MonitorVersion"` }
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 DescribeInstancesResponse ¶
type DescribeInstancesResponse struct { *tchttp.BaseResponse Response *struct { // Number of instances TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of instance details InstanceSet []*InstanceSet `json:"InstanceSet,omitempty" name:"InstanceSet"` // 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 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 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 DescribeParamTemplateInfoRequest ¶
type DescribeParamTemplateInfoRequest struct { *tchttp.BaseRequest // Parameter template ID. TemplateId *string `json:"TemplateId,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 DescribeParamTemplateInfoResponse ¶
type DescribeParamTemplateInfoResponse struct { *tchttp.BaseResponse Response *struct { // Number of instance parameters TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Parameter template ID TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"` // Parameter template name Name *string `json:"Name,omitempty" name:"Name"` // 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 *uint64 `json:"ProductType,omitempty" name:"ProductType"` // Parameter template description Description *string `json:"Description,omitempty" name:"Description"` // Parameter details Items []*ParameterDetail `json:"Items,omitempty" name:"Items"` // 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 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 DescribeParamTemplatesRequest ¶
type DescribeParamTemplatesRequest struct { *tchttp.BaseRequest // Array of instance types. Valid values: `1` (Redis 2.8 memory edition in cluster architecture), `2` (Redis 2.8 memory edition in standard architecture), `3` (CKV 3.2 memory edition in standard architecture), `4` (CKV 3.2 memory edition in cluster architecture), `5` (Redis 2.8 memory edition in standalone architecture), `6` (Redis 4.0 memory edition in standard architecture), `7` (Redis 4.0 memory edition in cluster architecture), `8` (Redis 5.0 memory edition in standard architecture), `9` (Redis 5.0 memory edition in cluster architecture). ProductTypes []*int64 `json:"ProductTypes,omitempty" name:"ProductTypes"` // Array of template names. TemplateNames []*string `json:"TemplateNames,omitempty" name:"TemplateNames"` // Array of template IDs. TemplateIds []*string `json:"TemplateIds,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 DescribeParamTemplatesResponse ¶
type DescribeParamTemplatesResponse struct { *tchttp.BaseResponse Response *struct { // Number of parameter templates of the user. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Parameter template details. Items []*ParamTemplateInfo `json:"Items,omitempty" name:"Items"` // 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 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 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 DescribeProjectSecurityGroupRequest ¶
type DescribeProjectSecurityGroupRequest struct { *tchttp.BaseRequest // 0: default project; -1: all projects; >0: specified project ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Security group ID SecurityGroupId *string `json:"SecurityGroupId,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 DescribeProjectSecurityGroupResponse ¶
type DescribeProjectSecurityGroupResponse struct { *tchttp.BaseResponse Response *struct { // Security group of a project SecurityGroupDetails []*SecurityGroupDetail `json:"SecurityGroupDetails,omitempty" name:"SecurityGroupDetails"` // 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 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 DescribeProjectSecurityGroupsRequest ¶
type DescribeProjectSecurityGroupsRequest struct { *tchttp.BaseRequest // Database engine name: mariadb, cdb, cynosdb, dcdb, redis, mongodb. Product *string `json:"Product,omitempty" name:"Product"` // Project ID. ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"` // Offset. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // The number of security groups to be pulled. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Search criteria. You can enter a security group ID or name. SearchKey *string `json:"SearchKey,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 DescribeProjectSecurityGroupsResponse ¶
type DescribeProjectSecurityGroupsResponse struct { *tchttp.BaseResponse Response *struct { // Security group rules. Groups []*SecurityGroup `json:"Groups,omitempty" name:"Groups"` // Total number of the security groups meeting the condition. Total *uint64 `json:"Total,omitempty" name:"Total"` // 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 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 ¶
func (r *DescribeProjectSecurityGroupsResponse) ToJsonString() string
type DescribeProxySlowLogRequest ¶
type DescribeProxySlowLogRequest 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 query threshold in microseconds MinQueryTime *int64 `json:"MinQueryTime,omitempty" name:"MinQueryTime"` // Page size Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset, which is an integral multiple of `Limit` Offset *int64 `json:"Offset,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 DescribeProxySlowLogResponse ¶
type DescribeProxySlowLogResponse struct { *tchttp.BaseResponse Response *struct { // Total number of slow queries TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Slow query details InstanceProxySlowLogDetail []*InstanceProxySlowlogDetail `json:"InstanceProxySlowLogDetail,omitempty" name:"InstanceProxySlowLogDetail"` // 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 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 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 DescribeTaskInfoRequest ¶
type DescribeTaskInfoRequest struct { *tchttp.BaseRequest // Task ID TaskId *uint64 `json:"TaskId,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 DescribeTaskInfoResponse ¶
type DescribeTaskInfoResponse struct { *tchttp.BaseResponse Response *struct { // Task status. preparing: to be run; running: running; succeed: succeeded; failed: failed; error: running error. Status *string `json:"Status,omitempty" name:"Status"` // Task start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Task type TaskType *string `json:"TaskType,omitempty" name:"TaskType"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Task message, which is displayed in case of an error. It will be blank if the status is running or succeeded TaskMessage *string `json:"TaskMessage,omitempty" name:"TaskMessage"` // 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 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 DescribeTaskListRequest ¶
type DescribeTaskListRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Number of entries per page Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset, which is an integral multiple of `Limit` (rounded down automatically) Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Project ID ProjectIds []*int64 `json:"ProjectIds,omitempty" name:"ProjectIds"` // Task type TaskTypes []*string `json:"TaskTypes,omitempty" name:"TaskTypes"` // Start time BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Task status TaskStatus []*int64 `json:"TaskStatus,omitempty" name:"TaskStatus"` }
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 DescribeTaskListResponse ¶
type DescribeTaskListResponse struct { *tchttp.BaseResponse Response *struct { // Total number of tasks TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Task details Tasks []*TaskInfoDetail `json:"Tasks,omitempty" name:"Tasks"` // 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 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 DescribeTendisSlowLogRequest ¶
type DescribeTendisSlowLogRequest struct { *tchttp.BaseRequest // Instance ID in the format of crs-ngvou0i1 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Start time in the format of 2019-09-08 12:12:41 BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // End time in the format of 2019-09-09 12:12:41 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Slow query threshold in ms MinQueryTime *int64 `json:"MinQueryTime,omitempty" name:"MinQueryTime"` // The maximum number of results returned per page. 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"` }
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 DescribeTendisSlowLogResponse ¶
type DescribeTendisSlowLogResponse struct { *tchttp.BaseResponse Response *struct { // Total number of slow queries TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Slow query details TendisSlowLogDetail []*TendisSlowLogDetail `json:"TendisSlowLogDetail,omitempty" name:"TendisSlowLogDetail"` // 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 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 DestroyPostpaidInstanceRequest ¶
type DestroyPostpaidInstanceRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,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 DestroyPostpaidInstanceResponse ¶
type DestroyPostpaidInstanceResponse 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 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 DestroyPrepaidInstanceRequest ¶
type DestroyPrepaidInstanceRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,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 DestroyPrepaidInstanceResponse ¶
type DestroyPrepaidInstanceResponse struct { *tchttp.BaseResponse Response *struct { // Order ID DealId *string `json:"DealId,omitempty" name:"DealId"` // 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 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 DisableReplicaReadonlyRequest ¶
type DisableReplicaReadonlyRequest struct { *tchttp.BaseRequest // Serial ID of an instance InstanceId *string `json:"InstanceId,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 DisableReplicaReadonlyResponse ¶
type DisableReplicaReadonlyResponse struct { *tchttp.BaseResponse Response *struct { // Task ID // Note: this field may return `null`, indicating that no valid values can be obtained. 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 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 DisassociateSecurityGroupsRequest ¶
type DisassociateSecurityGroupsRequest struct { *tchttp.BaseRequest // Database engine name: mariadb, cdb, cynosdb, dcdb, redis, mongodb, etc. Product *string `json:"Product,omitempty" name:"Product"` // Security group ID. SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // Instance ID list, which is an array of one or more instance IDs. InstanceIds []*string `json:"InstanceIds,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 DisassociateSecurityGroupsResponse ¶
type DisassociateSecurityGroupsResponse struct { *tchttp.BaseResponse Response *struct { // 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 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 EnableReplicaReadonlyRequest ¶
type EnableReplicaReadonlyRequest struct { *tchttp.BaseRequest // Serial ID of an instance InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Account routing policy. If `master` or `replication` is entered, it means to route to the primary or secondary node; if this is left blank, it means to write into the primary node and read from the secondary node by default ReadonlyPolicy []*string `json:"ReadonlyPolicy,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 EnableReplicaReadonlyResponse ¶
type EnableReplicaReadonlyResponse struct { *tchttp.BaseResponse Response *struct { // Valid values: `ERROR`, `OK`. This field has been deprecated. // Note: this field may return `null`, indicating that no valid values can be obtained. Status *string `json:"Status,omitempty" name:"Status"` // Task ID // Note: this field may return `null`, indicating that no valid values can be obtained. 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 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 HotKeyInfo ¶
type Inbound ¶
type Inbound struct { // Policy. Valid values: ACCEPT, DROP. Action *string `json:"Action,omitempty" name:"Action"` // All the addresses that the address group ID represents. AddressModule *string `json:"AddressModule,omitempty" name:"AddressModule"` // Source IP or IP address range, such as 192.168.0.0/16. CidrIp *string `json:"CidrIp,omitempty" name:"CidrIp"` // Description. Desc *string `json:"Desc,omitempty" name:"Desc"` // Network protocol, such as UDP and TCP, etc. IpProtocol *string `json:"IpProtocol,omitempty" name:"IpProtocol"` // Port. PortRange *string `json:"PortRange,omitempty" name:"PortRange"` // All the protocols and ports that the service group ID represents. ServiceModule *string `json:"ServiceModule,omitempty" name:"ServiceModule"` // All the addresses that the security group ID represents. Id *string `json:"Id,omitempty" name:"Id"` }
type InquiryPriceCreateInstanceRequest ¶
type InquiryPriceCreateInstanceRequest struct { *tchttp.BaseRequest // Instance type. Valid values: `2` (Redis 2.8 memory edition in standard architecture), `3` (CKV 3.2 memory edition in standard architecture), `4` (CKV 3.2 memory edition in cluster architecture), `6` (Redis 4.0 memory edition in standard architecture), `7` (Redis 4.0 memory edition in cluster architecture), `8` (Redis 5.0 memory edition in standard architecture), `9` (Redis 5.0 memory edition in cluster architecture). TypeId *uint64 `json:"TypeId,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 in 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 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 InstanceClusterNode ¶
type InstanceClusterNode struct { // Node name Name *string `json:"Name,omitempty" name:"Name"` // ID of the runtime node of an instance RunId *string `json:"RunId,omitempty" name:"RunId"` // Cluster role. 0: primary; 1: secondary Role *int64 `json:"Role,omitempty" name:"Role"` // Node status. 0: readwrite; 1: read; 2: backup Status *int64 `json:"Status,omitempty" name:"Status"` // Service status. 0: down; 1: on Connected *int64 `json:"Connected,omitempty" name:"Connected"` // Node creation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Node deactivation time DownTime *string `json:"DownTime,omitempty" name:"DownTime"` // Distribution of node slots Slots *string `json:"Slots,omitempty" name:"Slots"` // Distribution of node keys Keys *int64 `json:"Keys,omitempty" name:"Keys"` // Node QPS Qps *int64 `json:"Qps,omitempty" name:"Qps"` // QPS slope of a node QpsSlope *float64 `json:"QpsSlope,omitempty" name:"QpsSlope"` // Node storage Storage *int64 `json:"Storage,omitempty" name:"Storage"` // Storage slope of a node StorageSlope *float64 `json:"StorageSlope,omitempty" name:"StorageSlope"` }
type InstanceClusterShard ¶
type InstanceClusterShard struct { // Shard node name ShardName *string `json:"ShardName,omitempty" name:"ShardName"` // Shard node ID ShardId *string `json:"ShardId,omitempty" name:"ShardId"` // Role Role *int64 `json:"Role,omitempty" name:"Role"` // Number of keys Keys *int64 `json:"Keys,omitempty" name:"Keys"` // Slot information Slots *string `json:"Slots,omitempty" name:"Slots"` // Storage capacity Storage *int64 `json:"Storage,omitempty" name:"Storage"` // Capacity slope StorageSlope *float64 `json:"StorageSlope,omitempty" name:"StorageSlope"` // ID of the runtime node of an instance Runid *string `json:"Runid,omitempty" name:"Runid"` // Service status. 0: down; 1: on Connected *int64 `json:"Connected,omitempty" name:"Connected"` }
type InstanceEnumParam ¶
type InstanceEnumParam struct { // Parameter name ParamName *string `json:"ParamName,omitempty" name:"ParamName"` // Parameter type: Enum ValueType *string `json:"ValueType,omitempty" name:"ValueType"` // Whether restart is required after a modification is made. Value range: true, false NeedRestart *string `json:"NeedRestart,omitempty" name:"NeedRestart"` // Default value of the parameter DefaultValue *string `json:"DefaultValue,omitempty" name:"DefaultValue"` // Current value of a parameter CurrentValue *string `json:"CurrentValue,omitempty" name:"CurrentValue"` // Parameter description Tips *string `json:"Tips,omitempty" name:"Tips"` // Value range of a parameter EnumValue []*string `json:"EnumValue,omitempty" name:"EnumValue"` // Parameter status. 1: modifying; 2: modified Status *int64 `json:"Status,omitempty" name:"Status"` }
type InstanceIntegerParam ¶
type InstanceIntegerParam struct { // Parameter name ParamName *string `json:"ParamName,omitempty" name:"ParamName"` // Parameter type: Integer ValueType *string `json:"ValueType,omitempty" name:"ValueType"` // Whether restart is required after a modification is made. Value range: true, false NeedRestart *string `json:"NeedRestart,omitempty" name:"NeedRestart"` // Default value of the parameter DefaultValue *string `json:"DefaultValue,omitempty" name:"DefaultValue"` // Current value of a parameter CurrentValue *string `json:"CurrentValue,omitempty" name:"CurrentValue"` // Parameter description Tips *string `json:"Tips,omitempty" name:"Tips"` // Minimum value of a parameter Min *string `json:"Min,omitempty" name:"Min"` // Maximum value of a parameter Max *string `json:"Max,omitempty" name:"Max"` // Parameter status. 1: modifying; 2: modified Status *int64 `json:"Status,omitempty" name:"Status"` // Parameter unit // Note: this field may return `null`, indicating that no valid values can be obtained. Unit *string `json:"Unit,omitempty" name:"Unit"` }
type InstanceMultiParam ¶
type InstanceMultiParam struct { // Parameter name ParamName *string `json:"ParamName,omitempty" name:"ParamName"` // Parameter type: Multi ValueType *string `json:"ValueType,omitempty" name:"ValueType"` // Whether restart is required after a modification is made. Value range: true, false NeedRestart *string `json:"NeedRestart,omitempty" name:"NeedRestart"` // Default value of the parameter DefaultValue *string `json:"DefaultValue,omitempty" name:"DefaultValue"` // Current value of a parameter CurrentValue *string `json:"CurrentValue,omitempty" name:"CurrentValue"` // Parameter description Tips *string `json:"Tips,omitempty" name:"Tips"` // Parameter description EnumValue []*string `json:"EnumValue,omitempty" name:"EnumValue"` // Parameter status. 1: modifying; 2: modified Status *int64 `json:"Status,omitempty" name:"Status"` }
type InstanceNode ¶
type InstanceNode struct { // Id Id *int64 `json:"Id,omitempty" name:"Id"` // Node details InstanceClusterNode []*InstanceClusterNode `json:"InstanceClusterNode,omitempty" name:"InstanceClusterNode"` }
type InstanceParam ¶
type InstanceParamHistory ¶
type InstanceParamHistory struct { // Parameter name ParamName *string `json:"ParamName,omitempty" name:"ParamName"` // Value before modification PreValue *string `json:"PreValue,omitempty" name:"PreValue"` // Value after modification NewValue *string `json:"NewValue,omitempty" name:"NewValue"` // Status. 1: modifying parameter configuration; 2: parameter configuration modified successfully; 3: failed to modify parameter configuration Status *int64 `json:"Status,omitempty" name:"Status"` // Modification time ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"` }
type InstanceProxySlowlogDetail ¶
type InstanceProxySlowlogDetail struct { // Slow query 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"` }
type InstanceSecurityGroupDetail ¶
type InstanceSecurityGroupDetail struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Security group information SecurityGroupDetails []*SecurityGroupDetail `json:"SecurityGroupDetails,omitempty" name:"SecurityGroupDetails"` }
type InstanceSet ¶
type InstanceSet struct { // Instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // User's Appid Appid *int64 `json:"Appid,omitempty" name:"Appid"` // Project ID ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // 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"` // Region ID ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"` // VPC ID, such as 75101 VpcId *int64 `json:"VpcId,omitempty" name:"VpcId"` // VPC subnet ID, such as 46315 SubnetId *int64 `json:"SubnetId,omitempty" name:"SubnetId"` // Current instance status. 0: to be initialized; 1: instance in process; 2: instance running; -2: instance isolated; -3: instance to be deleted Status *int64 `json:"Status,omitempty" name:"Status"` // Instance VIP WanIp *string `json:"WanIp,omitempty" name:"WanIp"` // Port number of an instance Port *int64 `json:"Port,omitempty" name:"Port"` // Instance creation time Createtime *string `json:"Createtime,omitempty" name:"Createtime"` // Instance capacity in MB Size *float64 `json:"Size,omitempty" name:"Size"` // This field has been disused SizeUsed *float64 `json:"SizeUsed,omitempty" name:"SizeUsed"` // 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). Type *int64 `json:"Type,omitempty" name:"Type"` // Whether to set the auto-renewal flag for an instance. 1: auto-renewal set; 0: auto-renewal not set AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"` // Instance expiration time DeadlineTime *string `json:"DeadlineTime,omitempty" name:"DeadlineTime"` // Engine: Redis community edition, Tencent Cloud CKV Engine *string `json:"Engine,omitempty" name:"Engine"` // Instance type. Valid values: standalone (standard edition), cluster (cluster edition) ProductType *string `json:"ProductType,omitempty" name:"ProductType"` // VPC ID, such as vpc-fk33jsf43kgv UniqVpcId *string `json:"UniqVpcId,omitempty" name:"UniqVpcId"` // VPC subnet ID, such as subnet-fd3j6l35mm0 UniqSubnetId *string `json:"UniqSubnetId,omitempty" name:"UniqSubnetId"` // Billing method. 0: pay-as-you-go; 1: monthly subscription BillingMode *int64 `json:"BillingMode,omitempty" name:"BillingMode"` // Description of an instance status, such as "instance running" InstanceTitle *string `json:"InstanceTitle,omitempty" name:"InstanceTitle"` // Scheduled deactivation time OfflineTime *string `json:"OfflineTime,omitempty" name:"OfflineTime"` // Sub-status returned for an instance in process SubStatus *int64 `json:"SubStatus,omitempty" name:"SubStatus"` // Anti-affinity tag Tags []*string `json:"Tags,omitempty" name:"Tags"` // Instance node information InstanceNode []*InstanceNode `json:"InstanceNode,omitempty" name:"InstanceNode"` // Shard size RedisShardSize *int64 `json:"RedisShardSize,omitempty" name:"RedisShardSize"` // Number of shards RedisShardNum *int64 `json:"RedisShardNum,omitempty" name:"RedisShardNum"` // Number of replicas RedisReplicasNum *int64 `json:"RedisReplicasNum,omitempty" name:"RedisReplicasNum"` // Billing ID PriceId *int64 `json:"PriceId,omitempty" name:"PriceId"` // Isolation time CloseTime *string `json:"CloseTime,omitempty" name:"CloseTime"` // Read weight of a secondary node SlaveReadWeight *int64 `json:"SlaveReadWeight,omitempty" name:"SlaveReadWeight"` // Instance tag information // Note: This field may return null, indicating that no valid values can be obtained. InstanceTags []*InstanceTagInfo `json:"InstanceTags,omitempty" name:"InstanceTags"` // Project name // Note: This field may return null, indicating that no valid values can be obtained. ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"` // Whether an instance is password-free. true: yes; false: no // Note: This field may return null, indicating that no valid values can be obtained. NoAuth *bool `json:"NoAuth,omitempty" name:"NoAuth"` // Number of client connections // Note: this field may return null, indicating that no valid values can be obtained. ClientLimit *int64 `json:"ClientLimit,omitempty" name:"ClientLimit"` // DTS status (internal parameter, which can be ignored) // Note: this field may return null, indicating that no valid values can be obtained. DtsStatus *int64 `json:"DtsStatus,omitempty" name:"DtsStatus"` // Upper shard bandwidth limit in MB // Note: this field may return null, indicating that no valid values can be obtained. NetLimit *int64 `json:"NetLimit,omitempty" name:"NetLimit"` // Password-free instance flag (internal parameter, which can be ignored) // Note: this field may return null, indicating that no valid values can be obtained. PasswordFree *int64 `json:"PasswordFree,omitempty" name:"PasswordFree"` // Read-only instance flag (internal parameter, which can be ignored) // Note: this field may return null, indicating that no valid values can be obtained. ReadOnly *int64 `json:"ReadOnly,omitempty" name:"ReadOnly"` // 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"` // Internal parameter, which can be ignored // Note: this field may return null, indicating that no valid values can be obtained. RemainBandwidthDuration *string `json:"RemainBandwidthDuration,omitempty" name:"RemainBandwidthDuration"` // Disk size of the Tendis instance // Note: this field may return null, indicating that no valid values can be obtained. DiskSize *int64 `json:"DiskSize,omitempty" name:"DiskSize"` // Monitoring granularity type. Valid values: 1m (monitoring at 1-minute granularity), 5s (monitoring at 5-second granularity) // Note: this field may return null, indicating that no valid values can be obtained. MonitorVersion *string `json:"MonitorVersion,omitempty" name:"MonitorVersion"` // The minimum value of the range of maximum connections to the client // Note: this field may return `null`, indicating that no valid values can be obtained. ClientLimitMin *int64 `json:"ClientLimitMin,omitempty" name:"ClientLimitMin"` // The maximum value of the range of maximum connections to the client // Note: this field may return `null`, indicating that no valid values can be obtained. ClientLimitMax *int64 `json:"ClientLimitMax,omitempty" name:"ClientLimitMax"` // Instance node details // Note: this field may return `null`, indicating that no valid values can be obtained. NodeSet []*RedisNodeInfo `json:"NodeSet,omitempty" name:"NodeSet"` // Region where the instance is deployed // Note: this field may return `null`, indicating that no valid values can be obtained. Region *string `json:"Region,omitempty" name:"Region"` }
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 InstanceTagInfo ¶
type InstanceTextParam ¶
type InstanceTextParam struct { // Parameter name ParamName *string `json:"ParamName,omitempty" name:"ParamName"` // Parameter type: Text ValueType *string `json:"ValueType,omitempty" name:"ValueType"` // Whether restart is required after a modification is made. Value range: true, false NeedRestart *string `json:"NeedRestart,omitempty" name:"NeedRestart"` // Default value of the parameter DefaultValue *string `json:"DefaultValue,omitempty" name:"DefaultValue"` // Current value of a parameter CurrentValue *string `json:"CurrentValue,omitempty" name:"CurrentValue"` // Parameter description Tips *string `json:"Tips,omitempty" name:"Tips"` // Value range of a parameter TextValue []*string `json:"TextValue,omitempty" name:"TextValue"` // Parameter status. 1: modifying; 2: modified Status *int64 `json:"Status,omitempty" name:"Status"` }
type KillMasterGroupRequest ¶
type KillMasterGroupRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 1. The password must contain 8-30 characters. A password of 12 or more characters is recommended. // 2. The password cannot start with a slash (/). // 3. The password must contain at least two of the following four types: // a. Lowercase letters (a-z) // b. Uppercase letters (A-Z) // c. Digits (0-9) // d. ()`~!@#$%^&*-+=_|{}[]:;<>,.?/ Password *string `json:"Password,omitempty" name:"Password"` // Node information of a single-AZ deployed instance ShardIds []*int64 `json:"ShardIds,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 KillMasterGroupResponse ¶
type KillMasterGroupResponse 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 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 ManualBackupInstanceRequest ¶
type ManualBackupInstanceRequest 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 DescribeInstance API. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Backup remarks Remark *string `json:"Remark,omitempty" name:"Remark"` }
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 ManualBackupInstanceResponse ¶
type ManualBackupInstanceResponse 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 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 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 ModifyAutoBackupConfigRequest ¶
type ModifyAutoBackupConfigRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Date. Valid values: `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday`, `Sunday`. However, this parameter is now invalid. WeekDays []*string `json:"WeekDays,omitempty" name:"WeekDays"` // Time period. Value range: 00:00-01:00, 01:00-02:00...... 23:00-00:00 TimePeriod *string `json:"TimePeriod,omitempty" name:"TimePeriod"` // Auto backup type: 1 "scheduled rollback" AutoBackupType *int64 `json:"AutoBackupType,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 ModifyAutoBackupConfigResponse ¶
type ModifyAutoBackupConfigResponse struct { *tchttp.BaseResponse Response *struct { // Auto backup type: 1 "scheduled rollback" AutoBackupType *int64 `json:"AutoBackupType,omitempty" name:"AutoBackupType"` // Date. Value range: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. WeekDays []*string `json:"WeekDays,omitempty" name:"WeekDays"` // Time period. Value range: 00:00-01:00, 01:00-02:00...... 23:00-00:00 TimePeriod *string `json:"TimePeriod,omitempty" name:"TimePeriod"` // 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 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 ModifyDBInstanceSecurityGroupsRequest ¶
type ModifyDBInstanceSecurityGroupsRequest struct { *tchttp.BaseRequest // Database engine name: mariadb, cdb, cynosdb, dcdb, redis, mongodb, etc. Product *string `json:"Product,omitempty" name:"Product"` // The ID list of the security groups to be modified, which is an array of one or more security group IDs. SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` // Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed in the TencentDB Console. InstanceId *string `json:"InstanceId,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 ¶
func (r *ModifyDBInstanceSecurityGroupsRequest) ToJsonString() string
type ModifyDBInstanceSecurityGroupsResponse ¶
type ModifyDBInstanceSecurityGroupsResponse struct { *tchttp.BaseResponse Response *struct { // 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 NewModifyDBInstanceSecurityGroupsResponse ¶
func NewModifyDBInstanceSecurityGroupsResponse() (response *ModifyDBInstanceSecurityGroupsResponse)
func (*ModifyDBInstanceSecurityGroupsResponse) FromJsonString ¶
func (r *ModifyDBInstanceSecurityGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDBInstanceSecurityGroupsResponse) ToJsonString ¶
func (r *ModifyDBInstanceSecurityGroupsResponse) ToJsonString() string
type ModifyInstanceAccountRequest ¶
type ModifyInstanceAccountRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Sub-account name. If the root account is to be modified, enter `root` AccountName *string `json:"AccountName,omitempty" name:"AccountName"` // Sub-account password AccountPassword *string `json:"AccountPassword,omitempty" name:"AccountPassword"` // Sub-account description information Remark *string `json:"Remark,omitempty" name:"Remark"` // Sub-account routing policy. Enter `master` to route to the primary node or `slave` to route to the secondary node ReadonlyPolicy []*string `json:"ReadonlyPolicy,omitempty" name:"ReadonlyPolicy"` // Sub-account read/write policy. Enter `r` for read-only, `w` for write-only, or `rw` for read/write Privilege *string `json:"Privilege,omitempty" name:"Privilege"` // true: make the root account password-free. This is applicable to root accounts only; sub-accounts cannot be made password-free NoAuth *bool `json:"NoAuth,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 ModifyInstanceAccountResponse ¶
type ModifyInstanceAccountResponse 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 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 ModifyInstanceParamsRequest ¶
type ModifyInstanceParamsRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // List of instance parameters modified InstanceParams []*InstanceParam `json:"InstanceParams,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 ModifyInstanceParamsResponse ¶
type ModifyInstanceParamsResponse struct { *tchttp.BaseResponse Response *struct { // Whether a modification is successfully made. Changed *bool `json:"Changed,omitempty" name:"Changed"` // 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 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 ModifyInstanceRequest ¶
type ModifyInstanceRequest struct { *tchttp.BaseRequest // Instance modification type. rename: rename an instance; modifyProject: modify the project of an instance; modifyAutoRenew: modify the auto-renewal flag of an instance Operation *string `json:"Operation,omitempty" name:"Operation"` // Instance ID InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // New name of instance InstanceNames []*string `json:"InstanceNames,omitempty" name:"InstanceNames"` // Project ID ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Auto-renewal flag. 0: default status (manual renewal), 1: auto-renewal enabled, 2: auto-renewal disabled AutoRenews []*int64 `json:"AutoRenews,omitempty" name:"AutoRenews"` // Disused InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Disused InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Disused AutoRenew *int64 `json:"AutoRenew,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 ModifyInstanceResponse ¶
type ModifyInstanceResponse struct { *tchttp.BaseResponse Response *struct { // 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 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 ModifyMaintenanceWindowRequest ¶
type ModifyMaintenanceWindowRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 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"` }
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 ModifyMaintenanceWindowResponse ¶
type ModifyMaintenanceWindowResponse struct { *tchttp.BaseResponse Response *struct { // Modification status. Valid values: success, failed. Status *string `json:"Status,omitempty" name:"Status"` // 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 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 ModifyNetworkConfigRequest ¶
type ModifyNetworkConfigRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Operation type. changeVip: modify the VIP of an instance; changeVpc: modify the subnet of an instance; changeBaseToVpc: change from basic network to VPC Operation *string `json:"Operation,omitempty" name:"Operation"` // VIP address, which is required for the `changeVip` operation. If this parameter is left blank, a random one will be assigned by default Vip *string `json:"Vip,omitempty" name:"Vip"` // VPC ID, which is required for `changeVpc` and `changeBaseToVpc` operations VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID, which is required for `changeVpc` and `changeBaseToVpc` operations SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` }
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 ModifyNetworkConfigResponse ¶
type ModifyNetworkConfigResponse struct { *tchttp.BaseResponse Response *struct { // Execution status: true or false Status *bool `json:"Status,omitempty" name:"Status"` // Subnet ID SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // VIP address Vip *string `json:"Vip,omitempty" name:"Vip"` // 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 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 ModifyParamTemplateRequest ¶
type ModifyParamTemplateRequest struct { *tchttp.BaseRequest // ID of the parameter template to be modified. TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"` // New name after the parameter template is modified. Name *string `json:"Name,omitempty" name:"Name"` // New description after the parameter template is modified. Description *string `json:"Description,omitempty" name:"Description"` // New parameter list after the parameter template is modified. ParamList []*InstanceParam `json:"ParamList,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 ModifyParamTemplateResponse ¶
type ModifyParamTemplateResponse struct { *tchttp.BaseResponse Response *struct { // 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 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 Outbound ¶
type Outbound struct { // Policy. Valid values: ACCEPT, DROP. Action *string `json:"Action,omitempty" name:"Action"` // All the addresses that the address group ID represents. AddressModule *string `json:"AddressModule,omitempty" name:"AddressModule"` // Source IP or IP address range, such as 192.168.0.0/16. CidrIp *string `json:"CidrIp,omitempty" name:"CidrIp"` // Description. Desc *string `json:"Desc,omitempty" name:"Desc"` // Network protocol, such as UDP and TCP, etc. IpProtocol *string `json:"IpProtocol,omitempty" name:"IpProtocol"` // Port. PortRange *string `json:"PortRange,omitempty" name:"PortRange"` // All the protocols and ports that the service group ID represents. ServiceModule *string `json:"ServiceModule,omitempty" name:"ServiceModule"` // All the addresses that the security group ID represents. Id *string `json:"Id,omitempty" name:"Id"` }
type ParamTemplateInfo ¶
type ParamTemplateInfo struct { // Parameter template ID TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"` // Parameter template name Name *string `json:"Name,omitempty" name:"Name"` // Parameter template description Description *string `json:"Description,omitempty" name:"Description"` // Instance type. Valid values: `1` (Redis 2.8 memory edition in cluster architecture), `2` (Redis 2.8 memory edition in standard architecture), `3` (CKV 3.2 memory edition in standard architecture), `4` (CKV 3.2 memory edition in cluster architecture), `5` (Redis 2.8 memory edition in standalone architecture), `6` (Redis 4.0 memory edition in standard architecture), `7` (Redis 4.0 memory edition in cluster architecture), `8` (Redis 5.0 memory edition in standard architecture), `9` (Redis 5.0 memory edition in cluster architecture) ProductType *uint64 `json:"ProductType,omitempty" name:"ProductType"` }
type ParameterDetail ¶
type ParameterDetail struct { // Parameter name Name *string `json:"Name,omitempty" name:"Name"` // Data type of the parameter ParamType *string `json:"ParamType,omitempty" name:"ParamType"` // Default value of the parameter Default *string `json:"Default,omitempty" name:"Default"` // Parameter description Description *string `json:"Description,omitempty" name:"Description"` // Current value of the parameter CurrentValue *string `json:"CurrentValue,omitempty" name:"CurrentValue"` // Whether the database needs to be restarted for the modified parameter to take effect. Valid values: `0` (no),`1` (yes) NeedReboot *int64 `json:"NeedReboot,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,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,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,omitempty" name:"EnumValue"` }
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 RedisBackupSet ¶
type RedisBackupSet struct { // Backup start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Backup ID BackupId *string `json:"BackupId,omitempty" name:"BackupId"` // Backup type. manualBackupInstance: manual backup initiated by user; systemBackupInstance: midnight backup initiated by system BackupType *string `json:"BackupType,omitempty" name:"BackupType"` // Backup status. 1: backup is locked by another process; 2: backup is normal and not locked by any process; -1: backup has expired; 3: backup is being exported; 4: backup is exported successfully Status *int64 `json:"Status,omitempty" name:"Status"` // Backup remarks Remark *string `json:"Remark,omitempty" name:"Remark"` // Whether a backup is locked. 0: no; 1: yes Locked *int64 `json:"Locked,omitempty" name:"Locked"` }
type RedisCommonInstanceList ¶
type RedisCommonInstanceList struct { // Instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // User ID AppId *int64 `json:"AppId,omitempty" name:"AppId"` // Project ID of the instance ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Instance region Region *string `json:"Region,omitempty" name:"Region"` // Instance availability zone Zone *string `json:"Zone,omitempty" name:"Zone"` // Instance network ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Instance status. Valid values: `1` (task running), `2` (instance running), `-2` (instance isolated), `-3` (instance being eliminated), `-4` (instance eliminated) Status *string `json:"Status,omitempty" name:"Status"` // Instance network IP Vips []*string `json:"Vips,omitempty" name:"Vips"` // Instance network port Vport *int64 `json:"Vport,omitempty" name:"Vport"` // Instance creation time Createtime *string `json:"Createtime,omitempty" name:"Createtime"` // Billing mode. Valid values: `0` (pay-as-you-go), `1` (monthly subscription) PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"` // Network type. Valid values: `0` (classic network), `1` (VPC) NetType *int64 `json:"NetType,omitempty" name:"NetType"` }
type RedisNode ¶
type RedisNode struct { // The number of keys on a node Keys *int64 `json:"Keys,omitempty" name:"Keys"` // Distribution of node slots Slot *string `json:"Slot,omitempty" name:"Slot"` // Node ID NodeId *string `json:"NodeId,omitempty" name:"NodeId"` // Node status Status *string `json:"Status,omitempty" name:"Status"` // Node role Role *string `json:"Role,omitempty" name:"Role"` }
type RedisNodeInfo ¶
type RedisNodeInfo struct { // Node type. Valid values: `0` (master node), `1` (replica node) NodeType *int64 `json:"NodeType,omitempty" name:"NodeType"` // ID of the master or replica node, which is not required upon creation of the instance NodeId *int64 `json:"NodeId,omitempty" name:"NodeId"` // ID of the availability zone of the master or replica node ZoneId *uint64 `json:"ZoneId,omitempty" name:"ZoneId"` // ID of the availability zone of the master or replica node ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"` }
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 RenewInstanceRequest ¶
type RenewInstanceRequest struct { *tchttp.BaseRequest // Length of purchase in months Period *uint64 `json:"Period,omitempty" name:"Period"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
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 RenewInstanceResponse ¶
type RenewInstanceResponse struct { *tchttp.BaseResponse Response *struct { // Transaction ID DealId *string `json:"DealId,omitempty" name:"DealId"` // 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 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 ReplicaGroup ¶
type ReplicaGroup struct { // Node group ID GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // Node group name GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // Node availability zone ID, such as ap-guangzhou-1 ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Node group type. Valid values: `master` (master node group), `replica` (replica node group) Role *string `json:"Role,omitempty" name:"Role"` // The list of nodes in a node group RedisNodes []*RedisNode `json:"RedisNodes,omitempty" name:"RedisNodes"` }
type ResetPasswordRequest ¶
type ResetPasswordRequest struct { *tchttp.BaseRequest // Redis instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Password reset (this parameter can be left blank when switching to password-free instance mode and is required in other cases) Password *string `json:"Password,omitempty" name:"Password"` // Whether to switch to password-free instance mode. false: switch to password-enabled instance mode; true: switch to password-free instance mode. Default value: false NoAuth *bool `json:"NoAuth,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 ResetPasswordResponse ¶
type ResetPasswordResponse struct { *tchttp.BaseResponse Response *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,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 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 ResourceTag ¶
type RestoreInstanceRequest ¶
type RestoreInstanceRequest struct { *tchttp.BaseRequest // ID of the instance to be operated on, which can be obtained through the `redisId` field in the return value of the DescribeRedis API. InstanceId *string `json:"InstanceId,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,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,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 RestoreInstanceResponse ¶
type RestoreInstanceResponse struct { *tchttp.BaseResponse Response *struct { // Task ID, which can be used to query the task execution status through the DescribeTaskInfo API 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 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 SecurityGroup ¶
type SecurityGroup struct { // Creation time in the format of yyyy-mm-dd hh:mm:ss. CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Project ID. ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"` // Security group ID. SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // Security group name. SecurityGroupName *string `json:"SecurityGroupName,omitempty" name:"SecurityGroupName"` // Security group remarks. SecurityGroupRemark *string `json:"SecurityGroupRemark,omitempty" name:"SecurityGroupRemark"` // Outbound rule. Outbound []*Outbound `json:"Outbound,omitempty" name:"Outbound"` // Inbound rule. Inbound []*Inbound `json:"Inbound,omitempty" name:"Inbound"` }
type SecurityGroupDetail ¶
type SecurityGroupDetail struct { // Project ID ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Creation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Security group ID SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // Security group name SecurityGroupName *string `json:"SecurityGroupName,omitempty" name:"SecurityGroupName"` // Security group remarks SecurityGroupRemark *string `json:"SecurityGroupRemark,omitempty" name:"SecurityGroupRemark"` // Security group inbound rule InboundRule []*SecurityGroupsInboundAndOutbound `json:"InboundRule,omitempty" name:"InboundRule"` // Security group outbound rule OutboundRule []*SecurityGroupsInboundAndOutbound `json:"OutboundRule,omitempty" name:"OutboundRule"` }
type SecurityGroupsInboundAndOutbound ¶
type SecurityGroupsInboundAndOutbound struct { // Action to be executed Action *string `json:"Action,omitempty" name:"Action"` // IP address Ip *string `json:"Ip,omitempty" name:"Ip"` // Port number Port *string `json:"Port,omitempty" name:"Port"` // Protocol type Proto *string `json:"Proto,omitempty" name:"Proto"` }
type SourceCommand ¶
type SourceInfo ¶
type StartupInstanceRequest ¶
type StartupInstanceRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,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 StartupInstanceResponse ¶
type StartupInstanceResponse 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 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 SwitchInstanceVipRequest ¶
type SwitchInstanceVipRequest struct { *tchttp.BaseRequest // Source instance ID. SrcInstanceId *string `json:"SrcInstanceId,omitempty" name:"SrcInstanceId"` // Target instance ID. DstInstanceId *string `json:"DstInstanceId,omitempty" name:"DstInstanceId"` // The time that lapses in seconds since DTS is disconnected between the source instance and the target instance. If the DTS disconnection time period is greater than `TimeDelay`, the VIP will not be switched. We recommend setting an acceptable value based on the actual business conditions. TimeDelay *int64 `json:"TimeDelay,omitempty" name:"TimeDelay"` // Whether to force the switch when DTS is disconnected. Valid values: 1 (yes), 0 (no). ForceSwitch *int64 `json:"ForceSwitch,omitempty" name:"ForceSwitch"` // Valid values: now (switch now), syncComplete (switch after sync is completed). SwitchTime *string `json:"SwitchTime,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 SwitchInstanceVipResponse ¶
type SwitchInstanceVipResponse 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 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 TaskInfoDetail ¶
type TaskInfoDetail struct { // Task ID // Note: This field may return null, indicating that no valid values can be obtained. TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"` // Start time // Note: This field may return null, indicating that no valid values can be obtained. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Task type // Note: This field may return null, indicating that no valid values can be obtained. TaskType *string `json:"TaskType,omitempty" name:"TaskType"` // Instance name // Note: This field may return null, indicating that no valid values can be obtained. InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Instance ID // Note: This field may return null, indicating that no valid values can be obtained. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Project ID // Note: This field may return null, indicating that no valid values can be obtained. ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` // Task progress // Note: This field may return null, indicating that no valid values can be obtained. Progress *float64 `json:"Progress,omitempty" name:"Progress"` // End time // Note: This field may return null, indicating that no valid values can be obtained. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Task status // Note: This field may return null, indicating that no valid values can be obtained. Result *int64 `json:"Result,omitempty" name:"Result"` }
type TendisNodes ¶
type TendisSlowLogDetail ¶
type TendisSlowLogDetail struct { // Execution time ExecuteTime *string `json:"ExecuteTime,omitempty" name:"ExecuteTime"` // Duration of the slow query (ms) Duration *int64 `json:"Duration,omitempty" name:"Duration"` // Command Command *string `json:"Command,omitempty" name:"Command"` // Command line details CommandLine *string `json:"CommandLine,omitempty" name:"CommandLine"` // Node ID Node *string `json:"Node,omitempty" name:"Node"` }
type TradeDealDetail ¶
type TradeDealDetail struct { // Order ID, which is used when a TencentCloud API is called DealId *string `json:"DealId,omitempty" name:"DealId"` // Long order ID, which is used when an order issue is submitted for assistance DealName *string `json:"DealName,omitempty" name:"DealName"` // AZ ID ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"` // Number of instances associated with an order GoodsNum *int64 `json:"GoodsNum,omitempty" name:"GoodsNum"` // Creates a user uin Creater *string `json:"Creater,omitempty" name:"Creater"` // Order creation time CreatTime *string `json:"CreatTime,omitempty" name:"CreatTime"` // Order timeout period OverdueTime *string `json:"OverdueTime,omitempty" name:"OverdueTime"` // Order completion time EndTime *string `json:"EndTime,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,omitempty" name:"Status"` // Order status description Description *string `json:"Description,omitempty" name:"Description"` // Actual total price of an order in 0.01 CNY Price *int64 `json:"Price,omitempty" name:"Price"` // Instance ID InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` }
type UpgradeInstanceRequest ¶
type UpgradeInstanceRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Shard size in MB. This parameter cannot be passed in at the same time as `RedisShardNum`/`RedisReplicasNum`. MemSize *uint64 `json:"MemSize,omitempty" name:"MemSize"` // Shard quantity. This parameter is not required by standard architecture instances and cannot be passed in at the same time as `RedisReplicasNum`/`MemSize`. RedisShardNum *uint64 `json:"RedisShardNum,omitempty" name:"RedisShardNum"` // Replica quantity. This parameter cannot be passed in at the same time as `RedisShardNum`/`MemSize`. To modify the number of replicas in a multi-AZ instance, `NodeSet` must be passed in. RedisReplicasNum *uint64 `json:"RedisReplicasNum,omitempty" name:"RedisReplicasNum"` // The information of the replica to be added to a multi-AZ instance, such as replica availability zone and replica type (`NodeType` should be `1`). This parameter is required only when multi-AZ instances add replicas. NodeSet []*RedisNodeInfo `json:"NodeSet,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 UpgradeInstanceResponse ¶
type UpgradeInstanceResponse struct { *tchttp.BaseResponse Response *struct { // Order ID DealId *string `json:"DealId,omitempty" name:"DealId"` // 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 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 UpgradeInstanceVersionRequest ¶
type UpgradeInstanceVersionRequest struct { *tchttp.BaseRequest // The target instance type to which the instance will change. It is the same as the `TypeId` parameter in the [CreateInstances](https://intl.cloud.tencent.com/document/api/239/20026?from_cn_redirect=1) API. TargetInstanceType *string `json:"TargetInstanceType,omitempty" name:"TargetInstanceType"` // Switch mode. Valid values: 1 (switch during the maintenance window), 2 (switch immediately). SwitchOption *int64 `json:"SwitchOption,omitempty" name:"SwitchOption"` // Instance ID InstanceId *string `json:"InstanceId,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 UpgradeInstanceVersionResponse ¶
type UpgradeInstanceVersionResponse struct { *tchttp.BaseResponse Response *struct { // Order ID DealId *string `json:"DealId,omitempty" name:"DealId"` // 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 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 UpgradeVersionToMultiAvailabilityZonesRequest ¶
type UpgradeVersionToMultiAvailabilityZonesRequest struct { *tchttp.BaseRequest // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewUpgradeVersionToMultiAvailabilityZonesRequest ¶
func NewUpgradeVersionToMultiAvailabilityZonesRequest() (request *UpgradeVersionToMultiAvailabilityZonesRequest)
func (*UpgradeVersionToMultiAvailabilityZonesRequest) FromJsonString ¶
func (r *UpgradeVersionToMultiAvailabilityZonesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpgradeVersionToMultiAvailabilityZonesRequest) ToJsonString ¶
func (r *UpgradeVersionToMultiAvailabilityZonesRequest) ToJsonString() string
type UpgradeVersionToMultiAvailabilityZonesResponse ¶
type UpgradeVersionToMultiAvailabilityZonesResponse struct { *tchttp.BaseResponse Response *struct { // Task ID FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` // 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 NewUpgradeVersionToMultiAvailabilityZonesResponse ¶
func NewUpgradeVersionToMultiAvailabilityZonesResponse() (response *UpgradeVersionToMultiAvailabilityZonesResponse)
func (*UpgradeVersionToMultiAvailabilityZonesResponse) FromJsonString ¶
func (r *UpgradeVersionToMultiAvailabilityZonesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpgradeVersionToMultiAvailabilityZonesResponse) ToJsonString ¶
func (r *UpgradeVersionToMultiAvailabilityZonesResponse) ToJsonString() string
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"` }