Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine
volcengine.rds_mysql.getTasks
Explore with Pulumi AI
Use this data source to query detailed information of rds mysql tasks
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.rds_mysql.getTasks({
creationEndTime: "2025-06-23T00:00:00Z",
creationStartTime: "2025-06-21T00:00:00Z",
instanceId: "mysql-b51d37110dd1",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.rds_mysql.get_tasks(creation_end_time="2025-06-23T00:00:00Z",
creation_start_time="2025-06-21T00:00:00Z",
instance_id="mysql-b51d37110dd1")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/rds_mysql"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := rds_mysql.GetTasks(ctx, &rds_mysql.GetTasksArgs{
CreationEndTime: pulumi.StringRef("2025-06-23T00:00:00Z"),
CreationStartTime: pulumi.StringRef("2025-06-21T00:00:00Z"),
InstanceId: pulumi.StringRef("mysql-b51d37110dd1"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = Volcengine.Rds_mysql.GetTasks.Invoke(new()
{
CreationEndTime = "2025-06-23T00:00:00Z",
CreationStartTime = "2025-06-21T00:00:00Z",
InstanceId = "mysql-b51d37110dd1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.rds_mysql.Rds_mysqlFunctions;
import com.pulumi.volcengine.rds_mysql.inputs.GetTasksArgs;
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 foo = Rds_mysqlFunctions.getTasks(GetTasksArgs.builder()
.creationEndTime("2025-06-23T00:00:00Z")
.creationStartTime("2025-06-21T00:00:00Z")
.instanceId("mysql-b51d37110dd1")
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:rds_mysql:getTasks
Arguments:
creationEndTime: 2025-06-23T00:00:00Z
creationStartTime: 2025-06-21T00:00:00Z
instanceId: mysql-b51d37110dd1
Using getTasks
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 getTasks(args: GetTasksArgs, opts?: InvokeOptions): Promise<GetTasksResult>
function getTasksOutput(args: GetTasksOutputArgs, opts?: InvokeOptions): Output<GetTasksResult>
def get_tasks(creation_end_time: Optional[str] = None,
creation_start_time: Optional[str] = None,
instance_id: Optional[str] = None,
output_file: Optional[str] = None,
project_name: Optional[str] = None,
task_action: Optional[str] = None,
task_categories: Optional[Sequence[str]] = None,
task_id: Optional[str] = None,
task_source: Optional[str] = None,
task_statuses: Optional[Sequence[str]] = None,
task_type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTasksResult
def get_tasks_output(creation_end_time: Optional[pulumi.Input[str]] = None,
creation_start_time: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
project_name: Optional[pulumi.Input[str]] = None,
task_action: Optional[pulumi.Input[str]] = None,
task_categories: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
task_id: Optional[pulumi.Input[str]] = None,
task_source: Optional[pulumi.Input[str]] = None,
task_statuses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
task_type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTasksResult]
func GetTasks(ctx *Context, args *GetTasksArgs, opts ...InvokeOption) (*GetTasksResult, error)
func GetTasksOutput(ctx *Context, args *GetTasksOutputArgs, opts ...InvokeOption) GetTasksResultOutput
> Note: This function is named GetTasks
in the Go SDK.
public static class GetTasks
{
public static Task<GetTasksResult> InvokeAsync(GetTasksArgs args, InvokeOptions? opts = null)
public static Output<GetTasksResult> Invoke(GetTasksInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTasksResult> getTasks(GetTasksArgs args, InvokeOptions options)
public static Output<GetTasksResult> getTasks(GetTasksArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:rds_mysql/getTasks:getTasks
arguments:
# arguments dictionary
The following arguments are supported:
- Creation
End stringTime - The end time of the task. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Instructions: For the two groups of parameters, task time (CreationStartTime and CreationEndTime) and TaskId, one of them must be selected. The maximum time interval between the task start time (CreationStartTime) and the task end time (CreationEndTime) shall not exceed 7 days.
- Creation
Start stringTime - The start time of the task. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Instructions: For the two groups of parameters, task time (CreationStartTime and CreationEndTime) and TaskId, one of them must be selected. The maximum time interval between the task start time (CreationStartTime) and the task end time (CreationEndTime) cannot exceed 7 days.
- Instance
Id string - Instance ID.
- Output
File string - File name where to save data source results.
- Project
Name string - The project name.
- Task
Action string - Task name.
- Task
Categories List<string> - Task Category. The values are as shown in the following list, and multiple values can be selected: BackupRecoveryManagement: Backup and Recovery Management. DatabaseAdminManagement: Database Administration Management. DatabaseProxy: Database Proxy. HighAvailability: High Availability. InstanceAttribute: Instance Attribute. InstanceManagement: Instance Management. NetworkManagement: Network Management. SecurityManagement: Security Management. SystemMaintainManagement: System Operation and Maintenance Management. VersionUpgrade: Version Upgrade.
- Task
Id string - Task ID. Description: For the two groups of parameters, TaskId and task time (CreationStartTime and CreationEndTime), one of them must be selected.
- Task
Source string - Task source. Values: User: Tenant. System: System. SystemUser: Internal operation and maintenance. UserMaintain: Maintenance operations initiated by system/operation and maintenance administrators and visible to tenants.
- Task
Statuses List<string> - Task status. The values are as shown in the following list, and multiple values can be selected: WaitSwitch: Waiting for switching. WaitStart: Waiting for execution. Canceled: Canceled. Stopped: Terminated. Running_BeforeSwitch: Running (before switching). Timeout: Execution Timeout. Success: Execution Success. Failed: Execution Failed. Running: In Execution. Stopping: In Termination.
- Task
Type string - Task type. Values: Web: Console request. OpenAPI: OpenAPI request. AssumeRole: Role - playing request. Other: Other requests.
- Creation
End stringTime - The end time of the task. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Instructions: For the two groups of parameters, task time (CreationStartTime and CreationEndTime) and TaskId, one of them must be selected. The maximum time interval between the task start time (CreationStartTime) and the task end time (CreationEndTime) shall not exceed 7 days.
- Creation
Start stringTime - The start time of the task. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Instructions: For the two groups of parameters, task time (CreationStartTime and CreationEndTime) and TaskId, one of them must be selected. The maximum time interval between the task start time (CreationStartTime) and the task end time (CreationEndTime) cannot exceed 7 days.
- Instance
Id string - Instance ID.
- Output
File string - File name where to save data source results.
- Project
Name string - The project name.
- Task
Action string - Task name.
- Task
Categories []string - Task Category. The values are as shown in the following list, and multiple values can be selected: BackupRecoveryManagement: Backup and Recovery Management. DatabaseAdminManagement: Database Administration Management. DatabaseProxy: Database Proxy. HighAvailability: High Availability. InstanceAttribute: Instance Attribute. InstanceManagement: Instance Management. NetworkManagement: Network Management. SecurityManagement: Security Management. SystemMaintainManagement: System Operation and Maintenance Management. VersionUpgrade: Version Upgrade.
- Task
Id string - Task ID. Description: For the two groups of parameters, TaskId and task time (CreationStartTime and CreationEndTime), one of them must be selected.
- Task
Source string - Task source. Values: User: Tenant. System: System. SystemUser: Internal operation and maintenance. UserMaintain: Maintenance operations initiated by system/operation and maintenance administrators and visible to tenants.
- Task
Statuses []string - Task status. The values are as shown in the following list, and multiple values can be selected: WaitSwitch: Waiting for switching. WaitStart: Waiting for execution. Canceled: Canceled. Stopped: Terminated. Running_BeforeSwitch: Running (before switching). Timeout: Execution Timeout. Success: Execution Success. Failed: Execution Failed. Running: In Execution. Stopping: In Termination.
- Task
Type string - Task type. Values: Web: Console request. OpenAPI: OpenAPI request. AssumeRole: Role - playing request. Other: Other requests.
- creation
End StringTime - The end time of the task. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Instructions: For the two groups of parameters, task time (CreationStartTime and CreationEndTime) and TaskId, one of them must be selected. The maximum time interval between the task start time (CreationStartTime) and the task end time (CreationEndTime) shall not exceed 7 days.
- creation
Start StringTime - The start time of the task. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Instructions: For the two groups of parameters, task time (CreationStartTime and CreationEndTime) and TaskId, one of them must be selected. The maximum time interval between the task start time (CreationStartTime) and the task end time (CreationEndTime) cannot exceed 7 days.
- instance
Id String - Instance ID.
- output
File String - File name where to save data source results.
- project
Name String - The project name.
- task
Action String - Task name.
- task
Categories List<String> - Task Category. The values are as shown in the following list, and multiple values can be selected: BackupRecoveryManagement: Backup and Recovery Management. DatabaseAdminManagement: Database Administration Management. DatabaseProxy: Database Proxy. HighAvailability: High Availability. InstanceAttribute: Instance Attribute. InstanceManagement: Instance Management. NetworkManagement: Network Management. SecurityManagement: Security Management. SystemMaintainManagement: System Operation and Maintenance Management. VersionUpgrade: Version Upgrade.
- task
Id String - Task ID. Description: For the two groups of parameters, TaskId and task time (CreationStartTime and CreationEndTime), one of them must be selected.
- task
Source String - Task source. Values: User: Tenant. System: System. SystemUser: Internal operation and maintenance. UserMaintain: Maintenance operations initiated by system/operation and maintenance administrators and visible to tenants.
- task
Statuses List<String> - Task status. The values are as shown in the following list, and multiple values can be selected: WaitSwitch: Waiting for switching. WaitStart: Waiting for execution. Canceled: Canceled. Stopped: Terminated. Running_BeforeSwitch: Running (before switching). Timeout: Execution Timeout. Success: Execution Success. Failed: Execution Failed. Running: In Execution. Stopping: In Termination.
- task
Type String - Task type. Values: Web: Console request. OpenAPI: OpenAPI request. AssumeRole: Role - playing request. Other: Other requests.
- creation
End stringTime - The end time of the task. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Instructions: For the two groups of parameters, task time (CreationStartTime and CreationEndTime) and TaskId, one of them must be selected. The maximum time interval between the task start time (CreationStartTime) and the task end time (CreationEndTime) shall not exceed 7 days.
- creation
Start stringTime - The start time of the task. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Instructions: For the two groups of parameters, task time (CreationStartTime and CreationEndTime) and TaskId, one of them must be selected. The maximum time interval between the task start time (CreationStartTime) and the task end time (CreationEndTime) cannot exceed 7 days.
- instance
Id string - Instance ID.
- output
File string - File name where to save data source results.
- project
Name string - The project name.
- task
Action string - Task name.
- task
Categories string[] - Task Category. The values are as shown in the following list, and multiple values can be selected: BackupRecoveryManagement: Backup and Recovery Management. DatabaseAdminManagement: Database Administration Management. DatabaseProxy: Database Proxy. HighAvailability: High Availability. InstanceAttribute: Instance Attribute. InstanceManagement: Instance Management. NetworkManagement: Network Management. SecurityManagement: Security Management. SystemMaintainManagement: System Operation and Maintenance Management. VersionUpgrade: Version Upgrade.
- task
Id string - Task ID. Description: For the two groups of parameters, TaskId and task time (CreationStartTime and CreationEndTime), one of them must be selected.
- task
Source string - Task source. Values: User: Tenant. System: System. SystemUser: Internal operation and maintenance. UserMaintain: Maintenance operations initiated by system/operation and maintenance administrators and visible to tenants.
- task
Statuses string[] - Task status. The values are as shown in the following list, and multiple values can be selected: WaitSwitch: Waiting for switching. WaitStart: Waiting for execution. Canceled: Canceled. Stopped: Terminated. Running_BeforeSwitch: Running (before switching). Timeout: Execution Timeout. Success: Execution Success. Failed: Execution Failed. Running: In Execution. Stopping: In Termination.
- task
Type string - Task type. Values: Web: Console request. OpenAPI: OpenAPI request. AssumeRole: Role - playing request. Other: Other requests.
- creation_
end_ strtime - The end time of the task. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Instructions: For the two groups of parameters, task time (CreationStartTime and CreationEndTime) and TaskId, one of them must be selected. The maximum time interval between the task start time (CreationStartTime) and the task end time (CreationEndTime) shall not exceed 7 days.
- creation_
start_ strtime - The start time of the task. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Instructions: For the two groups of parameters, task time (CreationStartTime and CreationEndTime) and TaskId, one of them must be selected. The maximum time interval between the task start time (CreationStartTime) and the task end time (CreationEndTime) cannot exceed 7 days.
- instance_
id str - Instance ID.
- output_
file str - File name where to save data source results.
- project_
name str - The project name.
- task_
action str - Task name.
- task_
categories Sequence[str] - Task Category. The values are as shown in the following list, and multiple values can be selected: BackupRecoveryManagement: Backup and Recovery Management. DatabaseAdminManagement: Database Administration Management. DatabaseProxy: Database Proxy. HighAvailability: High Availability. InstanceAttribute: Instance Attribute. InstanceManagement: Instance Management. NetworkManagement: Network Management. SecurityManagement: Security Management. SystemMaintainManagement: System Operation and Maintenance Management. VersionUpgrade: Version Upgrade.
- task_
id str - Task ID. Description: For the two groups of parameters, TaskId and task time (CreationStartTime and CreationEndTime), one of them must be selected.
- task_
source str - Task source. Values: User: Tenant. System: System. SystemUser: Internal operation and maintenance. UserMaintain: Maintenance operations initiated by system/operation and maintenance administrators and visible to tenants.
- task_
statuses Sequence[str] - Task status. The values are as shown in the following list, and multiple values can be selected: WaitSwitch: Waiting for switching. WaitStart: Waiting for execution. Canceled: Canceled. Stopped: Terminated. Running_BeforeSwitch: Running (before switching). Timeout: Execution Timeout. Success: Execution Success. Failed: Execution Failed. Running: In Execution. Stopping: In Termination.
- task_
type str - Task type. Values: Web: Console request. OpenAPI: OpenAPI request. AssumeRole: Role - playing request. Other: Other requests.
- creation
End StringTime - The end time of the task. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Instructions: For the two groups of parameters, task time (CreationStartTime and CreationEndTime) and TaskId, one of them must be selected. The maximum time interval between the task start time (CreationStartTime) and the task end time (CreationEndTime) shall not exceed 7 days.
- creation
Start StringTime - The start time of the task. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Instructions: For the two groups of parameters, task time (CreationStartTime and CreationEndTime) and TaskId, one of them must be selected. The maximum time interval between the task start time (CreationStartTime) and the task end time (CreationEndTime) cannot exceed 7 days.
- instance
Id String - Instance ID.
- output
File String - File name where to save data source results.
- project
Name String - The project name.
- task
Action String - Task name.
- task
Categories List<String> - Task Category. The values are as shown in the following list, and multiple values can be selected: BackupRecoveryManagement: Backup and Recovery Management. DatabaseAdminManagement: Database Administration Management. DatabaseProxy: Database Proxy. HighAvailability: High Availability. InstanceAttribute: Instance Attribute. InstanceManagement: Instance Management. NetworkManagement: Network Management. SecurityManagement: Security Management. SystemMaintainManagement: System Operation and Maintenance Management. VersionUpgrade: Version Upgrade.
- task
Id String - Task ID. Description: For the two groups of parameters, TaskId and task time (CreationStartTime and CreationEndTime), one of them must be selected.
- task
Source String - Task source. Values: User: Tenant. System: System. SystemUser: Internal operation and maintenance. UserMaintain: Maintenance operations initiated by system/operation and maintenance administrators and visible to tenants.
- task
Statuses List<String> - Task status. The values are as shown in the following list, and multiple values can be selected: WaitSwitch: Waiting for switching. WaitStart: Waiting for execution. Canceled: Canceled. Stopped: Terminated. Running_BeforeSwitch: Running (before switching). Timeout: Execution Timeout. Success: Execution Success. Failed: Execution Failed. Running: In Execution. Stopping: In Termination.
- task
Type String - Task type. Values: Web: Console request. OpenAPI: OpenAPI request. AssumeRole: Role - playing request. Other: Other requests.
getTasks Result
The following output properties are available:
- Datas
List<Get
Tasks Data> - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Creation
End stringTime - Creation
Start stringTime - Instance
Id string - Instance ID.
- Output
File string - Project
Name string - Task
Action string - Task name.
- Task
Categories List<string> - Task category.
- Task
Id string - Task ID.
- Task
Source string - Task
Statuses List<string> - Task status. The values are as shown in the following list, and multiple values can be selected: WaitSwitch: Waiting for switching. WaitStart: Waiting for execution. Canceled: Canceled. Stopped: Terminated. Running_BeforeSwitch: Running (before switching). Timeout: Execution Timeout. Success: Execution Success. Failed: Execution Failed. Running: In Execution. Stopping: In Termination.
- Task
Type string
- Datas
[]Get
Tasks Data - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Creation
End stringTime - Creation
Start stringTime - Instance
Id string - Instance ID.
- Output
File string - Project
Name string - Task
Action string - Task name.
- Task
Categories []string - Task category.
- Task
Id string - Task ID.
- Task
Source string - Task
Statuses []string - Task status. The values are as shown in the following list, and multiple values can be selected: WaitSwitch: Waiting for switching. WaitStart: Waiting for execution. Canceled: Canceled. Stopped: Terminated. Running_BeforeSwitch: Running (before switching). Timeout: Execution Timeout. Success: Execution Success. Failed: Execution Failed. Running: In Execution. Stopping: In Termination.
- Task
Type string
- datas
List<Get
Tasks Data> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of query.
- creation
End StringTime - creation
Start StringTime - instance
Id String - Instance ID.
- output
File String - project
Name String - task
Action String - Task name.
- task
Categories List<String> - Task category.
- task
Id String - Task ID.
- task
Source String - task
Statuses List<String> - Task status. The values are as shown in the following list, and multiple values can be selected: WaitSwitch: Waiting for switching. WaitStart: Waiting for execution. Canceled: Canceled. Stopped: Terminated. Running_BeforeSwitch: Running (before switching). Timeout: Execution Timeout. Success: Execution Success. Failed: Execution Failed. Running: In Execution. Stopping: In Termination.
- task
Type String
- datas
Get
Tasks Data[] - The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of query.
- creation
End stringTime - creation
Start stringTime - instance
Id string - Instance ID.
- output
File string - project
Name string - task
Action string - Task name.
- task
Categories string[] - Task category.
- task
Id string - Task ID.
- task
Source string - task
Statuses string[] - Task status. The values are as shown in the following list, and multiple values can be selected: WaitSwitch: Waiting for switching. WaitStart: Waiting for execution. Canceled: Canceled. Stopped: Terminated. Running_BeforeSwitch: Running (before switching). Timeout: Execution Timeout. Success: Execution Success. Failed: Execution Failed. Running: In Execution. Stopping: In Termination.
- task
Type string
- datas
Sequence[Get
Tasks Data] - The collection of query.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of query.
- creation_
end_ strtime - creation_
start_ strtime - instance_
id str - Instance ID.
- output_
file str - project_
name str - task_
action str - Task name.
- task_
categories Sequence[str] - Task category.
- task_
id str - Task ID.
- task_
source str - task_
statuses Sequence[str] - Task status. The values are as shown in the following list, and multiple values can be selected: WaitSwitch: Waiting for switching. WaitStart: Waiting for execution. Canceled: Canceled. Stopped: Terminated. Running_BeforeSwitch: Running (before switching). Timeout: Execution Timeout. Success: Execution Success. Failed: Execution Failed. Running: In Execution. Stopping: In Termination.
- task_
type str
- datas List<Property Map>
- The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of query.
- creation
End StringTime - creation
Start StringTime - instance
Id String - Instance ID.
- output
File String - project
Name String - task
Action String - Task name.
- task
Categories List<String> - Task category.
- task
Id String - Task ID.
- task
Source String - task
Statuses List<String> - Task status. The values are as shown in the following list, and multiple values can be selected: WaitSwitch: Waiting for switching. WaitStart: Waiting for execution. Canceled: Canceled. Stopped: Terminated. Running_BeforeSwitch: Running (before switching). Timeout: Execution Timeout. Success: Execution Success. Failed: Execution Failed. Running: In Execution. Stopping: In Termination.
- task
Type String
Supporting Types
GetTasksData
- Create
Time string - The creation time of the task.
- Finish
Time string - The completion time of the task.
- Progress int
- Task progress. The unit is percentage. Description: Only tasks with a task status of In Progress, that is, tasks with a TaskStatus value of Running, will return the task progress.
- Scheduled
Execute stringEnd Time - The deadline for the planned startup. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Description: This field will only be returned for tasks in the "Waiting to Start", "Waiting to Execute", or "Waiting to Switch" states.
- Scheduled
Switch stringEnd Time - The scheduled end time for the switch. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Description: This field will only be returned for tasks in the "Waiting to Start", "Waiting to Execute", or "Waiting to Switch" states.
- Scheduled
Switch stringStart Time - The start time of the scheduled switch. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Description: This field is returned only for tasks in the "Waiting to Start", "Waiting to Execute", or "Waiting to Switch" state.
- Start
Time string - The start time of the task.
- Task
Action string - Task name.
- Task
Category string - Task Category. The values are as shown in the following list, and multiple values can be selected: BackupRecoveryManagement: Backup and Recovery Management. DatabaseAdminManagement: Database Administration Management. DatabaseProxy: Database Proxy. HighAvailability: High Availability. InstanceAttribute: Instance Attribute. InstanceManagement: Instance Management. NetworkManagement: Network Management. SecurityManagement: Security Management. SystemMaintainManagement: System Operation and Maintenance Management. VersionUpgrade: Version Upgrade.
- Task
Desc string - The description of the task.
- Task
Details List<GetTasks Data Task Detail> - Detailed information of the task.
- Task
Id string - Task ID. Description: For the two groups of parameters, TaskId and task time (CreationStartTime and CreationEndTime), one of them must be selected.
- Task
Params string - Task parameters.
- Task
Progresses List<GetTasks Data Task Progress> - Progress details.
- Task
Status string - Task status. The values are as shown in the following list, and multiple values can be selected: WaitSwitch: Waiting for switching. WaitStart: Waiting for execution. Canceled: Canceled. Stopped: Terminated. Running_BeforeSwitch: Running (before switching). Timeout: Execution Timeout. Success: Execution Success. Failed: Execution Failed. Running: In Execution. Stopping: In Termination.
- Create
Time string - The creation time of the task.
- Finish
Time string - The completion time of the task.
- Progress int
- Task progress. The unit is percentage. Description: Only tasks with a task status of In Progress, that is, tasks with a TaskStatus value of Running, will return the task progress.
- Scheduled
Execute stringEnd Time - The deadline for the planned startup. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Description: This field will only be returned for tasks in the "Waiting to Start", "Waiting to Execute", or "Waiting to Switch" states.
- Scheduled
Switch stringEnd Time - The scheduled end time for the switch. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Description: This field will only be returned for tasks in the "Waiting to Start", "Waiting to Execute", or "Waiting to Switch" states.
- Scheduled
Switch stringStart Time - The start time of the scheduled switch. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Description: This field is returned only for tasks in the "Waiting to Start", "Waiting to Execute", or "Waiting to Switch" state.
- Start
Time string - The start time of the task.
- Task
Action string - Task name.
- Task
Category string - Task Category. The values are as shown in the following list, and multiple values can be selected: BackupRecoveryManagement: Backup and Recovery Management. DatabaseAdminManagement: Database Administration Management. DatabaseProxy: Database Proxy. HighAvailability: High Availability. InstanceAttribute: Instance Attribute. InstanceManagement: Instance Management. NetworkManagement: Network Management. SecurityManagement: Security Management. SystemMaintainManagement: System Operation and Maintenance Management. VersionUpgrade: Version Upgrade.
- Task
Desc string - The description of the task.
- Task
Details []GetTasks Data Task Detail - Detailed information of the task.
- Task
Id string - Task ID. Description: For the two groups of parameters, TaskId and task time (CreationStartTime and CreationEndTime), one of them must be selected.
- Task
Params string - Task parameters.
- Task
Progresses []GetTasks Data Task Progress - Progress details.
- Task
Status string - Task status. The values are as shown in the following list, and multiple values can be selected: WaitSwitch: Waiting for switching. WaitStart: Waiting for execution. Canceled: Canceled. Stopped: Terminated. Running_BeforeSwitch: Running (before switching). Timeout: Execution Timeout. Success: Execution Success. Failed: Execution Failed. Running: In Execution. Stopping: In Termination.
- create
Time String - The creation time of the task.
- finish
Time String - The completion time of the task.
- progress Integer
- Task progress. The unit is percentage. Description: Only tasks with a task status of In Progress, that is, tasks with a TaskStatus value of Running, will return the task progress.
- scheduled
Execute StringEnd Time - The deadline for the planned startup. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Description: This field will only be returned for tasks in the "Waiting to Start", "Waiting to Execute", or "Waiting to Switch" states.
- scheduled
Switch StringEnd Time - The scheduled end time for the switch. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Description: This field will only be returned for tasks in the "Waiting to Start", "Waiting to Execute", or "Waiting to Switch" states.
- scheduled
Switch StringStart Time - The start time of the scheduled switch. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Description: This field is returned only for tasks in the "Waiting to Start", "Waiting to Execute", or "Waiting to Switch" state.
- start
Time String - The start time of the task.
- task
Action String - Task name.
- task
Category String - Task Category. The values are as shown in the following list, and multiple values can be selected: BackupRecoveryManagement: Backup and Recovery Management. DatabaseAdminManagement: Database Administration Management. DatabaseProxy: Database Proxy. HighAvailability: High Availability. InstanceAttribute: Instance Attribute. InstanceManagement: Instance Management. NetworkManagement: Network Management. SecurityManagement: Security Management. SystemMaintainManagement: System Operation and Maintenance Management. VersionUpgrade: Version Upgrade.
- task
Desc String - The description of the task.
- task
Details List<GetTasks Data Task Detail> - Detailed information of the task.
- task
Id String - Task ID. Description: For the two groups of parameters, TaskId and task time (CreationStartTime and CreationEndTime), one of them must be selected.
- task
Params String - Task parameters.
- task
Progresses List<GetTasks Data Task Progress> - Progress details.
- task
Status String - Task status. The values are as shown in the following list, and multiple values can be selected: WaitSwitch: Waiting for switching. WaitStart: Waiting for execution. Canceled: Canceled. Stopped: Terminated. Running_BeforeSwitch: Running (before switching). Timeout: Execution Timeout. Success: Execution Success. Failed: Execution Failed. Running: In Execution. Stopping: In Termination.
- create
Time string - The creation time of the task.
- finish
Time string - The completion time of the task.
- progress number
- Task progress. The unit is percentage. Description: Only tasks with a task status of In Progress, that is, tasks with a TaskStatus value of Running, will return the task progress.
- scheduled
Execute stringEnd Time - The deadline for the planned startup. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Description: This field will only be returned for tasks in the "Waiting to Start", "Waiting to Execute", or "Waiting to Switch" states.
- scheduled
Switch stringEnd Time - The scheduled end time for the switch. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Description: This field will only be returned for tasks in the "Waiting to Start", "Waiting to Execute", or "Waiting to Switch" states.
- scheduled
Switch stringStart Time - The start time of the scheduled switch. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Description: This field is returned only for tasks in the "Waiting to Start", "Waiting to Execute", or "Waiting to Switch" state.
- start
Time string - The start time of the task.
- task
Action string - Task name.
- task
Category string - Task Category. The values are as shown in the following list, and multiple values can be selected: BackupRecoveryManagement: Backup and Recovery Management. DatabaseAdminManagement: Database Administration Management. DatabaseProxy: Database Proxy. HighAvailability: High Availability. InstanceAttribute: Instance Attribute. InstanceManagement: Instance Management. NetworkManagement: Network Management. SecurityManagement: Security Management. SystemMaintainManagement: System Operation and Maintenance Management. VersionUpgrade: Version Upgrade.
- task
Desc string - The description of the task.
- task
Details GetTasks Data Task Detail[] - Detailed information of the task.
- task
Id string - Task ID. Description: For the two groups of parameters, TaskId and task time (CreationStartTime and CreationEndTime), one of them must be selected.
- task
Params string - Task parameters.
- task
Progresses GetTasks Data Task Progress[] - Progress details.
- task
Status string - Task status. The values are as shown in the following list, and multiple values can be selected: WaitSwitch: Waiting for switching. WaitStart: Waiting for execution. Canceled: Canceled. Stopped: Terminated. Running_BeforeSwitch: Running (before switching). Timeout: Execution Timeout. Success: Execution Success. Failed: Execution Failed. Running: In Execution. Stopping: In Termination.
- create_
time str - The creation time of the task.
- finish_
time str - The completion time of the task.
- progress int
- Task progress. The unit is percentage. Description: Only tasks with a task status of In Progress, that is, tasks with a TaskStatus value of Running, will return the task progress.
- scheduled_
execute_ strend_ time - The deadline for the planned startup. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Description: This field will only be returned for tasks in the "Waiting to Start", "Waiting to Execute", or "Waiting to Switch" states.
- scheduled_
switch_ strend_ time - The scheduled end time for the switch. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Description: This field will only be returned for tasks in the "Waiting to Start", "Waiting to Execute", or "Waiting to Switch" states.
- scheduled_
switch_ strstart_ time - The start time of the scheduled switch. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Description: This field is returned only for tasks in the "Waiting to Start", "Waiting to Execute", or "Waiting to Switch" state.
- start_
time str - The start time of the task.
- task_
action str - Task name.
- task_
category str - Task Category. The values are as shown in the following list, and multiple values can be selected: BackupRecoveryManagement: Backup and Recovery Management. DatabaseAdminManagement: Database Administration Management. DatabaseProxy: Database Proxy. HighAvailability: High Availability. InstanceAttribute: Instance Attribute. InstanceManagement: Instance Management. NetworkManagement: Network Management. SecurityManagement: Security Management. SystemMaintainManagement: System Operation and Maintenance Management. VersionUpgrade: Version Upgrade.
- task_
desc str - The description of the task.
- task_
details Sequence[GetTasks Data Task Detail] - Detailed information of the task.
- task_
id str - Task ID. Description: For the two groups of parameters, TaskId and task time (CreationStartTime and CreationEndTime), one of them must be selected.
- task_
params str - Task parameters.
- task_
progresses Sequence[GetTasks Data Task Progress] - Progress details.
- task_
status str - Task status. The values are as shown in the following list, and multiple values can be selected: WaitSwitch: Waiting for switching. WaitStart: Waiting for execution. Canceled: Canceled. Stopped: Terminated. Running_BeforeSwitch: Running (before switching). Timeout: Execution Timeout. Success: Execution Success. Failed: Execution Failed. Running: In Execution. Stopping: In Termination.
- create
Time String - The creation time of the task.
- finish
Time String - The completion time of the task.
- progress Number
- Task progress. The unit is percentage. Description: Only tasks with a task status of In Progress, that is, tasks with a TaskStatus value of Running, will return the task progress.
- scheduled
Execute StringEnd Time - The deadline for the planned startup. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Description: This field will only be returned for tasks in the "Waiting to Start", "Waiting to Execute", or "Waiting to Switch" states.
- scheduled
Switch StringEnd Time - The scheduled end time for the switch. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Description: This field will only be returned for tasks in the "Waiting to Start", "Waiting to Execute", or "Waiting to Switch" states.
- scheduled
Switch StringStart Time - The start time of the scheduled switch. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Description: This field is returned only for tasks in the "Waiting to Start", "Waiting to Execute", or "Waiting to Switch" state.
- start
Time String - The start time of the task.
- task
Action String - Task name.
- task
Category String - Task Category. The values are as shown in the following list, and multiple values can be selected: BackupRecoveryManagement: Backup and Recovery Management. DatabaseAdminManagement: Database Administration Management. DatabaseProxy: Database Proxy. HighAvailability: High Availability. InstanceAttribute: Instance Attribute. InstanceManagement: Instance Management. NetworkManagement: Network Management. SecurityManagement: Security Management. SystemMaintainManagement: System Operation and Maintenance Management. VersionUpgrade: Version Upgrade.
- task
Desc String - The description of the task.
- task
Details List<Property Map> - Detailed information of the task.
- task
Id String - Task ID. Description: For the two groups of parameters, TaskId and task time (CreationStartTime and CreationEndTime), one of them must be selected.
- task
Params String - Task parameters.
- task
Progresses List<Property Map> - Progress details.
- task
Status String - Task status. The values are as shown in the following list, and multiple values can be selected: WaitSwitch: Waiting for switching. WaitStart: Waiting for execution. Canceled: Canceled. Stopped: Terminated. Running_BeforeSwitch: Running (before switching). Timeout: Execution Timeout. Success: Execution Success. Failed: Execution Failed. Running: In Execution. Stopping: In Termination.
GetTasksDataTaskDetail
- Check
Item stringLog - The log of inspection items for the instance major version upgrade.
- Check
Items List<GetTasks Data Task Detail Check Item> - Check results for major version upgrade.
- Task
Infos List<GetTasks Data Task Detail Task Info> - Details of the task.
- Check
Item stringLog - The log of inspection items for the instance major version upgrade.
- Check
Items []GetTasks Data Task Detail Check Item - Check results for major version upgrade.
- Task
Infos []GetTasks Data Task Detail Task Info - Details of the task.
- check
Item StringLog - The log of inspection items for the instance major version upgrade.
- check
Items List<GetTasks Data Task Detail Check Item> - Check results for major version upgrade.
- task
Infos List<GetTasks Data Task Detail Task Info> - Details of the task.
- check
Item stringLog - The log of inspection items for the instance major version upgrade.
- check
Items GetTasks Data Task Detail Check Item[] - Check results for major version upgrade.
- task
Infos GetTasks Data Task Detail Task Info[] - Details of the task.
- check_
item_ strlog - The log of inspection items for the instance major version upgrade.
- check_
items Sequence[GetTasks Data Task Detail Check Item] - Check results for major version upgrade.
- task_
infos Sequence[GetTasks Data Task Detail Task Info] - Details of the task.
- check
Item StringLog - The log of inspection items for the instance major version upgrade.
- check
Items List<Property Map> - Check results for major version upgrade.
- task
Infos List<Property Map> - Details of the task.
GetTasksDataTaskDetailCheckItem
- Check
Details List<GetTasks Data Task Detail Check Item Check Detail> - Details of the failed check items.
- Description string
- The description of the check item.
- Item
Name string - The name of the check item.
- Risk
Level string - The risk level of the failed check items. Values: Notice: Attention. Warning: Warning. Error: Error.
- Check
Details []GetTasks Data Task Detail Check Item Check Detail - Details of the failed check items.
- Description string
- The description of the check item.
- Item
Name string - The name of the check item.
- Risk
Level string - The risk level of the failed check items. Values: Notice: Attention. Warning: Warning. Error: Error.
- check
Details List<GetTasks Data Task Detail Check Item Check Detail> - Details of the failed check items.
- description String
- The description of the check item.
- item
Name String - The name of the check item.
- risk
Level String - The risk level of the failed check items. Values: Notice: Attention. Warning: Warning. Error: Error.
- check
Details GetTasks Data Task Detail Check Item Check Detail[] - Details of the failed check items.
- description string
- The description of the check item.
- item
Name string - The name of the check item.
- risk
Level string - The risk level of the failed check items. Values: Notice: Attention. Warning: Warning. Error: Error.
- check_
details Sequence[GetTasks Data Task Detail Check Item Check Detail] - Details of the failed check items.
- description str
- The description of the check item.
- item_
name str - The name of the check item.
- risk_
level str - The risk level of the failed check items. Values: Notice: Attention. Warning: Warning. Error: Error.
- check
Details List<Property Map> - Details of the failed check items.
- description String
- The description of the check item.
- item
Name String - The name of the check item.
- risk
Level String - The risk level of the failed check items. Values: Notice: Attention. Warning: Warning. Error: Error.
GetTasksDataTaskDetailCheckItemCheckDetail
GetTasksDataTaskDetailTaskInfo
- Create
Time string - The creation time of the task.
- Finish
Time string - The completion time of the task.
- Progress int
- Task progress. The unit is percentage. Description: Only tasks with a task status of In Progress, that is, tasks with a TaskStatus value of Running, will return the task progress.
- List<Get
Tasks Data Task Detail Task Info Related Instance Info> - Instances related to the task.
- Create
Time string - The creation time of the task.
- Finish
Time string - The completion time of the task.
- Progress int
- Task progress. The unit is percentage. Description: Only tasks with a task status of In Progress, that is, tasks with a TaskStatus value of Running, will return the task progress.
- []Get
Tasks Data Task Detail Task Info Related Instance Info - Instances related to the task.
- create
Time String - The creation time of the task.
- finish
Time String - The completion time of the task.
- progress Integer
- Task progress. The unit is percentage. Description: Only tasks with a task status of In Progress, that is, tasks with a TaskStatus value of Running, will return the task progress.
- List<Get
Tasks Data Task Detail Task Info Related Instance Info> - Instances related to the task.
- create
Time string - The creation time of the task.
- finish
Time string - The completion time of the task.
- progress number
- Task progress. The unit is percentage. Description: Only tasks with a task status of In Progress, that is, tasks with a TaskStatus value of Running, will return the task progress.
- Get
Tasks Data Task Detail Task Info Related Instance Info[] - Instances related to the task.
- create_
time str - The creation time of the task.
- finish_
time str - The completion time of the task.
- progress int
- Task progress. The unit is percentage. Description: Only tasks with a task status of In Progress, that is, tasks with a TaskStatus value of Running, will return the task progress.
- Sequence[Get
Tasks Data Task Detail Task Info Related Instance Info] - Instances related to the task.
- create
Time String - The creation time of the task.
- finish
Time String - The completion time of the task.
- progress Number
- Task progress. The unit is percentage. Description: Only tasks with a task status of In Progress, that is, tasks with a TaskStatus value of Running, will return the task progress.
- List<Property Map>
- Instances related to the task.
GetTasksDataTaskDetailTaskInfoRelatedInstanceInfo
- Instance
Id string - Instance ID.
- Instance
Id string - Instance ID.
- instance
Id String - Instance ID.
- instance
Id string - Instance ID.
- instance_
id str - Instance ID.
- instance
Id String - Instance ID.
GetTasksDataTaskProgress
- Name string
- Step Name. Values: InstanceInitialization: Task initialization. InstanceRecoveryPreparation Instance recovery preparation. DataBackupImport: Cold backup import. LogBackupBinlogAdd: Binlog playback. TaskSuccessful: Task success.
- Step
Extra List<GetInfos Tasks Data Task Progress Step Extra Info> - Specific information of the step.
- Step
Status string - Step status. Values: Running: In progress. Success: Successful. Failed: Failed. Unexecuted: Not executed.
- Name string
- Step Name. Values: InstanceInitialization: Task initialization. InstanceRecoveryPreparation Instance recovery preparation. DataBackupImport: Cold backup import. LogBackupBinlogAdd: Binlog playback. TaskSuccessful: Task success.
- Step
Extra []GetInfos Tasks Data Task Progress Step Extra Info - Specific information of the step.
- Step
Status string - Step status. Values: Running: In progress. Success: Successful. Failed: Failed. Unexecuted: Not executed.
- name String
- Step Name. Values: InstanceInitialization: Task initialization. InstanceRecoveryPreparation Instance recovery preparation. DataBackupImport: Cold backup import. LogBackupBinlogAdd: Binlog playback. TaskSuccessful: Task success.
- step
Extra List<GetInfos Tasks Data Task Progress Step Extra Info> - Specific information of the step.
- step
Status String - Step status. Values: Running: In progress. Success: Successful. Failed: Failed. Unexecuted: Not executed.
- name string
- Step Name. Values: InstanceInitialization: Task initialization. InstanceRecoveryPreparation Instance recovery preparation. DataBackupImport: Cold backup import. LogBackupBinlogAdd: Binlog playback. TaskSuccessful: Task success.
- step
Extra GetInfos Tasks Data Task Progress Step Extra Info[] - Specific information of the step.
- step
Status string - Step status. Values: Running: In progress. Success: Successful. Failed: Failed. Unexecuted: Not executed.
- name str
- Step Name. Values: InstanceInitialization: Task initialization. InstanceRecoveryPreparation Instance recovery preparation. DataBackupImport: Cold backup import. LogBackupBinlogAdd: Binlog playback. TaskSuccessful: Task success.
- step_
extra_ Sequence[Getinfos Tasks Data Task Progress Step Extra Info] - Specific information of the step.
- step_
status str - Step status. Values: Running: In progress. Success: Successful. Failed: Failed. Unexecuted: Not executed.
- name String
- Step Name. Values: InstanceInitialization: Task initialization. InstanceRecoveryPreparation Instance recovery preparation. DataBackupImport: Cold backup import. LogBackupBinlogAdd: Binlog playback. TaskSuccessful: Task success.
- step
Extra List<Property Map>Infos - Specific information of the step.
- step
Status String - Step status. Values: Running: In progress. Success: Successful. Failed: Failed. Unexecuted: Not executed.
GetTasksDataTaskProgressStepExtraInfo
- Type string
- Current stage. CostTime: The time taken for the current stage. CurDataSize: The amount of data imported currently. CurBinlog: The number of Binlog files being replayed currently. RemainCostTime: The remaining time taken. RemainDataSize: The remaining amount of data to be imported. RemainBinlog: The number of Binlog files remaining for playback.
- Unit string
- Unit. Values: MS: Milliseconds. Bytes: Bytes. Files: Number of (files).
- Value double
- The specific value corresponding to the Type field.
- Type string
- Current stage. CostTime: The time taken for the current stage. CurDataSize: The amount of data imported currently. CurBinlog: The number of Binlog files being replayed currently. RemainCostTime: The remaining time taken. RemainDataSize: The remaining amount of data to be imported. RemainBinlog: The number of Binlog files remaining for playback.
- Unit string
- Unit. Values: MS: Milliseconds. Bytes: Bytes. Files: Number of (files).
- Value float64
- The specific value corresponding to the Type field.
- type String
- Current stage. CostTime: The time taken for the current stage. CurDataSize: The amount of data imported currently. CurBinlog: The number of Binlog files being replayed currently. RemainCostTime: The remaining time taken. RemainDataSize: The remaining amount of data to be imported. RemainBinlog: The number of Binlog files remaining for playback.
- unit String
- Unit. Values: MS: Milliseconds. Bytes: Bytes. Files: Number of (files).
- value Double
- The specific value corresponding to the Type field.
- type string
- Current stage. CostTime: The time taken for the current stage. CurDataSize: The amount of data imported currently. CurBinlog: The number of Binlog files being replayed currently. RemainCostTime: The remaining time taken. RemainDataSize: The remaining amount of data to be imported. RemainBinlog: The number of Binlog files remaining for playback.
- unit string
- Unit. Values: MS: Milliseconds. Bytes: Bytes. Files: Number of (files).
- value number
- The specific value corresponding to the Type field.
- type str
- Current stage. CostTime: The time taken for the current stage. CurDataSize: The amount of data imported currently. CurBinlog: The number of Binlog files being replayed currently. RemainCostTime: The remaining time taken. RemainDataSize: The remaining amount of data to be imported. RemainBinlog: The number of Binlog files remaining for playback.
- unit str
- Unit. Values: MS: Milliseconds. Bytes: Bytes. Files: Number of (files).
- value float
- The specific value corresponding to the Type field.
- type String
- Current stage. CostTime: The time taken for the current stage. CurDataSize: The amount of data imported currently. CurBinlog: The number of Binlog files being replayed currently. RemainCostTime: The remaining time taken. RemainDataSize: The remaining amount of data to be imported. RemainBinlog: The number of Binlog files remaining for playback.
- unit String
- Unit. Values: MS: Milliseconds. Bytes: Bytes. Files: Number of (files).
- value Number
- The specific value corresponding to the Type field.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.