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

tencentcloud.getCssPullStreamTaskStatus

Explore with Pulumi AI

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",
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

pull_stream_task_status = tencentcloud.get_css_pull_stream_task_status(task_id="63229997")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  pullStreamTaskStatus:
    fn::invoke:
      function: tencentcloud:getCssPullStreamTaskStatus
      arguments:
        taskId: '63229997'
Copy

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>
Copy
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]
Copy
func GetCssPullStreamTaskStatus(ctx *Context, args *GetCssPullStreamTaskStatusArgs, opts ...InvokeOption) (*GetCssPullStreamTaskStatusResult, error)
func GetCssPullStreamTaskStatusOutput(ctx *Context, args *GetCssPullStreamTaskStatusOutputArgs, opts ...InvokeOption) GetCssPullStreamTaskStatusResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetCssPullStreamTaskStatusResult> getCssPullStreamTaskStatus(GetCssPullStreamTaskStatusArgs args, InvokeOptions options)
public static Output<GetCssPullStreamTaskStatusResult> getCssPullStreamTaskStatus(GetCssPullStreamTaskStatusArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: tencentcloud:index/getCssPullStreamTaskStatus:getCssPullStreamTaskStatus
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

TaskId This property is required. string
Task ID.
Id string
ResultOutputFile string
Used to save results.
TaskId This property is required. string
Task ID.
Id string
ResultOutputFile string
Used to save results.
taskId This property is required. String
Task ID.
id String
resultOutputFile String
Used to save results.
taskId This property is required. string
Task ID.
id string
resultOutputFile string
Used to save results.
task_id This property is required. str
Task ID.
id str
result_output_file str
Used to save results.
taskId This property is required. 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 This property is required. double
The duration of the VOD source file, in seconds.
FileUrl This property is required. string
Current use source url.
LoopedTimes This property is required. double
The number of times a VOD source task is played in a loop.
NextFileUrl This property is required. string
The URL of the next progress VOD file.
OffsetTime This property is required. double
The playback offset of the VOD source, in seconds.
ReportTime This property is required. 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 This property is required. string
Real run status:active,inactive.
FileDuration This property is required. float64
The duration of the VOD source file, in seconds.
FileUrl This property is required. string
Current use source url.
LoopedTimes This property is required. float64
The number of times a VOD source task is played in a loop.
NextFileUrl This property is required. string
The URL of the next progress VOD file.
OffsetTime This property is required. float64
The playback offset of the VOD source, in seconds.
ReportTime This property is required. 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 This property is required. string
Real run status:active,inactive.
fileDuration This property is required. Double
The duration of the VOD source file, in seconds.
fileUrl This property is required. String
Current use source url.
loopedTimes This property is required. Double
The number of times a VOD source task is played in a loop.
nextFileUrl This property is required. String
The URL of the next progress VOD file.
offsetTime This property is required. Double
The playback offset of the VOD source, in seconds.
reportTime This property is required. 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 This property is required. String
Real run status:active,inactive.
fileDuration This property is required. number
The duration of the VOD source file, in seconds.
fileUrl This property is required. string
Current use source url.
loopedTimes This property is required. number
The number of times a VOD source task is played in a loop.
nextFileUrl This property is required. string
The URL of the next progress VOD file.
offsetTime This property is required. number
The playback offset of the VOD source, in seconds.
reportTime This property is required. 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 This property is required. string
Real run status:active,inactive.
file_duration This property is required. float
The duration of the VOD source file, in seconds.
file_url This property is required. str
Current use source url.
looped_times This property is required. float
The number of times a VOD source task is played in a loop.
next_file_url This property is required. str
The URL of the next progress VOD file.
offset_time This property is required. float
The playback offset of the VOD source, in seconds.
report_time This property is required. 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 This property is required. str
Real run status:active,inactive.
fileDuration This property is required. Number
The duration of the VOD source file, in seconds.
fileUrl This property is required. String
Current use source url.
loopedTimes This property is required. Number
The number of times a VOD source task is played in a loop.
nextFileUrl This property is required. String
The URL of the next progress VOD file.
offsetTime This property is required. Number
The playback offset of the VOD source, in seconds.
reportTime This property is required. 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 This property is required. 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.