1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getMysqlUserTask
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getMysqlUserTask

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 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({
        asyncRequestId: "f2fe828c-773af816-0a08f542-94bb2a9c",
        instanceId: "cdb-fitq5t9h",
        startTimeBegin: "2017-12-31 10:40:01",
        startTimeEnd: "2017-12-31 10:40:01",
        taskStatuses: ["2"],
        taskTypes: ["5"],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    user_task = tencentcloud.get_mysql_user_task(async_request_id="f2fe828c-773af816-0a08f542-94bb2a9c",
        instance_id="cdb-fitq5t9h",
        start_time_begin="2017-12-31 10:40:01",
        start_time_end="2017-12-31 10:40:01",
        task_statuses=["2"],
        task_types=["5"])
    
    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{
    			AsyncRequestId: pulumi.StringRef("f2fe828c-773af816-0a08f542-94bb2a9c"),
    			InstanceId:     pulumi.StringRef("cdb-fitq5t9h"),
    			StartTimeBegin: pulumi.StringRef("2017-12-31 10:40:01"),
    			StartTimeEnd:   pulumi.StringRef("2017-12-31 10:40:01"),
    			TaskStatuses: []string{
    				"2",
    			},
    			TaskTypes: []string{
    				"5",
    			},
    		}, 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()
        {
            AsyncRequestId = "f2fe828c-773af816-0a08f542-94bb2a9c",
            InstanceId = "cdb-fitq5t9h",
            StartTimeBegin = "2017-12-31 10:40:01",
            StartTimeEnd = "2017-12-31 10:40:01",
            TaskStatuses = new[]
            {
                "2",
            },
            TaskTypes = new[]
            {
                "5",
            },
        });
    
    });
    
    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()
                .asyncRequestId("f2fe828c-773af816-0a08f542-94bb2a9c")
                .instanceId("cdb-fitq5t9h")
                .startTimeBegin("2017-12-31 10:40:01")
                .startTimeEnd("2017-12-31 10:40:01")
                .taskStatuses(2)
                .taskTypes(5)
                .build());
    
        }
    }
    
    variables:
      userTask:
        fn::invoke:
          function: tencentcloud:getMysqlUserTask
          arguments:
            asyncRequestId: f2fe828c-773af816-0a08f542-94bb2a9c
            instanceId: cdb-fitq5t9h
            startTimeBegin: 2017-12-31 10:40:01
            startTimeEnd: 2017-12-31 10:40:01
            taskStatuses:
              - 2
            taskTypes:
              - 5
    

    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 dictionary

    The following arguments are supported:

    AsyncRequestId string
    Asynchronous task request ID, the AsyncRequestId returned by executing cloud database-related operations.
    Id string
    InstanceId 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.
    ResultOutputFile string
    Used to save results.
    StartTimeBegin string
    The start time of the first task, used for range query, the time format is as follows: 2017-12-31 10:40:01.
    StartTimeEnd string
    The start time of the last task, used for range query, the time format is as follows: 2017-12-31 10:40:01.
    TaskStatuses 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.
    TaskTypes 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.
    AsyncRequestId string
    Asynchronous task request ID, the AsyncRequestId returned by executing cloud database-related operations.
    Id string
    InstanceId 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.
    ResultOutputFile string
    Used to save results.
    StartTimeBegin string
    The start time of the first task, used for range query, the time format is as follows: 2017-12-31 10:40:01.
    StartTimeEnd string
    The start time of the last task, used for range query, the time format is as follows: 2017-12-31 10:40:01.
    TaskStatuses []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.
    TaskTypes []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.
    asyncRequestId String
    Asynchronous task request ID, the AsyncRequestId returned by executing cloud database-related operations.
    id String
    instanceId 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.
    resultOutputFile String
    Used to save results.
    startTimeBegin String
    The start time of the first task, used for range query, the time format is as follows: 2017-12-31 10:40:01.
    startTimeEnd String
    The start time of the last task, used for range query, the time format is as follows: 2017-12-31 10:40:01.
    taskStatuses 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.
    taskTypes 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.
    asyncRequestId string
    Asynchronous task request ID, the AsyncRequestId returned by executing cloud database-related operations.
    id string
    instanceId 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.
    resultOutputFile string
    Used to save results.
    startTimeBegin string
    The start time of the first task, used for range query, the time format is as follows: 2017-12-31 10:40:01.
    startTimeEnd string
    The start time of the last task, used for range query, the time format is as follows: 2017-12-31 10:40:01.
    taskStatuses 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.
    taskTypes 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_id str
    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_file str
    Used to save results.
    start_time_begin str
    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_end str
    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.
    asyncRequestId String
    Asynchronous task request ID, the AsyncRequestId returned by executing cloud database-related operations.
    id String
    instanceId 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.
    resultOutputFile String
    Used to save results.
    startTimeBegin String
    The start time of the first task, used for range query, the time format is as follows: 2017-12-31 10:40:01.
    startTimeEnd String
    The start time of the last task, used for range query, the time format is as follows: 2017-12-31 10:40:01.
    taskStatuses 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.
    taskTypes 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<GetMysqlUserTaskItem>
    The returned instance task information.
    AsyncRequestId string
    The request ID of the asynchronous task.
    InstanceId string
    ResultOutputFile string
    StartTimeBegin string
    StartTimeEnd string
    TaskStatuses 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).
    TaskTypes List<string>
    Id string
    Items []GetMysqlUserTaskItem
    The returned instance task information.
    AsyncRequestId string
    The request ID of the asynchronous task.
    InstanceId string
    ResultOutputFile string
    StartTimeBegin string
    StartTimeEnd string
    TaskStatuses []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).
    TaskTypes []string
    id String
    items List<GetMysqlUserTaskItem>
    The returned instance task information.
    asyncRequestId String
    The request ID of the asynchronous task.
    instanceId String
    resultOutputFile String
    startTimeBegin String
    startTimeEnd String
    taskStatuses 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).
    taskTypes List<String>
    id string
    items GetMysqlUserTaskItem[]
    The returned instance task information.
    asyncRequestId string
    The request ID of the asynchronous task.
    instanceId string
    resultOutputFile string
    startTimeBegin string
    startTimeEnd string
    taskStatuses 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).
    taskTypes string[]
    id str
    items Sequence[GetMysqlUserTaskItem]
    The returned instance task information.
    async_request_id str
    The request ID of the asynchronous task.
    instance_id str
    result_output_file str
    start_time_begin str
    start_time_end str
    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.
    asyncRequestId String
    The request ID of the asynchronous task.
    instanceId String
    resultOutputFile String
    startTimeBegin String
    startTimeEnd String
    taskStatuses 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).
    taskTypes List<String>

    Supporting Types

    GetMysqlUserTaskItem

    AsyncRequestId string
    Asynchronous task request ID, the AsyncRequestId returned by executing cloud database-related operations.
    Code double
    error code.
    EndTime string
    Instance task end time.
    InstanceIds List<string>
    The instance ID associated with the task. Note: This field may return null, indicating that no valid value can be obtained.
    JobId double
    Instance task ID.
    Message string
    error message.
    Progress double
    Instance task progress.
    StartTime string
    Instance task start time.
    TaskStatus 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.
    TaskType 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.
    AsyncRequestId string
    Asynchronous task request ID, the AsyncRequestId returned by executing cloud database-related operations.
    Code float64
    error code.
    EndTime string
    Instance task end time.
    InstanceIds []string
    The instance ID associated with the task. Note: This field may return null, indicating that no valid value can be obtained.
    JobId float64
    Instance task ID.
    Message string
    error message.
    Progress float64
    Instance task progress.
    StartTime string
    Instance task start time.
    TaskStatus 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.
    TaskType 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.
    asyncRequestId String
    Asynchronous task request ID, the AsyncRequestId returned by executing cloud database-related operations.
    code Double
    error code.
    endTime String
    Instance task end time.
    instanceIds List<String>
    The instance ID associated with the task. Note: This field may return null, indicating that no valid value can be obtained.
    jobId Double
    Instance task ID.
    message String
    error message.
    progress Double
    Instance task progress.
    startTime String
    Instance task start time.
    taskStatus 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.
    taskType 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.
    asyncRequestId string
    Asynchronous task request ID, the AsyncRequestId returned by executing cloud database-related operations.
    code number
    error code.
    endTime string
    Instance task end time.
    instanceIds string[]
    The instance ID associated with the task. Note: This field may return null, indicating that no valid value can be obtained.
    jobId number
    Instance task ID.
    message string
    error message.
    progress number
    Instance task progress.
    startTime string
    Instance task start time.
    taskStatus 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.
    taskType 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_id str
    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.
    asyncRequestId String
    Asynchronous task request ID, the AsyncRequestId returned by executing cloud database-related operations.
    code Number
    error code.
    endTime String
    Instance task end time.
    instanceIds List<String>
    The instance ID associated with the task. Note: This field may return null, indicating that no valid value can be obtained.
    jobId Number
    Instance task ID.
    message String
    error message.
    progress Number
    Instance task progress.
    startTime String
    Instance task start time.
    taskStatus 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.
    taskType 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 tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack