public class DescribeTaskListRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeTaskListRequest() |
DescribeTaskListRequest(DescribeTaskListRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getBeginTime()
Get Start time of the task, for example, in the format of 2021-12-30 00:00:00.
|
String |
getEndTime()
Get End time of the task, for example, in the format of 2021-12-30 20:59:35.
|
String |
getInstanceId()
Get ID of a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
|
String |
getInstanceName()
Get Instance name
|
Long |
getLimit()
Get Number of taskss returned per page.
|
Long |
getOffset()
Get Pagination offset, which is an integral multiple of `Limit`.
|
String[] |
getOperateUin()
Get Operator account ID or UIN
|
Long[] |
getOperatorUin()
Deprecated.
|
Long[] |
getProjectIds()
Get Project ID Log in to the [Redis console](https://console.cloud.tencent.com/redis#/), go to the account information menu in the top-right corner, and select **Project Management** to query the project ID.
|
Long[] |
getResult()
Get Task execution status.
|
Long[] |
getTaskStatus()
Get This parameter is only for internal use and can be ignored.
|
String[] |
getTaskTypes()
Get Task type.
|
void |
setBeginTime(String BeginTime)
Set Start time of the task, for example, in the format of 2021-12-30 00:00:00.
|
void |
setEndTime(String EndTime)
Set End time of the task, for example, in the format of 2021-12-30 20:59:35.
|
void |
setInstanceId(String InstanceId)
Set ID of a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.
|
void |
setInstanceName(String InstanceName)
Set Instance name
|
void |
setLimit(Long Limit)
Set Number of taskss returned per page.
|
void |
setOffset(Long Offset)
Set Pagination offset, which is an integral multiple of `Limit`.
|
void |
setOperateUin(String[] OperateUin)
Set Operator account ID or UIN
|
void |
setOperatorUin(Long[] OperatorUin)
Deprecated.
|
void |
setProjectIds(Long[] ProjectIds)
Set Project ID Log in to the [Redis console](https://console.cloud.tencent.com/redis#/), go to the account information menu in the top-right corner, and select **Project Management** to query the project ID.
|
void |
setResult(Long[] Result)
Set Task execution status.
|
void |
setTaskStatus(Long[] TaskStatus)
Set This parameter is only for internal use and can be ignored.
|
void |
setTaskTypes(String[] TaskTypes)
Set Task type.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DescribeTaskListRequest()
public DescribeTaskListRequest(DescribeTaskListRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- ID of a specified instance, such as "crs-xjhsdj****" Log in to the [Redis console](https://console.cloud.tencent.com/redis) and copy the instance ID in the instance list.public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- Instance namepublic Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of taskss returned per page. Default value: `20`. Maximum value: `100`.public Long getOffset()
public void setOffset(Long Offset)
Offset
- Pagination offset, which is an integral multiple of `Limit`. Calculation formula: `offset` = `limit` * (page number - 1).public Long[] getProjectIds()
public void setProjectIds(Long[] ProjectIds)
ProjectIds
- Project ID Log in to the [Redis console](https://console.cloud.tencent.com/redis#/), go to the account information menu in the top-right corner, and select **Project Management** to query the project ID.public String[] getTaskTypes()
public void setTaskTypes(String[] TaskTypes)
TaskTypes
- Task type.
- FLOW_CREATE: "001" - Create an instance.
- FLOW_RESIZE: "002" - Change the configuration.
- FLOW_CLOSE: "003" - Close an instance.
- FLOW_CLEAN: "004" - Clear an instance.
- FLOW_STARTUP: "005" - Enable an instance.
- FLOW_DELETE: "006" - Delete an instance.
- FLOW_SETPWD: "007" - Reset the password.
- FLOW_EXPORTBACKUP: "009" - Export the backup file.
- FLOW_RESTOREBACKUP: "010" - Restore the backup.
- FLOW_BACKUPINSTANCE: "012" - Back up an instance.
- FLOW_MIGRATEINSTANCE: "013" - Migrate an instance.
- FLOW_DELBACKUP: "014" - Delete the backup.
- FLOW_EXCHANGEINSTANCE: "016" - Switch an instance.
- FLOW_AUTOBACKUP: "017" - Automatically backup an instance.
- FLOW_MIGRATECHECK: "022" - Verify migration parameters.
- FLOW_MIGRATETASK: "023" - Migrate data in progress.
- FLOW_CLEANDB: "025" - Clear a database.
- FLOW_CLONEBACKUP: "026" - Clone the backup.
- FLOW_CHANGEVIP: "027" - Change the VIP.
- FLOW_EXPORSHR: "028" - Perform scaling.
- FLOW_ADDNODES: "029" - Add or remove a node.
- FLOW_CHANGENET: "031" - Change the network type.
- FLOW_MODIFYINSTACEREADONLY: "033" - Modify the read-only policy.
- FLOW_MODIFYINSTANCEPARAMS: "034" - Modify instance parameters.
- FLOW_MODIFYINSTANCEPASSWORDFREE: "035" - Set password-free access.
- FLOW_SWITCHINSTANCEVIP: "036" - Switch the instance VIP.
- FLOW_MODIFYINSTANCEACCOUNT: "037" - Modify the instance account.
- FLOW_MODIFYINSTANCEBANDWIDTH: "038" - Modify the instance bandwidth.
- FLOW_ENABLEINSTANCE_REPLICATE: "039" - Enable read-only replica.
- FLOW_DISABLEINSTANCE_REPLICATE: "040" - Disable read-only replica.
- FLOW_UpgradeArch: "041" - Upgrade the instance architecture from primary-secondary to cluster.
- FLOW_DowngradeArch: "042" - Downgrade the instance architecture from cluster to primary-secondary.
- FLOW_UpgradeVersion: "043" - Upgrade the version.
- FLOW_MODIFYCONNECTIONCONFIG: "044" - Modify the number of bandwidth connections.
- FLOW_CLEARNETWORK: "045" - Change the network.
- FLOW_REMOVE_BACKUP_FILE: "046" - Delete the backup.
- FLOW_UPGRADE_SUPPORT_MULTI_AZ: "047" - Upgrade an instance to support multiple AZs.
- FLOW_SHUTDOWN_MASTER: "048" - Simulate a fault.
- FLOW_CHANGE_REPLICA_TO_MASTER: "049" - Manually promote the replica node to the primary node.
- FLOW_CODE_ADD_REPLICATION_INSTANCE: "050" - Add a replication group.
- FLOW_OPEN_WAN: "052" - Enable the public network.
- FLOW_CLOSE_WAN: "053" - Disable the public network. - FLOW_UPDATE_WAN: "054" - Update the public network.
- FLOW_CODE_DELETE_REPLICATION_INSTANCE: "055" - Unbind the replication group.
- FLOW_CODE_CHANGE_MASTER_INSTANCE: "056" - Switch to the primary instance in the replication group.
- FLOW_CODE_CHANGE_INSTANCE_ROLE: "057" - Change the roles of instances in the replication group.
- FLOW_MIGRATE_NODE: "058" - Migrate a node.
- FLOW_SWITCH_NODE: "059" - Switch a node.
- FLOW_UPGRADE_SMALL_VERSION: "060" - Upgrade the Redis version.
- FLOW_UPGRADE_PROXY_VERSION: "061" - Upgrade the Proxy version.
- FLOW_MODIFY_INSTANCE_NETWORK: "062" - Modify the instance network.
- FLOW_MIGRATE_PROXY_NODE: "063" - Migrate the Proxy node.
- FLOW_MIGRATION_INSTANCE_ZONE: "066" - Migrate the instance AZ in progress.
- FLOW_UPGRADE_INSTANCE_CACHE_AND_PROXY: "067" - Upgrade the instance version in progress.
- FLOW_MODIFY_PROXY_NUM: "069" - Add or remove a Proxy node.
- FLOW_MODIFYBACKUPMOD: "070" - Change the instance backup mode.public String getBeginTime()
public void setBeginTime(String BeginTime)
BeginTime
- Start time of the task, for example, in the format of 2021-12-30 00:00:00. Data in the last 30 days can be queried.public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- End time of the task, for example, in the format of 2021-12-30 20:59:35. Data in the last 30 days can be queried.public Long[] getTaskStatus()
public void setTaskStatus(Long[] TaskStatus)
TaskStatus
- This parameter is only for internal use and can be ignored.public Long[] getResult()
public void setResult(Long[] Result)
Result
- Task execution status. Valid values: - `0` (initilized) - `1` (executing) - `2` (completed) - `4` (failed)@Deprecated public Long[] getOperatorUin()
@Deprecated public void setOperatorUin(Long[] OperatorUin)
OperatorUin
- The field `OperatorUin` has been disused and replaced by `OperateUin`.public String[] getOperateUin()
public void setOperateUin(String[] OperateUin)
OperateUin
- Operator account ID or UINCopyright © 2025. All rights reserved.