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

tencentcloud.getCssPullStreamTaskStatus

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 css pull_stream_task_status

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const pullStreamTaskStatus = tencentcloud.getCssPullStreamTaskStatus({
        taskId: "63229997",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    pull_stream_task_status = tencentcloud.get_css_pull_stream_task_status(task_id="63229997")
    
    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.GetCssPullStreamTaskStatus(ctx, &tencentcloud.GetCssPullStreamTaskStatusArgs{
    			TaskId: "63229997",
    		}, 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 pullStreamTaskStatus = Tencentcloud.GetCssPullStreamTaskStatus.Invoke(new()
        {
            TaskId = "63229997",
        });
    
    });
    
    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.GetCssPullStreamTaskStatusArgs;
    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 pullStreamTaskStatus = TencentcloudFunctions.getCssPullStreamTaskStatus(GetCssPullStreamTaskStatusArgs.builder()
                .taskId("63229997")
                .build());
    
        }
    }
    
    variables:
      pullStreamTaskStatus:
        fn::invoke:
          function: tencentcloud:getCssPullStreamTaskStatus
          arguments:
            taskId: '63229997'
    

    Using getCssPullStreamTaskStatus

    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 getCssPullStreamTaskStatus(args: GetCssPullStreamTaskStatusArgs, opts?: InvokeOptions): Promise<GetCssPullStreamTaskStatusResult>
    function getCssPullStreamTaskStatusOutput(args: GetCssPullStreamTaskStatusOutputArgs, opts?: InvokeOptions): Output<GetCssPullStreamTaskStatusResult>
    def get_css_pull_stream_task_status(id: Optional[str] = None,
                                        result_output_file: Optional[str] = None,
                                        task_id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetCssPullStreamTaskStatusResult
    def get_css_pull_stream_task_status_output(id: Optional[pulumi.Input[str]] = None,
                                        result_output_file: Optional[pulumi.Input[str]] = None,
                                        task_id: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetCssPullStreamTaskStatusResult]
    func GetCssPullStreamTaskStatus(ctx *Context, args *GetCssPullStreamTaskStatusArgs, opts ...InvokeOption) (*GetCssPullStreamTaskStatusResult, error)
    func GetCssPullStreamTaskStatusOutput(ctx *Context, args *GetCssPullStreamTaskStatusOutputArgs, opts ...InvokeOption) GetCssPullStreamTaskStatusResultOutput

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

    public static class GetCssPullStreamTaskStatus 
    {
        public static Task<GetCssPullStreamTaskStatusResult> InvokeAsync(GetCssPullStreamTaskStatusArgs args, InvokeOptions? opts = null)
        public static Output<GetCssPullStreamTaskStatusResult> Invoke(GetCssPullStreamTaskStatusInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCssPullStreamTaskStatusResult> getCssPullStreamTaskStatus(GetCssPullStreamTaskStatusArgs args, InvokeOptions options)
    public static Output<GetCssPullStreamTaskStatusResult> getCssPullStreamTaskStatus(GetCssPullStreamTaskStatusArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getCssPullStreamTaskStatus:getCssPullStreamTaskStatus
      arguments:
        # arguments dictionary

    The following arguments are supported:

    TaskId string
    Task ID.
    Id string
    ResultOutputFile string
    Used to save results.
    TaskId string
    Task ID.
    Id string
    ResultOutputFile string
    Used to save results.
    taskId String
    Task ID.
    id String
    resultOutputFile String
    Used to save results.
    taskId string
    Task ID.
    id string
    resultOutputFile string
    Used to save results.
    task_id str
    Task ID.
    id str
    result_output_file str
    Used to save results.
    taskId String
    Task ID.
    id String
    resultOutputFile String
    Used to save results.

    getCssPullStreamTaskStatus Result

    The following output properties are available:

    id String
    taskId String
    taskStatusInfos List<Property Map>
    Task status info.
    resultOutputFile String

    Supporting Types

    GetCssPullStreamTaskStatusTaskStatusInfo

    FileDuration double
    The duration of the VOD source file, in seconds.
    FileUrl string
    Current use source url.
    LoopedTimes double
    The number of times a VOD source task is played in a loop.
    NextFileUrl string
    The URL of the next progress VOD file.
    OffsetTime double
    The playback offset of the VOD source, in seconds.
    ReportTime string
    The latest heartbeat reporting time in UTC format, for example: 2022-02-11T10:00:00Z.Note: UTC time is 8 hours ahead of Beijing time.
    RunStatus string
    Real run status:active,inactive.
    FileDuration float64
    The duration of the VOD source file, in seconds.
    FileUrl string
    Current use source url.
    LoopedTimes float64
    The number of times a VOD source task is played in a loop.
    NextFileUrl string
    The URL of the next progress VOD file.
    OffsetTime float64
    The playback offset of the VOD source, in seconds.
    ReportTime string
    The latest heartbeat reporting time in UTC format, for example: 2022-02-11T10:00:00Z.Note: UTC time is 8 hours ahead of Beijing time.
    RunStatus string
    Real run status:active,inactive.
    fileDuration Double
    The duration of the VOD source file, in seconds.
    fileUrl String
    Current use source url.
    loopedTimes Double
    The number of times a VOD source task is played in a loop.
    nextFileUrl String
    The URL of the next progress VOD file.
    offsetTime Double
    The playback offset of the VOD source, in seconds.
    reportTime String
    The latest heartbeat reporting time in UTC format, for example: 2022-02-11T10:00:00Z.Note: UTC time is 8 hours ahead of Beijing time.
    runStatus String
    Real run status:active,inactive.
    fileDuration number
    The duration of the VOD source file, in seconds.
    fileUrl string
    Current use source url.
    loopedTimes number
    The number of times a VOD source task is played in a loop.
    nextFileUrl string
    The URL of the next progress VOD file.
    offsetTime number
    The playback offset of the VOD source, in seconds.
    reportTime string
    The latest heartbeat reporting time in UTC format, for example: 2022-02-11T10:00:00Z.Note: UTC time is 8 hours ahead of Beijing time.
    runStatus string
    Real run status:active,inactive.
    file_duration float
    The duration of the VOD source file, in seconds.
    file_url str
    Current use source url.
    looped_times float
    The number of times a VOD source task is played in a loop.
    next_file_url str
    The URL of the next progress VOD file.
    offset_time float
    The playback offset of the VOD source, in seconds.
    report_time str
    The latest heartbeat reporting time in UTC format, for example: 2022-02-11T10:00:00Z.Note: UTC time is 8 hours ahead of Beijing time.
    run_status str
    Real run status:active,inactive.
    fileDuration Number
    The duration of the VOD source file, in seconds.
    fileUrl String
    Current use source url.
    loopedTimes Number
    The number of times a VOD source task is played in a loop.
    nextFileUrl String
    The URL of the next progress VOD file.
    offsetTime Number
    The playback offset of the VOD source, in seconds.
    reportTime String
    The latest heartbeat reporting time in UTC format, for example: 2022-02-11T10:00:00Z.Note: UTC time is 8 hours ahead of Beijing time.
    runStatus String
    Real run status:active,inactive.

    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