tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getClsShipperTasks
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 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:
- End
Time double - end time(ms).
- Shipper
Id string - shipper id.
- Start
Time double - start time(ms).
- Id string
- Result
Output stringFile - Used to save results.
- End
Time float64 - end time(ms).
- Shipper
Id string - shipper id.
- Start
Time float64 - start time(ms).
- Id string
- Result
Output stringFile - Used to save results.
- end
Time Double - end time(ms).
- shipper
Id String - shipper id.
- start
Time Double - start time(ms).
- id String
- result
Output StringFile - Used to save results.
- end
Time number - end time(ms).
- shipper
Id string - shipper id.
- start
Time number - start time(ms).
- id string
- result
Output stringFile - 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_ strfile - Used to save results.
- end
Time Number - end time(ms).
- shipper
Id String - shipper id.
- start
Time Number - start time(ms).
- id String
- result
Output StringFile - Used to save results.
getClsShipperTasks Result
The following output properties are available:
- End
Time double - end time(ms).
- Id string
- Shipper
Id string - shipper id.
- Start
Time double - start time(ms).
- Tasks
List<Get
Cls Shipper Tasks Task> - .
- Result
Output stringFile
- End
Time float64 - end time(ms).
- Id string
- Shipper
Id string - shipper id.
- Start
Time float64 - start time(ms).
- Tasks
[]Get
Cls Shipper Tasks Task - .
- Result
Output stringFile
- end
Time Double - end time(ms).
- id String
- shipper
Id String - shipper id.
- start
Time Double - start time(ms).
- tasks
List<Get
Cls Shipper Tasks Task> - .
- result
Output StringFile
- end
Time number - end time(ms).
- id string
- shipper
Id string - shipper id.
- start
Time number - start time(ms).
- tasks
Get
Cls Shipper Tasks Task[] - .
- result
Output stringFile
- end_
time float - end time(ms).
- id str
- shipper_
id str - shipper id.
- start_
time float - start time(ms).
- tasks
Sequence[Get
Cls Shipper Tasks Task] - .
- result_
output_ strfile
- end
Time Number - end time(ms).
- id String
- shipper
Id String - shipper id.
- start
Time Number - start time(ms).
- tasks List<Property Map>
- .
- result
Output StringFile
Supporting Types
GetClsShipperTasksTask
- 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.
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