tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getRedisInstanceTaskList
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query detailed information of redis instance_task_list
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const instanceTaskList = tencentcloud.getRedisInstanceTaskList({
beginTime: "2021-12-30 00:00:00",
endTime: "2021-12-30 00:00:00",
instanceId: "crs-c1nl9rpv",
instanceName: "",
operateUins: [""],
projectIds: [""],
results: [""],
taskStatuses: [""],
taskTypes: [""],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
instance_task_list = tencentcloud.get_redis_instance_task_list(begin_time="2021-12-30 00:00:00",
end_time="2021-12-30 00:00:00",
instance_id="crs-c1nl9rpv",
instance_name="",
operate_uins=[""],
project_ids=[""],
results=[""],
task_statuses=[""],
task_types=[""])
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.GetRedisInstanceTaskList(ctx, &tencentcloud.GetRedisInstanceTaskListArgs{
BeginTime: pulumi.StringRef("2021-12-30 00:00:00"),
EndTime: pulumi.StringRef("2021-12-30 00:00:00"),
InstanceId: pulumi.StringRef("crs-c1nl9rpv"),
InstanceName: pulumi.StringRef(""),
OperateUins: []string{
"",
},
ProjectIds: interface{}{
"",
},
Results: interface{}{
"",
},
TaskStatuses: interface{}{
"",
},
TaskTypes: []string{
"",
},
}, 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 instanceTaskList = Tencentcloud.GetRedisInstanceTaskList.Invoke(new()
{
BeginTime = "2021-12-30 00:00:00",
EndTime = "2021-12-30 00:00:00",
InstanceId = "crs-c1nl9rpv",
InstanceName = "",
OperateUins = new[]
{
"",
},
ProjectIds = new[]
{
"",
},
Results = new[]
{
"",
},
TaskStatuses = new[]
{
"",
},
TaskTypes = new[]
{
"",
},
});
});
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.GetRedisInstanceTaskListArgs;
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 instanceTaskList = TencentcloudFunctions.getRedisInstanceTaskList(GetRedisInstanceTaskListArgs.builder()
.beginTime("2021-12-30 00:00:00")
.endTime("2021-12-30 00:00:00")
.instanceId("crs-c1nl9rpv")
.instanceName("")
.operateUins("")
.projectIds("")
.results("")
.taskStatuses("")
.taskTypes("")
.build());
}
}
variables:
instanceTaskList:
fn::invoke:
function: tencentcloud:getRedisInstanceTaskList
arguments:
beginTime: 2021-12-30 00:00:00
endTime: 2021-12-30 00:00:00
instanceId: crs-c1nl9rpv
instanceName: ""
operateUins:
- ""
projectIds:
- ""
results:
- ""
taskStatuses:
- ""
taskTypes:
- ""
Using getRedisInstanceTaskList
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 getRedisInstanceTaskList(args: GetRedisInstanceTaskListArgs, opts?: InvokeOptions): Promise<GetRedisInstanceTaskListResult>
function getRedisInstanceTaskListOutput(args: GetRedisInstanceTaskListOutputArgs, opts?: InvokeOptions): Output<GetRedisInstanceTaskListResult>
def get_redis_instance_task_list(begin_time: Optional[str] = None,
end_time: Optional[str] = None,
id: Optional[str] = None,
instance_id: Optional[str] = None,
instance_name: Optional[str] = None,
operate_uins: Optional[Sequence[str]] = None,
project_ids: Optional[Sequence[float]] = None,
result_output_file: Optional[str] = None,
results: Optional[Sequence[float]] = None,
task_statuses: Optional[Sequence[float]] = None,
task_types: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetRedisInstanceTaskListResult
def get_redis_instance_task_list_output(begin_time: Optional[pulumi.Input[str]] = None,
end_time: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
instance_name: Optional[pulumi.Input[str]] = None,
operate_uins: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
project_ids: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
results: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None,
task_statuses: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None,
task_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRedisInstanceTaskListResult]
func GetRedisInstanceTaskList(ctx *Context, args *GetRedisInstanceTaskListArgs, opts ...InvokeOption) (*GetRedisInstanceTaskListResult, error)
func GetRedisInstanceTaskListOutput(ctx *Context, args *GetRedisInstanceTaskListOutputArgs, opts ...InvokeOption) GetRedisInstanceTaskListResultOutput
> Note: This function is named GetRedisInstanceTaskList
in the Go SDK.
public static class GetRedisInstanceTaskList
{
public static Task<GetRedisInstanceTaskListResult> InvokeAsync(GetRedisInstanceTaskListArgs args, InvokeOptions? opts = null)
public static Output<GetRedisInstanceTaskListResult> Invoke(GetRedisInstanceTaskListInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRedisInstanceTaskListResult> getRedisInstanceTaskList(GetRedisInstanceTaskListArgs args, InvokeOptions options)
public static Output<GetRedisInstanceTaskListResult> getRedisInstanceTaskList(GetRedisInstanceTaskListArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getRedisInstanceTaskList:getRedisInstanceTaskList
arguments:
# arguments dictionary
The following arguments are supported:
- Begin
Time string - Start time.
- End
Time string - Termination time.
- Id string
- Instance
Id string - The ID of instance.
- Instance
Name string - Instance name.
- Operate
Uins List<string> - Operator Uin.
- Project
Ids List<double> - Project Id.
- Result
Output stringFile - Used to save results.
- Results List<double>
- Task status.
- Task
Statuses List<double> - Task status.
- Task
Types List<string> - Task type.
- Begin
Time string - Start time.
- End
Time string - Termination time.
- Id string
- Instance
Id string - The ID of instance.
- Instance
Name string - Instance name.
- Operate
Uins []string - Operator Uin.
- Project
Ids []float64 - Project Id.
- Result
Output stringFile - Used to save results.
- Results []float64
- Task status.
- Task
Statuses []float64 - Task status.
- Task
Types []string - Task type.
- begin
Time String - Start time.
- end
Time String - Termination time.
- id String
- instance
Id String - The ID of instance.
- instance
Name String - Instance name.
- operate
Uins List<String> - Operator Uin.
- project
Ids List<Double> - Project Id.
- result
Output StringFile - Used to save results.
- results List<Double>
- Task status.
- task
Statuses List<Double> - Task status.
- task
Types List<String> - Task type.
- begin
Time string - Start time.
- end
Time string - Termination time.
- id string
- instance
Id string - The ID of instance.
- instance
Name string - Instance name.
- operate
Uins string[] - Operator Uin.
- project
Ids number[] - Project Id.
- result
Output stringFile - Used to save results.
- results number[]
- Task status.
- task
Statuses number[] - Task status.
- task
Types string[] - Task type.
- begin_
time str - Start time.
- end_
time str - Termination time.
- id str
- instance_
id str - The ID of instance.
- instance_
name str - Instance name.
- operate_
uins Sequence[str] - Operator Uin.
- project_
ids Sequence[float] - Project Id.
- result_
output_ strfile - Used to save results.
- results Sequence[float]
- Task status.
- task_
statuses Sequence[float] - Task status.
- task_
types Sequence[str] - Task type.
- begin
Time String - Start time.
- end
Time String - Termination time.
- id String
- instance
Id String - The ID of instance.
- instance
Name String - Instance name.
- operate
Uins List<String> - Operator Uin.
- project
Ids List<Number> - Project Id.
- result
Output StringFile - Used to save results.
- results List<Number>
- Task status.
- task
Statuses List<Number> - Task status.
- task
Types List<String> - Task type.
getRedisInstanceTaskList Result
The following output properties are available:
- Id string
- Tasks
List<Get
Redis Instance Task List Task> - Task details.
- Begin
Time string - End
Time string - The end time.
- Instance
Id string - The ID of instance.
- Instance
Name string - The name of instance.
- Operate
Uins List<string> - Project
Ids List<double> - Result
Output stringFile - Results List<double>
- Task status.
- Task
Statuses List<double> - Task
Types List<string>
- Id string
- Tasks
[]Get
Redis Instance Task List Task - Task details.
- Begin
Time string - End
Time string - The end time.
- Instance
Id string - The ID of instance.
- Instance
Name string - The name of instance.
- Operate
Uins []string - Project
Ids []float64 - Result
Output stringFile - Results []float64
- Task status.
- Task
Statuses []float64 - Task
Types []string
- id String
- tasks
List<Get
Redis Instance Task List Task> - Task details.
- begin
Time String - end
Time String - The end time.
- instance
Id String - The ID of instance.
- instance
Name String - The name of instance.
- operate
Uins List<String> - project
Ids List<Double> - result
Output StringFile - results List<Double>
- Task status.
- task
Statuses List<Double> - task
Types List<String>
- id string
- tasks
Get
Redis Instance Task List Task[] - Task details.
- begin
Time string - end
Time string - The end time.
- instance
Id string - The ID of instance.
- instance
Name string - The name of instance.
- operate
Uins string[] - project
Ids number[] - result
Output stringFile - results number[]
- Task status.
- task
Statuses number[] - task
Types string[]
- id str
- tasks
Sequence[Get
Redis Instance Task List Task] - Task details.
- begin_
time str - end_
time str - The end time.
- instance_
id str - The ID of instance.
- instance_
name str - The name of instance.
- operate_
uins Sequence[str] - project_
ids Sequence[float] - result_
output_ strfile - results Sequence[float]
- Task status.
- task_
statuses Sequence[float] - task_
types Sequence[str]
- id String
- tasks List<Property Map>
- Task details.
- begin
Time String - end
Time String - The end time.
- instance
Id String - The ID of instance.
- instance
Name String - The name of instance.
- operate
Uins List<String> - project
Ids List<Number> - result
Output StringFile - results List<Number>
- Task status.
- task
Statuses List<Number> - task
Types List<String>
Supporting Types
GetRedisInstanceTaskListTask
- End
Time string - Termination time.
- Instance
Id string - The ID of instance.
- Instance
Name string - Instance name.
- Progress double
- Task progress.
- Project
Id double - The project ID.
- Result double
- Task status.
- Start
Time string - Start time.
- Task
Id double - Task ID.
- Task
Type string - Task type.
- End
Time string - Termination time.
- Instance
Id string - The ID of instance.
- Instance
Name string - Instance name.
- Progress float64
- Task progress.
- Project
Id float64 - The project ID.
- Result float64
- Task status.
- Start
Time string - Start time.
- Task
Id float64 - Task ID.
- Task
Type string - Task type.
- end
Time String - Termination time.
- instance
Id String - The ID of instance.
- instance
Name String - Instance name.
- progress Double
- Task progress.
- project
Id Double - The project ID.
- result Double
- Task status.
- start
Time String - Start time.
- task
Id Double - Task ID.
- task
Type String - Task type.
- end
Time string - Termination time.
- instance
Id string - The ID of instance.
- instance
Name string - Instance name.
- progress number
- Task progress.
- project
Id number - The project ID.
- result number
- Task status.
- start
Time string - Start time.
- task
Id number - Task ID.
- task
Type string - Task type.
- end_
time str - Termination time.
- instance_
id str - The ID of instance.
- instance_
name str - Instance name.
- progress float
- Task progress.
- project_
id float - The project ID.
- result float
- Task status.
- start_
time str - Start time.
- task_
id float - Task ID.
- task_
type str - Task type.
- end
Time String - Termination time.
- instance
Id String - The ID of instance.
- instance
Name String - Instance name.
- progress Number
- Task progress.
- project
Id Number - The project ID.
- result Number
- Task status.
- start
Time String - Start time.
- task
Id Number - Task ID.
- task
Type String - Task type.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack