tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getMysqlUserTask
Start a Neo task
Explain and create a tencentcloud.getMysqlUserTask resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed information of mysql user_task
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const userTask = tencentcloud.getMysqlUserTask({
instanceId: "cdb-fitq5t9h",
asyncRequestId: "f2fe828c-773af816-0a08f542-94bb2a9c",
taskTypes: ["5"],
taskStatuses: ["2"],
startTimeBegin: "2017-12-31 10:40:01",
startTimeEnd: "2017-12-31 10:40:01",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
user_task = tencentcloud.get_mysql_user_task(instance_id="cdb-fitq5t9h",
async_request_id="f2fe828c-773af816-0a08f542-94bb2a9c",
task_types=["5"],
task_statuses=["2"],
start_time_begin="2017-12-31 10:40:01",
start_time_end="2017-12-31 10:40:01")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetMysqlUserTask(ctx, &tencentcloud.GetMysqlUserTaskArgs{
InstanceId: pulumi.StringRef("cdb-fitq5t9h"),
AsyncRequestId: pulumi.StringRef("f2fe828c-773af816-0a08f542-94bb2a9c"),
TaskTypes: []string{
"5",
},
TaskStatuses: []string{
"2",
},
StartTimeBegin: pulumi.StringRef("2017-12-31 10:40:01"),
StartTimeEnd: pulumi.StringRef("2017-12-31 10:40:01"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var userTask = Tencentcloud.GetMysqlUserTask.Invoke(new()
{
InstanceId = "cdb-fitq5t9h",
AsyncRequestId = "f2fe828c-773af816-0a08f542-94bb2a9c",
TaskTypes = new[]
{
"5",
},
TaskStatuses = new[]
{
"2",
},
StartTimeBegin = "2017-12-31 10:40:01",
StartTimeEnd = "2017-12-31 10:40:01",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetMysqlUserTaskArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var userTask = TencentcloudFunctions.getMysqlUserTask(GetMysqlUserTaskArgs.builder()
.instanceId("cdb-fitq5t9h")
.asyncRequestId("f2fe828c-773af816-0a08f542-94bb2a9c")
.taskTypes("5")
.taskStatuses("2")
.startTimeBegin("2017-12-31 10:40:01")
.startTimeEnd("2017-12-31 10:40:01")
.build());
}
}
variables:
userTask:
fn::invoke:
function: tencentcloud:getMysqlUserTask
arguments:
instanceId: cdb-fitq5t9h
asyncRequestId: f2fe828c-773af816-0a08f542-94bb2a9c
taskTypes:
- 5
taskStatuses:
- 2
startTimeBegin: 2017-12-31 10:40:01
startTimeEnd: 2017-12-31 10:40:01
Using getMysqlUserTask
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getMysqlUserTask(args: GetMysqlUserTaskArgs, opts?: InvokeOptions): Promise<GetMysqlUserTaskResult>
function getMysqlUserTaskOutput(args: GetMysqlUserTaskOutputArgs, opts?: InvokeOptions): Output<GetMysqlUserTaskResult>def get_mysql_user_task(async_request_id: Optional[str] = None,
id: Optional[str] = None,
instance_id: Optional[str] = None,
result_output_file: Optional[str] = None,
start_time_begin: Optional[str] = None,
start_time_end: Optional[str] = None,
task_statuses: Optional[Sequence[str]] = None,
task_types: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetMysqlUserTaskResult
def get_mysql_user_task_output(async_request_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
start_time_begin: Optional[pulumi.Input[str]] = None,
start_time_end: Optional[pulumi.Input[str]] = None,
task_statuses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
task_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMysqlUserTaskResult]func GetMysqlUserTask(ctx *Context, args *GetMysqlUserTaskArgs, opts ...InvokeOption) (*GetMysqlUserTaskResult, error)
func GetMysqlUserTaskOutput(ctx *Context, args *GetMysqlUserTaskOutputArgs, opts ...InvokeOption) GetMysqlUserTaskResultOutput> Note: This function is named GetMysqlUserTask in the Go SDK.
public static class GetMysqlUserTask
{
public static Task<GetMysqlUserTaskResult> InvokeAsync(GetMysqlUserTaskArgs args, InvokeOptions? opts = null)
public static Output<GetMysqlUserTaskResult> Invoke(GetMysqlUserTaskInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMysqlUserTaskResult> getMysqlUserTask(GetMysqlUserTaskArgs args, InvokeOptions options)
public static Output<GetMysqlUserTaskResult> getMysqlUserTask(GetMysqlUserTaskArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getMysqlUserTask:getMysqlUserTask
arguments:
# arguments dictionaryThe following arguments are supported:
- Async
Request stringId - Asynchronous task request ID, the AsyncRequestId returned by executing cloud database-related operations.
- Id string
- Instance
Id string - Instance ID, the format is: cdb-c1nl9rpv, which is the same as the instance ID displayed on the cloud database console page, and you can use the [query instance list] (https://cloud.tencent.com/document/api/236/15872) interface Gets the value of the field InstanceId in the output parameter.
- Result
Output stringFile - Used to save results.
- Start
Time stringBegin - The start time of the first task, used for range query, the time format is as follows: 2017-12-31 10:40:01.
- Start
Time stringEnd - The start time of the last task, used for range query, the time format is as follows: 2017-12-31 10:40:01.
- Task
Statuses List<string> - Task status. If no value is passed, all task statuses will be queried. Supported values include:
UNDEFINED- undefined;INITIAL- initialization;RUNNING- running;SUCCEED- the execution was successful;FAILED- execution failed;KILLED- terminated;REMOVED- removed;PAUSED- Paused. - Task
Types List<string> - Task type. If no value is passed, all task types will be queried. Supported values include:
ROLLBACK- database rollback;SQL OPERATION- SQL operation;IMPORT DATA- data import;MODIFY PARAM- parameter setting;INITIAL- initialize the cloud database instance;REBOOT- restarts the cloud database instance;OPEN GTID- open the cloud database instance GTID;UPGRADE RO- read-only instance upgrade;BATCH ROLLBACK- database batch rollback;UPGRADE MASTER- master upgrade;DROP TABLES- delete cloud database tables;SWITCH DR TO MASTER- The disaster recovery instance.
- Async
Request stringId - Asynchronous task request ID, the AsyncRequestId returned by executing cloud database-related operations.
- Id string
- Instance
Id string - Instance ID, the format is: cdb-c1nl9rpv, which is the same as the instance ID displayed on the cloud database console page, and you can use the [query instance list] (https://cloud.tencent.com/document/api/236/15872) interface Gets the value of the field InstanceId in the output parameter.
- Result
Output stringFile - Used to save results.
- Start
Time stringBegin - The start time of the first task, used for range query, the time format is as follows: 2017-12-31 10:40:01.
- Start
Time stringEnd - The start time of the last task, used for range query, the time format is as follows: 2017-12-31 10:40:01.
- Task
Statuses []string - Task status. If no value is passed, all task statuses will be queried. Supported values include:
UNDEFINED- undefined;INITIAL- initialization;RUNNING- running;SUCCEED- the execution was successful;FAILED- execution failed;KILLED- terminated;REMOVED- removed;PAUSED- Paused. - Task
Types []string - Task type. If no value is passed, all task types will be queried. Supported values include:
ROLLBACK- database rollback;SQL OPERATION- SQL operation;IMPORT DATA- data import;MODIFY PARAM- parameter setting;INITIAL- initialize the cloud database instance;REBOOT- restarts the cloud database instance;OPEN GTID- open the cloud database instance GTID;UPGRADE RO- read-only instance upgrade;BATCH ROLLBACK- database batch rollback;UPGRADE MASTER- master upgrade;DROP TABLES- delete cloud database tables;SWITCH DR TO MASTER- The disaster recovery instance.
- async
Request StringId - Asynchronous task request ID, the AsyncRequestId returned by executing cloud database-related operations.
- id String
- instance
Id String - Instance ID, the format is: cdb-c1nl9rpv, which is the same as the instance ID displayed on the cloud database console page, and you can use the [query instance list] (https://cloud.tencent.com/document/api/236/15872) interface Gets the value of the field InstanceId in the output parameter.
- result
Output StringFile - Used to save results.
- start
Time StringBegin - The start time of the first task, used for range query, the time format is as follows: 2017-12-31 10:40:01.
- start
Time StringEnd - The start time of the last task, used for range query, the time format is as follows: 2017-12-31 10:40:01.
- task
Statuses List<String> - Task status. If no value is passed, all task statuses will be queried. Supported values include:
UNDEFINED- undefined;INITIAL- initialization;RUNNING- running;SUCCEED- the execution was successful;FAILED- execution failed;KILLED- terminated;REMOVED- removed;PAUSED- Paused. - task
Types List<String> - Task type. If no value is passed, all task types will be queried. Supported values include:
ROLLBACK- database rollback;SQL OPERATION- SQL operation;IMPORT DATA- data import;MODIFY PARAM- parameter setting;INITIAL- initialize the cloud database instance;REBOOT- restarts the cloud database instance;OPEN GTID- open the cloud database instance GTID;UPGRADE RO- read-only instance upgrade;BATCH ROLLBACK- database batch rollback;UPGRADE MASTER- master upgrade;DROP TABLES- delete cloud database tables;SWITCH DR TO MASTER- The disaster recovery instance.
- async
Request stringId - Asynchronous task request ID, the AsyncRequestId returned by executing cloud database-related operations.
- id string
- instance
Id string - Instance ID, the format is: cdb-c1nl9rpv, which is the same as the instance ID displayed on the cloud database console page, and you can use the [query instance list] (https://cloud.tencent.com/document/api/236/15872) interface Gets the value of the field InstanceId in the output parameter.
- result
Output stringFile - Used to save results.
- start
Time stringBegin - The start time of the first task, used for range query, the time format is as follows: 2017-12-31 10:40:01.
- start
Time stringEnd - The start time of the last task, used for range query, the time format is as follows: 2017-12-31 10:40:01.
- task
Statuses string[] - Task status. If no value is passed, all task statuses will be queried. Supported values include:
UNDEFINED- undefined;INITIAL- initialization;RUNNING- running;SUCCEED- the execution was successful;FAILED- execution failed;KILLED- terminated;REMOVED- removed;PAUSED- Paused. - task
Types string[] - Task type. If no value is passed, all task types will be queried. Supported values include:
ROLLBACK- database rollback;SQL OPERATION- SQL operation;IMPORT DATA- data import;MODIFY PARAM- parameter setting;INITIAL- initialize the cloud database instance;REBOOT- restarts the cloud database instance;OPEN GTID- open the cloud database instance GTID;UPGRADE RO- read-only instance upgrade;BATCH ROLLBACK- database batch rollback;UPGRADE MASTER- master upgrade;DROP TABLES- delete cloud database tables;SWITCH DR TO MASTER- The disaster recovery instance.
- async_
request_ strid - Asynchronous task request ID, the AsyncRequestId returned by executing cloud database-related operations.
- id str
- instance_
id str - Instance ID, the format is: cdb-c1nl9rpv, which is the same as the instance ID displayed on the cloud database console page, and you can use the [query instance list] (https://cloud.tencent.com/document/api/236/15872) interface Gets the value of the field InstanceId in the output parameter.
- result_
output_ strfile - Used to save results.
- start_
time_ strbegin - The start time of the first task, used for range query, the time format is as follows: 2017-12-31 10:40:01.
- start_
time_ strend - The start time of the last task, used for range query, the time format is as follows: 2017-12-31 10:40:01.
- task_
statuses Sequence[str] - Task status. If no value is passed, all task statuses will be queried. Supported values include:
UNDEFINED- undefined;INITIAL- initialization;RUNNING- running;SUCCEED- the execution was successful;FAILED- execution failed;KILLED- terminated;REMOVED- removed;PAUSED- Paused. - task_
types Sequence[str] - Task type. If no value is passed, all task types will be queried. Supported values include:
ROLLBACK- database rollback;SQL OPERATION- SQL operation;IMPORT DATA- data import;MODIFY PARAM- parameter setting;INITIAL- initialize the cloud database instance;REBOOT- restarts the cloud database instance;OPEN GTID- open the cloud database instance GTID;UPGRADE RO- read-only instance upgrade;BATCH ROLLBACK- database batch rollback;UPGRADE MASTER- master upgrade;DROP TABLES- delete cloud database tables;SWITCH DR TO MASTER- The disaster recovery instance.
- async
Request StringId - Asynchronous task request ID, the AsyncRequestId returned by executing cloud database-related operations.
- id String
- instance
Id String - Instance ID, the format is: cdb-c1nl9rpv, which is the same as the instance ID displayed on the cloud database console page, and you can use the [query instance list] (https://cloud.tencent.com/document/api/236/15872) interface Gets the value of the field InstanceId in the output parameter.
- result
Output StringFile - Used to save results.
- start
Time StringBegin - The start time of the first task, used for range query, the time format is as follows: 2017-12-31 10:40:01.
- start
Time StringEnd - The start time of the last task, used for range query, the time format is as follows: 2017-12-31 10:40:01.
- task
Statuses List<String> - Task status. If no value is passed, all task statuses will be queried. Supported values include:
UNDEFINED- undefined;INITIAL- initialization;RUNNING- running;SUCCEED- the execution was successful;FAILED- execution failed;KILLED- terminated;REMOVED- removed;PAUSED- Paused. - task
Types List<String> - Task type. If no value is passed, all task types will be queried. Supported values include:
ROLLBACK- database rollback;SQL OPERATION- SQL operation;IMPORT DATA- data import;MODIFY PARAM- parameter setting;INITIAL- initialize the cloud database instance;REBOOT- restarts the cloud database instance;OPEN GTID- open the cloud database instance GTID;UPGRADE RO- read-only instance upgrade;BATCH ROLLBACK- database batch rollback;UPGRADE MASTER- master upgrade;DROP TABLES- delete cloud database tables;SWITCH DR TO MASTER- The disaster recovery instance.
getMysqlUserTask Result
The following output properties are available:
- Id string
- Items
List<Get
Mysql User Task Item> - The returned instance task information.
- Async
Request stringId - The request ID of the asynchronous task.
- Instance
Id string - Result
Output stringFile - Start
Time stringBegin - Start
Time stringEnd - Task
Statuses List<string> - Instance task status, possible values include:UNDEFINED - undefined;INITIAL - initialization;RUNNING - running;SUCCEED - the execution was successful;FAILED - execution failed;KILLED - terminated;REMOVED - removed;PAUSED - Paused.WAITING - waiting (cancellable).
- Task
Types List<string>
- Id string
- Items
[]Get
Mysql User Task Item - The returned instance task information.
- Async
Request stringId - The request ID of the asynchronous task.
- Instance
Id string - Result
Output stringFile - Start
Time stringBegin - Start
Time stringEnd - Task
Statuses []string - Instance task status, possible values include:UNDEFINED - undefined;INITIAL - initialization;RUNNING - running;SUCCEED - the execution was successful;FAILED - execution failed;KILLED - terminated;REMOVED - removed;PAUSED - Paused.WAITING - waiting (cancellable).
- Task
Types []string
- id String
- items
List<Get
Mysql User Task Item> - The returned instance task information.
- async
Request StringId - The request ID of the asynchronous task.
- instance
Id String - result
Output StringFile - start
Time StringBegin - start
Time StringEnd - task
Statuses List<String> - Instance task status, possible values include:UNDEFINED - undefined;INITIAL - initialization;RUNNING - running;SUCCEED - the execution was successful;FAILED - execution failed;KILLED - terminated;REMOVED - removed;PAUSED - Paused.WAITING - waiting (cancellable).
- task
Types List<String>
- id string
- items
Get
Mysql User Task Item[] - The returned instance task information.
- async
Request stringId - The request ID of the asynchronous task.
- instance
Id string - result
Output stringFile - start
Time stringBegin - start
Time stringEnd - task
Statuses string[] - Instance task status, possible values include:UNDEFINED - undefined;INITIAL - initialization;RUNNING - running;SUCCEED - the execution was successful;FAILED - execution failed;KILLED - terminated;REMOVED - removed;PAUSED - Paused.WAITING - waiting (cancellable).
- task
Types string[]
- id str
- items
Sequence[Get
Mysql User Task Item] - The returned instance task information.
- async_
request_ strid - The request ID of the asynchronous task.
- instance_
id str - result_
output_ strfile - start_
time_ strbegin - start_
time_ strend - task_
statuses Sequence[str] - Instance task status, possible values include:UNDEFINED - undefined;INITIAL - initialization;RUNNING - running;SUCCEED - the execution was successful;FAILED - execution failed;KILLED - terminated;REMOVED - removed;PAUSED - Paused.WAITING - waiting (cancellable).
- task_
types Sequence[str]
- id String
- items List<Property Map>
- The returned instance task information.
- async
Request StringId - The request ID of the asynchronous task.
- instance
Id String - result
Output StringFile - start
Time StringBegin - start
Time StringEnd - task
Statuses List<String> - Instance task status, possible values include:UNDEFINED - undefined;INITIAL - initialization;RUNNING - running;SUCCEED - the execution was successful;FAILED - execution failed;KILLED - terminated;REMOVED - removed;PAUSED - Paused.WAITING - waiting (cancellable).
- task
Types List<String>
Supporting Types
GetMysqlUserTaskItem
- Async
Request stringId - Asynchronous task request ID, the AsyncRequestId returned by executing cloud database-related operations.
- Code double
- error code.
- End
Time string - Instance task end time.
- Instance
Ids List<string> - The instance ID associated with the task. Note: This field may return null, indicating that no valid value can be obtained.
- Job
Id double - Instance task ID.
- Message string
- error message.
- Progress double
- Instance task progress.
- Start
Time string - Instance task start time.
- Task
Status string - Task status. If no value is passed, all task statuses will be queried. Supported values include:
UNDEFINED- undefined;INITIAL- initialization;RUNNING- running;SUCCEED- the execution was successful;FAILED- execution failed;KILLED- terminated;REMOVED- removed;PAUSED- Paused. - Task
Type string - Instance task type, possible values include:ROLLBACK - database rollback;SQL OPERATION - SQL operation;IMPORT DATA - data import;MODIFY PARAM - parameter setting;INITIAL - initialize the cloud database instance;REBOOT - restarts the cloud database instance;OPEN GTID - open the cloud database instance GTID;UPGRADE RO - read-only instance upgrade;BATCH ROLLBACK - database batch rollback;UPGRADE MASTER - master upgrade;DROP TABLES - delete cloud database tables;SWITCH DR TO MASTER - The disaster recovery instance.
- Async
Request stringId - Asynchronous task request ID, the AsyncRequestId returned by executing cloud database-related operations.
- Code float64
- error code.
- End
Time string - Instance task end time.
- Instance
Ids []string - The instance ID associated with the task. Note: This field may return null, indicating that no valid value can be obtained.
- Job
Id float64 - Instance task ID.
- Message string
- error message.
- Progress float64
- Instance task progress.
- Start
Time string - Instance task start time.
- Task
Status string - Task status. If no value is passed, all task statuses will be queried. Supported values include:
UNDEFINED- undefined;INITIAL- initialization;RUNNING- running;SUCCEED- the execution was successful;FAILED- execution failed;KILLED- terminated;REMOVED- removed;PAUSED- Paused. - Task
Type string - Instance task type, possible values include:ROLLBACK - database rollback;SQL OPERATION - SQL operation;IMPORT DATA - data import;MODIFY PARAM - parameter setting;INITIAL - initialize the cloud database instance;REBOOT - restarts the cloud database instance;OPEN GTID - open the cloud database instance GTID;UPGRADE RO - read-only instance upgrade;BATCH ROLLBACK - database batch rollback;UPGRADE MASTER - master upgrade;DROP TABLES - delete cloud database tables;SWITCH DR TO MASTER - The disaster recovery instance.
- async
Request StringId - Asynchronous task request ID, the AsyncRequestId returned by executing cloud database-related operations.
- code Double
- error code.
- end
Time String - Instance task end time.
- instance
Ids List<String> - The instance ID associated with the task. Note: This field may return null, indicating that no valid value can be obtained.
- job
Id Double - Instance task ID.
- message String
- error message.
- progress Double
- Instance task progress.
- start
Time String - Instance task start time.
- task
Status String - Task status. If no value is passed, all task statuses will be queried. Supported values include:
UNDEFINED- undefined;INITIAL- initialization;RUNNING- running;SUCCEED- the execution was successful;FAILED- execution failed;KILLED- terminated;REMOVED- removed;PAUSED- Paused. - task
Type String - Instance task type, possible values include:ROLLBACK - database rollback;SQL OPERATION - SQL operation;IMPORT DATA - data import;MODIFY PARAM - parameter setting;INITIAL - initialize the cloud database instance;REBOOT - restarts the cloud database instance;OPEN GTID - open the cloud database instance GTID;UPGRADE RO - read-only instance upgrade;BATCH ROLLBACK - database batch rollback;UPGRADE MASTER - master upgrade;DROP TABLES - delete cloud database tables;SWITCH DR TO MASTER - The disaster recovery instance.
- async
Request stringId - Asynchronous task request ID, the AsyncRequestId returned by executing cloud database-related operations.
- code number
- error code.
- end
Time string - Instance task end time.
- instance
Ids string[] - The instance ID associated with the task. Note: This field may return null, indicating that no valid value can be obtained.
- job
Id number - Instance task ID.
- message string
- error message.
- progress number
- Instance task progress.
- start
Time string - Instance task start time.
- task
Status string - Task status. If no value is passed, all task statuses will be queried. Supported values include:
UNDEFINED- undefined;INITIAL- initialization;RUNNING- running;SUCCEED- the execution was successful;FAILED- execution failed;KILLED- terminated;REMOVED- removed;PAUSED- Paused. - task
Type string - Instance task type, possible values include:ROLLBACK - database rollback;SQL OPERATION - SQL operation;IMPORT DATA - data import;MODIFY PARAM - parameter setting;INITIAL - initialize the cloud database instance;REBOOT - restarts the cloud database instance;OPEN GTID - open the cloud database instance GTID;UPGRADE RO - read-only instance upgrade;BATCH ROLLBACK - database batch rollback;UPGRADE MASTER - master upgrade;DROP TABLES - delete cloud database tables;SWITCH DR TO MASTER - The disaster recovery instance.
- async_
request_ strid - Asynchronous task request ID, the AsyncRequestId returned by executing cloud database-related operations.
- code float
- error code.
- end_
time str - Instance task end time.
- instance_
ids Sequence[str] - The instance ID associated with the task. Note: This field may return null, indicating that no valid value can be obtained.
- job_
id float - Instance task ID.
- message str
- error message.
- progress float
- Instance task progress.
- start_
time str - Instance task start time.
- task_
status str - Task status. If no value is passed, all task statuses will be queried. Supported values include:
UNDEFINED- undefined;INITIAL- initialization;RUNNING- running;SUCCEED- the execution was successful;FAILED- execution failed;KILLED- terminated;REMOVED- removed;PAUSED- Paused. - task_
type str - Instance task type, possible values include:ROLLBACK - database rollback;SQL OPERATION - SQL operation;IMPORT DATA - data import;MODIFY PARAM - parameter setting;INITIAL - initialize the cloud database instance;REBOOT - restarts the cloud database instance;OPEN GTID - open the cloud database instance GTID;UPGRADE RO - read-only instance upgrade;BATCH ROLLBACK - database batch rollback;UPGRADE MASTER - master upgrade;DROP TABLES - delete cloud database tables;SWITCH DR TO MASTER - The disaster recovery instance.
- async
Request StringId - Asynchronous task request ID, the AsyncRequestId returned by executing cloud database-related operations.
- code Number
- error code.
- end
Time String - Instance task end time.
- instance
Ids List<String> - The instance ID associated with the task. Note: This field may return null, indicating that no valid value can be obtained.
- job
Id Number - Instance task ID.
- message String
- error message.
- progress Number
- Instance task progress.
- start
Time String - Instance task start time.
- task
Status String - Task status. If no value is passed, all task statuses will be queried. Supported values include:
UNDEFINED- undefined;INITIAL- initialization;RUNNING- running;SUCCEED- the execution was successful;FAILED- execution failed;KILLED- terminated;REMOVED- removed;PAUSED- Paused. - task
Type String - Instance task type, possible values include:ROLLBACK - database rollback;SQL OPERATION - SQL operation;IMPORT DATA - data import;MODIFY PARAM - parameter setting;INITIAL - initialize the cloud database instance;REBOOT - restarts the cloud database instance;OPEN GTID - open the cloud database instance GTID;UPGRADE RO - read-only instance upgrade;BATCH ROLLBACK - database batch rollback;UPGRADE MASTER - master upgrade;DROP TABLES - delete cloud database tables;SWITCH DR TO MASTER - The disaster recovery instance.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
