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

tencentcloud.getClsShipperTasks

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 cls shipper_tasks

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const shipperTasks = tencentcloud.getClsShipperTasks({
        endTime: 160749910800,
        shipperId: "dbde3c9b-ea16-4032-bc2a-d8fa65567a8e",
        startTime: 160749910700,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    shipper_tasks = tencentcloud.get_cls_shipper_tasks(end_time=160749910800,
        shipper_id="dbde3c9b-ea16-4032-bc2a-d8fa65567a8e",
        start_time=160749910700)
    
    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.GetClsShipperTasks(ctx, &tencentcloud.GetClsShipperTasksArgs{
    			EndTime:   160749910800,
    			ShipperId: "dbde3c9b-ea16-4032-bc2a-d8fa65567a8e",
    			StartTime: 160749910700,
    		}, 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 shipperTasks = Tencentcloud.GetClsShipperTasks.Invoke(new()
        {
            EndTime = 160749910800,
            ShipperId = "dbde3c9b-ea16-4032-bc2a-d8fa65567a8e",
            StartTime = 160749910700,
        });
    
    });
    
    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.GetClsShipperTasksArgs;
    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 shipperTasks = TencentcloudFunctions.getClsShipperTasks(GetClsShipperTasksArgs.builder()
                .endTime(160749910800)
                .shipperId("dbde3c9b-ea16-4032-bc2a-d8fa65567a8e")
                .startTime(160749910700)
                .build());
    
        }
    }
    
    variables:
      shipperTasks:
        fn::invoke:
          function: tencentcloud:getClsShipperTasks
          arguments:
            endTime: 1.607499108e+11
            shipperId: dbde3c9b-ea16-4032-bc2a-d8fa65567a8e
            startTime: 1.607499107e+11
    

    Using getClsShipperTasks

    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 getClsShipperTasks(args: GetClsShipperTasksArgs, opts?: InvokeOptions): Promise<GetClsShipperTasksResult>
    function getClsShipperTasksOutput(args: GetClsShipperTasksOutputArgs, opts?: InvokeOptions): Output<GetClsShipperTasksResult>
    def get_cls_shipper_tasks(end_time: Optional[float] = None,
                              id: Optional[str] = None,
                              result_output_file: Optional[str] = None,
                              shipper_id: Optional[str] = None,
                              start_time: Optional[float] = None,
                              opts: Optional[InvokeOptions] = None) -> GetClsShipperTasksResult
    def get_cls_shipper_tasks_output(end_time: Optional[pulumi.Input[float]] = None,
                              id: Optional[pulumi.Input[str]] = None,
                              result_output_file: Optional[pulumi.Input[str]] = None,
                              shipper_id: Optional[pulumi.Input[str]] = None,
                              start_time: Optional[pulumi.Input[float]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetClsShipperTasksResult]
    func GetClsShipperTasks(ctx *Context, args *GetClsShipperTasksArgs, opts ...InvokeOption) (*GetClsShipperTasksResult, error)
    func GetClsShipperTasksOutput(ctx *Context, args *GetClsShipperTasksOutputArgs, opts ...InvokeOption) GetClsShipperTasksResultOutput

    > Note: This function is named GetClsShipperTasks in the Go SDK.

    public static class GetClsShipperTasks 
    {
        public static Task<GetClsShipperTasksResult> InvokeAsync(GetClsShipperTasksArgs args, InvokeOptions? opts = null)
        public static Output<GetClsShipperTasksResult> Invoke(GetClsShipperTasksInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetClsShipperTasksResult> getClsShipperTasks(GetClsShipperTasksArgs args, InvokeOptions options)
    public static Output<GetClsShipperTasksResult> getClsShipperTasks(GetClsShipperTasksArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getClsShipperTasks:getClsShipperTasks
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EndTime double
    end time(ms).
    ShipperId string
    shipper id.
    StartTime double
    start time(ms).
    Id string
    ResultOutputFile string
    Used to save results.
    EndTime float64
    end time(ms).
    ShipperId string
    shipper id.
    StartTime float64
    start time(ms).
    Id string
    ResultOutputFile string
    Used to save results.
    endTime Double
    end time(ms).
    shipperId String
    shipper id.
    startTime Double
    start time(ms).
    id String
    resultOutputFile String
    Used to save results.
    endTime number
    end time(ms).
    shipperId string
    shipper id.
    startTime number
    start time(ms).
    id string
    resultOutputFile string
    Used to save results.
    end_time float
    end time(ms).
    shipper_id str
    shipper id.
    start_time float
    start time(ms).
    id str
    result_output_file str
    Used to save results.
    endTime Number
    end time(ms).
    shipperId String
    shipper id.
    startTime Number
    start time(ms).
    id String
    resultOutputFile String
    Used to save results.

    getClsShipperTasks Result

    The following output properties are available:

    EndTime double
    end time(ms).
    Id string
    ShipperId string
    shipper id.
    StartTime double
    start time(ms).
    Tasks List<GetClsShipperTasksTask>
    .
    ResultOutputFile string
    EndTime float64
    end time(ms).
    Id string
    ShipperId string
    shipper id.
    StartTime float64
    start time(ms).
    Tasks []GetClsShipperTasksTask
    .
    ResultOutputFile string
    endTime Double
    end time(ms).
    id String
    shipperId String
    shipper id.
    startTime Double
    start time(ms).
    tasks List<GetClsShipperTasksTask>
    .
    resultOutputFile String
    endTime number
    end time(ms).
    id string
    shipperId string
    shipper id.
    startTime number
    start time(ms).
    tasks GetClsShipperTasksTask[]
    .
    resultOutputFile string
    end_time float
    end time(ms).
    id str
    shipper_id str
    shipper id.
    start_time float
    start time(ms).
    tasks Sequence[GetClsShipperTasksTask]
    .
    result_output_file str
    endTime Number
    end time(ms).
    id String
    shipperId String
    shipper id.
    startTime Number
    start time(ms).
    tasks List<Property Map>
    .
    resultOutputFile String

    Supporting Types

    GetClsShipperTasksTask

    EndTime double
    end time(ms).
    Message string
    detail info.
    RangeEnd double
    end time of current task (ms).
    RangeStart double
    start time of current task (ms).
    ShipperId string
    shipper id.
    StartTime double
    start time(ms).
    Status string
    status of current shipper task.
    TaskId string
    task id.
    TopicId string
    topic id.
    EndTime float64
    end time(ms).
    Message string
    detail info.
    RangeEnd float64
    end time of current task (ms).
    RangeStart float64
    start time of current task (ms).
    ShipperId string
    shipper id.
    StartTime float64
    start time(ms).
    Status string
    status of current shipper task.
    TaskId string
    task id.
    TopicId string
    topic id.
    endTime Double
    end time(ms).
    message String
    detail info.
    rangeEnd Double
    end time of current task (ms).
    rangeStart Double
    start time of current task (ms).
    shipperId String
    shipper id.
    startTime Double
    start time(ms).
    status String
    status of current shipper task.
    taskId String
    task id.
    topicId String
    topic id.
    endTime number
    end time(ms).
    message string
    detail info.
    rangeEnd number
    end time of current task (ms).
    rangeStart number
    start time of current task (ms).
    shipperId string
    shipper id.
    startTime number
    start time(ms).
    status string
    status of current shipper task.
    taskId string
    task id.
    topicId string
    topic id.
    end_time float
    end time(ms).
    message str
    detail info.
    range_end float
    end time of current task (ms).
    range_start float
    start time of current task (ms).
    shipper_id str
    shipper id.
    start_time float
    start time(ms).
    status str
    status of current shipper task.
    task_id str
    task id.
    topic_id str
    topic id.
    endTime Number
    end time(ms).
    message String
    detail info.
    rangeEnd Number
    end time of current task (ms).
    rangeStart Number
    start time of current task (ms).
    shipperId String
    shipper id.
    startTime Number
    start time(ms).
    status String
    status of current shipper task.
    taskId String
    task id.
    topicId String
    topic id.

    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